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.
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.
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}.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eTask.Types.ExecutionSpec\u003c/code\u003e class within the Google Cloud Dataplex v1 API, which deals with execution settings for tasks like retry and service accounts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTask.Types.ExecutionSpec\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its capabilities for message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists numerous versions of the \u003ccode\u003eGoogle.Cloud.Dataplex.V1\u003c/code\u003e package, ranging from version 1.0.0 to 3.6.0, with 3.6.0 being the latest, suggesting a history of updates and improvements to the API.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties like \u003ccode\u003eArgs\u003c/code\u003e, \u003ccode\u003eKmsKey\u003c/code\u003e, \u003ccode\u003eMaxJobExecutionLifetime\u003c/code\u003e, \u003ccode\u003eProject\u003c/code\u003e, and \u003ccode\u003eServiceAccount\u003c/code\u003e, allowing users to configure task arguments, encryption keys, job duration limits, the project in which to run jobs, and the service account under which the task runs.\u003c/p\u003e\n"],["\u003cp\u003eIt is important to know that the \u003ccode\u003eServiceAccount\u003c/code\u003e property is required, and if not provided the default compute service account for the project is used, while the \u003ccode\u003eProject\u003c/code\u003e property is optional and by default uses the project containing the lake.\u003c/p\u003e\n"]]],[],null,[]]