Memorystore for Memcached V1beta2 Client - Class ApplySoftwareUpdateRequest (1.3.5)

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

Request for ApplySoftwareUpdate.

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

Namespace

Google \ Cloud \ Memcache \ V1beta2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ instance string

Required. Resource name of the Memcached instance for which software update should be applied.

↳ node_ids array

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

↳ apply_all bool

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance.

getInstance

Required. Resource name of the Memcached instance for which software update should be applied.

Returns
Type Description
string

setInstance

Required. Resource name of the Memcached instance for which software update should be applied.

Parameter
Name Description
var string
Returns
Type Description
$this

getNodeIds

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setNodeIds

Nodes to which we should apply the update to. Note all the selected nodes are updated in parallel.

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

getApplyAll

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance.

Returns
Type Description
bool

setApplyAll

Whether to apply the update to all nodes. If set to true, will explicitly restrict users from specifying any nodes, and apply software update to all nodes (where applicable) within the instance.

Parameter
Name Description
var bool
Returns
Type Description
$this