Skip to content

Commit

Permalink
chore: regenerate cloudtasks client (#18112)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Sep 16, 2023
1 parent 5287ede commit 127632a
Show file tree
Hide file tree
Showing 13 changed files with 626 additions and 101 deletions.
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudtasks/v2/2.0.0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudtasks</artifactId>
<version>v2-rev20230809-2.0.0</version>
<version>v2-rev20230906-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudtasks:v2-rev20230809-2.0.0'
implementation 'com.google.apis:google-api-services-cloudtasks:v2-rev20230906-2.0.0'
}
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ public final class RetryConfig extends com.google.api.client.json.GenericJson {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `max_backoff` will be truncated to the
* nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -72,9 +76,13 @@ public final class RetryConfig extends com.google.api.client.json.GenericJson {
* from when the task was first attempted. Once `max_retry_duration` time has passed *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 queue is created,
* Cloud Tasks will pick the default. `max_retry_duration` will be truncated to the nearest
* second. This field has the same meaning as [task_age_limit in queue.yaml/xml](https://cloud.goo
* gle.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 to the nearest second. This field has the same meaning
* as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/c
* onfig/queueref#retry_parameters).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand All @@ -83,9 +91,13 @@ public final class RetryConfig extends com.google.api.client.json.GenericJson {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `min_backoff` will be truncated to the
* nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
Expand Down Expand Up @@ -119,9 +131,13 @@ public RetryConfig setMaxAttempts(java.lang.Integer maxAttempts) {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `max_backoff` will be truncated to the
* nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* @return value or {@code null} for none
*/
public String getMaxBackoff() {
Expand All @@ -131,9 +147,13 @@ public String getMaxBackoff() {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `max_backoff` will be truncated to the
* nearest second. This field has the same meaning as [max_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* @param maxBackoff maxBackoff or {@code null} for none
*/
public RetryConfig setMaxBackoff(String maxBackoff) {
Expand Down Expand Up @@ -181,9 +201,13 @@ public RetryConfig setMaxDoublings(java.lang.Integer maxDoublings) {
* from when the task was first attempted. Once `max_retry_duration` time has passed *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 queue is created,
* Cloud Tasks will pick the default. `max_retry_duration` will be truncated to the nearest
* second. This field has the same meaning as [task_age_limit in queue.yaml/xml](https://cloud.goo
* gle.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 to the nearest second. This field has the same meaning
* as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/c
* onfig/queueref#retry_parameters).
* @return value or {@code null} for none
*/
public String getMaxRetryDuration() {
Expand All @@ -195,9 +219,13 @@ public String getMaxRetryDuration() {
* from when the task was first attempted. Once `max_retry_duration` time has passed *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 queue is created,
* Cloud Tasks will pick the default. `max_retry_duration` will be truncated to the nearest
* second. This field has the same meaning as [task_age_limit in queue.yaml/xml](https://cloud.goo
* gle.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 to the nearest second. This field has the same meaning
* as [task_age_limit in queue.yaml/xml](https://cloud.google.com/appengine/docs/standard/python/c
* onfig/queueref#retry_parameters).
* @param maxRetryDuration maxRetryDuration or {@code null} for none
*/
public RetryConfig setMaxRetryDuration(String maxRetryDuration) {
Expand All @@ -208,9 +236,13 @@ public RetryConfig setMaxRetryDuration(String maxRetryDuration) {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `min_backoff` will be truncated to the
* nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* @return value or {@code null} for none
*/
public String getMinBackoff() {
Expand All @@ -220,9 +252,13 @@ public String getMinBackoff() {
/**
* 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 when the
* queue is created, Cloud Tasks will pick the default. `min_backoff` will be truncated to the
* nearest second. This field has the same meaning as [min_backoff_seconds in queue.yaml/xml](http
* s://cloud.google.com/appengine/docs/standard/python/config/queueref#retry_parameters).
* 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 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 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).
* @param minBackoff minBackoff or {@code null} for none
*/
public RetryConfig setMinBackoff(String minBackoff) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ public final class Task extends com.google.api.client.json.GenericJson {
* Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than
* the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds
* more than the app handler's timeout. For more information see
* [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
* [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 `s` (for
* "seconds"). For more information on the format, see the documentation for
* [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration).
* `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an
* approximate deadline.
* The value may be {@code null}.
Expand Down Expand Up @@ -212,7 +215,10 @@ public Task setDispatchCount(java.lang.Integer dispatchCount) {
* Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than
* the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds
* more than the app handler's timeout. For more information see
* [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
* [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 `s` (for
* "seconds"). For more information on the format, see the documentation for
* [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration).
* `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an
* approximate deadline.
* @return value or {@code null} for none
Expand All @@ -238,7 +244,10 @@ public String getDispatchDeadline() {
* Regardless of the task's `dispatch_deadline`, the app handler will not run for longer than than
* the service's timeout. We recommend setting the `dispatch_deadline` to at most a few seconds
* more than the app handler's timeout. For more information see
* [Timeouts](https://cloud.google.com/tasks/docs/creating-appengine-handlers#timeouts).
* [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 `s` (for
* "seconds"). For more information on the format, see the documentation for
* [Duration](https://protobuf.dev/reference/protobuf/google.protobuf/#duration).
* `dispatch_deadline` will be truncated to the nearest millisecond. The deadline is an
* approximate deadline.
* @param dispatchDeadline dispatchDeadline or {@code null} for none
Expand Down
4 changes: 2 additions & 2 deletions clients/google-api-services-cloudtasks/v2/2.0.0/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudtasks</artifactId>
<version>v2-rev20230809-2.0.0</version>
<name>Cloud Tasks API v2-rev20230809-2.0.0</name>
<version>v2-rev20230906-2.0.0</version>
<name>Cloud Tasks API v2-rev20230906-2.0.0</name>
<packaging>jar</packaging>

<inceptionYear>2011</inceptionYear>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
<dependency>
<groupId>com.google.apis</groupId>
<artifactId>google-api-services-cloudtasks</artifactId>
<version>v2beta2-rev20230809-2.0.0</version>
<version>v2beta2-rev20230906-2.0.0</version>
</dependency>
</dependencies>
</project>
Expand All @@ -35,7 +35,7 @@ repositories {
mavenCentral()
}
dependencies {
implementation 'com.google.apis:google-api-services-cloudtasks:v2beta2-rev20230809-2.0.0'
implementation 'com.google.apis:google-api-services-cloudtasks:v2beta2-rev20230906-2.0.0'
}
```

Expand Down
Loading

0 comments on commit 127632a

Please sign in to comment.