View Source GoogleApi.Run.V2.Model.GoogleCloudRunV2Execution (google_api_run v0.30.0)

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

Attributes

  • annotations (type: map(), default: nil) - 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.
  • cancelledCount (type: integer(), default: nil) - Output only. The number of tasks which reached phase Cancelled.
  • completionTime (type: DateTime.t, default: nil) - Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
  • conditions (type: list(GoogleApi.Run.V2.Model.GoogleCloudRunV2Condition.t), default: nil) - Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
  • createTime (type: DateTime.t, default: nil) - 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.
  • deleteTime (type: DateTime.t, default: nil) - Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
  • etag (type: String.t, default: nil) - Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
  • expireTime (type: DateTime.t, default: nil) - 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.
  • failedCount (type: integer(), default: nil) - Output only. The number of tasks which reached phase Failed.
  • generation (type: String.t, default: nil) - Output only. A number that monotonically increases every time the user modifies the desired state.
  • job (type: String.t, default: nil) - Output only. The name of the parent Job.
  • labels (type: map(), default: nil) - 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
  • launchStage (type: String.t, default: nil) - 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. 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.
  • logUri (type: String.t, default: nil) - Output only. URI where logs for this execution can be found in Cloud Console.
  • name (type: String.t, default: nil) - Output only. The unique name of this Execution.
  • observedGeneration (type: String.t, default: nil) - Output only. The generation of this Execution. See comments in reconciling for additional information on reconciliation process in Cloud Run.
  • parallelism (type: integer(), default: nil) - 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.
  • reconciling (type: boolean(), default: nil) - 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.
  • retriedCount (type: integer(), default: nil) - Output only. The number of tasks which have retried at least once.
  • runningCount (type: integer(), default: nil) - Output only. The number of actively running tasks.
  • satisfiesPzs (type: boolean(), default: nil) - Output only. Reserved for future use.
  • startTime (type: DateTime.t, default: nil) - Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
  • succeededCount (type: integer(), default: nil) - Output only. The number of tasks which reached phase Succeeded.
  • taskCount (type: integer(), default: nil) - 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.
  • template (type: GoogleApi.Run.V2.Model.GoogleCloudRunV2TaskTemplate.t, default: nil) - Output only. The template used to create tasks for this execution.
  • uid (type: String.t, default: nil) - 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.
  • updateTime (type: DateTime.t, default: nil) - Output only. The last-modified time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V2.Model.GoogleCloudRunV2Execution{
  annotations: map() | nil,
  cancelledCount: integer() | nil,
  completionTime: DateTime.t() | nil,
  conditions: [GoogleApi.Run.V2.Model.GoogleCloudRunV2Condition.t()] | nil,
  createTime: DateTime.t() | nil,
  deleteTime: DateTime.t() | nil,
  etag: String.t() | nil,
  expireTime: DateTime.t() | nil,
  failedCount: integer() | nil,
  generation: String.t() | nil,
  job: String.t() | nil,
  labels: map() | nil,
  launchStage: String.t() | nil,
  logUri: String.t() | nil,
  name: String.t() | nil,
  observedGeneration: String.t() | nil,
  parallelism: integer() | nil,
  reconciling: boolean() | nil,
  retriedCount: integer() | nil,
  runningCount: integer() | nil,
  satisfiesPzs: boolean() | nil,
  startTime: DateTime.t() | nil,
  succeededCount: integer() | nil,
  taskCount: integer() | nil,
  template: GoogleApi.Run.V2.Model.GoogleCloudRunV2TaskTemplate.t() | nil,
  uid: String.t() | nil,
  updateTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.