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 \ V1Methods
__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. * |
↳ 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 | |
---|---|
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 |
Google\Cloud\Memcache\V1\Instance|null |
hasInstance
clearInstance
setInstance
Required. A Memcached Instance.
Only fields specified in update_mask are updated.
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Memcache\V1\Instance
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameters | |
---|---|
Name | Description |
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.
|
Returns | |
---|---|
Type | Description |
Google\Cloud\Memcache\V1\UpdateInstanceRequest |