Memorystore for Memcached V1beta2 Client - Class MemcacheParameters (1.2.2)

Reference documentation and code samples for the Memorystore for Memcached V1beta2 Client class MemcacheParameters.

Generated from protobuf message google.cloud.memcache.v1beta2.MemcacheParameters

Namespace

Google \ Cloud \ Memcache \ V1beta2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ id string

Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.

↳ params array|Google\Protobuf\Internal\MapField

User defined set of parameters to use in the memcached process.

getId

Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.

Returns
TypeDescription
string

setId

Output only. The unique ID associated with this set of parameters. Users can use this id to determine if the parameters associated with the instance differ from the parameters associated with the nodes. A discrepancy between parameter ids can inform users that they may need to take action to apply parameters on nodes.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getParams

User defined set of parameters to use in the memcached process.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setParams

User defined set of parameters to use in the memcached process.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this