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:
StringRequired. Parent value for ListQuotaRulesRequest
$msg->page_size()/$msg->page_size($value)Type:
Int32Optional. 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:
StringOptional. A token identifying a page of results the server should return.
$msg->filter()/$msg->filter($value)Type:
StringOptional. Filtering results
$msg->order_by()/$msg->order_by($value)Type:
StringOptional. 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:
StringA token identifying a page of results the server should return.
$msg->unreachable()/$msg->unreachable($value)Type:
StringLocations 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringRequired. 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:
StringIdentifier. 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:
StringOptional. 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:
Int32Required. 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:
StringOutput 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:
StringOptional. 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=>0INDIVIDUAL_USER_QUOTA=>1INDIVIDUAL_GROUP_QUOTA=>2DEFAULT_USER_QUOTA=>3DEFAULT_GROUP_QUOTA=>4
Enum: QuotaRule::State
STATE_UNSPECIFIED=>0CREATING=>1UPDATING=>2DELETING=>3READY=>4ERROR=>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.