Skip to content

Commit ab3a2bc

Browse files
yoshi-automationsofisl
authored andcommittedAug 27, 2024
fix(cloudtasks): update the API
#### cloudtasks:v2beta2 The following keys were changed: - schemas.HttpTarget.properties.oauthToken.description - schemas.HttpTarget.properties.oidcToken.description #### cloudtasks:v2beta3 The following keys were changed: - schemas.HttpTarget.properties.oauthToken.description - schemas.HttpTarget.properties.oidcToken.description #### cloudtasks:v2 The following keys were changed: - schemas.HttpTarget.properties.oauthToken.description - schemas.HttpTarget.properties.oidcToken.description
1 parent d790478 commit ab3a2bc

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed
 

Diff for: ‎discovery/cloudtasks-v2.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@
779779
}
780780
}
781781
},
782-
"revision": "20240301",
782+
"revision": "20240808",
783783
"rootUrl": "https://cloudtasks.googleapis.com/",
784784
"schemas": {
785785
"AppEngineHttpRequest": {
@@ -1164,11 +1164,11 @@
11641164
},
11651165
"oauthToken": {
11661166
"$ref": "OAuthToken",
1167-
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com."
1167+
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override."
11681168
},
11691169
"oidcToken": {
11701170
"$ref": "OidcToken",
1171-
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself."
1171+
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override."
11721172
},
11731173
"uriOverride": {
11741174
"$ref": "UriOverride",

Diff for: ‎discovery/cloudtasks-v2beta2.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -935,7 +935,7 @@
935935
}
936936
}
937937
},
938-
"revision": "20240301",
938+
"revision": "20240808",
939939
"rootUrl": "https://cloudtasks.googleapis.com/",
940940
"schemas": {
941941
"AcknowledgeTaskRequest": {
@@ -1369,11 +1369,11 @@
13691369
},
13701370
"oauthToken": {
13711371
"$ref": "OAuthToken",
1372-
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com."
1372+
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override."
13731373
},
13741374
"oidcToken": {
13751375
"$ref": "OidcToken",
1376-
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself."
1376+
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override."
13771377
},
13781378
"uriOverride": {
13791379
"$ref": "UriOverride",

Diff for: ‎discovery/cloudtasks-v2beta3.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -791,7 +791,7 @@
791791
}
792792
}
793793
},
794-
"revision": "20240301",
794+
"revision": "20240808",
795795
"rootUrl": "https://cloudtasks.googleapis.com/",
796796
"schemas": {
797797
"AppEngineHttpQueue": {
@@ -1187,11 +1187,11 @@
11871187
},
11881188
"oauthToken": {
11891189
"$ref": "OAuthToken",
1190-
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com."
1190+
"description": "If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override."
11911191
},
11921192
"oidcToken": {
11931193
"$ref": "OidcToken",
1194-
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself."
1194+
"description": "If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override."
11951195
},
11961196
"uriOverride": {
11971197
"$ref": "UriOverride",

Diff for: ‎src/apis/cloudtasks/v2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -376,11 +376,11 @@ export namespace cloudtasks_v2 {
376376
*/
377377
httpMethod?: string | null;
378378
/**
379-
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
379+
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.
380380
*/
381381
oauthToken?: Schema$OAuthToken;
382382
/**
383-
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
383+
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.
384384
*/
385385
oidcToken?: Schema$OidcToken;
386386
/**

Diff for: ‎src/apis/cloudtasks/v2beta2.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -409,11 +409,11 @@ export namespace cloudtasks_v2beta2 {
409409
*/
410410
httpMethod?: string | null;
411411
/**
412-
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
412+
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as an `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.
413413
*/
414414
oauthToken?: Schema$OAuthToken;
415415
/**
416-
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
416+
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.
417417
*/
418418
oidcToken?: Schema$OidcToken;
419419
/**

Diff for: ‎src/apis/cloudtasks/v2beta3.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -385,11 +385,11 @@ export namespace cloudtasks_v2beta3 {
385385
*/
386386
httpMethod?: string | null;
387387
/**
388-
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) will be generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
388+
* If specified, an [OAuth token](https://developers.google.com/identity/protocols/OAuth2) is generated and attached as the `Authorization` header in the HTTP request. This type of authorization should generally be used only when calling Google APIs hosted on *.googleapis.com. Note that both the service account email and the scope MUST be specified when using the queue-level authorization override.
389389
*/
390390
oauthToken?: Schema$OAuthToken;
391391
/**
392-
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token will be generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
392+
* If specified, an [OIDC](https://developers.google.com/identity/protocols/OpenIDConnect) token is generated and attached as an `Authorization` header in the HTTP request. This type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself. Note that both the service account email and the audience MUST be specified when using the queue-level authorization override.
393393
*/
394394
oidcToken?: Schema$OidcToken;
395395
/**

0 commit comments

Comments
 (0)
Please sign in to comment.