Google Cloud Api Hub V1 Client - Class LastExecution (0.4.4)

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 \ ExecutionStatus

Methods

__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

hasStartTime

clearStartTime

setStartTime

Output only. The last execution start time of the plugin instance.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

Output only. The last execution end time of the plugin instance.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

Output only. The last execution end time of the plugin instance.

Parameter
Name
Description
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: