Memorystore for Memcached V1 Client - Class UpdateInstanceRequest (1.2.2)

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

Request for UpdateInstance.

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

Namespace

Google \ Cloud \ Memcache \ V1

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

↳ instance Google\Cloud\Memcache\V1\Instance

Required. A Memcached Instance. 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

getInstance

Required. A Memcached Instance.

Only fields specified in update_mask are updated.

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

hasInstance

clearInstance

setInstance

Required. A Memcached Instance.

Only fields specified in update_mask are updated.

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

static::build

Parameters
NameDescription
instance Google\Cloud\Memcache\V1\Instance

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

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update.

  • displayName
Returns
TypeDescription
Google\Cloud\Memcache\V1\UpdateInstanceRequest