Google Cloud Filestore V1 Client - Class UpdateInstanceRequest (1.1.2)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class UpdateInstanceRequest.

UpdateInstanceRequest updates the settings of an instance.

Generated from protobuf message google.cloud.filestore.v1.UpdateInstanceRequest

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields: * "description" * "file_shares" * "labels"

↳ instance Google\Cloud\Filestore\V1\Instance

Only fields specified in update_mask are updated.

getUpdateMask

Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "file_shares"
  • "labels"
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Mask of fields to update. At least one path must be supplied in this field. The elements of the repeated paths field may only include these fields:

  • "description"
  • "file_shares"
  • "labels"
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getInstance

Only fields specified in update_mask are updated.

Returns
TypeDescription
Google\Cloud\Filestore\V1\Instance|null

hasInstance

clearInstance

setInstance

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\Filestore\V1\Instance
Returns
TypeDescription
$this