@maxim_mazurok/gapi.client.cloudtasks-v2 0.0.20230809 → 0.0.20230906
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 +13 -8
- 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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230906
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -425,8 +425,9 @@ declare namespace gapi.client {
|
|
|
425
425
|
number;
|
|
426
426
|
/**
|
|
427
427
|
* A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified
|
|
428
|
-
* when the queue is created, Cloud Tasks will pick the default.
|
|
429
|
-
*
|
|
428
|
+
* when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for "seconds"). For
|
|
429
|
+
* more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_backoff` will be truncated to the
|
|
430
|
+
* nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
430
431
|
*/
|
|
431
432
|
maxBackoff?:
|
|
432
433
|
string;
|
|
@@ -442,15 +443,18 @@ declare namespace gapi.client {
|
|
|
442
443
|
/**
|
|
443
444
|
* If positive, `max_retry_duration` specifies the time limit for retrying a failed task, measured from when the task was first attempted. Once `max_retry_duration` time has passed
|
|
444
445
|
* *and* the task has been attempted max_attempts times, no further attempts will be made and the task will be deleted. If zero, then the task age is unlimited. If unspecified when the
|
|
445
|
-
* queue is created, Cloud Tasks will pick the default.
|
|
446
|
+
* queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for "seconds"). For the
|
|
447
|
+
* maximum possible value or the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `max_retry_duration` will be truncated
|
|
448
|
+
* to the nearest second. This field has the same meaning as [task_age_limit in
|
|
446
449
|
* queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
447
450
|
*/
|
|
448
451
|
maxRetryDuration?:
|
|
449
452
|
string;
|
|
450
453
|
/**
|
|
451
454
|
* A task will be scheduled for retry between min_backoff and max_backoff duration after it fails, if the queue's RetryConfig specifies that the task should be retried. If unspecified
|
|
452
|
-
* when the queue is created, Cloud Tasks will pick the default.
|
|
453
|
-
*
|
|
455
|
+
* when the queue is created, Cloud Tasks will pick the default. The value must be given as a string that indicates the length of time (in seconds) followed by `s` (for "seconds"). For
|
|
456
|
+
* more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `min_backoff` will be truncated to the
|
|
457
|
+
* nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
|
|
454
458
|
*/
|
|
455
459
|
minBackoff?:
|
|
456
460
|
string;
|
|
@@ -513,8 +517,9 @@ declare namespace gapi.client {
|
|
|
513
517
|
* 10 minutes for standard apps with automatic scaling, 24 hours for standard apps with manual and basic scaling, and 60 minutes for flex apps. If the request deadline is set, it must
|
|
514
518
|
* be in the interval [15 seconds, 24 hours 15 seconds]. Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than the service's timeout. We
|
|
515
519
|
* recommend setting the `dispatch_deadline` to at most a few seconds more than the app handler's timeout. For more information see
|
|
516
|
-
* [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
|
|
517
|
-
*
|
|
520
|
+
* [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts). The value must be given as a string that indicates the length of time (in seconds) followed by
|
|
521
|
+
* `s` (for "seconds"). For more information on the format, see the documentation for [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration). `dispatch_deadline`
|
|
522
|
+
* will be truncated to the nearest millisecond. The deadline is an approximate deadline.
|
|
518
523
|
*/
|
|
519
524
|
dispatchDeadline?:
|
|
520
525
|
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: 20230906
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|