Cloud Dataplex v1 API - Class Task.Types.ExecutionSpec (2.9.0)

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

Reference documentation and code samples for the Cloud Dataplex v1 API class Task.Types.ExecutionSpec.

Execution related settings, like retry and service_account.

Inheritance

object > Task.Types.ExecutionSpec

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

ExecutionSpec()

public ExecutionSpec()

ExecutionSpec(ExecutionSpec)

public ExecutionSpec(Task.Types.ExecutionSpec other)
Parameter
NameDescription
otherTaskTypesExecutionSpec

Properties

Args

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

Optional. The arguments to pass to the task. The args can use placeholders of the format ${placeholder} as part of key/value string. These will be interpolated before passing the args to the driver. Currently supported placeholders:

  • ${task_id}
  • ${job_time} To pass positional args, set the key as TASK_ARGS. The value should be a comma-separated string of all the positional arguments. To use a delimiter other than comma, refer to https://cloud.google.com/sdk/gcloud/reference/topic/escaping. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.
Property Value
TypeDescription
MapFieldstringstring

KmsKey

public string KmsKey { get; set; }

Optional. The Cloud KMS key to use for encryption, of the form: projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}.

Property Value
TypeDescription
string

MaxJobExecutionLifetime

public Duration MaxJobExecutionLifetime { get; set; }

Optional. The maximum duration after which the job execution is expired.

Property Value
TypeDescription
Duration

Project

public string Project { get; set; }

Optional. The project in which jobs are run. By default, the project containing the Lake is used. If a project is provided, the [ExecutionSpec.service_account][google.cloud.dataplex.v1.Task.ExecutionSpec.service_account] must belong to this project.

Property Value
TypeDescription
string

ServiceAccount

public string ServiceAccount { get; set; }

Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used.

Property Value
TypeDescription
string