Skip to content

Commit d8dd786

Browse files
1 parent 76c6ffa commit d8dd786

File tree

8 files changed

+107
-94
lines changed

8 files changed

+107
-94
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-rev20240703-2.0.0</version>
25+
<version>v1-rev20240729-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-rev20240703-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240729-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
package com.google.api.services.batch.v1.model;
1818

1919
/**
20-
* Barrier runnable blocks until all tasks in a taskgroup reach it.
20+
* A barrier runnable automatically blocks the execution of subsequent runnables until all the tasks
21+
* in the task group reach the barrier.
2122
*
2223
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2324
* transmitted over HTTP when working with the Batch API. For a detailed explanation see:

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

Lines changed: 45 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ public final class Container extends com.google.api.client.json.GenericJson {
3939
private java.lang.Boolean blockExternalNetwork;
4040

4141
/**
42-
* Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the
43-
* container image or with the entrypoint field below) then commands are appended as arguments to
44-
* the ENTRYPOINT.
42+
* Required for some container images. Overrides the `CMD` specified in the container. If there is
43+
* an `ENTRYPOINT` (either in the container image or with the `entrypoint` field below) then these
44+
* commands are appended as arguments to the `ENTRYPOINT`.
4545
* The value may be {@code null}.
4646
*/
4747
@com.google.api.client.util.Key
@@ -64,22 +64,23 @@ public final class Container extends com.google.api.client.json.GenericJson {
6464
private java.lang.Boolean enableImageStreaming;
6565

6666
/**
67-
* Overrides the `ENTRYPOINT` specified in the container.
67+
* Required for some container images. Overrides the `ENTRYPOINT` specified in the container.
6868
* The value may be {@code null}.
6969
*/
7070
@com.google.api.client.util.Key
7171
private java.lang.String entrypoint;
7272

7373
/**
74-
* The URI to pull the container image from.
74+
* Required. The URI to pull the container image from.
7575
* The value may be {@code null}.
7676
*/
7777
@com.google.api.client.util.Key
7878
private java.lang.String imageUri;
7979

8080
/**
81-
* Arbitrary additional options to include in the "docker run" command when running this
82-
* container, e.g. "--network host".
81+
* Required for some container images. Arbitrary additional options to include in the `docker run`
82+
* command when running this container—for example, `--network host`. For the `--volume` option,
83+
* use the `volumes` field for the container.
8384
* The value may be {@code null}.
8485
*/
8586
@com.google.api.client.util.Key
@@ -116,13 +117,13 @@ public final class Container extends com.google.api.client.json.GenericJson {
116117

117118
/**
118119
* Volumes to mount (bind mount) from the host machine files or directories into the container,
119-
* formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the
120-
* `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from
121-
* the host machine to the container with the same mount path by default. In this case, the
122-
* default mount option for containers will be read-only (ro) for existing persistent disks and
123-
* read-write (rw) for other volume types, regardless of the original mount options specified in
124-
* `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in
125-
* this field.
120+
* formatted to match `--volume` option for the `docker run` command—for example, `/foo:/bar` or
121+
* `/foo:/bar:ro`. If the `TaskSpec.Volumes` field is specified but this field is not, Batch will
122+
* mount each volume from the host machine to the container with the same mount path by default.
123+
* In this case, the default mount option for containers will be read-only (`ro`) for existing
124+
* persistent disks and read-write (`rw`) for other volume types, regardless of the original mount
125+
* options specified in `TaskSpec.Volumes`. If you need different mount settings, you can
126+
* explicitly configure them in this field.
126127
* The value may be {@code null}.
127128
*/
128129
@com.google.api.client.util.Key
@@ -150,19 +151,19 @@ public Container setBlockExternalNetwork(java.lang.Boolean blockExternalNetwork)
150151
}
151152

152153
/**
153-
* Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the
154-
* container image or with the entrypoint field below) then commands are appended as arguments to
155-
* the ENTRYPOINT.
154+
* Required for some container images. Overrides the `CMD` specified in the container. If there is
155+
* an `ENTRYPOINT` (either in the container image or with the `entrypoint` field below) then these
156+
* commands are appended as arguments to the `ENTRYPOINT`.
156157
* @return value or {@code null} for none
157158
*/
158159
public java.util.List<java.lang.String> getCommands() {
159160
return commands;
160161
}
161162

162163
/**
163-
* Overrides the `CMD` specified in the container. If there is an ENTRYPOINT (either in the
164-
* container image or with the entrypoint field below) then commands are appended as arguments to
165-
* the ENTRYPOINT.
164+
* Required for some container images. Overrides the `CMD` specified in the container. If there is
165+
* an `ENTRYPOINT` (either in the container image or with the `entrypoint` field below) then these
166+
* commands are appended as arguments to the `ENTRYPOINT`.
166167
* @param commands commands or {@code null} for none
167168
*/
168169
public Container setCommands(java.util.List<java.lang.String> commands) {
@@ -206,15 +207,15 @@ public Container setEnableImageStreaming(java.lang.Boolean enableImageStreaming)
206207
}
207208

208209
/**
209-
* Overrides the `ENTRYPOINT` specified in the container.
210+
* Required for some container images. Overrides the `ENTRYPOINT` specified in the container.
210211
* @return value or {@code null} for none
211212
*/
212213
public java.lang.String getEntrypoint() {
213214
return entrypoint;
214215
}
215216

216217
/**
217-
* Overrides the `ENTRYPOINT` specified in the container.
218+
* Required for some container images. Overrides the `ENTRYPOINT` specified in the container.
218219
* @param entrypoint entrypoint or {@code null} for none
219220
*/
220221
public Container setEntrypoint(java.lang.String entrypoint) {
@@ -223,15 +224,15 @@ public Container setEntrypoint(java.lang.String entrypoint) {
223224
}
224225

225226
/**
226-
* The URI to pull the container image from.
227+
* Required. The URI to pull the container image from.
227228
* @return value or {@code null} for none
228229
*/
229230
public java.lang.String getImageUri() {
230231
return imageUri;
231232
}
232233

233234
/**
234-
* The URI to pull the container image from.
235+
* Required. The URI to pull the container image from.
235236
* @param imageUri imageUri or {@code null} for none
236237
*/
237238
public Container setImageUri(java.lang.String imageUri) {
@@ -240,17 +241,19 @@ public Container setImageUri(java.lang.String imageUri) {
240241
}
241242

242243
/**
243-
* Arbitrary additional options to include in the "docker run" command when running this
244-
* container, e.g. "--network host".
244+
* Required for some container images. Arbitrary additional options to include in the `docker run`
245+
* command when running this container—for example, `--network host`. For the `--volume` option,
246+
* use the `volumes` field for the container.
245247
* @return value or {@code null} for none
246248
*/
247249
public java.lang.String getOptions() {
248250
return options;
249251
}
250252

251253
/**
252-
* Arbitrary additional options to include in the "docker run" command when running this
253-
* container, e.g. "--network host".
254+
* Required for some container images. Arbitrary additional options to include in the `docker run`
255+
* command when running this container—for example, `--network host`. For the `--volume` option,
256+
* use the `volumes` field for the container.
254257
* @param options options or {@code null} for none
255258
*/
256259
public Container setOptions(java.lang.String options) {
@@ -324,13 +327,13 @@ public Container setUsername(java.lang.String username) {
324327

325328
/**
326329
* Volumes to mount (bind mount) from the host machine files or directories into the container,
327-
* formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the
328-
* `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from
329-
* the host machine to the container with the same mount path by default. In this case, the
330-
* default mount option for containers will be read-only (ro) for existing persistent disks and
331-
* read-write (rw) for other volume types, regardless of the original mount options specified in
332-
* `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in
333-
* this field.
330+
* formatted to match `--volume` option for the `docker run` command—for example, `/foo:/bar` or
331+
* `/foo:/bar:ro`. If the `TaskSpec.Volumes` field is specified but this field is not, Batch will
332+
* mount each volume from the host machine to the container with the same mount path by default.
333+
* In this case, the default mount option for containers will be read-only (`ro`) for existing
334+
* persistent disks and read-write (`rw`) for other volume types, regardless of the original mount
335+
* options specified in `TaskSpec.Volumes`. If you need different mount settings, you can
336+
* explicitly configure them in this field.
334337
* @return value or {@code null} for none
335338
*/
336339
public java.util.List<java.lang.String> getVolumes() {
@@ -339,13 +342,13 @@ public java.util.List<java.lang.String> getVolumes() {
339342

340343
/**
341344
* Volumes to mount (bind mount) from the host machine files or directories into the container,
342-
* formatted to match docker run's --volume option, e.g. /foo:/bar, or /foo:/bar:ro If the
343-
* `TaskSpec.Volumes` field is specified but this field is not, Batch will mount each volume from
344-
* the host machine to the container with the same mount path by default. In this case, the
345-
* default mount option for containers will be read-only (ro) for existing persistent disks and
346-
* read-write (rw) for other volume types, regardless of the original mount options specified in
347-
* `TaskSpec.Volumes`. If you need different mount settings, you can explicitly configure them in
348-
* this field.
345+
* formatted to match `--volume` option for the `docker run` command—for example, `/foo:/bar` or
346+
* `/foo:/bar:ro`. If the `TaskSpec.Volumes` field is specified but this field is not, Batch will
347+
* mount each volume from the host machine to the container with the same mount path by default.
348+
* In this case, the default mount option for containers will be read-only (`ro`) for existing
349+
* persistent disks and read-write (`rw`) for other volume types, regardless of the original mount
350+
* options specified in `TaskSpec.Volumes`. If you need different mount settings, you can
351+
* explicitly configure them in this field.
349352
* @param volumes volumes or {@code null} for none
350353
*/
351354
public Container setVolumes(java.util.List<java.lang.String> volumes) {

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

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,8 @@ public final class Disk extends com.google.api.client.json.GenericJson {
4747
* projects/{project}/global/images/family/{image_family} * Specify the image version:
4848
* projects/{project}/global/images/{image_version} You can also use Batch customized image in
4949
* short names. The following image values are supported for a boot disk: * `batch-debian`: use
50-
* Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
51-
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-
52-
* rocky`: use Batch HPC Rocky Linux images.
50+
* Batch Debian images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-rocky`:
51+
* use Batch HPC Rocky Linux images.
5352
* The value may be {@code null}.
5453
*/
5554
@com.google.api.client.util.Key
@@ -117,9 +116,8 @@ public Disk setDiskInterface(java.lang.String diskInterface) {
117116
* projects/{project}/global/images/family/{image_family} * Specify the image version:
118117
* projects/{project}/global/images/{image_version} You can also use Batch customized image in
119118
* short names. The following image values are supported for a boot disk: * `batch-debian`: use
120-
* Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
121-
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-
122-
* rocky`: use Batch HPC Rocky Linux images.
119+
* Batch Debian images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-rocky`:
120+
* use Batch HPC Rocky Linux images.
123121
* @return value or {@code null} for none
124122
*/
125123
public java.lang.String getImage() {
@@ -132,9 +130,8 @@ public java.lang.String getImage() {
132130
* projects/{project}/global/images/family/{image_family} * Specify the image version:
133131
* projects/{project}/global/images/{image_version} You can also use Batch customized image in
134132
* short names. The following image values are supported for a boot disk: * `batch-debian`: use
135-
* Batch Debian images. * `batch-centos`: use Batch CentOS images. * `batch-cos`: use Batch
136-
* Container-Optimized images. * `batch-hpc-centos`: use Batch HPC CentOS images. * `batch-hpc-
137-
* rocky`: use Batch HPC Rocky Linux images.
133+
* Batch Debian images. * `batch-cos`: use Batch Container-Optimized images. * `batch-hpc-rocky`:
134+
* use Batch HPC Rocky Linux images.
138135
* @param image image or {@code null} for none
139136
*/
140137
public Disk setImage(java.lang.String image) {

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

Lines changed: 36 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -30,44 +30,49 @@
3030
public final class Script extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as
34-
* [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the
35-
* file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of
36-
* the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first
37-
* line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.
33+
* The path to a script file that is accessible from the host VM(s). Unless the script file
34+
* supports the default `#!/bin/sh` shell interpreter, you must specify an interpreter by
35+
* including a [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the first line of
36+
* the file. For example, to execute the script using bash, include `#!/bin/bash` as the first
37+
* line of the file. Alternatively, to execute the script using Python3, include `#!/usr/bin/env
38+
* python3` as the first line of the file.
3839
* The value may be {@code null}.
3940
*/
4041
@com.google.api.client.util.Key
4142
private java.lang.String path;
4243

4344
/**
44-
* Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the
45-
* text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To
46-
* execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the
47-
* script will by default be executed by `/bin/sh`.
45+
* The text for a script. Unless the script text supports the default `#!/bin/sh` shell
46+
* interpreter, you must specify an interpreter by including a [shebang
47+
* line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the beginning of the text. For example,
48+
* to execute the script using bash, include `#!/bin/bash\n` at the beginning of the text.
49+
* Alternatively, to execute the script using Python3, include `#!/usr/bin/env python3\n` at the
50+
* beginning of the text.
4851
* The value may be {@code null}.
4952
*/
5053
@com.google.api.client.util.Key
5154
private java.lang.String text;
5255

5356
/**
54-
* Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as
55-
* [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the
56-
* file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of
57-
* the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first
58-
* line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.
57+
* The path to a script file that is accessible from the host VM(s). Unless the script file
58+
* supports the default `#!/bin/sh` shell interpreter, you must specify an interpreter by
59+
* including a [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the first line of
60+
* the file. For example, to execute the script using bash, include `#!/bin/bash` as the first
61+
* line of the file. Alternatively, to execute the script using Python3, include `#!/usr/bin/env
62+
* python3` as the first line of the file.
5963
* @return value or {@code null} for none
6064
*/
6165
public java.lang.String getPath() {
6266
return path;
6367
}
6468

6569
/**
66-
* Script file path on the host VM. To specify an interpreter, please add a `#!`(also known as
67-
* [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix))) as the first line of the
68-
* file.(For example, to execute the script using bash, `#!/bin/bash` should be the first line of
69-
* the file. To execute the script using`Python3`, `#!/usr/bin/env python3` should be the first
70-
* line of the file.) Otherwise, the file will by default be executed by `/bin/sh`.
70+
* The path to a script file that is accessible from the host VM(s). Unless the script file
71+
* supports the default `#!/bin/sh` shell interpreter, you must specify an interpreter by
72+
* including a [shebang line](https://en.wikipedia.org/wiki/Shebang_(Unix) as the first line of
73+
* the file. For example, to execute the script using bash, include `#!/bin/bash` as the first
74+
* line of the file. Alternatively, to execute the script using Python3, include `#!/usr/bin/env
75+
* python3` as the first line of the file.
7176
* @param path path or {@code null} for none
7277
*/
7378
public Script setPath(java.lang.String path) {
@@ -76,21 +81,25 @@ public Script setPath(java.lang.String path) {
7681
}
7782

7883
/**
79-
* Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the
80-
* text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To
81-
* execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the
82-
* script will by default be executed by `/bin/sh`.
84+
* The text for a script. Unless the script text supports the default `#!/bin/sh` shell
85+
* interpreter, you must specify an interpreter by including a [shebang
86+
* line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the beginning of the text. For example,
87+
* to execute the script using bash, include `#!/bin/bash\n` at the beginning of the text.
88+
* Alternatively, to execute the script using Python3, include `#!/usr/bin/env python3\n` at the
89+
* beginning of the text.
8390
* @return value or {@code null} for none
8491
*/
8592
public java.lang.String getText() {
8693
return text;
8794
}
8895

8996
/**
90-
* Shell script text. To specify an interpreter, please add a `#!\n` at the beginning of the
91-
* text.(For example, to execute the script using bash, `#!/bin/bash\n` should be added. To
92-
* execute the script using`Python3`, `#!/usr/bin/env python3\n` should be added.) Otherwise, the
93-
* script will by default be executed by `/bin/sh`.
97+
* The text for a script. Unless the script text supports the default `#!/bin/sh` shell
98+
* interpreter, you must specify an interpreter by including a [shebang
99+
* line](https://en.wikipedia.org/wiki/Shebang_(Unix) at the beginning of the text. For example,
100+
* to execute the script using bash, include `#!/bin/bash\n` at the beginning of the text.
101+
* Alternatively, to execute the script using Python3, include `#!/usr/bin/env python3\n` at the
102+
* beginning of the text.
94103
* @param text text or {@code null} for none
95104
*/
96105
public Script setText(java.lang.String text) {

0 commit comments

Comments
 (0)