Google Cloud Workflows V1 Client - Class StateError (1.0.0-RC1)

Reference documentation and code samples for the Google Cloud Workflows V1 Client class StateError.

Describes an error related to the current state of the Execution resource.

Generated from protobuf message google.cloud.workflows.executions.v1.Execution.StateError

Namespace

Google \ Cloud \ Workflows \ Executions \ V1 \ Execution

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ details string

Provides specifics about the error.

↳ type int

The type of this state error.

getDetails

Provides specifics about the error.

Returns
Type Description
string

setDetails

Provides specifics about the error.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

The type of this state error.

Returns
Type Description
int

setType

The type of this state error.

Parameter
Name Description
var int
Returns
Type Description
$this