Google Cloud Functions V2 Client - Class StateMessage (2.0.0)

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

Namespace

Google \ Cloud \ Functions \ V2

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setSeverity

Severity of the state message.

Parameter
Name Description
var int
Returns
Type Description
$this

getType

One-word CamelCase type of the state message.

Returns
Type Description
string

setType

One-word CamelCase type of the state message.

Parameter
Name Description
var string
Returns
Type Description
$this

getMessage

The message.

Returns
Type Description
string

setMessage

The message.

Parameter
Name Description
var string
Returns
Type Description
$this