@@ -44,10 +44,14 @@ public final class Job extends com.google.api.client.json.GenericJson {
44
44
private String createTime ;
45
45
46
46
/**
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).
51
55
* The value may be {@code null}.
52
56
*/
53
57
@ com .google .api .client .util .Key
@@ -146,21 +150,29 @@ public Job setCreateTime(String createTime) {
146
150
}
147
151
148
152
/**
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).
153
161
* @return value or {@code null} for none
154
162
*/
155
163
public java .util .Map <String , java .lang .String > getLabels () {
156
164
return labels ;
157
165
}
158
166
159
167
/**
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).
164
176
* @param labels labels or {@code null} for none
165
177
*/
166
178
public Job setLabels (java .util .Map <String , java .lang .String > labels ) {
0 commit comments