NAME

Google::Cloud::Netapp::V1::QuotaRule - Compiled Protocol Buffers messages for google/cloud/netapp/v1/quota_rule.proto

SYNOPSIS

use Google::Cloud::Netapp::V1::QuotaRule;

my $msg = Google::Cloud::Netapp::V1::QuotaRule::ListQuotaRulesRequest->new({
    parent => $parent,
    page_size => $page_size,
    page_token => $page_token,
    filter => $filter,
});

# Read or update a field
my $val = $msg->parent();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Netapp::V1::QuotaRule::ListQuotaRulesRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/netapp/v1/quota_rule.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Netapp::V1::QuotaRule::ListQuotaRulesRequest

ListQuotaRulesRequest for listing quota rules.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for ListQuotaRulesRequest

  • $msg->page_size() / $msg->page_size($value)

    Type: Int32

    Optional. Requested page size. Server may return fewer items than requested. If unspecified, the server will pick an appropriate default.

  • $msg->page_token() / $msg->page_token($value)

    Type: String

    Optional. A token identifying a page of results the server should return.

  • $msg->filter() / $msg->filter($value)

    Type: String

    Optional. Filtering results

  • $msg->order_by() / $msg->order_by($value)

    Type: String

    Optional. Hint for how to order the results

Google::Cloud::Netapp::V1::QuotaRule::ListQuotaRulesResponse

ListQuotaRulesResponse is the response to a ListQuotaRulesRequest.

Inherits from Protobuf::Message.

Accessors

  • $msg->quota_rules() / $msg->quota_rules($value)

    Type: Message (Google::Cloud::Netapp::V1::QuotaRule::QuotaRule)

    List of quota rules

  • $msg->next_page_token() / $msg->next_page_token($value)

    Type: String

    A token identifying a page of results the server should return.

  • $msg->unreachable() / $msg->unreachable($value)

    Type: String

    Locations that could not be reached.

Google::Cloud::Netapp::V1::QuotaRule::GetQuotaRuleRequest

GetQuotaRuleRequest for getting a quota rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the quota rule

Google::Cloud::Netapp::V1::QuotaRule::CreateQuotaRuleRequest

CreateQuotaRuleRequest for creating a quota rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->parent() / $msg->parent($value)

    Type: String

    Required. Parent value for CreateQuotaRuleRequest

  • $msg->quota_rule() / $msg->quota_rule($value)

    Type: Message (Google::Cloud::Netapp::V1::QuotaRule::QuotaRule)

    Required. Fields of the to be created quota rule.

  • $msg->quota_rule_id() / $msg->quota_rule_id($value)

    Type: String

    Required. ID of the quota rule to create. Must be unique within the parent resource. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.

Google::Cloud::Netapp::V1::QuotaRule::UpdateQuotaRuleRequest

UpdateQuotaRuleRequest for updating a quota rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->update_mask() / $msg->update_mask($value)

    Type: Message (Google::Protobuf::FieldMask::FieldMask)

    Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

  • $msg->quota_rule() / $msg->quota_rule($value)

    Type: Message (Google::Cloud::Netapp::V1::QuotaRule::QuotaRule)

    Required. The quota rule being updated

Google::Cloud::Netapp::V1::QuotaRule::DeleteQuotaRuleRequest

DeleteQuotaRuleRequest for deleting a single quota rule.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. Name of the quota rule.

Google::Cloud::Netapp::V1::QuotaRule::QuotaRule

QuotaRule specifies the maximum disk space a user or group can use within a volume. They can be used for creating default and individual quota rules.

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The resource name of the quota rule. Format: `projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}`.

  • $msg->target() / $msg->target($value)

    Type: String

    Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.

  • $msg->type() / $msg->type($value)

    Type: Enum (Google::Cloud::Netapp::V1::QuotaRule::Type)

    Required. The type of quota rule.

  • $msg->disk_limit_mib() / $msg->disk_limit_mib($value)

    Type: Int32

    Required. The maximum allowed disk space in MiB.

  • $msg->state() / $msg->state($value)

    Type: Enum (Google::Cloud::Netapp::V1::QuotaRule::State)

    Output only. State of the quota rule

  • $msg->state_details() / $msg->state_details($value)

    Type: String

    Output only. State details of the quota rule

  • $msg->create_time() / $msg->create_time($value)

    Type: Message (Google::Protobuf::Timestamp::Timestamp)

    Output only. Create time of the quota rule

  • $msg->description() / $msg->description($value)

    Type: String

    Optional. Description of the quota rule

  • $msg->labels() / $msg->labels($value)

    Type: Message (Google::Cloud::Netapp::V1::QuotaRule::QuotaRule::LabelsEntry)

    Optional. Labels of the quota rule

Enum: QuotaRule::Type

  • TYPE_UNSPECIFIED => 0

  • INDIVIDUAL_USER_QUOTA => 1

  • INDIVIDUAL_GROUP_QUOTA => 2

  • DEFAULT_USER_QUOTA => 3

  • DEFAULT_GROUP_QUOTA => 4

Enum: QuotaRule::State

  • STATE_UNSPECIFIED => 0

  • CREATING => 1

  • UPDATING => 2

  • DELETING => 3

  • READY => 4

  • ERROR => 5

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Netapp::V1::QuotaRule::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.