Reference documentation and code samples for the Google Cloud Net App V1 Client class 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.
Generated from protobuf message google.cloud.netapp.v1.QuotaRule
Namespace
Google \ Cloud \ NetApp \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. The resource name of the quota rule. Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}
.
↳ target
string
Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
↳ type
int
Required. The type of quota rule.
↳ disk_limit_mib
int
Required. The maximum allowed disk space in MiB.
↳ state
int
Output only. State of the quota rule
↳ state_details
string
Output only. State details of the quota rule
↳ create_time
↳ description
string
Optional. Description of the quota rule
↳ labels
getName
Identifier. The resource name of the quota rule.
Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}
.
string
setName
Identifier. The resource name of the quota rule.
Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id}
.
var
string
$this
getTarget
Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
string
setTarget
Optional. The quota rule applies to the specified user or group, identified by a Unix UID/GID, Windows SID, or null for default.
var
string
$this
getType
Required. The type of quota rule.
int
setType
Required. The type of quota rule.
var
int
$this
getDiskLimitMib
Required. The maximum allowed disk space in MiB.
int
setDiskLimitMib
Required. The maximum allowed disk space in MiB.
var
int
$this
getState
Output only. State of the quota rule
int
setState
Output only. State of the quota rule
var
int
$this
getStateDetails
Output only. State details of the quota rule
string
setStateDetails
Output only. State details of the quota rule
var
string
$this
getCreateTime
Output only. Create time of the quota rule
hasCreateTime
clearCreateTime
setCreateTime
Output only. Create time of the quota rule
$this
getDescription
Optional. Description of the quota rule
string
setDescription
Optional. Description of the quota rule
var
string
$this
getLabels
Optional. Labels of the quota rule
setLabels
Optional. Labels of the quota rule
$this