Google Cloud Redis Cluster V1 Client - Class UpdateClusterRequest (0.1.0)

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

Request for UpdateCluster.

Generated from protobuf message google.cloud.redis.cluster.v1.UpdateClusterRequest

Namespace

Google \ Cloud \ Redis \ Cluster \ V1

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 Cluster: * size_gb * replica_count

↳ cluster Google\Cloud\Redis\Cluster\V1\Cluster

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

↳ request_id string

Idempotent request UUID.

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 Cluster:

  • size_gb
  • 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 Cluster:

  • size_gb
  • replica_count
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getCluster

Required. Update description.

Only fields specified in update_mask are updated.

Returns
TypeDescription
Google\Cloud\Redis\Cluster\V1\Cluster|null

hasCluster

clearCluster

setCluster

Required. Update description.

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\Redis\Cluster\V1\Cluster
Returns
TypeDescription
$this

getRequestId

Idempotent request UUID.

Returns
TypeDescription
string

setRequestId

Idempotent request UUID.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameters
NameDescription
cluster Google\Cloud\Redis\Cluster\V1\Cluster

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

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 Cluster:

  • size_gb
  • replica_count
Returns
TypeDescription
Google\Cloud\Redis\Cluster\V1\UpdateClusterRequest