View Source GoogleApi.Run.V1.Model.ExecutionSpec (google_api_run v0.30.0)

ExecutionSpec describes how the execution will look.

Attributes

  • parallelism (type: integer(), default: nil) - Optional. Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism.
  • taskCount (type: integer(), default: nil) - Optional. 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. Defaults to 1.
  • template (type: GoogleApi.Run.V1.Model.TaskTemplateSpec.t, default: nil) - Optional. The template used to create tasks for this execution.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Run.V1.Model.ExecutionSpec{
  parallelism: integer() | nil,
  taskCount: integer() | nil,
  template: GoogleApi.Run.V1.Model.TaskTemplateSpec.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.