Reference documentation and code samples for the Google Cloud Api Hub V1 Client class LastExecution.
The result of the last execution of the plugin instance.
Generated from protobuf message google.cloud.apihub.v1.ExecutionStatus.LastExecution
Namespace
Google \ Cloud \ ApiHub \ V1 \ ExecutionStatusMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ result |
int
Output only. The result of the last execution of the plugin instance. |
↳ error_message |
string
Output only. Error message describing the failure, if any, during the last execution. |
↳ start_time |
Google\Protobuf\Timestamp
Output only. The last execution start time of the plugin instance. |
↳ end_time |
Google\Protobuf\Timestamp
Output only. The last execution end time of the plugin instance. |
getResult
Output only. The result of the last execution of the plugin instance.
| Returns | |
|---|---|
| Type | Description |
int |
Enum of type Result. |
setResult
Output only. The result of the last execution of the plugin instance.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Result. |
| Returns | |
|---|---|
| Type | Description |
$this |
|
getErrorMessage
Output only. Error message describing the failure, if any, during the last execution.
| Returns | |
|---|---|
| Type | Description |
string |
|
setErrorMessage
Output only. Error message describing the failure, if any, during the last execution.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getStartTime
Output only. The last execution start time of the plugin instance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Output only. The last execution start time of the plugin instance.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
Output only. The last execution end time of the plugin instance.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
Output only. The last execution end time of the plugin instance.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|