View Source GoogleApi.Batch.V1.Model.Job (google_api_batch v0.6.2)

The Cloud Batch Job description.

Attributes

  • allocationPolicy (type: GoogleApi.Batch.V1.Model.AllocationPolicy.t, default: nil) - Compute resource allocation for all TaskGroups in the Job.
  • createTime (type: DateTime.t, default: nil) - Output only. When the Job was created.
  • labels (type: map(), default: nil) - Custom labels to apply to the job and any Cloud Logging LogEntry that it generates. Use labels to group and describe the resources they are applied to. Batch automatically applies predefined labels and supports multiple labels fields for each job, which each let you apply custom labels to various resources. Label names that start with "goog-" or "google-" are reserved for predefined labels. For more information about labels with Batch, see Organize resources using labels.
  • logsPolicy (type: GoogleApi.Batch.V1.Model.LogsPolicy.t, default: nil) - Log preservation policy for the Job.
  • name (type: String.t, default: nil) - Output only. Job name. For example: "projects/123456/locations/us-central1/jobs/job01".
  • notifications (type: list(GoogleApi.Batch.V1.Model.JobNotification.t), default: nil) - Notification configurations.
  • priority (type: String.t, default: nil) - Priority of the Job. The valid value range is [0, 100). Default value is 0. Higher value indicates higher priority. A job with higher priority value is more likely to run earlier if all other requirements are satisfied.
  • status (type: GoogleApi.Batch.V1.Model.JobStatus.t, default: nil) - Output only. Job status. It is read only for users.
  • taskGroups (type: list(GoogleApi.Batch.V1.Model.TaskGroup.t), default: nil) - Required. TaskGroups in the Job. Only one TaskGroup is supported now.
  • uid (type: String.t, default: nil) - Output only. A system generated unique ID for the Job.
  • updateTime (type: DateTime.t, default: nil) - Output only. The last time the Job was updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.Job{
  allocationPolicy: GoogleApi.Batch.V1.Model.AllocationPolicy.t() | nil,
  createTime: DateTime.t() | nil,
  labels: map() | nil,
  logsPolicy: GoogleApi.Batch.V1.Model.LogsPolicy.t() | nil,
  name: String.t() | nil,
  notifications: [GoogleApi.Batch.V1.Model.JobNotification.t()] | nil,
  priority: String.t() | nil,
  status: GoogleApi.Batch.V1.Model.JobStatus.t() | nil,
  taskGroups: [GoogleApi.Batch.V1.Model.TaskGroup.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.