QuotaRule
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
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.
Attributes
name
str
Identifier. The resource name of the quota rule. Format:
projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}
.target
str
Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
type_
disk_limit_mib
int
Required. The maximum allowed disk space in MiB.
state
state_details
str
Output only. State details of the quota rule
create_time
google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the quota rule
description
str
Optional. Description of the quota rule
labels
MutableMapping[str, str]
Optional. Labels of the quota rule
Classes
LabelsEntry
LabelsEntry
(
mapping
=
None
,
*
,
ignore_unknown_fields
=
False
,
**
kwargs
)
The abstract base class for a message.
kwargs
dict
Keys and values corresponding to the fields of the message.
mapping
Union[dict, .Message
]
A dictionary or message to be used to determine the values for this message.
ignore_unknown_fields
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if mapping
is a mapping type or there are keyword parameters.
State
State
(
value
)
Quota Rule states
Type
Type
(
value
)
Types of Quota Rule