Memorystore for Memcached V1 Client - Class ApplyParametersRequest (1.3.4)

Reference documentation and code samples for the Memorystore for Memcached V1 Client class ApplyParametersRequest.

Request for ApplyParameters.

Generated from protobuf message google.cloud.memcache.v1.ApplyParametersRequest

Namespace

Google \ Cloud \ Memcache \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the Memcached instance for which parameter group updates should be applied.

↳ node_ids array

Nodes to which the instance-level parameter group is applied.

↳ apply_all bool

Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and ApplyParameters updates all nodes within the instance.

getName

Required. Resource name of the Memcached instance for which parameter group updates should be applied.

Returns
Type Description
string

setName

Required. Resource name of the Memcached instance for which parameter group updates should be applied.

Parameter
Name Description
var string
Returns
Type Description
$this

getNodeIds

Nodes to which the instance-level parameter group is applied.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNodeIds

Nodes to which the instance-level parameter group is applied.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getApplyAll

Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and ApplyParameters updates all nodes within the instance.

Returns
Type Description
bool

setApplyAll

Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and ApplyParameters updates all nodes within the instance.

Parameter
Name Description
var bool
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. Resource name of the Memcached instance for which parameter group updates should be applied. Please see Google\Cloud\Memcache\V1\CloudMemcacheClient::instanceName() for help formatting this field.

nodeIds string[]

Nodes to which the instance-level parameter group is applied.

applyAll bool

Whether to apply instance-level parameter group to all nodes. If set to true, users are restricted from specifying individual nodes, and ApplyParameters updates all nodes within the instance.

Returns
Type Description
Google\Cloud\Memcache\V1\ApplyParametersRequest