Memorystore for Memcached V1 Client - Class UpdateParametersRequest (1.3.3)

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

Request for UpdateParameters.

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

Namespace

Google \ Cloud \ Memcache \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Required. Resource name of the Memcached instance for which the parameters should be updated.

↳ update_mask Google\Protobuf\FieldMask

Required. Mask of fields to update.

↳ parameters Google\Cloud\Memcache\V1\MemcacheParameters

The parameters to apply to the instance.

getName

Required. Resource name of the Memcached instance for which the parameters should be updated.

Returns
Type Description
string

setName

Required. Resource name of the Memcached instance for which the parameters should be updated.

Parameter
Name Description
var string
Returns
Type Description
$this

getUpdateMask

Required. Mask of fields to update.

Returns
Type Description
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

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

getParameters

The parameters to apply to the instance.

Returns
Type Description
Google\Cloud\Memcache\V1\MemcacheParameters|null

hasParameters

clearParameters

setParameters

The parameters to apply to the instance.

Parameter
Name Description
var Google\Cloud\Memcache\V1\MemcacheParameters
Returns
Type Description
$this

static::build

Parameters
Name Description
name string

Required. Resource name of the Memcached instance for which the parameters should be updated. Please see Google\Cloud\Memcache\V1\CloudMemcacheClient::instanceName() for help formatting this field.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update.

parameters Google\Cloud\Memcache\V1\MemcacheParameters

The parameters to apply to the instance.

Returns
Type Description
Google\Cloud\Memcache\V1\UpdateParametersRequest