Google Cloud Redis V1beta1 Client - Class UpdateInstanceRequest (1.7.0)

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

Request for UpdateInstance.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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 Google\Cloud\Redis\V1beta1\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
TypeDescription
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
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getInstance

Required. Update description.

Only fields specified in update_mask are updated.

Returns
TypeDescription
Google\Cloud\Redis\V1beta1\Instance|null

hasInstance

clearInstance

setInstance

Required. Update description.

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\Redis\V1beta1\Instance
Returns
TypeDescription
$this