ExecutionSpec Stay organized with collections Save and categorize content based on your preferences.
ExecutionSpec describes how the execution will look.
| JSON representation |
|---|
{"parallelism":integer,"taskCount":integer,"template":{object ( |
| Fields | |
|---|---|
parallelism |
Optional. Specifies the maximum desired number of tasks the execution should run at given time. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed, i.e. when the work left to do is less than max parallelism. |
taskCount |
Optional. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution. Defaults to 1. |
template |
Optional. The template used to create tasks for this execution. |
TaskTemplateSpec
TaskTemplateSpec describes the data a task should have when created from a template.
| JSON representation |
|---|
{"spec":{object ( |
| Fields | |
|---|---|
spec |
Optional. Specification of the desired behavior of the task. |
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-09 UTC.