Google Cloud Redis V1 Client - Class NodeInfo (2.1.6)

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

Node specific properties.

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

Namespace

Google \ Cloud \ Redis \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setId

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

Parameter
Name Description
var string
Returns
Type Description
$this

getZone

Output only. Location of the node.

Returns
Type Description
string

setZone

Output only. Location of the node.

Parameter
Name Description
var string
Returns
Type Description
$this

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.