v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-134680139.0 KB
projects

Creates a new quota rule.

post/v1/{+parent}/quotaRules

Path parameters

parentstring required

Required. Parent value for CreateQuotaRuleRequest

Query parameters

quotaRuleIdstring

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.

Request body

state'STATE_UNSPECIFIED' | 'CREATING' | 'UPDATING' | 'DELETING' | 'READY' | 'ERROR'

Output only. State of the quota rule

descriptionstring

Optional. Description of the quota rule

type'TYPE_UNSPECIFIED' | 'INDIVIDUAL_USER_QUOTA' | 'INDIVIDUAL_GROUP_QUOTA' | 'DEFAULT_USER_QUOTA' | 'DEFAULT_GROUP_QUOTA'

Required. The type of quota rule.

namestring

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

targetstring

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

diskLimitMibinteger

Required. The maximum allowed disk space in MiB.

labelsobject

Optional. Labels of the quota rule

stateDetailsstring

Output only. State details of the quota rule

createTimestring google-datetime

Output only. Create time of the quota rule

Response

Successful response