Google Cloud Functions V2 Client - Class StateMessage (1.1.2)

Reference documentation and code samples for the Google Cloud Functions V2 Client class StateMessage.

Informational messages about the state of the Cloud Function or Operation.

Generated from protobuf message google.cloud.functions.v2.StateMessage

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ severity int

Severity of the state message.

↳ type string

One-word CamelCase type of the state message.

↳ message string

The message.

getSeverity

Severity of the state message.

Returns
TypeDescription
int

setSeverity

Severity of the state message.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getType

One-word CamelCase type of the state message.

Returns
TypeDescription
string

setType

One-word CamelCase type of the state message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getMessage

The message.

Returns
TypeDescription
string

setMessage

The message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this