Reference documentation and code samples for the Memorystore for Memcached V1beta2 Client class Node.
Generated from protobuf message google.cloud.memcache.v1beta2.Instance.Node
Namespace
Google \ Cloud \ Memcache \ V1beta2 \ InstanceMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ node_id |
string
Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name. |
↳ zone |
string
Output only. Location (GCP Zone) for the Memcached node. |
↳ state |
int
Output only. Current state of the Memcached node. |
↳ host |
string
Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node. |
↳ port |
int
Output only. The port number of the Memcached server on this node. |
↳ parameters |
Google\Cloud\Memcache\V1beta2\MemcacheParameters
User defined parameters currently applied to the node. |
↳ update_available |
bool
Output only. Returns true if there is an update waiting to be applied |
getNodeId
Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Returns | |
---|---|
Type | Description |
string |
setNodeId
Output only. Identifier of the Memcached node. The node id does not include project or location like the Memcached instance name.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getZone
Output only. Location (GCP Zone) for the Memcached node.
Returns | |
---|---|
Type | Description |
string |
setZone
Output only. Location (GCP Zone) for the Memcached node.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
Output only. Current state of the Memcached node.
Returns | |
---|---|
Type | Description |
int |
setState
Output only. Current state of the Memcached node.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getHost
Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
Returns | |
---|---|
Type | Description |
string |
setHost
Output only. Hostname or IP address of the Memcached node used by the clients to connect to the Memcached server on this node.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPort
Output only. The port number of the Memcached server on this node.
Returns | |
---|---|
Type | Description |
int |
setPort
Output only. The port number of the Memcached server on this node.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getParameters
User defined parameters currently applied to the node.
Returns | |
---|---|
Type | Description |
Google\Cloud\Memcache\V1beta2\MemcacheParameters|null |
hasParameters
clearParameters
setParameters
User defined parameters currently applied to the node.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Memcache\V1beta2\MemcacheParameters
|
Returns | |
---|---|
Type | Description |
$this |
getUpdateAvailable
Output only. Returns true if there is an update waiting to be applied
Returns | |
---|---|
Type | Description |
bool |
setUpdateAvailable
Output only. Returns true if there is an update waiting to be applied
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |