Google Cloud Filestore V1 Client - Class UpdateInstanceRequest (2.1.1)

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

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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" * * "performance_config" * * "deletion_protection_enabled" * * "deletion_protection_reason"

↳ instance
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"
  • "performance_config"
  • "deletion_protection_enabled"
  • "deletion_protection_reason"
Returns
Type
Description

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"
  • "performance_config"
  • "deletion_protection_enabled"
  • "deletion_protection_reason"
Parameter
Name
Description
Returns
Type
Description
$this

getInstance

Only fields specified in update_mask are updated.

Returns
Type
Description
Instance |null

hasInstance

clearInstance

setInstance

Only fields specified in update_mask are updated.

Parameter
Name
Description
var
Returns
Type
Description
$this

static::build

Parameters
Name
Description
instance
Instance

Only fields specified in update_mask are updated.

updateMask
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"
    • "performance_config"
    • "deletion_protection_enabled"
    • "deletion_protection_reason"
Returns
Type
Description
Create a Mobile Website
View Site in Mobile | Classic
Share by: