Skip to content

Commit 612bf75

Browse files
1 parent 720f50b commit 612bf75

File tree

5 files changed

+51
-39
lines changed

5 files changed

+51
-39
lines changed

clients/google-api-services-batch/v1/2.0.0/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-batch</artifactId>
25-
<version>v1-rev20240729-2.0.0</version>
25+
<version>v1-rev20240801-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-batch:v1-rev20240729-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240801-2.0.0'
3939
}
4040
```
4141

clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/Runnable.java

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,14 @@ public final class Runnable extends com.google.api.client.json.GenericJson {
4141
private java.lang.Boolean alwaysRun;
4242

4343
/**
44-
* This flag allows a Runnable to continue running in the background while the Task executes
45-
* subsequent Runnables. This is useful to provide services to other Runnables (or to provide
46-
* debugging support tools like SSH servers).
44+
* Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field
45+
* to `true` to configure a background runnable. Background runnables are allowed continue running
46+
* in the background while the task executes subsequent runnables. For example, background
47+
* runnables are useful for providing services to other runnables or providing debugging-support
48+
* tools like SSH servers. Specifically, background runnables are killed automatically (if they
49+
* have not already exited) a short time after all foreground runnables have completed. Even
50+
* though this is likely to result in a non-zero exit status for the background runnable, these
51+
* automatic kills are not treated as task failures.
4752
* The value may be {@code null}.
4853
*/
4954
@com.google.api.client.util.Key
@@ -81,8 +86,9 @@ public final class Runnable extends com.google.api.client.json.GenericJson {
8186
private Environment environment;
8287

8388
/**
84-
* Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other
85-
* Runnables to continue instead.
89+
* Normally, a runnable that returns a non-zero exit status fails and causes the task to fail.
90+
* However, you can set this field to `true` to allow the task to continue executing its other
91+
* runnables even if this runnable fails.
8692
* The value may be {@code null}.
8793
*/
8894
@com.google.api.client.util.Key
@@ -135,19 +141,29 @@ public Runnable setAlwaysRun(java.lang.Boolean alwaysRun) {
135141
}
136142

137143
/**
138-
* This flag allows a Runnable to continue running in the background while the Task executes
139-
* subsequent Runnables. This is useful to provide services to other Runnables (or to provide
140-
* debugging support tools like SSH servers).
144+
* Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field
145+
* to `true` to configure a background runnable. Background runnables are allowed continue running
146+
* in the background while the task executes subsequent runnables. For example, background
147+
* runnables are useful for providing services to other runnables or providing debugging-support
148+
* tools like SSH servers. Specifically, background runnables are killed automatically (if they
149+
* have not already exited) a short time after all foreground runnables have completed. Even
150+
* though this is likely to result in a non-zero exit status for the background runnable, these
151+
* automatic kills are not treated as task failures.
141152
* @return value or {@code null} for none
142153
*/
143154
public java.lang.Boolean getBackground() {
144155
return background;
145156
}
146157

147158
/**
148-
* This flag allows a Runnable to continue running in the background while the Task executes
149-
* subsequent Runnables. This is useful to provide services to other Runnables (or to provide
150-
* debugging support tools like SSH servers).
159+
* Normally, a runnable that doesn't exit causes its task to fail. However, you can set this field
160+
* to `true` to configure a background runnable. Background runnables are allowed continue running
161+
* in the background while the task executes subsequent runnables. For example, background
162+
* runnables are useful for providing services to other runnables or providing debugging-support
163+
* tools like SSH servers. Specifically, background runnables are killed automatically (if they
164+
* have not already exited) a short time after all foreground runnables have completed. Even
165+
* though this is likely to result in a non-zero exit status for the background runnable, these
166+
* automatic kills are not treated as task failures.
151167
* @param background background or {@code null} for none
152168
*/
153169
public Runnable setBackground(java.lang.Boolean background) {
@@ -230,17 +246,19 @@ public Runnable setEnvironment(Environment environment) {
230246
}
231247

232248
/**
233-
* Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other
234-
* Runnables to continue instead.
249+
* Normally, a runnable that returns a non-zero exit status fails and causes the task to fail.
250+
* However, you can set this field to `true` to allow the task to continue executing its other
251+
* runnables even if this runnable fails.
235252
* @return value or {@code null} for none
236253
*/
237254
public java.lang.Boolean getIgnoreExitStatus() {
238255
return ignoreExitStatus;
239256
}
240257

241258
/**
242-
* Normally, a non-zero exit status causes the Task to fail. This flag allows execution of other
243-
* Runnables to continue instead.
259+
* Normally, a runnable that returns a non-zero exit status fails and causes the task to fail.
260+
* However, you can set this field to `true` to allow the task to continue executing its other
261+
* runnables even if this runnable fails.
244262
* @param ignoreExitStatus ignoreExitStatus or {@code null} for none
245263
*/
246264
public Runnable setIgnoreExitStatus(java.lang.Boolean ignoreExitStatus) {

clients/google-api-services-batch/v1/2.0.0/com/google/api/services/batch/v1/model/TaskSpec.java

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,10 @@ public final class TaskSpec extends com.google.api.client.json.GenericJson {
9191
/**
9292
* Required. The sequence of one or more runnables (executable scripts, executable containers,
9393
* and/or barriers) for each task in this task group to run. Each task runs this list of runnables
94-
* in order. For a task to succeed, all of its script and container runnables each must either
95-
* exit with a zero status or enable the `ignore_exit_status` subfield and exit with any status.
96-
* Background runnables are killed automatically (if they have not already exited) a short time
97-
* after all foreground runnables have completed. Even though this is likely to result in a non-
98-
* zero exit status for the background runnable, these automatic kills are not treated as Task
99-
* failures.
94+
* in order. For a task to succeed, all of its script and container runnables each must meet at
95+
* least one of the following conditions: + The runnable exited with a zero status. + The runnable
96+
* didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero
97+
* status, but you enabled its `ignore_exit_status` subfield.
10098
* The value may be {@code null}.
10199
*/
102100
@com.google.api.client.util.Key
@@ -242,12 +240,10 @@ public TaskSpec setMaxRunDuration(String maxRunDuration) {
242240
/**
243241
* Required. The sequence of one or more runnables (executable scripts, executable containers,
244242
* and/or barriers) for each task in this task group to run. Each task runs this list of runnables
245-
* in order. For a task to succeed, all of its script and container runnables each must either
246-
* exit with a zero status or enable the `ignore_exit_status` subfield and exit with any status.
247-
* Background runnables are killed automatically (if they have not already exited) a short time
248-
* after all foreground runnables have completed. Even though this is likely to result in a non-
249-
* zero exit status for the background runnable, these automatic kills are not treated as Task
250-
* failures.
243+
* in order. For a task to succeed, all of its script and container runnables each must meet at
244+
* least one of the following conditions: + The runnable exited with a zero status. + The runnable
245+
* didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero
246+
* status, but you enabled its `ignore_exit_status` subfield.
251247
* @return value or {@code null} for none
252248
*/
253249
public java.util.List<Runnable> getRunnables() {
@@ -257,12 +253,10 @@ public java.util.List<Runnable> getRunnables() {
257253
/**
258254
* Required. The sequence of one or more runnables (executable scripts, executable containers,
259255
* and/or barriers) for each task in this task group to run. Each task runs this list of runnables
260-
* in order. For a task to succeed, all of its script and container runnables each must either
261-
* exit with a zero status or enable the `ignore_exit_status` subfield and exit with any status.
262-
* Background runnables are killed automatically (if they have not already exited) a short time
263-
* after all foreground runnables have completed. Even though this is likely to result in a non-
264-
* zero exit status for the background runnable, these automatic kills are not treated as Task
265-
* failures.
256+
* in order. For a task to succeed, all of its script and container runnables each must meet at
257+
* least one of the following conditions: + The runnable exited with a zero status. + The runnable
258+
* didn't finish, but you enabled its `background` subfield. + The runnable exited with a non-zero
259+
* status, but you enabled its `ignore_exit_status` subfield.
266260
* @param runnables runnables or {@code null} for none
267261
*/
268262
public TaskSpec setRunnables(java.util.List<Runnable> runnables) {

clients/google-api-services-batch/v1/2.0.0/pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
<groupId>com.google.apis</groupId>
1010
<artifactId>google-api-services-batch</artifactId>
11-
<version>v1-rev20240729-2.0.0</version>
12-
<name>Batch API v1-rev20240729-2.0.0</name>
11+
<version>v1-rev20240801-2.0.0</version>
12+
<name>Batch API v1-rev20240801-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-batch/v1/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Add the following lines to your `pom.xml` file:
2222
<dependency>
2323
<groupId>com.google.apis</groupId>
2424
<artifactId>google-api-services-batch</artifactId>
25-
<version>v1-rev20240729-2.0.0</version>
25+
<version>v1-rev20240801-2.0.0</version>
2626
</dependency>
2727
</dependencies>
2828
</project>
@@ -35,7 +35,7 @@ repositories {
3535
mavenCentral()
3636
}
3737
dependencies {
38-
implementation 'com.google.apis:google-api-services-batch:v1-rev20240729-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240801-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)