Memorystore for Memcached V1beta2 Client - Class UpdateInstanceRequest (1.0.5)

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

Request for UpdateInstance.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. * displayName

↳ resource Google\Cloud\Memcache\V1beta2\Instance

Required. A Memcached [Instance] resource. Only fields specified in update_mask are updated.

getUpdateMask

Required. Mask of fields to update.

  • displayName
Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

  • displayName
Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getResource

Required. A Memcached [Instance] resource.

Only fields specified in update_mask are updated.

Returns
TypeDescription
Google\Cloud\Memcache\V1beta2\Instance|null

hasResource

clearResource

setResource

Required. A Memcached [Instance] resource.

Only fields specified in update_mask are updated.

Parameter
NameDescription
var Google\Cloud\Memcache\V1beta2\Instance
Returns
TypeDescription
$this