Google Cloud Net App V1 Client - Class QuotaRule (1.4.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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
Google\Protobuf\Timestamp

Output only. Create time of the quota rule

↳ description
string

Optional. Description of the quota rule

↳ labels
array| Google\Protobuf\Internal\MapField

Optional. Labels of the quota rule

getName

Identifier. The resource name of the quota rule.

Format: projects/{project_number}/locations/{location_id}/volumes/volumes/{volume_id}/quotaRules/{quota_rule_id} .

Returns
Type
Description
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} .

Parameter
Name
Description
var
string
Returns
Type
Description
$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.

Returns
Type
Description
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.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getType

Required. The type of quota rule.

Returns
Type
Description
int

setType

Required. The type of quota rule.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getDiskLimitMib

Required. The maximum allowed disk space in MiB.

Returns
Type
Description
int

setDiskLimitMib

Required. The maximum allowed disk space in MiB.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getState

Output only. State of the quota rule

Returns
Type
Description
int

setState

Output only. State of the quota rule

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getStateDetails

Output only. State details of the quota rule

Returns
Type
Description
string

setStateDetails

Output only. State details of the quota rule

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getCreateTime

Output only. Create time of the quota rule

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Create time of the quota rule

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

Optional. Description of the quota rule

Returns
Type
Description
string

setDescription

Optional. Description of the quota rule

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getLabels

Optional. Labels of the quota rule

Returns
Type
Description

setLabels

Optional. Labels of the quota rule

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: