Google Cloud Eventarc V1 Client - Class StateCondition (1.2.2)

Reference documentation and code samples for the Google Cloud Eventarc V1 Client class StateCondition.

A condition that is part of the trigger state computation.

Generated from protobuf message google.cloud.eventarc.v1.StateCondition

Namespace

Google \ Cloud \ Eventarc \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ code int

The canonical code of the condition.

↳ message string

Human-readable message.

getCode

The canonical code of the condition.

Returns
TypeDescription
int

setCode

The canonical code of the condition.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getMessage

Human-readable message.

Returns
TypeDescription
string

setMessage

Human-readable message.

Parameter
NameDescription
var string
Returns
TypeDescription
$this