View Source GoogleApi.Batch.V1.Model.AgentTask (google_api_batch v0.6.3)

TODO(b/182501497) The message needs to be redefined when the Agent API server updates data in storage per the backend design.

Attributes

  • agentTaskSpec (type: GoogleApi.Batch.V1.Model.AgentTaskSpec.t, default: nil) - AgentTaskSpec is the taskSpec representation between Agent and CLH communication. This field will replace the TaskSpec field above in future to have a better separation between user-facaing API and internal API.
  • intendedState (type: String.t, default: nil) - The intended state of the task.
  • reachedBarrier (type: String.t, default: nil) - The highest barrier reached by all tasks in the task's TaskGroup.
  • spec (type: GoogleApi.Batch.V1.Model.TaskSpec.t, default: nil) - Task Spec. This field will be replaced by agent_task_spec below in future.
  • status (type: GoogleApi.Batch.V1.Model.TaskStatus.t, default: nil) - Task status.
  • task (type: String.t, default: nil) - Task name.
  • taskSource (type: String.t, default: nil) - TaskSource represents the source of the task.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.AgentTask{
  agentTaskSpec: GoogleApi.Batch.V1.Model.AgentTaskSpec.t() | nil,
  intendedState: String.t() | nil,
  reachedBarrier: String.t() | nil,
  spec: GoogleApi.Batch.V1.Model.TaskSpec.t() | nil,
  status: GoogleApi.Batch.V1.Model.TaskStatus.t() | nil,
  task: String.t() | nil,
  taskSource: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.