@maxim_mazurok/gapi.client.cloudtasks-v2 0.1.20260105 → 0.1.20260306
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 +4 -4
- package/package.json +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: 20260306
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -226,7 +226,7 @@ declare namespace gapi.client {
|
|
|
226
226
|
state?: string;
|
|
227
227
|
}
|
|
228
228
|
interface RateLimits {
|
|
229
|
-
/** Output only. The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on max_dispatches_per_second
|
|
229
|
+
/** Output only. The max burst size. Max burst size limits how fast tasks in queue are processed when many tasks are in the queue and the rate is high. This field allows the queue to have a high rate so processing starts shortly after a task is enqueued, but still limits resource usage when many tasks are enqueued in a short period of time. The [token bucket](https://wikipedia.org/wiki/Token_Bucket) algorithm is used to control the rate of task dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously refilled with new tokens based on `max_dispatches_per_second`. Cloud Tasks automatically sets an appropriate `max_burst_size` based on the value of `max_dispatches_per_second`. The value is dynamically optimized to ensure queue stability and throughput. It is generally at least equal to `max_dispatches_per_second` but might be higher to accommodate bursts of traffic. For queues that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size` will be reset based on the value of `max_dispatches_per_second`, regardless of whether `max_dispatches_per_second` is updated. */
|
|
230
230
|
maxBurstSize?: number;
|
|
231
231
|
/** The maximum number of concurrent tasks that Cloud Tasks allows to be dispatched for this queue. After this threshold has been reached, Cloud Tasks stops dispatching tasks until the number of concurrent requests decreases. If unspecified when the queue is created, Cloud Tasks will pick the default. The maximum allowed value is 5,000. This field has the same meaning as [max_concurrent_requests in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/config/queueref#max_concurrent_requests). */
|
|
232
232
|
maxConcurrentDispatches?: number;
|
|
@@ -1110,7 +1110,7 @@ declare namespace gapi.client {
|
|
|
1110
1110
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1111
1111
|
uploadType?: string;
|
|
1112
1112
|
}): Request<CmekConfig>;
|
|
1113
|
-
/** Lists information about the supported locations for this service. */
|
|
1113
|
+
/** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
1114
1114
|
list(request?: {
|
|
1115
1115
|
/** V1 error format. */
|
|
1116
1116
|
'$.xgafv'?: string;
|
|
@@ -1145,7 +1145,7 @@ declare namespace gapi.client {
|
|
|
1145
1145
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1146
1146
|
uploadType?: string;
|
|
1147
1147
|
}): Request<ListLocationsResponse>;
|
|
1148
|
-
/** Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key
|
|
1148
|
+
/** Creates or Updates a CMEK config. Updates the Customer Managed Encryption Key associated with the Cloud Tasks location (Creates if the key does not already exist). All new tasks created in the location will be encrypted at-rest with the KMS-key provided in the config. */
|
|
1149
1149
|
updateCmekConfig(request: {
|
|
1150
1150
|
/** V1 error format. */
|
|
1151
1151
|
'$.xgafv'?: string;
|