Google Cloud Run V2 Client - Class ExecutionReference (0.7.2)

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
NameDescription
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.

getName

Name of the execution.

Returns
TypeDescription
string

setName

Name of the execution.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Creation timestamp of the execution.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Creation timestamp of the execution.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getCompletionTime

Creation timestamp of the execution.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCompletionTime

clearCompletionTime

setCompletionTime

Creation timestamp of the execution.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this