Reference documentation and code samples for the Google Cloud Workflows V1beta Client class Execution.
A running instance of a Workflow .
Generated from protobuf message google.cloud.workflows.executions.v1beta.Execution
Namespace
Google \ Cloud \ Workflows \ Executions \ V1betaMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. The resource name of the execution. Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
↳ start_time
↳ end_time
↳ state
int
Output only. Current state of the execution.
↳ argument
string
Input parameters of the execution represented as a JSON string. The size limit is 32KB.
↳ result
string
Output only. Output of the execution represented as a JSON string. The value can only be present if the execution's state is SUCCEEDED
.
↳ error
Google\Cloud\Workflows\Executions\V1beta\Execution\Error
Output only. The error which caused the execution to finish prematurely. The value is only present if the execution's state is FAILED
or CANCELLED
.
↳ workflow_revision_id
string
Output only. Revision of the workflow this execution is using.
getName
Output only. The resource name of the execution.
Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
string
setName
Output only. The resource name of the execution.
Format: projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
var
string
$this
getStartTime
Output only. Marks the beginning of execution.
hasStartTime
clearStartTime
setStartTime
Output only. Marks the beginning of execution.
$this
getEndTime
Output only. Marks the end of execution, successful or not.
hasEndTime
clearEndTime
setEndTime
Output only. Marks the end of execution, successful or not.
$this
getState
Output only. Current state of the execution.
int
setState
Output only. Current state of the execution.
var
int
$this
getArgument
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
string
setArgument
Input parameters of the execution represented as a JSON string.
The size limit is 32KB.
var
string
$this
getResult
Output only. Output of the execution represented as a JSON string. The
value can only be present if the execution's state is SUCCEEDED
.
string
setResult
Output only. Output of the execution represented as a JSON string. The
value can only be present if the execution's state is SUCCEEDED
.
var
string
$this
getError
Output only. The error which caused the execution to finish prematurely.
The value is only present if the execution's state is FAILED
or CANCELLED
.
hasError
clearError
setError
Output only. The error which caused the execution to finish prematurely.
The value is only present if the execution's state is FAILED
or CANCELLED
.
$this
getWorkflowRevisionId
Output only. Revision of the workflow this execution is using.
string
setWorkflowRevisionId
Output only. Revision of the workflow this execution is using.
var
string
$this