Skip to content

Commit 8b0ba0a

Browse files
1 parent 6d38294 commit 8b0ba0a

File tree

4 files changed

+27
-12
lines changed

4 files changed

+27
-12
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-rev20240411-2.0.0</version>
25+
<version>v1-rev20240425-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-rev20240411-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240425-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,25 +31,40 @@
3131
public final class TaskExecution extends com.google.api.client.json.GenericJson {
3232

3333
/**
34-
* When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task
35-
* execution result, default is 0 as success.
34+
* The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task
35+
* failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be
36+
* from different sources: - Batch known failures as
37+
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable
38+
* execution failures: You can rely on Batch logs for further diagnose:
39+
* https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables
40+
* failures, Batch only exposes the first error caught for now.
3641
* The value may be {@code null}.
3742
*/
3843
@com.google.api.client.util.Key
3944
private java.lang.Integer exitCode;
4045

4146
/**
42-
* When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task
43-
* execution result, default is 0 as success.
47+
* The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task
48+
* failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be
49+
* from different sources: - Batch known failures as
50+
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable
51+
* execution failures: You can rely on Batch logs for further diagnose:
52+
* https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables
53+
* failures, Batch only exposes the first error caught for now.
4454
* @return value or {@code null} for none
4555
*/
4656
public java.lang.Integer getExitCode() {
4757
return exitCode;
4858
}
4959

5060
/**
51-
* When task is completed as the status of FAILED or SUCCEEDED, exit code is for one task
52-
* execution result, default is 0 as success.
61+
* The exit code of a finished task. If the task succeeded, the exit code will be 0. If the task
62+
* failed but not due to the following reasons, the exit code will be 50000. Otherwise, it can be
63+
* from different sources: - Batch known failures as
64+
* https://cloud.google.com/batch/docs/troubleshooting#reserved-exit-codes. - Batch runnable
65+
* execution failures: You can rely on Batch logs for further diagnose:
66+
* https://cloud.google.com/batch/docs/analyze-job-using-logs. If there are multiple runnables
67+
* failures, Batch only exposes the first error caught for now.
5368
* @param exitCode exitCode or {@code null} for none
5469
*/
5570
public TaskExecution setExitCode(java.lang.Integer exitCode) {

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-rev20240411-2.0.0</version>
12-
<name>Batch API v1-rev20240411-2.0.0</name>
11+
<version>v1-rev20240425-2.0.0</version>
12+
<name>Batch API v1-rev20240425-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-rev20240411-2.0.0</version>
25+
<version>v1-rev20240425-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-rev20240411-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240425-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)