Memorystore for Memcached V1 Client - Class InstanceMessage (2.0.3)

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

Generated from protobuf message google.cloud.memcache.v1.Instance.InstanceMessage

Namespace

Google \ Cloud \ Memcache \ V1 \ Instance

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ codeint

A code that correspond to one type of user-facing message.

↳ messagestring

Message on memcached instance which will be exposed to users.

getCode

A code that correspond to one type of user-facing message.

Returns
TypeDescription
int

setCode

A code that correspond to one type of user-facing message.

Parameter
NameDescription
varint
Returns
TypeDescription
$this

getMessage

Message on memcached instance which will be exposed to users.

Returns
TypeDescription
string

setMessage

Message on memcached instance which will be exposed to users.

Parameter
NameDescription
varstring
Returns
TypeDescription
$this