Memorystore for Memcached V1beta2 Client - Class UpdateInstanceRequest (1.3.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

Namespace

Google \ Cloud \ Memcache \ V1beta2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

  • displayName
Parameter
Name Description
var Google\Protobuf\FieldMask
Returns
Type Description
$this

getResource

Required. A Memcached [Instance] resource.

Only fields specified in update_mask are updated.

Returns
Type Description
Google\Cloud\Memcache\V1beta2\Instance|null

hasResource

clearResource

setResource

Required. A Memcached [Instance] resource.

Only fields specified in update_mask are updated.

Parameter
Name Description
var Google\Cloud\Memcache\V1beta2\Instance
Returns
Type Description
$this