You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-cloudtasks/v2/2.0.0/com/google/api/services/cloudtasks/v2/model/RateLimits.java
+27-21Lines changed: 27 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,15 @@ public final class RateLimits extends com.google.api.client.json.GenericJson {
40
40
* dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by
41
41
* `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks
42
42
* will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously
43
-
* refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of
44
-
* `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created
45
-
* or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.goo
46
-
* gle.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is
47
-
* output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size`
48
-
* will be reset based on the value of max_dispatches_per_second, regardless of whether
49
-
* max_dispatches_per_second is updated.
43
+
* refilled with new tokens based on `max_dispatches_per_second`. Cloud Tasks automatically sets
44
+
* an appropriate `max_burst_size` based on the value of `max_dispatches_per_second`. The value is
45
+
* dynamically optimized to ensure queue stability and throughput. It is generally at least equal
46
+
* to `max_dispatches_per_second` but might be higher to accommodate bursts of traffic. For queues
47
+
* that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size]
48
+
* (https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since
49
+
* `max_burst_size` is output only, if UpdateQueue is called on a queue created by
50
+
* `queue.yaml/xml`, `max_burst_size` will be reset based on the value of
51
+
* `max_dispatches_per_second`, regardless of whether `max_dispatches_per_second` is updated.
50
52
* The value may be {@code null}.
51
53
*/
52
54
@com.google.api.client.util.Key
@@ -83,13 +85,15 @@ public final class RateLimits extends com.google.api.client.json.GenericJson {
83
85
* dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by
84
86
* `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks
85
87
* will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously
86
-
* refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of
87
-
* `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created
88
-
* or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.goo
89
-
* gle.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is
90
-
* output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size`
91
-
* will be reset based on the value of max_dispatches_per_second, regardless of whether
92
-
* max_dispatches_per_second is updated.
88
+
* refilled with new tokens based on `max_dispatches_per_second`. Cloud Tasks automatically sets
89
+
* an appropriate `max_burst_size` based on the value of `max_dispatches_per_second`. The value is
90
+
* dynamically optimized to ensure queue stability and throughput. It is generally at least equal
91
+
* to `max_dispatches_per_second` but might be higher to accommodate bursts of traffic. For queues
92
+
* that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size]
93
+
* (https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since
94
+
* `max_burst_size` is output only, if UpdateQueue is called on a queue created by
95
+
* `queue.yaml/xml`, `max_burst_size` will be reset based on the value of
96
+
* `max_dispatches_per_second`, regardless of whether `max_dispatches_per_second` is updated.
93
97
* @return value or {@code null} for none
94
98
*/
95
99
publicjava.lang.IntegergetMaxBurstSize() {
@@ -105,13 +109,15 @@ public java.lang.Integer getMaxBurstSize() {
105
109
* dispatches. Each queue has a token bucket that holds tokens, up to the maximum specified by
106
110
* `max_burst_size`. Each time a task is dispatched, a token is removed from the bucket. Tasks
107
111
* will be dispatched until the queue's bucket runs out of tokens. The bucket will be continuously
108
-
* refilled with new tokens based on max_dispatches_per_second. Cloud Tasks will pick the value of
109
-
* `max_burst_size` based on the value of max_dispatches_per_second. For queues that were created
110
-
* or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size](https://cloud.goo
111
-
* gle.com/appengine/docs/standard/python/config/queueref#bucket_size). Since `max_burst_size` is
112
-
* output only, if UpdateQueue is called on a queue created by `queue.yaml/xml`, `max_burst_size`
113
-
* will be reset based on the value of max_dispatches_per_second, regardless of whether
114
-
* max_dispatches_per_second is updated.
112
+
* refilled with new tokens based on `max_dispatches_per_second`. Cloud Tasks automatically sets
113
+
* an appropriate `max_burst_size` based on the value of `max_dispatches_per_second`. The value is
114
+
* dynamically optimized to ensure queue stability and throughput. It is generally at least equal
115
+
* to `max_dispatches_per_second` but might be higher to accommodate bursts of traffic. For queues
116
+
* that were created or updated using `queue.yaml/xml`, `max_burst_size` is equal to [bucket_size]
117
+
* (https://cloud.google.com/appengine/docs/standard/python/config/queueref#bucket_size). Since
118
+
* `max_burst_size` is output only, if UpdateQueue is called on a queue created by
119
+
* `queue.yaml/xml`, `max_burst_size` will be reset based on the value of
120
+
* `max_dispatches_per_second`, regardless of whether `max_dispatches_per_second` is updated.
115
121
* @param maxBurstSize maxBurstSize or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-cloudtasks/v2beta2/2.0.0/com/google/api/services/cloudtasks/v2beta2/CloudTasks.java
0 commit comments