Resource: Execution
Execution represents the configuration of a single execution. An execution is an immutable resource that references a container image which is run to completion.
JSON representation |
---|
{ "apiVersion" : string , "kind" : string , "metadata" : { object ( |
Fields | |
---|---|
apiVersion
|
Optional. APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. |
kind
|
Optional. Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. |
metadata
|
Optional. Standard object's metadata. |
spec
|
Optional. Specification of the desired behavior of an execution. |
status
|
Output only. Current status of an execution. |
ExecutionStatus
ExecutionStatus represents the current state of an Execution.
JSON representation |
---|
{
"observedGeneration"
:
integer
,
"conditions"
:
[
{
object (
|
observedGeneration
integer
Optional. The 'generation' of the execution that was last processed by the controller.
conditions[]
object (
Condition
)
Optional. Conditions communicate information about ongoing/complete reconciliation processes that bring the "spec" inline with the observed state of the world.
Execution-specific conditions include:
-
ResourcesAvailable
:True
when underlying resources have been provisioned. -
Started
:True
when the execution has started to execute. -
Completed
:True
when the execution has succeeded.False
when the execution has failed.
startTime
string (
Timestamp
format)
Optional. Represents the time that the execution started to run. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
completionTime
string (
Timestamp
format)
Optional. Represents the time that the execution was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z"
, "2014-10-02T15:01:23.045123456Z"
or "2014-10-02T15:01:23+05:30"
.
runningCount
integer
Optional. The number of actively running tasks.
succeededCount
integer
Optional. The number of tasks which reached phase Succeeded.
failedCount
integer
Optional. The number of tasks which reached phase Failed.
cancelledCount
integer
Optional. The number of tasks which reached phase Cancelled.
retriedCount
integer
Optional. The number of tasks which have retried at least once.
logUri
string
Optional. URI where logs for this execution can be found in Cloud Console.
Methods |
|
---|---|
|
Cancel an execution. |
|
Delete an execution. |
|
Get information about an execution. |
|
List executions. |