Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ExecutionStatus.
The execution status for the plugin instance.
Generated from protobuf message google.cloud.apihub.v1.ExecutionStatus
Namespace
Google \ Cloud \ ApiHub \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ current_execution_state |
int
Output only. The current state of the execution. |
↳ last_execution |
ExecutionStatus\LastExecution
Output only. The last execution of the plugin instance. |
getCurrentExecutionState
Output only. The current state of the execution.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type CurrentExecutionState. |
setCurrentExecutionState
Output only. The current state of the execution.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type CurrentExecutionState. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getLastExecution
Output only. The last execution of the plugin instance.
| Returns | |
|---|---|
| Type | Description |
ExecutionStatus\LastExecution|null |
|
hasLastExecution
clearLastExecution
setLastExecution
Output only. The last execution of the plugin instance.
| Parameter | |
|---|---|
| Name | Description |
var |
ExecutionStatus\LastExecution
|
| Returns | |
|---|---|
| Type | Description |
$this |
|