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

Reference documentation and code samples for the Google Cloud Net App V1 Client class UpdateQuotaRuleRequest.

UpdateQuotaRuleRequest for updating a quota rule.

Generated from protobuf message google.cloud.netapp.v1.UpdateQuotaRuleRequest

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

↳ quota_rule QuotaRule

Required. The quota rule being updated

getUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update.

The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getQuotaRule

Required. The quota rule being updated

Returns
Type Description
QuotaRule|null

hasQuotaRule

clearQuotaRule

setQuotaRule

Required. The quota rule being updated

Parameter
Name Description
var QuotaRule
Returns
Type Description
$this

static::build

Parameters
Name Description
quotaRule QuotaRule

Required. The quota rule being updated

updateMask Google\Protobuf\FieldMask

Optional. Field mask is used to specify the fields to be overwritten in the Quota Rule resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. If the user does not provide a mask then all fields will be overwritten.

Returns
Type Description
UpdateQuotaRuleRequest