@@ -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 ) {
0 commit comments