Class Execution (0.6.0)

Execution(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.

Attributes

NameDescription
name str
Output only. The unique name of this Execution.
uid str
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
generation int
Output only. A number that monotonically increases every time the user modifies the desired state.
labels MutableMapping[str, str]
KRM-style labels for the resource. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels Cloud Run will populate some labels with 'run.googleapis.com' or 'serving.knative.dev' namespaces. Those labels are read-only, and user changes will not be preserved.
annotations MutableMapping[str, str]
KRM-style annotations for the resource.
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
start_time google.protobuf.timestamp_pb2.Timestamp
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
completion_time google.protobuf.timestamp_pb2.Timestamp
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. The last-modified time.
delete_time google.protobuf.timestamp_pb2.Timestamp
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
expire_time google.protobuf.timestamp_pb2.Timestamp
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
launch_stage google.api.launch_stage_pb2.LaunchStage
Set the launch stage to a preview stage on write to allow use of preview features in that stage. On read, describes whether the resource uses preview features. Launch Stages are defined at `Google Cloud Platform Launch Stages
job str
Output only. The name of the parent Job.
parallelism int
Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count.="" the="" actual="" number="" of="" tasks="" running="" in="" steady="" state="" will="" be="" less="" than="" this="" number="" when="" ((.spec.task_count="" -="" .status.successful)="">< .spec.parallelism),="" i.e.="" when="" the="" work="" left="" to="" do="" is="" less="" than="" max="" parallelism.="" more="" info:="" https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/="">
task_count int
Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
template google.cloud.run_v2.types.TaskTemplate
Output only. The template used to create tasks for this execution.
reconciling bool
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in Job.reconciling for additional information on reconciliation process in Cloud Run.
conditions MutableSequence[google.cloud.run_v2.types.Condition]
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
observed_generation int
Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.
running_count int
Output only. The number of actively running tasks.
succeeded_count int
Output only. The number of tasks which reached phase Succeeded.
failed_count int
Output only. The number of tasks which reached phase Failed.
etag str
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

Classes

AnnotationsEntry

AnnotationsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.