Memorystore for Memcached V1 Client - Class UpdateParametersRequest (1.2.2)

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
NameDescription
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
TypeDescription
string

setName

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUpdateMask

Required. Mask of fields to update.

Returns
TypeDescription
Google\Protobuf\FieldMask|null

hasUpdateMask

clearUpdateMask

setUpdateMask

Required. Mask of fields to update.

Parameter
NameDescription
var Google\Protobuf\FieldMask
Returns
TypeDescription
$this

getParameters

The parameters to apply to the instance.

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

hasParameters

clearParameters

setParameters

The parameters to apply to the instance.

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

static::build

Parameters
NameDescription
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
TypeDescription
Google\Cloud\Memcache\V1\UpdateParametersRequest