Memorystore for Memcached V1beta2 Client - Class InstanceMessage (1.1.1)

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

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

Namespace

Google \ Cloud \ Memcache \ V1beta2 \ Instance

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code int

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

↳ message string

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
var int
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
var string
Returns
TypeDescription
$this