Google Cloud Redis V1 Client - Class UpdateInstanceRequest (2.1.3)

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

Request for UpdateInstance.

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

Namespace

Google \ Cloud \ Redis \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. 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 from Instance: * * displayName * * labels * * memorySizeGb * * redisConfig * * replica_count

↳ instance Instance

Required. Update description. Only fields specified in update_mask are updated.

getUpdateMask

Required. 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 from Instance:

  • displayName
  • labels
  • memorySizeGb
  • redisConfig
  • replica_count
Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. 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 from Instance:

  • displayName
  • labels
  • memorySizeGb
  • redisConfig
  • replica_count
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getInstance

Required. Update description.

Only fields specified in update_mask are updated.

Returns
Type Description
Instance|null

hasInstance

clearInstance

setInstance

Required. Update description.

Only fields specified in update_mask are updated.

Parameter
Name Description
var Instance
Returns
Type Description
$this

static::build

Parameters
Name Description
updateMask Google\Protobuf\FieldMask

Required. 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 from Instance:

    • displayName
    • labels
    • memorySizeGb
    • redisConfig
    • replica_count
instance Instance

Required. Update description. Only fields specified in update_mask are updated.

Returns
Type Description
UpdateInstanceRequest