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

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) - Labels for the Job. Labels could be user provided or system generated. For example, "labels": { "department": "finance", "environment": "test" } You can assign up to 64 labels. Google Compute Engine label restrictions apply. Label names that start with "goog-" or "google-" are reserved.
  • 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.