Memorystore for Memcached V1 Client - Class UpdateParametersRequest (1.0.5)

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

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