Memorystore for Memcached V1beta2 Client - Class NodeConfig (1.3.4)

Reference documentation and code samples for the Memorystore for Memcached V1beta2 Client class NodeConfig.

Configuration for a Memcached Node.

Generated from protobuf message google.cloud.memcache.v1beta2.Instance.NodeConfig

Namespace

Google \ Cloud \ Memcache \ V1beta2 \ Instance

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ cpu_count int

Required. Number of cpus per Memcached node.

↳ memory_size_mb int

Required. Memory size in MiB for each Memcached node.

getCpuCount

Required. Number of cpus per Memcached node.

Returns
Type Description
int

setCpuCount

Required. Number of cpus per Memcached node.

Parameter
Name Description
var int
Returns
Type Description
$this

getMemorySizeMb

Required. Memory size in MiB for each Memcached node.

Returns
Type Description
int

setMemorySizeMb

Required. Memory size in MiB for each Memcached node.

Parameter
Name Description
var int
Returns
Type Description
$this