public sealed class Execution : IMessage<Execution>, IEquatable<Execution>, IDeepCloneable<Execution>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class Execution.
Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.
Implements
IMessageExecution, IEquatableExecution, IDeepCloneableExecution, IBufferMessage, IMessageNamespace
GoogleCloudGoogle.Cloud.RunV2Assembly
Google.Cloud.Run.V2.dll
Constructors
Execution()
public Execution()
Execution(Execution)
public Execution(Execution other)
Parameter | |
---|---|
Name | Description |
other | Execution |
Properties
Annotations
public MapField<string, string> Annotations { get; }
KRM-style annotations for the resource.
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
CancelledCount
public int CancelledCount { get; set; }
Output only. The number of tasks which reached phase Cancelled.
Property Value | |
---|---|
Type | Description |
int |
CompletionTime
public Timestamp CompletionTime { get; set; }
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
Property Value | |
---|---|
Type | Description |
Timestamp |
Conditions
public RepeatedField<Condition> Conditions { get; }
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
Property Value | |
---|---|
Type | Description |
RepeatedFieldCondition |
CreateTime
public Timestamp CreateTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
DeleteTime
public Timestamp DeleteTime { get; set; }
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
Property Value | |
---|---|
Type | Description |
Timestamp |
Etag
public string Etag { get; set; }
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
Property Value | |
---|---|
Type | Description |
string |
ExecutionName
public ExecutionName ExecutionName { get; set; }
ExecutionName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
ExecutionName |
ExpireTime
public Timestamp ExpireTime { get; set; }
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.
Property Value | |
---|---|
Type | Description |
Timestamp |
FailedCount
public int FailedCount { get; set; }
Output only. The number of tasks which reached phase Failed.
Property Value | |
---|---|
Type | Description |
int |
Generation
public long Generation { get; set; }
Output only. A number that monotonically increases every time the user modifies the desired state.
Property Value | |
---|---|
Type | Description |
long |
Job
public string Job { get; set; }
Output only. The name of the parent Job.
Property Value | |
---|---|
Type | Description |
string |
JobAsJobName
public JobName JobAsJobName { get; set; }
Property Value | |
---|---|
Type | Description |
JobName |
Labels
public MapField<string, string> Labels { get; }
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
Property Value | |
---|---|
Type | Description |
MapFieldstringstring |
LaunchStage
public LaunchStage LaunchStage { get; set; }
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.
Property Value | |
---|---|
Type | Description |
LaunchStage |
LogUri
public string LogUri { get; set; }
Output only. URI where logs for this execution can be found in Cloud Console.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
Output only. The unique name of this Execution.
Property Value | |
---|---|
Type | Description |
string |
ObservedGeneration
public long ObservedGeneration { get; set; }
Output only. The generation of this Execution. See comments in
reconciling
for additional information on reconciliation process in Cloud
Run.
Property Value | |
---|---|
Type | Description |
long |
Parallelism
public int Parallelism { get; set; }
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/
Property Value | |
---|---|
Type | Description |
int |
Reconciling
public bool Reconciling { get; set; }
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.
Property Value | |
---|---|
Type | Description |
bool |
RetriedCount
public int RetriedCount { get; set; }
Output only. The number of tasks which have retried at least once.
Property Value | |
---|---|
Type | Description |
int |
RunningCount
public int RunningCount { get; set; }
Output only. The number of actively running tasks.
Property Value | |
---|---|
Type | Description |
int |
StartTime
public Timestamp StartTime { get; set; }
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
Property Value | |
---|---|
Type | Description |
Timestamp |
SucceededCount
public int SucceededCount { get; set; }
Output only. The number of tasks which reached phase Succeeded.
Property Value | |
---|---|
Type | Description |
int |
TaskCount
public int TaskCount { get; set; }
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/
Property Value | |
---|---|
Type | Description |
int |
Template
public TaskTemplate Template { get; set; }
Output only. The template used to create tasks for this execution.
Property Value | |
---|---|
Type | Description |
TaskTemplate |
Uid
public string Uid { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. The last-modified time.
Property Value | |
---|---|
Type | Description |
Timestamp |