GoogleCloudDataplexV1TaskExecutionSpecArgs

data class GoogleCloudDataplexV1TaskExecutionSpecArgs(val args: Output<Map<String, String>>? = null, val kmsKey: Output<String>? = null, val maxJobExecutionLifetime: Output<String>? = null, val project: Output<String>? = null, val serviceAccount: Output<String>) : ConvertibleToJava<GoogleCloudDataplexV1TaskExecutionSpecArgs>

Execution related settings, like retry and service_account.

Constructors

fun GoogleCloudDataplexV1TaskExecutionSpecArgs(args: Output<Map<String, String>>? = null, kmsKey: Output<String>? = null, maxJobExecutionLifetime: Output<String>? = null, project: Output<String>? = null, serviceAccount: Output<String>)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDataplexV1TaskExecutionSpecArgs

Properties

Link copied to clipboard
val args: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val kmsKey: Output<String>? = null

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}.

Link copied to clipboard
val maxJobExecutionLifetime: Output<String>? = null

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

Link copied to clipboard
val project: Output<String>? = null

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.

Link copied to clipboard
val serviceAccount: Output<String>

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