Skip to content

Commit 4440046

Browse files
1 parent ab951b7 commit 4440046

File tree

5 files changed

+51
-30
lines changed

5 files changed

+51
-30
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-rev20240911-2.0.0</version>
25+
<version>v1-rev20240919-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-rev20240911-2.0.0'
38+
implementation 'com.google.apis:google-api-services-batch:v1-rev20240919-2.0.0'
3939
}
4040
```
4141

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

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,13 @@ public final class AllocationPolicy extends com.google.api.client.json.GenericJs
3939
private java.util.List<InstancePolicyOrTemplate> instances;
4040

4141
/**
42-
* Labels applied to all VM instances and other resources created by AllocationPolicy. Labels
43-
* could be user provided or system generated. You can assign up to 64 labels. [Google Compute
44-
* Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
45-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
42+
* Custom labels to apply to the job and all the Compute Engine resources that both are created by
43+
* this allocation policy and support labels. Use labels to group and describe the resources they
44+
* are applied to. Batch automatically applies predefined labels and supports multiple `labels`
45+
* fields for each job, which each let you apply custom labels to various resources. Label names
46+
* that start with "goog-" or "google-" are reserved for predefined labels. For more information
47+
* about labels with Batch, see [Organize resources using
48+
* labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
4649
* The value may be {@code null}.
4750
*/
4851
@com.google.api.client.util.Key
@@ -112,21 +115,27 @@ public AllocationPolicy setInstances(java.util.List<InstancePolicyOrTemplate> in
112115
}
113116

114117
/**
115-
* Labels applied to all VM instances and other resources created by AllocationPolicy. Labels
116-
* could be user provided or system generated. You can assign up to 64 labels. [Google Compute
117-
* Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
118-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
118+
* Custom labels to apply to the job and all the Compute Engine resources that both are created by
119+
* this allocation policy and support labels. Use labels to group and describe the resources they
120+
* are applied to. Batch automatically applies predefined labels and supports multiple `labels`
121+
* fields for each job, which each let you apply custom labels to various resources. Label names
122+
* that start with "goog-" or "google-" are reserved for predefined labels. For more information
123+
* about labels with Batch, see [Organize resources using
124+
* labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
119125
* @return value or {@code null} for none
120126
*/
121127
public java.util.Map<String, java.lang.String> getLabels() {
122128
return labels;
123129
}
124130

125131
/**
126-
* Labels applied to all VM instances and other resources created by AllocationPolicy. Labels
127-
* could be user provided or system generated. You can assign up to 64 labels. [Google Compute
128-
* Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
129-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
132+
* Custom labels to apply to the job and all the Compute Engine resources that both are created by
133+
* this allocation policy and support labels. Use labels to group and describe the resources they
134+
* are applied to. Batch automatically applies predefined labels and supports multiple `labels`
135+
* fields for each job, which each let you apply custom labels to various resources. Label names
136+
* that start with "goog-" or "google-" are reserved for predefined labels. For more information
137+
* about labels with Batch, see [Organize resources using
138+
* labels](https://cloud.google.com/batch/docs/organize-resources-using-labels).
130139
* @param labels labels or {@code null} for none
131140
*/
132141
public AllocationPolicy setLabels(java.util.Map<String, java.lang.String> labels) {

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

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,14 @@ public final class Job extends com.google.api.client.json.GenericJson {
4444
private String createTime;
4545

4646
/**
47-
* Labels for the Job. Labels could be user provided or system generated. For example, "labels": {
48-
* "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google
49-
* Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
50-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
47+
* Custom labels to apply to the job and any Cloud Logging
48+
* [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it
49+
* generates. Use labels to group and describe the resources they are applied to. Batch
50+
* automatically applies predefined labels and supports multiple `labels` fields for each job,
51+
* which each let you apply custom labels to various resources. Label names that start with
52+
* "goog-" or "google-" are reserved for predefined labels. For more information about labels with
53+
* Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-
54+
* resources-using-labels).
5155
* The value may be {@code null}.
5256
*/
5357
@com.google.api.client.util.Key
@@ -146,21 +150,29 @@ public Job setCreateTime(String createTime) {
146150
}
147151

148152
/**
149-
* Labels for the Job. Labels could be user provided or system generated. For example, "labels": {
150-
* "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google
151-
* Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
152-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
153+
* Custom labels to apply to the job and any Cloud Logging
154+
* [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it
155+
* generates. Use labels to group and describe the resources they are applied to. Batch
156+
* automatically applies predefined labels and supports multiple `labels` fields for each job,
157+
* which each let you apply custom labels to various resources. Label names that start with
158+
* "goog-" or "google-" are reserved for predefined labels. For more information about labels with
159+
* Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-
160+
* resources-using-labels).
153161
* @return value or {@code null} for none
154162
*/
155163
public java.util.Map<String, java.lang.String> getLabels() {
156164
return labels;
157165
}
158166

159167
/**
160-
* Labels for the Job. Labels could be user provided or system generated. For example, "labels": {
161-
* "department": "finance", "environment": "test" } You can assign up to 64 labels. [Google
162-
* Compute Engine label restrictions](https://cloud.google.com/compute/docs/labeling-
163-
* resources#restrictions) apply. Label names that start with "goog-" or "google-" are reserved.
168+
* Custom labels to apply to the job and any Cloud Logging
169+
* [LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry) that it
170+
* generates. Use labels to group and describe the resources they are applied to. Batch
171+
* automatically applies predefined labels and supports multiple `labels` fields for each job,
172+
* which each let you apply custom labels to various resources. Label names that start with
173+
* "goog-" or "google-" are reserved for predefined labels. For more information about labels with
174+
* Batch, see [Organize resources using labels](https://cloud.google.com/batch/docs/organize-
175+
* resources-using-labels).
164176
* @param labels labels or {@code null} for none
165177
*/
166178
public Job setLabels(java.util.Map<String, java.lang.String> labels) {

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

0 commit comments

Comments
 (0)