@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20221129 → 0.0.20230105

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 +19 -11
  2. package/package.json +1 -1
  3. package/tests.ts +13 -5
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=v2beta2
12
- // Revision: 20221129
12
+ // Revision: 20230105
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -379,6 +379,10 @@ declare namespace gapi.client {
379
379
  */
380
380
  serviceAccountEmail?: string;
381
381
  }
382
+ interface PathOverride {
383
+ /** The URI path (e.g., a/b/c). Default is Empty string. */
384
+ path?: string;
385
+ }
382
386
  // tslint:disable-next-line:no-empty-interface
383
387
  interface PauseQueueRequest {
384
388
  }
@@ -426,6 +430,10 @@ declare namespace gapi.client {
426
430
  // tslint:disable-next-line:no-empty-interface
427
431
  interface PurgeQueueRequest {
428
432
  }
433
+ interface QueryOverride {
434
+ /** The query parameters (e.g., qparam1=123&qparam2=456). Default is Empty string. */
435
+ queryParams?: string;
436
+ }
429
437
  interface Queue {
430
438
  /** App Engine HTTP target. An App Engine queue is a queue that has an AppEngineHttpTarget. */
431
439
  appEngineHttpTarget?: AppEngineHttpTarget;
@@ -663,22 +671,22 @@ declare namespace gapi.client {
663
671
  }
664
672
  interface UriOverride {
665
673
  /**
666
- * 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
667
- * overridden Uri will be "https://example.net".
674
+ * 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
675
+ * overridden URI will be changed to "https://example.net". Host value cannot be an empty string.
668
676
  */
669
677
  host?: string;
670
- /** Uri path. Will be used as the path for the current Uri (replaces any existing path of the task url). */
671
- path?: string;
678
+ /** 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. */
679
+ pathOverride?: PathOverride;
672
680
  /**
673
- * 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
674
- * http://www.google.com:123/foo.
681
+ * 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
682
+ * 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.
675
683
  */
676
684
  port?: string;
677
- /** Uri Query. Will replace the query part of the task uri. */
678
- query?: string;
679
- /** Scheme override. When specified, the Uri scheme is replaced by the provided value. */
685
+ /** 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. */
686
+ queryOverride?: QueryOverride;
687
+ /** Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */
680
688
  scheme?: string;
681
- /** Uri Override Enforce Mode Determines the Target UriOverride mode. */
689
+ /** URI Override Enforce Mode When specified, determines the Target UriOverride mode. If not specified, it defaults to ALWAYS. */
682
690
  uriOverrideEnforceMode?: string;
683
691
  }
684
692
  interface QueueResource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtasks-v2beta2",
3
- "version": "0.0.20221129",
3
+ "version": "0.0.20230105",
4
4
  "description": "TypeScript typings for Cloud Tasks API v2beta2",
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: 20221129
6
+ // Revision: 20230105
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -91,9 +91,13 @@ gapi.load('client', async () => {
91
91
  },
92
92
  uriOverride: {
93
93
  host: "Test string",
94
- path: "Test string",
94
+ pathOverride: {
95
+ path: "Test string",
96
+ },
95
97
  port: "Test string",
96
- query: "Test string",
98
+ queryOverride: {
99
+ queryParams: "Test string",
100
+ },
97
101
  scheme: "Test string",
98
102
  uriOverrideEnforceMode: "Test string",
99
103
  },
@@ -196,9 +200,13 @@ gapi.load('client', async () => {
196
200
  },
197
201
  uriOverride: {
198
202
  host: "Test string",
199
- path: "Test string",
203
+ pathOverride: {
204
+ path: "Test string",
205
+ },
200
206
  port: "Test string",
201
- query: "Test string",
207
+ queryOverride: {
208
+ queryParams: "Test string",
209
+ },
202
210
  scheme: "Test string",
203
211
  uriOverrideEnforceMode: "Test string",
204
212
  },