Skip to content

Commit c1c2a29

Browse files
1 parent 5a25d7a commit c1c2a29

File tree

6 files changed

+48
-31
lines changed

6 files changed

+48
-31
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-rev20241002-2.0.0</version>
25+
<version>v1-rev20241106-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-rev20241002-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20241106-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
public final class CloudLoggingOption extends com.google.api.client.json.GenericJson {
3131

3232
/**
33-
* Optional. Set this flag to true to change the [monitored resource
33+
* Optional. Set this field to `true` to change the [monitored resource
3434
* type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by
3535
* this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/re
3636
* sources#tag_batch.googleapis.com/Job) type to the formerly used
@@ -41,7 +41,7 @@ public final class CloudLoggingOption extends com.google.api.client.json.Generic
4141
private java.lang.Boolean useGenericTaskMonitoredResource;
4242

4343
/**
44-
* Optional. Set this flag to true to change the [monitored resource
44+
* Optional. Set this field to `true` to change the [monitored resource
4545
* type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by
4646
* this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/re
4747
* sources#tag_batch.googleapis.com/Job) type to the formerly used
@@ -53,7 +53,7 @@ public java.lang.Boolean getUseGenericTaskMonitoredResource() {
5353
}
5454

5555
/**
56-
* Optional. Set this flag to true to change the [monitored resource
56+
* Optional. Set this field to `true` to change the [monitored resource
5757
* type](https://cloud.google.com/monitoring/api/resources) for Cloud Logging logs generated by
5858
* this Batch job from the [`batch.googleapis.com/Job`](https://cloud.google.com/monitoring/api/re
5959
* sources#tag_batch.googleapis.com/Job) type to the formerly used

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,9 @@ public final class InstancePolicyOrTemplate extends com.google.api.client.json.G
6969

7070
/**
7171
* Name of an instance template used to create VMs. Named the field as 'instance_template' instead
72-
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You
73-
* can specify the global instance template as a full or partial URL.
72+
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from
73+
* the same project as the job. You can specify the global instance template as a full or partial
74+
* URL.
7475
* The value may be {@code null}.
7576
*/
7677
@com.google.api.client.util.Key
@@ -166,8 +167,9 @@ public InstancePolicyOrTemplate setInstallOpsAgent(java.lang.Boolean installOpsA
166167

167168
/**
168169
* Name of an instance template used to create VMs. Named the field as 'instance_template' instead
169-
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You
170-
* can specify the global instance template as a full or partial URL.
170+
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from
171+
* the same project as the job. You can specify the global instance template as a full or partial
172+
* URL.
171173
* @return value or {@code null} for none
172174
*/
173175
public java.lang.String getInstanceTemplate() {
@@ -176,8 +178,9 @@ public java.lang.String getInstanceTemplate() {
176178

177179
/**
178180
* Name of an instance template used to create VMs. Named the field as 'instance_template' instead
179-
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates. You
180-
* can specify the global instance template as a full or partial URL.
181+
* of 'template' to avoid C++ keyword conflict. Batch only supports global instance templates from
182+
* the same project as the job. You can specify the global instance template as a full or partial
183+
* URL.
181184
* @param instanceTemplate instanceTemplate or {@code null} for none
182185
*/
183186
public InstancePolicyOrTemplate setInstanceTemplate(java.lang.String instanceTemplate) {

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

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
package com.google.api.services.batch.v1.model;
1818

1919
/**
20-
* LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be preserved.
20+
* LogsPolicy describes if and how a job's logs are preserved. Logs include information that is
21+
* automatically written by the Batch service agent and any information that you configured the
22+
* job's runnables to write to the `stdout` or `stderr` streams.
2123
*
2224
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
2325
* transmitted over HTTP when working with the Batch API. For a detailed explanation see:
@@ -30,40 +32,44 @@
3032
public final class LogsPolicy extends com.google.api.client.json.GenericJson {
3133

3234
/**
33-
* Optional. Additional settings for Cloud Logging. It will only take effect when the destination
34-
* of `LogsPolicy` is set to `CLOUD_LOGGING`.
35+
* Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to
36+
* configure additional settings for Cloud Logging.
3537
* The value may be {@code null}.
3638
*/
3739
@com.google.api.client.util.Key
3840
private CloudLoggingOption cloudLoggingOption;
3941

4042
/**
41-
* Where logs should be saved.
43+
* If and where logs should be saved.
4244
* The value may be {@code null}.
4345
*/
4446
@com.google.api.client.util.Key
4547
private java.lang.String destination;
4648

4749
/**
48-
* The path to which logs are saved when the destination = PATH. This can be a local file path on
49-
* the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
50+
* When `destination` is set to `PATH`, you must set this field to the path where you want logs to
51+
* be saved. This path can point to a local directory on the VM or (if congifured) a directory
52+
* under the mount path of any Cloud Storage bucket, network file system (NFS), or writable
53+
* persistent disk that is mounted to the job. For example, if the job has a bucket with
54+
* `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the
55+
* `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.
5056
* The value may be {@code null}.
5157
*/
5258
@com.google.api.client.util.Key
5359
private java.lang.String logsPath;
5460

5561
/**
56-
* Optional. Additional settings for Cloud Logging. It will only take effect when the destination
57-
* of `LogsPolicy` is set to `CLOUD_LOGGING`.
62+
* Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to
63+
* configure additional settings for Cloud Logging.
5864
* @return value or {@code null} for none
5965
*/
6066
public CloudLoggingOption getCloudLoggingOption() {
6167
return cloudLoggingOption;
6268
}
6369

6470
/**
65-
* Optional. Additional settings for Cloud Logging. It will only take effect when the destination
66-
* of `LogsPolicy` is set to `CLOUD_LOGGING`.
71+
* Optional. When `destination` is set to `CLOUD_LOGGING`, you can optionally set this field to
72+
* configure additional settings for Cloud Logging.
6773
* @param cloudLoggingOption cloudLoggingOption or {@code null} for none
6874
*/
6975
public LogsPolicy setCloudLoggingOption(CloudLoggingOption cloudLoggingOption) {
@@ -72,15 +78,15 @@ public LogsPolicy setCloudLoggingOption(CloudLoggingOption cloudLoggingOption) {
7278
}
7379

7480
/**
75-
* Where logs should be saved.
81+
* If and where logs should be saved.
7682
* @return value or {@code null} for none
7783
*/
7884
public java.lang.String getDestination() {
7985
return destination;
8086
}
8187

8288
/**
83-
* Where logs should be saved.
89+
* If and where logs should be saved.
8490
* @param destination destination or {@code null} for none
8591
*/
8692
public LogsPolicy setDestination(java.lang.String destination) {
@@ -89,17 +95,25 @@ public LogsPolicy setDestination(java.lang.String destination) {
8995
}
9096

9197
/**
92-
* The path to which logs are saved when the destination = PATH. This can be a local file path on
93-
* the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
98+
* When `destination` is set to `PATH`, you must set this field to the path where you want logs to
99+
* be saved. This path can point to a local directory on the VM or (if congifured) a directory
100+
* under the mount path of any Cloud Storage bucket, network file system (NFS), or writable
101+
* persistent disk that is mounted to the job. For example, if the job has a bucket with
102+
* `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the
103+
* `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.
94104
* @return value or {@code null} for none
95105
*/
96106
public java.lang.String getLogsPath() {
97107
return logsPath;
98108
}
99109

100110
/**
101-
* The path to which logs are saved when the destination = PATH. This can be a local file path on
102-
* the VM, or under the mount point of a Persistent Disk or Filestore, or a Cloud Storage path.
111+
* When `destination` is set to `PATH`, you must set this field to the path where you want logs to
112+
* be saved. This path can point to a local directory on the VM or (if congifured) a directory
113+
* under the mount path of any Cloud Storage bucket, network file system (NFS), or writable
114+
* persistent disk that is mounted to the job. For example, if the job has a bucket with
115+
* `mountPath` set to `/mnt/disks/my-bucket`, you can write logs to the root directory of the
116+
* `remotePath` of that bucket by setting this field to `/mnt/disks/my-bucket/`.
103117
* @param logsPath logsPath or {@code null} for none
104118
*/
105119
public LogsPolicy setLogsPath(java.lang.String logsPath) {

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

0 commit comments

Comments
 (0)