Memorystore for Memcached V1 Client - Class UpdateParametersRequest (2.0.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
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 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
MemcacheParameters|null

hasParameters

clearParameters

setParameters

The parameters to apply to the instance.

Parameter
Name Description
var 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 CloudMemcacheClient::instanceName() for help formatting this field.

updateMask Google\Protobuf\FieldMask

Required. Mask of fields to update.

parameters MemcacheParameters

The parameters to apply to the instance.

Returns
Type Description
UpdateParametersRequest