View Source GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Task (google_api_dataplex v0.15.0)

A task represents a user-visible job.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time when the task was created.
  • description (type: String.t, default: nil) - Optional. Description of the task.
  • displayName (type: String.t, default: nil) - Optional. User friendly display name.
  • executionSpec (type: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskExecutionSpec.t, default: nil) - Required. Spec related to how a task is executed.
  • executionStatus (type: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskExecutionStatus.t, default: nil) - Output only. Status of the latest task executions.
  • labels (type: map(), default: nil) - Optional. User-defined labels for the task.
  • name (type: String.t, default: nil) - Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
  • notebook (type: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskNotebookTaskConfig.t, default: nil) - Config related to running scheduled Notebooks.
  • spark (type: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskSparkTaskConfig.t, default: nil) - Config related to running custom Spark tasks.
  • state (type: String.t, default: nil) - Output only. Current state of the task.
  • triggerSpec (type: GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskTriggerSpec.t, default: nil) - Required. Spec related to how often and when a task should be triggered.
  • uid (type: String.t, default: nil) - Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.
  • updateTime (type: DateTime.t, default: nil) - Output only. The time when the task was last updated.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1Task{
  createTime: DateTime.t() | nil,
  description: String.t() | nil,
  displayName: String.t() | nil,
  executionSpec:
    GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskExecutionSpec.t() | nil,
  executionStatus:
    GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskExecutionStatus.t()
    | nil,
  labels: map() | nil,
  name: String.t() | nil,
  notebook:
    GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskNotebookTaskConfig.t()
    | nil,
  spark:
    GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskSparkTaskConfig.t()
    | nil,
  state: String.t() | nil,
  triggerSpec:
    GoogleApi.Dataplex.V1.Model.GoogleCloudDataplexV1TaskTriggerSpec.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.