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 | |
---|---|
api |
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 ( |
Fields | |
---|---|
observed |
Optional. The 'generation' of the execution that was last processed by the controller. |
conditions[] |
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:
|
start |
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: |
completion |
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: |
running |
Optional. The number of actively running tasks. |
succeeded |
Optional. The number of tasks which reached phase Succeeded. |
failed |
Optional. The number of tasks which reached phase Failed. |
cancelled |
Optional. The number of tasks which reached phase Cancelled. |
retried |
Optional. The number of tasks which have retried at least once. |
log |
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. |