Memorystore for Memcached V1 Client - Class UpdateInstanceRequest (2.0.1)

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
Name Description
data array

Optional. Data for populating the Message object.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update. * * displayName

↳ instance Instance

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

getInstance

Required. A Memcached Instance.

Only fields specified in update_mask are updated.

Returns
Type Description
Instance|null

hasInstance

clearInstance

setInstance

Required. A Memcached Instance.

Only fields specified in update_mask are updated.

Parameter
Name Description
var Instance
Returns
Type Description
$this

static::build

Parameters
Name Description
instance 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
Type Description
UpdateInstanceRequest