|
876 | 876 | } |
877 | 877 | } |
878 | 878 | }, |
879 | | - "revision": "20221025", |
| 879 | + "revision": "20230105", |
880 | 880 | "rootUrl": "https://cloudtasks.googleapis.com/", |
881 | 881 | "schemas": { |
882 | 882 | "AcknowledgeTaskRequest": { |
|
1474 | 1474 | }, |
1475 | 1475 | "type": "object" |
1476 | 1476 | }, |
| 1477 | + "PathOverride": { |
| 1478 | + "description": "PathOverride. Path message defines path override for HTTP targets.", |
| 1479 | + "id": "PathOverride", |
| 1480 | + "properties": { |
| 1481 | + "path": { |
| 1482 | + "description": "The URI path (e.g., a/b/c). Default is Empty string.", |
| 1483 | + "type": "string" |
| 1484 | + } |
| 1485 | + }, |
| 1486 | + "type": "object" |
| 1487 | + }, |
1477 | 1488 | "PauseQueueRequest": { |
1478 | 1489 | "description": "Request message for PauseQueue.", |
1479 | 1490 | "id": "PauseQueueRequest", |
|
1532 | 1543 | "properties": {}, |
1533 | 1544 | "type": "object" |
1534 | 1545 | }, |
| 1546 | + "QueryOverride": { |
| 1547 | + "description": "QueryOverride. Query message defines query override for HTTP targets.", |
| 1548 | + "id": "QueryOverride", |
| 1549 | + "properties": { |
| 1550 | + "queryParams": { |
| 1551 | + "description": "The query parameters (e.g., qparam1=123\u0026qparam2=456). Default is Empty string.", |
| 1552 | + "type": "string" |
| 1553 | + } |
| 1554 | + }, |
| 1555 | + "type": "object" |
| 1556 | + }, |
1535 | 1557 | "Queue": { |
1536 | 1558 | "description": "A queue is a container of related tasks. Queues are configured to manage how those tasks are dispatched. Configurable properties include rate limits, retry options, target types, and others.", |
1537 | 1559 | "id": "Queue", |
|
1899 | 1921 | "id": "UriOverride", |
1900 | 1922 | "properties": { |
1901 | 1923 | "host": { |
1902 | | - "description": "Host override. When specified, the host part of url will be overridden. For example, if the original Uri is \"https://www.google.com\", and host is set to \"example.net\", the overridden Uri will be \"https://example.net\".", |
| 1924 | + "description": "Host override. When specified, will replace the host part of the task URL. For example, if the task URL is \"https://www.google.com\", and host value is set to \"example.net\", the overridden URI will be changed to \"https://example.net\". Host value cannot be an empty string.", |
1903 | 1925 | "type": "string" |
1904 | 1926 | }, |
1905 | | - "path": { |
1906 | | - "description": "Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url).", |
1907 | | - "type": "string" |
| 1927 | + "pathOverride": { |
| 1928 | + "$ref": "PathOverride", |
| 1929 | + "description": "URI path. When specified, will replace the existing path of the task URL. Setting the path value to an empty string clears the URI path segment." |
1908 | 1930 | }, |
1909 | 1931 | "port": { |
1910 | | - "description": "Port override. When specified, the port part of Uri will be replaced by the provided value. For instance, for a Uri http://www.google.com/foo and port=123 the overridden Uri becomes http://www.google.com:123/foo.", |
| 1932 | + "description": "Port override. When specified, will replace the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes http://www.google.com:123/foo. Note that the port value must be a positive integer. Setting the port to 0 (Zero) clears the URI port.", |
1911 | 1933 | "format": "int64", |
1912 | 1934 | "type": "string" |
1913 | 1935 | }, |
1914 | | - "query": { |
1915 | | - "description": "Uri Query. Will replace the query part of the task uri.", |
1916 | | - "type": "string" |
| 1936 | + "queryOverride": { |
| 1937 | + "$ref": "QueryOverride", |
| 1938 | + "description": "URI Query. When specified, will replace the query part of the task URI. Setting the query value to an empty string clears the URI query segment." |
1917 | 1939 | }, |
1918 | 1940 | "scheme": { |
1919 | | - "description": "Scheme override. When specified, the Uri scheme is replaced by the provided value.", |
| 1941 | + "description": "Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS).", |
1920 | 1942 | "enum": [ |
1921 | 1943 | "SCHEME_UNSPECIFIED", |
1922 | 1944 | "HTTP", |
|
1930 | 1952 | "type": "string" |
1931 | 1953 | }, |
1932 | 1954 | "uriOverrideEnforceMode": { |
1933 | | - "description": "Uri Override Enforce Mode Determines the Target UriOverride mode.", |
| 1955 | + "description": "URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS.", |
1934 | 1956 | "enum": [ |
1935 | 1957 | "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", |
1936 | 1958 | "IF_NOT_EXISTS", |
|
0 commit comments