Resource: 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.
JSON representation |
---|
{ "name" : string , "target" : string , "type" : enum ( |
Fields | |
---|---|
name
|
Identifier. The resource name of the quota rule. Format: |
target
|
Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default. |
type
|
Required. The type of quota rule. |
diskLimitMib
|
Required. The maximum allowed disk space in MiB. |
state
|
Output only. State of the quota rule |
stateDetails
|
Output only. State details of the quota rule |
createTime
|
Output only. Create time of the quota rule Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
description
|
Optional. Description of the quota rule |
labels
|
Optional. Labels of the quota rule An object containing a list of |
Type
Types of Quota Rule
Enums | |
---|---|
TYPE_UNSPECIFIED
|
Unspecified type for quota rule |
INDIVIDUAL_USER_QUOTA
|
Individual user quota rule |
INDIVIDUAL_GROUP_QUOTA
|
Individual group quota rule |
DEFAULT_USER_QUOTA
|
Default user quota rule |
DEFAULT_GROUP_QUOTA
|
Default group quota rule |
State
Quota Rule states
Enums | |
---|---|
STATE_UNSPECIFIED
|
Unspecified state for quota rule |
CREATING
|
Quota rule is creating |
UPDATING
|
Quota rule is updating |
DELETING
|
Quota rule is deleting |
READY
|
Quota rule is ready |
ERROR
|
Quota rule is in error state. |
Methods |
|
---|---|
|
Creates a new quota rule. |
|
Deletes a quota rule. |
|
Returns details of the specified quota rule. |
|
Returns list of all quota rules in a location. |
|
Updates a quota rule. |