Google Cloud Redis Cluster V1 Client - Class StateInfo (0.1.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
NameDescription
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
TypeDescription
Google\Cloud\Redis\Cluster\V1\Cluster\StateInfo\UpdateInfo|null

hasUpdateInfo

setUpdateInfo

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

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

getInfo

Returns
TypeDescription
string