ExecutionSpec

Execution related settings, like retry and serviceAccount.

JSON representation
 { 
 "args" 
 : 
 { 
 string 
 : 
 string 
 , 
 ... 
 } 
 , 
 "serviceAccount" 
 : 
 string 
 , 
 "project" 
 : 
 string 
 , 
 "maxJobExecutionLifetime" 
 : 
 string 
 , 
 "kmsKey" 
 : 
 string 
 } 
Fields
args

map (key: string, value: string)

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: - ${taskId} - ${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.

An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" } .

project

string

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.

maxJobExecutionLifetime

string ( Duration format)

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

A duration in seconds with up to nine fractional digits, ending with ' s '. Example: "3.5s" .

kmsKey

string

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

Design a Mobile Site
View Site in Mobile | Classic
Share by: