Memorystore for Memcached V1beta2 Client - Class ApplySoftwareUpdateRequest (1.1.1)

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

setInstance

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getNodeIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodeIds

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

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