@maxim_mazurok/gapi.client.cloudtasks-v2beta3 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.
- package/index.d.ts +14 -14
- package/package.json +1 -1
- 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=v2beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230224
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -150,10 +150,10 @@ declare namespace gapi.client {
|
|
|
150
150
|
* 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
|
|
151
151
|
* 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
|
|
152
152
|
* an existing task or a task that was deleted or executed recently then the call will fail with ALREADY_EXISTS. If the task's queue was created using Cloud Tasks, then another task
|
|
153
|
-
* with the same name can't be created for ~
|
|
154
|
-
* the same name can't be created for ~
|
|
155
|
-
* 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
|
|
156
|
-
* 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
|
|
153
|
+
* with the same name can't be created for ~1 hour after the original task was deleted or executed. If the task's queue was created using queue.yaml or queue.xml, then another task
|
|
154
|
+
* with the same name can't be created for ~9 days after the original task was deleted or executed. Because there is an extra lookup cost to identify duplicate task names, these
|
|
155
|
+
* 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
|
|
156
|
+
* 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
|
|
157
157
|
* distribution of task ids to store and serve tasks efficiently.
|
|
158
158
|
*/
|
|
159
159
|
task?: Task;
|
|
@@ -247,11 +247,11 @@ declare namespace gapi.client {
|
|
|
247
247
|
*/
|
|
248
248
|
headerOverrides?: HeaderOverride[];
|
|
249
249
|
/**
|
|
250
|
-
* The HTTP method to use for the request. When specified, it
|
|
250
|
+
* 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
|
|
251
251
|
* ignored at execution time.
|
|
252
252
|
*/
|
|
253
253
|
httpMethod?: string;
|
|
254
|
-
/** URI override. When specified,
|
|
254
|
+
/** URI override. When specified, overrides the execution URI for all the tasks in the queue. */
|
|
255
255
|
uriOverride?: UriOverride;
|
|
256
256
|
}
|
|
257
257
|
interface ListLocationsResponse {
|
|
@@ -309,7 +309,7 @@ declare namespace gapi.client {
|
|
|
309
309
|
serviceAccountEmail?: string;
|
|
310
310
|
}
|
|
311
311
|
interface PathOverride {
|
|
312
|
-
/** The URI path (e.g.,
|
|
312
|
+
/** The URI path (e.g., /users/1234). Default is an empty string. */
|
|
313
313
|
path?: string;
|
|
314
314
|
}
|
|
315
315
|
// tslint:disable-next-line:no-empty-interface
|
|
@@ -355,7 +355,7 @@ declare namespace gapi.client {
|
|
|
355
355
|
interface PurgeQueueRequest {
|
|
356
356
|
}
|
|
357
357
|
interface QueryOverride {
|
|
358
|
-
/** The query parameters (e.g., qparam1=123&qparam2=456). Default is
|
|
358
|
+
/** The query parameters (e.g., qparam1=123&qparam2=456). Default is an empty string. */
|
|
359
359
|
queryParams?: string;
|
|
360
360
|
}
|
|
361
361
|
interface Queue {
|
|
@@ -596,18 +596,18 @@ declare namespace gapi.client {
|
|
|
596
596
|
}
|
|
597
597
|
interface UriOverride {
|
|
598
598
|
/**
|
|
599
|
-
* Host override. When specified,
|
|
600
|
-
* overridden URI will be changed to "https://example.net"
|
|
599
|
+
* 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
|
|
600
|
+
* overridden URI will be changed to "https://example.net." Host value cannot be an empty string (INVALID_ARGUMENT).
|
|
601
601
|
*/
|
|
602
602
|
host?: string;
|
|
603
|
-
/** URI path. When specified,
|
|
603
|
+
/** 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. */
|
|
604
604
|
pathOverride?: PathOverride;
|
|
605
605
|
/**
|
|
606
|
-
* Port override. When specified,
|
|
606
|
+
* 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
|
|
607
607
|
* 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.
|
|
608
608
|
*/
|
|
609
609
|
port?: string;
|
|
610
|
-
/** URI Query. When specified,
|
|
610
|
+
/** 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. */
|
|
611
611
|
queryOverride?: QueryOverride;
|
|
612
612
|
/** Scheme override. When specified, the task URI scheme is replaced by the provided value (HTTP or HTTPS). */
|
|
613
613
|
scheme?: string;
|
package/package.json
CHANGED
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:
|
|
6
|
+
// Revision: 20230224
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|