@maxim_mazurok/gapi.client.cloudtasks-v2beta3 0.0.20230324 → 0.0.20230417

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.d.ts +11 -1
  2. package/package.json +1 -1
  3. package/tests.ts +17 -1
package/index.d.ts CHANGED
@@ -9,7 +9,7 @@
9
9
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
10
10
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
11
11
  // Generated from: https://cloudtasks.googleapis.com/$discovery/rest?version=v2beta3
12
- // Revision: 20230324
12
+ // Revision: 20230417
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -251,6 +251,16 @@ declare namespace gapi.client {
251
251
  * ignored at execution time.
252
252
  */
253
253
  httpMethod?: string;
254
+ /**
255
+ * 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
256
+ * of authorization should generally only be used when calling Google APIs hosted on *.googleapis.com.
257
+ */
258
+ oauthToken?: OAuthToken;
259
+ /**
260
+ * 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
261
+ * type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
262
+ */
263
+ oidcToken?: OidcToken;
254
264
  /** URI override. When specified, overrides the execution URI for all the tasks in the queue. */
255
265
  uriOverride?: UriOverride;
256
266
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtasks-v2beta3",
3
- "version": "0.0.20230324",
3
+ "version": "0.0.20230417",
4
4
  "description": "TypeScript typings for Cloud Tasks API v2beta3",
5
5
  "license": "MIT",
6
6
  "author": {
package/tests.ts CHANGED
@@ -3,7 +3,7 @@
3
3
  // This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
4
4
  // In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
5
5
 
6
- // Revision: 20230324
6
+ // Revision: 20230417
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -66,6 +66,14 @@ gapi.load('client', async () => {
66
66
  }
67
67
  ],
68
68
  httpMethod: "Test string",
69
+ oauthToken: {
70
+ scope: "Test string",
71
+ serviceAccountEmail: "Test string",
72
+ },
73
+ oidcToken: {
74
+ audience: "Test string",
75
+ serviceAccountEmail: "Test string",
76
+ },
69
77
  uriOverride: {
70
78
  host: "Test string",
71
79
  pathOverride: {
@@ -168,6 +176,14 @@ gapi.load('client', async () => {
168
176
  }
169
177
  ],
170
178
  httpMethod: "Test string",
179
+ oauthToken: {
180
+ scope: "Test string",
181
+ serviceAccountEmail: "Test string",
182
+ },
183
+ oidcToken: {
184
+ audience: "Test string",
185
+ serviceAccountEmail: "Test string",
186
+ },
171
187
  uriOverride: {
172
188
  host: "Test string",
173
189
  pathOverride: {