- [JSON representation](https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/ExecutionSpec#SCHEMA_REPRESENTATION)

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" }`. |
| `serviceAccount` | `string` Required. Service account to use to execute a task. If not provided, the default Compute service account for the project is used. |
| `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 `https://docs.cloud.google.com/knowledge-catalog/docs/reference/rest/v1/ExecutionSpec#FIELDS.service_account` must belong to this project. |
| `maxJobExecutionLifetime` | ``string (`https://protobuf.dev/reference/protobuf/google.protobuf#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/{projectNumber}/locations/{locationId}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`. |