|
1510 | 1510 | }, |
1511 | 1511 | { |
1512 | 1512 | "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.", |
| 1513 | + "description": "If 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 | 1514 | "in": "query", |
1515 | 1515 | "required": false, |
1516 | 1516 | "type": "string", |
|
1522 | 1522 | ], |
1523 | 1523 | "default": "TASK_QUEUE_TYPE_UNSPECIFIED" |
1524 | 1524 | }, |
| 1525 | + { |
| 1526 | + "name": "reportStats", |
| 1527 | + "description": "Report stats for the requested task queue type(s).", |
| 1528 | + "in": "query", |
| 1529 | + "required": false, |
| 1530 | + "type": "boolean" |
| 1531 | + }, |
1525 | 1532 | { |
1526 | 1533 | "name": "includeTaskQueueStatus", |
1527 | | - "description": "Deprecated. Ignored in `ENHANCED` mode.", |
| 1534 | + "description": "Deprecated, use `report_stats` instead.\nIf true, the task queue status will be included in the response.", |
1528 | 1535 | "in": "query", |
1529 | 1536 | "required": false, |
1530 | 1537 | "type": "boolean" |
1531 | 1538 | }, |
1532 | 1539 | { |
1533 | 1540 | "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.", |
| 1541 | + "description": "Deprecated. ENHANCED mode is also being deprecated.\nSelect 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.", |
1535 | 1542 | "in": "query", |
1536 | 1543 | "required": false, |
1537 | 1544 | "type": "string", |
|
1568 | 1575 | }, |
1569 | 1576 | { |
1570 | 1577 | "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.", |
| 1578 | + "description": "Deprecated (as part of the ENHANCED mode deprecation).\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 | 1579 | "in": "query", |
1573 | 1580 | "required": false, |
1574 | 1581 | "type": "array", |
|
1583 | 1590 | }, |
1584 | 1591 | "collectionFormat": "multi" |
1585 | 1592 | }, |
1586 | | - { |
1587 | | - "name": "reportStats", |
1588 | | - "description": "Report stats for the requested task queue types and versions", |
1589 | | - "in": "query", |
1590 | | - "required": false, |
1591 | | - "type": "boolean" |
1592 | | - }, |
1593 | 1593 | { |
1594 | 1594 | "name": "reportPollers", |
1595 | | - "description": "Report list of pollers for requested task queue types and versions", |
| 1595 | + "description": "Deprecated (as part of the ENHANCED mode deprecation).\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": "Deprecated (as part of the ENHANCED mode deprecation).\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" |
|
5058 | 5058 | }, |
5059 | 5059 | { |
5060 | 5060 | "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.", |
| 5061 | + "description": "If 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 | 5062 | "in": "query", |
5063 | 5063 | "required": false, |
5064 | 5064 | "type": "string", |
|
5070 | 5070 | ], |
5071 | 5071 | "default": "TASK_QUEUE_TYPE_UNSPECIFIED" |
5072 | 5072 | }, |
| 5073 | + { |
| 5074 | + "name": "reportStats", |
| 5075 | + "description": "Report stats for the requested task queue type(s).", |
| 5076 | + "in": "query", |
| 5077 | + "required": false, |
| 5078 | + "type": "boolean" |
| 5079 | + }, |
5073 | 5080 | { |
5074 | 5081 | "name": "includeTaskQueueStatus", |
5075 | | - "description": "Deprecated. Ignored in `ENHANCED` mode.", |
| 5082 | + "description": "Deprecated, use `report_stats` instead.\nIf true, the task queue status will be included in the response.", |
5076 | 5083 | "in": "query", |
5077 | 5084 | "required": false, |
5078 | 5085 | "type": "boolean" |
5079 | 5086 | }, |
5080 | 5087 | { |
5081 | 5088 | "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.", |
| 5089 | + "description": "Deprecated. ENHANCED mode is also being deprecated.\nSelect 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.", |
5083 | 5090 | "in": "query", |
5084 | 5091 | "required": false, |
5085 | 5092 | "type": "string", |
|
5116 | 5123 | }, |
5117 | 5124 | { |
5118 | 5125 | "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.", |
| 5126 | + "description": "Deprecated (as part of the ENHANCED mode deprecation).\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 | 5127 | "in": "query", |
5121 | 5128 | "required": false, |
5122 | 5129 | "type": "array", |
|
5131 | 5138 | }, |
5132 | 5139 | "collectionFormat": "multi" |
5133 | 5140 | }, |
5134 | | - { |
5135 | | - "name": "reportStats", |
5136 | | - "description": "Report stats for the requested task queue types and versions", |
5137 | | - "in": "query", |
5138 | | - "required": false, |
5139 | | - "type": "boolean" |
5140 | | - }, |
5141 | 5141 | { |
5142 | 5142 | "name": "reportPollers", |
5143 | | - "description": "Report list of pollers for requested task queue types and versions", |
| 5143 | + "description": "Deprecated (as part of the ENHANCED mode deprecation).\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": "Deprecated (as part of the ENHANCED mode deprecation).\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" |
@@ -10081,23 +10081,26 @@ |
10081 | 10081 | "items": { |
10082 | 10082 | "type": "object", |
10083 | 10083 | "$ref": "#/definitions/v1PollerInfo" |
10084 | | - }, |
10085 | | - "description": "Deprecated. Use `versions_info.types_info.pollers` with `ENHANCED` mode instead.\nNot set in `ENHANCED` mode." |
| 10084 | + } |
| 10085 | + }, |
| 10086 | + "stats": { |
| 10087 | + "$ref": "#/definitions/v1TaskQueueStats", |
| 10088 | + "description": "Statistics for the task queue. Only populated when `report_stats` is set to true in the request." |
| 10089 | + }, |
| 10090 | + "versioningInfo": { |
| 10091 | + "$ref": "#/definitions/v1TaskQueueVersioningInfo", |
| 10092 | + "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)." |
10086 | 10093 | }, |
10087 | 10094 | "taskQueueStatus": { |
10088 | 10095 | "$ref": "#/definitions/v1TaskQueueStatus", |
10089 | | - "description": "Deprecated. Not set in `ENHANCED` mode." |
| 10096 | + "description": "Deprecated.\nStatus of the task queue. Only populated when `include_task_queue_status` is set to true in the request." |
10090 | 10097 | }, |
10091 | 10098 | "versionsInfo": { |
10092 | 10099 | "type": "object", |
10093 | 10100 | "additionalProperties": { |
10094 | 10101 | "$ref": "#/definitions/v1TaskQueueVersionInfo" |
10095 | 10102 | }, |
10096 | | - "description": "This map contains Task Queue information for each Build ID. Empty string as key value means unversioned.\nOnly set in `ENHANCED` mode." |
10097 | | - }, |
10098 | | - "versioningInfo": { |
10099 | | - "$ref": "#/definitions/v1TaskQueueVersioningInfo", |
10100 | | - "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)." |
| 10103 | + "description": "Deprecated.\nOnly returned in ENHANCED mode.\nThis map contains Task Queue information for each Build ID. Empty string as key value means unversioned." |
10101 | 10104 | } |
10102 | 10105 | } |
10103 | 10106 | }, |
|
0 commit comments