|
1488 | 1488 | "required": true, |
1489 | 1489 | "type": "string" |
1490 | 1490 | }, |
| 1491 | + { |
| 1492 | + "name": "apiMode", |
| 1493 | + "description": "Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode.\nConsult the documentation for each field to understand which mode it is supported in.\n\n - DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: Unspecified means legacy behavior.\n - DESCRIBE_TASK_QUEUE_MODE_ENHANCED: Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.", |
| 1494 | + "in": "query", |
| 1495 | + "required": false, |
| 1496 | + "type": "string", |
| 1497 | + "enum": [ |
| 1498 | + "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED", |
| 1499 | + "DESCRIBE_TASK_QUEUE_MODE_ENHANCED" |
| 1500 | + ], |
| 1501 | + "default": "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED" |
| 1502 | + }, |
1491 | 1503 | { |
1492 | 1504 | "name": "taskQueue.kind", |
1493 | 1505 | "description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.", |
|
1510 | 1522 | }, |
1511 | 1523 | { |
1512 | 1524 | "name": "taskQueueType", |
1513 | | - "description": "Deprecated. Use `ENHANCED` mode with `task_queue_types`. Ignored in `ENHANCED` mode.\nIf unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
| 1525 | + "description": "[DEFAULT MODE ONLY]\nIf unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.\nOnly supported in default mode (use `task_queue_types` in ENHANCED mode instead).\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
1514 | 1526 | "in": "query", |
1515 | 1527 | "required": false, |
1516 | 1528 | "type": "string", |
|
1524 | 1536 | }, |
1525 | 1537 | { |
1526 | 1538 | "name": "includeTaskQueueStatus", |
1527 | | - "description": "Deprecated. Ignored in `ENHANCED` mode.", |
| 1539 | + "description": "[DEFAULT MODE ONLY]\nIf true, the task queue status will be included in the response.\nIn ENHANCED mode, use `report_stats` instead.", |
1528 | 1540 | "in": "query", |
1529 | 1541 | "required": false, |
1530 | 1542 | "type": "boolean" |
1531 | 1543 | }, |
1532 | | - { |
1533 | | - "name": "apiMode", |
1534 | | - "description": "All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.\n\n - DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: Unspecified means legacy behavior.\n - DESCRIBE_TASK_QUEUE_MODE_ENHANCED: Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.", |
1535 | | - "in": "query", |
1536 | | - "required": false, |
1537 | | - "type": "string", |
1538 | | - "enum": [ |
1539 | | - "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED", |
1540 | | - "DESCRIBE_TASK_QUEUE_MODE_ENHANCED" |
1541 | | - ], |
1542 | | - "default": "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED" |
1543 | | - }, |
1544 | 1544 | { |
1545 | 1545 | "name": "versions.buildIds", |
1546 | 1546 | "description": "Include specific Build IDs.", |
|
1568 | 1568 | }, |
1569 | 1569 | { |
1570 | 1570 | "name": "taskQueueTypes", |
1571 | | - "description": "Task queue types to report info about. If not specified, all types are considered.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
| 1571 | + "description": "[ENHANCED MODE ONLY]\nTask queue types to report info about. If not specified, all types are considered.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
1572 | 1572 | "in": "query", |
1573 | 1573 | "required": false, |
1574 | 1574 | "type": "array", |
|
1585 | 1585 | }, |
1586 | 1586 | { |
1587 | 1587 | "name": "reportStats", |
1588 | | - "description": "Report stats for the requested task queue types and versions", |
| 1588 | + "description": "[BOTH MODES]\nReport stats for the requested task queue type(s), and versions (only in ENHANCED mode).", |
1589 | 1589 | "in": "query", |
1590 | 1590 | "required": false, |
1591 | 1591 | "type": "boolean" |
1592 | 1592 | }, |
1593 | 1593 | { |
1594 | 1594 | "name": "reportPollers", |
1595 | | - "description": "Report list of pollers for requested task queue types and versions", |
| 1595 | + "description": "[ENHANCED MODE ONLY]\nReport list of pollers for requested task queue types and versions.", |
1596 | 1596 | "in": "query", |
1597 | 1597 | "required": false, |
1598 | 1598 | "type": "boolean" |
1599 | 1599 | }, |
1600 | 1600 | { |
1601 | 1601 | "name": "reportTaskReachability", |
1602 | | - "description": "Report task reachability for the requested versions and all task types (task reachability is not reported\nper task type).", |
| 1602 | + "description": "[ENHANCED MODE ONLY]\nReport task reachability for the requested versions and all task types (task reachability is not reported\nper task type).", |
1603 | 1603 | "in": "query", |
1604 | 1604 | "required": false, |
1605 | 1605 | "type": "boolean" |
|
5036 | 5036 | "required": true, |
5037 | 5037 | "type": "string" |
5038 | 5038 | }, |
| 5039 | + { |
| 5040 | + "name": "apiMode", |
| 5041 | + "description": "Select the API mode to use for this request: DEFAULT mode (if unset) or ENHANCED mode.\nConsult the documentation for each field to understand which mode it is supported in.\n\n - DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: Unspecified means legacy behavior.\n - DESCRIBE_TASK_QUEUE_MODE_ENHANCED: Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.", |
| 5042 | + "in": "query", |
| 5043 | + "required": false, |
| 5044 | + "type": "string", |
| 5045 | + "enum": [ |
| 5046 | + "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED", |
| 5047 | + "DESCRIBE_TASK_QUEUE_MODE_ENHANCED" |
| 5048 | + ], |
| 5049 | + "default": "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED" |
| 5050 | + }, |
5039 | 5051 | { |
5040 | 5052 | "name": "taskQueue.kind", |
5041 | 5053 | "description": "Default: TASK_QUEUE_KIND_NORMAL.\n\n - TASK_QUEUE_KIND_NORMAL: Tasks from a normal workflow task queue always include complete workflow history\n\nThe task queue specified by the user is always a normal task queue. There can be as many\nworkers as desired for a single normal task queue. All those workers may pick up tasks from\nthat queue.\n - TASK_QUEUE_KIND_STICKY: A sticky queue only includes new history since the last workflow task, and they are\nper-worker.\n\nSticky queues are created dynamically by each worker during their start up. They only exist\nfor the lifetime of the worker process. Tasks in a sticky task queue are only available to\nthe worker that created the sticky queue.\n\nSticky queues are only for workflow tasks. There are no sticky task queues for activities.", |
|
5058 | 5070 | }, |
5059 | 5071 | { |
5060 | 5072 | "name": "taskQueueType", |
5061 | | - "description": "Deprecated. Use `ENHANCED` mode with `task_queue_types`. Ignored in `ENHANCED` mode.\nIf unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
| 5073 | + "description": "[DEFAULT MODE ONLY]\nIf unspecified (TASK_QUEUE_TYPE_UNSPECIFIED), then default value (TASK_QUEUE_TYPE_WORKFLOW) will be used.\nOnly supported in default mode (use `task_queue_types` in ENHANCED mode instead).\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
5062 | 5074 | "in": "query", |
5063 | 5075 | "required": false, |
5064 | 5076 | "type": "string", |
|
5072 | 5084 | }, |
5073 | 5085 | { |
5074 | 5086 | "name": "includeTaskQueueStatus", |
5075 | | - "description": "Deprecated. Ignored in `ENHANCED` mode.", |
| 5087 | + "description": "[DEFAULT MODE ONLY]\nIf true, the task queue status will be included in the response.\nIn ENHANCED mode, use `report_stats` instead.", |
5076 | 5088 | "in": "query", |
5077 | 5089 | "required": false, |
5078 | 5090 | "type": "boolean" |
5079 | 5091 | }, |
5080 | | - { |
5081 | | - "name": "apiMode", |
5082 | | - "description": "All options except `task_queue_type` and `include_task_queue_status` are only available in the `ENHANCED` mode.\n\n - DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED: Unspecified means legacy behavior.\n - DESCRIBE_TASK_QUEUE_MODE_ENHANCED: Enhanced mode reports aggregated results for all partitions, supports Build IDs, and reports richer info.", |
5083 | | - "in": "query", |
5084 | | - "required": false, |
5085 | | - "type": "string", |
5086 | | - "enum": [ |
5087 | | - "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED", |
5088 | | - "DESCRIBE_TASK_QUEUE_MODE_ENHANCED" |
5089 | | - ], |
5090 | | - "default": "DESCRIBE_TASK_QUEUE_MODE_UNSPECIFIED" |
5091 | | - }, |
5092 | 5092 | { |
5093 | 5093 | "name": "versions.buildIds", |
5094 | 5094 | "description": "Include specific Build IDs.", |
|
5116 | 5116 | }, |
5117 | 5117 | { |
5118 | 5118 | "name": "taskQueueTypes", |
5119 | | - "description": "Task queue types to report info about. If not specified, all types are considered.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
| 5119 | + "description": "[ENHANCED MODE ONLY]\nTask queue types to report info about. If not specified, all types are considered.\n\n - TASK_QUEUE_TYPE_WORKFLOW: Workflow type of task queue.\n - TASK_QUEUE_TYPE_ACTIVITY: Activity type of task queue.\n - TASK_QUEUE_TYPE_NEXUS: Task queue type for dispatching Nexus requests.", |
5120 | 5120 | "in": "query", |
5121 | 5121 | "required": false, |
5122 | 5122 | "type": "array", |
|
5133 | 5133 | }, |
5134 | 5134 | { |
5135 | 5135 | "name": "reportStats", |
5136 | | - "description": "Report stats for the requested task queue types and versions", |
| 5136 | + "description": "[BOTH MODES]\nReport stats for the requested task queue type(s), and versions (only in ENHANCED mode).", |
5137 | 5137 | "in": "query", |
5138 | 5138 | "required": false, |
5139 | 5139 | "type": "boolean" |
5140 | 5140 | }, |
5141 | 5141 | { |
5142 | 5142 | "name": "reportPollers", |
5143 | | - "description": "Report list of pollers for requested task queue types and versions", |
| 5143 | + "description": "[ENHANCED MODE ONLY]\nReport list of pollers for requested task queue types and versions.", |
5144 | 5144 | "in": "query", |
5145 | 5145 | "required": false, |
5146 | 5146 | "type": "boolean" |
5147 | 5147 | }, |
5148 | 5148 | { |
5149 | 5149 | "name": "reportTaskReachability", |
5150 | | - "description": "Report task reachability for the requested versions and all task types (task reachability is not reported\nper task type).", |
| 5150 | + "description": "[ENHANCED MODE ONLY]\nReport task reachability for the requested versions and all task types (task reachability is not reported\nper task type).", |
5151 | 5151 | "in": "query", |
5152 | 5152 | "required": false, |
5153 | 5153 | "type": "boolean" |
@@ -10058,22 +10058,26 @@ |
10058 | 10058 | "type": "object", |
10059 | 10059 | "$ref": "#/definitions/v1PollerInfo" |
10060 | 10060 | }, |
10061 | | - "description": "Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.\nNot set in `ENHANCED` mode." |
| 10061 | + "title": "[DEFAULT MODE ONLY]" |
10062 | 10062 | }, |
10063 | 10063 | "taskQueueStatus": { |
10064 | 10064 | "$ref": "#/definitions/v1TaskQueueStatus", |
10065 | | - "description": "Deprecated. Not set in `ENHANCED` mode." |
| 10065 | + "description": "[DEFAULT MODE ONLY]\nDeprecated.\nStatus of the task queue. Only populated when `include_task_queue_status` is set to true in the request." |
| 10066 | + }, |
| 10067 | + "taskQueueStats": { |
| 10068 | + "$ref": "#/definitions/v1TaskQueueStats", |
| 10069 | + "description": "[DEFAULT MODE ONLY]\nStatistics for the task queue. Only populated when `report_stats` is set to true in the request." |
10066 | 10070 | }, |
10067 | 10071 | "versionsInfo": { |
10068 | 10072 | "type": "object", |
10069 | 10073 | "additionalProperties": { |
10070 | 10074 | "$ref": "#/definitions/v1TaskQueueVersionInfo" |
10071 | 10075 | }, |
10072 | | - "description": "This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.\nOnly set in `ENHANCED` mode." |
| 10076 | + "description": "[ENHANCED MODE ONLY]\nThis map contains Task Queue information for each Build ID. Empty string as key value means unversioned." |
10073 | 10077 | }, |
10074 | 10078 | "versioningInfo": { |
10075 | 10079 | "$ref": "#/definitions/v1TaskQueueVersioningInfo", |
10076 | | - "description": "Specifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.\nWhen not present, it means the tasks are routed to Unversioned workers (workers with\nUNVERSIONED or unspecified WorkerVersioningMode.)\nTask Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion\nand SetWorkerDeploymentRampingVersion on Worker Deployments.\nNote: This information is not relevant to Pinned workflow executions and their activities as\nthey are always routed to their Pinned Deployment Version. However, new workflow executions\nare typically not Pinned until they complete their first task (unless they are started with\na Pinned VersioningOverride or are Child Workflows of a Pinned parent)." |
| 10080 | + "description": "[ENHANCED MODE ONLY]\nSpecifies which Worker Deployment Version(s) Server routes this Task Queue's tasks to.\nWhen not present, it means the tasks are routed to Unversioned workers (workers with\nUNVERSIONED or unspecified WorkerVersioningMode.)\nTask Queue Versioning info is updated indirectly by calling SetWorkerDeploymentCurrentVersion\nand SetWorkerDeploymentRampingVersion on Worker Deployments.\nNote: This information is not relevant to Pinned workflow executions and their activities as\nthey are always routed to their Pinned Deployment Version. However, new workflow executions\nare typically not Pinned until they complete their first task (unless they are started with\na Pinned VersioningOverride or are Child Workflows of a Pinned parent)." |
10077 | 10081 | } |
10078 | 10082 | } |
10079 | 10083 | }, |
|
0 commit comments