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 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 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 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 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 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
must belong to this project.
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
must belong to this project.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface Task.ExecutionSpecOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder) \n\n public static interface Task.ExecutionSpecOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### containsArgs(String key)\n\n public abstract boolean containsArgs(String key)\n\nOptional. The arguments to pass to the task.\nThe args can use placeholders of the format ${placeholder} as\npart of key/value string. These will be interpolated before passing the\nargs to the driver. Currently supported placeholders:\n\n- ${task_id}\n- ${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 \u003chttps://cloud.google.com/sdk/gcloud/reference/topic/escaping\u003e. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.\n\n`map\u003cstring, string\u003e args = 4;`\n\n### getArgs()\n\n public abstract Map\u003cString,String\u003e getArgs()\n\nUse [#getArgsMap()](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.dataplex.v1.Task.ExecutionSpecOrBuilder#com_google_events_cloud_dataplex_v1_Task_ExecutionSpecOrBuilder_getArgsMap__) instead.\n\n### getArgsCount()\n\n public abstract int getArgsCount()\n\nOptional. The arguments to pass to the task.\nThe args can use placeholders of the format ${placeholder} as\npart of key/value string. These will be interpolated before passing the\nargs to the driver. Currently supported placeholders:\n\n- ${task_id}\n- ${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 \u003chttps://cloud.google.com/sdk/gcloud/reference/topic/escaping\u003e. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.\n\n`map\u003cstring, string\u003e args = 4;`\n\n### getArgsMap()\n\n public abstract Map\u003cString,String\u003e getArgsMap()\n\nOptional. The arguments to pass to the task.\nThe args can use placeholders of the format ${placeholder} as\npart of key/value string. These will be interpolated before passing the\nargs to the driver. Currently supported placeholders:\n\n- ${task_id}\n- ${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 \u003chttps://cloud.google.com/sdk/gcloud/reference/topic/escaping\u003e. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.\n\n`map\u003cstring, string\u003e args = 4;`\n\n### getArgsOrDefault(String key, String defaultValue)\n\n public abstract String getArgsOrDefault(String key, String defaultValue)\n\nOptional. The arguments to pass to the task.\nThe args can use placeholders of the format ${placeholder} as\npart of key/value string. These will be interpolated before passing the\nargs to the driver. Currently supported placeholders:\n\n- ${task_id}\n- ${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 \u003chttps://cloud.google.com/sdk/gcloud/reference/topic/escaping\u003e. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.\n\n`map\u003cstring, string\u003e args = 4;`\n\n### getArgsOrThrow(String key)\n\n public abstract String getArgsOrThrow(String key)\n\nOptional. The arguments to pass to the task.\nThe args can use placeholders of the format ${placeholder} as\npart of key/value string. These will be interpolated before passing the\nargs to the driver. Currently supported placeholders:\n\n- ${task_id}\n- ${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 \u003chttps://cloud.google.com/sdk/gcloud/reference/topic/escaping\u003e. In case of other keys being present in the args, then TASK_ARGS will be passed as the last argument.\n\n`map\u003cstring, string\u003e args = 4;`\n\n### getKmsKey()\n\n public abstract String getKmsKey()\n\nOptional. The Cloud KMS key to use for encryption, of the form:\n`projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.\n\n`string kms_key = 9;`\n\n### getKmsKeyBytes()\n\n public abstract ByteString getKmsKeyBytes()\n\nOptional. The Cloud KMS key to use for encryption, of the form:\n`projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`.\n\n`string kms_key = 9;`\n\n### getMaxJobExecutionLifetime()\n\n public abstract Duration getMaxJobExecutionLifetime()\n\nOptional. The maximum duration after which the job execution is expired.\n\n`.google.protobuf.Duration max_job_execution_lifetime = 8;`\n\n### getMaxJobExecutionLifetimeOrBuilder()\n\n public abstract DurationOrBuilder getMaxJobExecutionLifetimeOrBuilder()\n\nOptional. The maximum duration after which the job execution is expired.\n\n`.google.protobuf.Duration max_job_execution_lifetime = 8;`\n\n### getProject()\n\n public abstract String getProject()\n\nOptional. The project in which jobs are run. By default, the project\ncontaining the Lake is used. If a project is provided, the\nExecutionSpec.service_account\nmust belong to this project.\n\n`string project = 7;`\n\n### getProjectBytes()\n\n public abstract ByteString getProjectBytes()\n\nOptional. The project in which jobs are run. By default, the project\ncontaining the Lake is used. If a project is provided, the\nExecutionSpec.service_account\nmust belong to this project.\n\n`string project = 7;`\n\n### getServiceAccount()\n\n public abstract String getServiceAccount()\n\nRequired. Service account to use to execute a task.\nIf not provided, the default Compute service account for the project is\nused.\n\n`string service_account = 5;`\n\n### getServiceAccountBytes()\n\n public abstract ByteString getServiceAccountBytes()\n\nRequired. Service account to use to execute a task.\nIf not provided, the default Compute service account for the project is\nused.\n\n`string service_account = 5;`\n\n### hasMaxJobExecutionLifetime()\n\n public abstract boolean hasMaxJobExecutionLifetime()\n\nOptional. The maximum duration after which the job execution is expired.\n\n`.google.protobuf.Duration max_job_execution_lifetime = 8;`"]]