Memorystore for Memcached V1beta2 Client - Class ApplyParametersRequest (1.0.5)

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

Request for ApplyParameters.

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNodeIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodeIds

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$this