From b46ddfdbdb9f3c37308b09eb5361624a3169310f Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 25 Oct 2022 07:24:22 +0000 Subject: [PATCH] feat(cloudtasks): update the api #### cloudtasks:v2beta2 The following keys were added: - schemas.UriOverride.properties.uriOverrideEnforceMode.type (Total Keys: 1) --- ...sks_v2beta2.projects.locations.queues.html | 27 ++++++++++++------- .../documents/cloudtasks.v2.json | 2 +- .../documents/cloudtasks.v2beta2.json | 18 +++++++++++-- .../documents/cloudtasks.v2beta3.json | 2 +- 4 files changed, 36 insertions(+), 13 deletions(-) diff --git a/docs/dyn/cloudtasks_v2beta2.projects.locations.queues.html b/docs/dyn/cloudtasks_v2beta2.projects.locations.queues.html index 9a61f49b7db..a665c242ed1 100644 --- a/docs/dyn/cloudtasks_v2beta2.projects.locations.queues.html +++ b/docs/dyn/cloudtasks_v2beta2.projects.locations.queues.html @@ -160,12 +160,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -232,12 +233,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -330,12 +332,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -459,12 +462,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -549,12 +553,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -622,12 +627,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -707,12 +713,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -792,12 +799,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. @@ -877,12 +885,13 @@

Method Details

"audience": "A String", # Audience to be used when generating OIDC token. If not specified, the URI specified in target will be used. "serviceAccountEmail": "A String", # [Service account email](https://cloud.google.com/iam/docs/service-accounts) to be used for generating OIDC token. The service account must be within the same project as the queue. The caller must have iam.serviceAccounts.actAs permission for the service account. }, - "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified modifies the execution Uri for all the tasks in the queue. + "uriOverride": { # Uri Override. When specified, all the HTTP tasks inside the queue will be partially or fully overridden depending on the configured values. # Uri override. When specified, modifies the execution Uri for all the tasks in the queue. "host": "A String", # 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". "path": "A String", # Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). "port": "A String", # 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. "query": "A String", # Uri Query. Will replace the query part of the task uri. "scheme": "A String", # Scheme override. When specified, the Uri scheme is replaced by the provided value. + "uriOverrideEnforceMode": "A String", # Uri Override Enforce Mode Determines the Target UriOverride mode. }, }, "name": "A String", # Caller-specified and required in CreateQueue, after which it becomes output only. The queue name. The queue name must have the following format: `projects/PROJECT_ID/locations/LOCATION_ID/queues/QUEUE_ID` * `PROJECT_ID` can contain letters ([A-Za-z]), numbers ([0-9]), hyphens (-), colons (:), or periods (.). For more information, see [Identifying projects](https://cloud.google.com/resource-manager/docs/creating-managing-projects#identifying_projects) * `LOCATION_ID` is the canonical ID for the queue's location. The list of available locations can be obtained by calling ListLocations. For more information, see https://cloud.google.com/about/locations/. * `QUEUE_ID` can contain letters ([A-Za-z]), numbers ([0-9]), or hyphens (-). The maximum length is 100 characters. diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2.json index dc3d14b1639..cbacc9ca965 100644 --- a/googleapiclient/discovery_cache/documents/cloudtasks.v2.json +++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2.json @@ -685,7 +685,7 @@ } } }, - "revision": "20220923", + "revision": "20221014", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpRequest": { diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json index c45b6ff1e05..1edead22364 100644 --- a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json +++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta2.json @@ -876,7 +876,7 @@ } } }, - "revision": "20220923", + "revision": "20221014", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AcknowledgeTaskRequest": { @@ -1302,7 +1302,7 @@ }, "uriOverride": { "$ref": "UriOverride", - "description": "Uri override. When specified modifies the execution Uri for all the tasks in the queue." + "description": "Uri override. When specified, modifies the execution Uri for all the tasks in the queue." } }, "type": "object" @@ -1928,6 +1928,20 @@ "Convert the scheme to HTTPS, e.g., http://www.google.ca will change to https://www.google.ca." ], "type": "string" + }, + "uriOverrideEnforceMode": { + "description": "Uri Override Enforce Mode Determines the Target UriOverride mode.", + "enum": [ + "URI_OVERRIDE_ENFORCE_MODE_UNSPECIFIED", + "IF_NOT_EXISTS", + "ALWAYS" + ], + "enumDescriptions": [ + "OverrideMode Unspecified. Defaults to ALWAYS.", + "In the IF_NOT_EXISTS mode, queue-level configuration is only applied where task-level configuration does not exist.", + "In the ALWAYS mode, queue-level configuration overrides all task-level configuration" + ], + "type": "string" } }, "type": "object" diff --git a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json index caf9f132d03..ef4d27dcdc6 100644 --- a/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json +++ b/googleapiclient/discovery_cache/documents/cloudtasks.v2beta3.json @@ -697,7 +697,7 @@ } } }, - "revision": "20220923", + "revision": "20221014", "rootUrl": "https://cloudtasks.googleapis.com/", "schemas": { "AppEngineHttpQueue": {