Class Task (1.0.0)

public sealed class Task : IMessage<Task>, IEquatable<Task>, IDeepCloneable<Task>, IBufferMessage, IMessage

A task represents a user-visible job.

Inheritance

Object > Task

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

Task()

public Task()

Task(Task)

public Task(Task other)
Parameter
NameDescription
otherTask

Properties

ConfigCase

public Task.ConfigOneofCase ConfigCase { get; }
Property Value
TypeDescription
Task.ConfigOneofCase

CreateTime

public Timestamp CreateTime { get; set; }

Output only. The time when the task was created.

Property Value
TypeDescription
Timestamp

Description

public string Description { get; set; }

Optional. Description of the task.

Property Value
TypeDescription
String

DisplayName

public string DisplayName { get; set; }

Optional. User friendly display name.

Property Value
TypeDescription
String

ExecutionSpec

public Task.Types.ExecutionSpec ExecutionSpec { get; set; }

Required. Spec related to how a task is executed.

Property Value
TypeDescription
Task.Types.ExecutionSpec

Labels

public MapField<string, string> Labels { get; }

Optional. User-defined labels for the task.

Property Value
TypeDescription
MapField<String, String>

Name

public string Name { get; set; }

Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.

Property Value
TypeDescription
String

Spark

public Task.Types.SparkTaskConfig Spark { get; set; }

Config related to running custom Spark tasks.

Property Value
TypeDescription
Task.Types.SparkTaskConfig

State

public State State { get; set; }

Output only. Current state of the task.

Property Value
TypeDescription
State

TaskName

public TaskName TaskName { get; set; }

TaskName-typed view over the Name resource name property.

Property Value
TypeDescription
TaskName

TriggerSpec

public Task.Types.TriggerSpec TriggerSpec { get; set; }

Required. Spec related to how often and when a task should be triggered.

Property Value
TypeDescription
Task.Types.TriggerSpec

Uid

public string Uid { get; set; }

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.

Property Value
TypeDescription
String

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. The time when the task was last updated.

Property Value
TypeDescription
Timestamp