Google Cloud Redis V1beta1 Client - Class NodeInfo (1.8.3)

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

Node specific properties.

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

Namespace

Google \ Cloud \ Redis \ V1beta1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Output only. Node identifying string. e.g. 'node-0', 'node-1'

↳ zone string

Output only. Location of the node.

getId

Output only. Node identifying string. e.g. 'node-0', 'node-1'

Returns
TypeDescription
string

setId

Output only. Node identifying string. e.g. 'node-0', 'node-1'

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getZone

Output only. Location of the node.

Returns
TypeDescription
string

setZone

Output only. Location of the node.

Parameter
NameDescription
var string
Returns
TypeDescription
$this