Memorystore for Memcached V1 Client - Class ApplyParametersRequest (1.1.1)

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
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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Memcache\V1\ApplyParametersRequest