Cloud Run Admin v2 API - Class Execution (2.9.0)

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.

Inheritance

object > Execution

Namespace

Google.Cloud.Run.V2

Assembly

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; }

Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.

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; }

JobName-typed view over the Job resource name property.

Property Value
Type Description
JobName

Labels

public MapField<string, string> Labels { get; }

Output only. Unstructured key value map that can be used to organize and categorize objects. 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; }

The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.

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.

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

SatisfiesPzs

public bool SatisfiesPzs { get; set; }

Output only. Reserved for future use.

Property Value
Type Description
bool

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.

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