Google Cloud Redis Cluster V1 Client - Class StateInfo (0.3.0)

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

Represents additional information about the state of the cluster.

Generated from protobuf message google.cloud.redis.cluster.v1.Cluster.StateInfo

Namespace

Google \ Cloud \ Redis \ Cluster \ V1 \ Cluster

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ update_info Google\Cloud\Redis\Cluster\V1\Cluster\StateInfo\UpdateInfo

Describes ongoing update on the cluster when cluster state is UPDATING.

getUpdateInfo

Describes ongoing update on the cluster when cluster state is UPDATING.

Returns
Type Description
Google\Cloud\Redis\Cluster\V1\Cluster\StateInfo\UpdateInfo|null

hasUpdateInfo

setUpdateInfo

Describes ongoing update on the cluster when cluster state is UPDATING.

Parameter
Name Description
var Google\Cloud\Redis\Cluster\V1\Cluster\StateInfo\UpdateInfo
Returns
Type Description
$this

getInfo

Returns
Type Description
string