@maxim_mazurok/gapi.client.cloudtasks-v2beta2 0.0.20230207 → 0.0.20230224

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 +12 -12
  2. package/package.json +1 -1
  3. package/tests.ts +1 -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=v2beta2
12
- // Revision: 20230207
12
+ // Revision: 20230224
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -177,8 +177,8 @@ declare namespace gapi.client {
177
177
  * name. If a name is not specified then the system will generate a random unique task id, which will be set in the task returned in the response. If schedule_time is not set or is in
178
178
  * the past then Cloud Tasks will set it to the current time. Task De-duplication: Explicitly specifying a task ID enables task de-duplication. If a task's ID is identical to that of
179
179
  * an existing task or a task that was deleted or completed recently then the call will fail with ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task
180
- * with the same name can't be created for ~1hour after the original task was deleted or completed. If the task's queue was created using queue.yaml or queue.xml, then another task
181
- * with the same name can't be created for ~9days after the original task was deleted or completed. Because there is an extra lookup cost to identify duplicate task names, these
180
+ * with the same name can't be created for ~1 hour after the original task was deleted or completed. If the task's queue was created using queue.yaml or queue.xml, then another task
181
+ * with the same name can't be created for ~9 days after the original task was deleted or completed. Because there is an extra lookup cost to identify duplicate task names, these
182
182
  * CreateTask calls have significantly increased latency. Using hashed strings for the task id or for the prefix of the task id is recommended. Choosing task ids that are sequential or
183
183
  * have sequential prefixes, for example using a timestamp, causes an increase in latency and error rates in all task commands. The infrastructure relies on an approximately uniform
184
184
  * distribution of task ids to store and serve tasks efficiently.
@@ -274,7 +274,7 @@ declare namespace gapi.client {
274
274
  */
275
275
  headerOverrides?: HeaderOverride[];
276
276
  /**
277
- * The HTTP method to use for the request. When specified, it will override HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be
277
+ * The HTTP method to use for the request. When specified, it overrides HttpRequest for the task. Note that if the value is set to HttpMethod the HttpRequest of the task will be
278
278
  * ignored at execution time.
279
279
  */
280
280
  httpMethod?: string;
@@ -288,7 +288,7 @@ declare namespace gapi.client {
288
288
  * type of authorization can be used for many scenarios, including calling Cloud Run, or endpoints where you intend to validate the token yourself.
289
289
  */
290
290
  oidcToken?: OidcToken;
291
- /** Uri override. When specified, modifies the execution Uri for all the tasks in the queue. */
291
+ /** Uri override. When specified, overrides the execution Uri for all the tasks in the queue. */
292
292
  uriOverride?: UriOverride;
293
293
  }
294
294
  interface LeaseTasksRequest {
@@ -379,7 +379,7 @@ declare namespace gapi.client {
379
379
  serviceAccountEmail?: string;
380
380
  }
381
381
  interface PathOverride {
382
- /** The URI path (e.g., a/b/c). Default is Empty string. */
382
+ /** The URI path (e.g., /users/1234). Default is an empty string. */
383
383
  path?: string;
384
384
  }
385
385
  // tslint:disable-next-line:no-empty-interface
@@ -430,7 +430,7 @@ declare namespace gapi.client {
430
430
  interface PurgeQueueRequest {
431
431
  }
432
432
  interface QueryOverride {
433
- /** The query parameters (e.g., qparam1=123&qparam2=456). Default is Empty string. */
433
+ /** The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. */
434
434
  queryParams?: string;
435
435
  }
436
436
  interface Queue {
@@ -670,18 +670,18 @@ declare namespace gapi.client {
670
670
  }
671
671
  interface UriOverride {
672
672
  /**
673
- * 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
674
- * overridden URI will be changed to "https://example.net". Host value cannot be an empty string.
673
+ * Host override. When specified, replaces 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
674
+ * overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
675
675
  */
676
676
  host?: string;
677
- /** 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. */
677
+ /** URI path. When specified, replaces the existing path of the task URL. Setting the path value to an empty string clears the URI path segment. */
678
678
  pathOverride?: PathOverride;
679
679
  /**
680
- * 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
680
+ * Port override. When specified, replaces the port part of the task URI. For instance, for a URI http://www.google.com/foo and port=123, the overridden URI becomes
681
681
  * 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.
682
682
  */
683
683
  port?: string;
684
- /** 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. */
684
+ /** URI Query. When specified, replaces the query part of the task URI. Setting the query value to an empty string clears the URI query segment. */
685
685
  queryOverride?: QueryOverride;
686
686
  /** Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */
687
687
  scheme?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudtasks-v2beta2",
3
- "version": "0.0.20230207",
3
+ "version": "0.0.20230224",
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: 20230207
6
+ // Revision: 20230224
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */