Google Cloud Run V2 Client - Class ExecutionReference (1.3.0)

Reference documentation and code samples for the Google Cloud Run V2 Client class ExecutionReference.

Reference to an Execution. Use /Executions.GetExecution with the given name to get full execution including the latest status.

Generated from protobuf message google.cloud.run.v2.ExecutionReference

Namespace

Google \ Cloud \ Run \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Name of the execution.

↳ create_time Google\Protobuf\Timestamp

Creation timestamp of the execution.

↳ completion_time Google\Protobuf\Timestamp

Creation timestamp of the execution.

↳ delete_time Google\Protobuf\Timestamp

The deletion time of the execution. It is only populated as a response to a Delete request.

↳ completion_status int

Status for the execution completion.

getName

Name of the execution.

Returns
Type Description
string

setName

Name of the execution.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Creation timestamp of the execution.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Creation timestamp of the execution.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCompletionTime

Creation timestamp of the execution.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCompletionTime

clearCompletionTime

setCompletionTime

Creation timestamp of the execution.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getDeleteTime

The deletion time of the execution. It is only populated as a response to a Delete request.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasDeleteTime

clearDeleteTime

setDeleteTime

The deletion time of the execution. It is only populated as a response to a Delete request.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getCompletionStatus

Status for the execution completion.

Returns
Type Description
int

setCompletionStatus

Status for the execution completion.

Parameter
Name Description
var int
Returns
Type Description
$this