Skip to content

Commit 48bd99b

Browse files
1 parent 6b4b44d commit 48bd99b

File tree

6 files changed

+245
-6
lines changed

6 files changed

+245
-6
lines changed

clients/google-api-services-gmail/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-gmail</artifactId>
25-
<version>v1-rev20250630-2.0.0</version>
25+
<version>v1-rev20251110-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-gmail:v1-rev20250630-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gmail:v1-rev20251110-2.0.0'
3939
}
4040
```
4141

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.gmail.model;
18+
19+
/**
20+
* Field values for a classification label.
21+
*
22+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
23+
* transmitted over HTTP when working with the Gmail API. For a detailed explanation see:
24+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
25+
* </p>
26+
*
27+
* @author Google, Inc.
28+
*/
29+
@SuppressWarnings("javadoc")
30+
public final class ClassificationLabelFieldValue extends com.google.api.client.json.GenericJson {
31+
32+
/**
33+
* Required. The field ID for the Classification Label Value. Maps to the ID field of the Google
34+
* Drive `Label.Field` object.
35+
* The value may be {@code null}.
36+
*/
37+
@com.google.api.client.util.Key
38+
private java.lang.String fieldId;
39+
40+
/**
41+
* Selection choice ID for the selection option. Should only be set if the field type is
42+
* `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive
43+
* `Label.Field.SelectionOptions` resource.
44+
* The value may be {@code null}.
45+
*/
46+
@com.google.api.client.util.Key
47+
private java.lang.String selection;
48+
49+
/**
50+
* Required. The field ID for the Classification Label Value. Maps to the ID field of the Google
51+
* Drive `Label.Field` object.
52+
* @return value or {@code null} for none
53+
*/
54+
public java.lang.String getFieldId() {
55+
return fieldId;
56+
}
57+
58+
/**
59+
* Required. The field ID for the Classification Label Value. Maps to the ID field of the Google
60+
* Drive `Label.Field` object.
61+
* @param fieldId fieldId or {@code null} for none
62+
*/
63+
public ClassificationLabelFieldValue setFieldId(java.lang.String fieldId) {
64+
this.fieldId = fieldId;
65+
return this;
66+
}
67+
68+
/**
69+
* Selection choice ID for the selection option. Should only be set if the field type is
70+
* `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive
71+
* `Label.Field.SelectionOptions` resource.
72+
* @return value or {@code null} for none
73+
*/
74+
public java.lang.String getSelection() {
75+
return selection;
76+
}
77+
78+
/**
79+
* Selection choice ID for the selection option. Should only be set if the field type is
80+
* `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive
81+
* `Label.Field.SelectionOptions` resource.
82+
* @param selection selection or {@code null} for none
83+
*/
84+
public ClassificationLabelFieldValue setSelection(java.lang.String selection) {
85+
this.selection = selection;
86+
return this;
87+
}
88+
89+
@Override
90+
public ClassificationLabelFieldValue set(String fieldName, Object value) {
91+
return (ClassificationLabelFieldValue) super.set(fieldName, value);
92+
}
93+
94+
@Override
95+
public ClassificationLabelFieldValue clone() {
96+
return (ClassificationLabelFieldValue) super.clone();
97+
}
98+
99+
}
Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
3+
* in compliance with the License. You may obtain a copy of the License at
4+
*
5+
* http://www.apache.org/licenses/LICENSE-2.0
6+
*
7+
* Unless required by applicable law or agreed to in writing, software distributed under the License
8+
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
9+
* or implied. See the License for the specific language governing permissions and limitations under
10+
* the License.
11+
*/
12+
/*
13+
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
14+
* Modify at your own risk.
15+
*/
16+
17+
package com.google.api.services.gmail.model;
18+
19+
/**
20+
* Classification Labels applied to the email message. Classification Labels are different from
21+
* Gmail inbox labels. Only used for Google Workspace accounts. [Learn more about classification
22+
* labels](https://support.google.com/a/answer/9292382).
23+
*
24+
* <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is
25+
* transmitted over HTTP when working with the Gmail API. For a detailed explanation see:
26+
* <a href="https://developers.google.com/api-client-library/java/google-http-java-client/json">https://developers.google.com/api-client-library/java/google-http-java-client/json</a>
27+
* </p>
28+
*
29+
* @author Google, Inc.
30+
*/
31+
@SuppressWarnings("javadoc")
32+
public final class ClassificationLabelValue extends com.google.api.client.json.GenericJson {
33+
34+
/**
35+
* Field values for the given classification label ID.
36+
* The value may be {@code null}.
37+
*/
38+
@com.google.api.client.util.Key
39+
private java.util.List<ClassificationLabelFieldValue> fields;
40+
41+
static {
42+
// hack to force ProGuard to consider ClassificationLabelFieldValue used, since otherwise it would be stripped out
43+
// see https://github.com/google/google-api-java-client/issues/543
44+
com.google.api.client.util.Data.nullOf(ClassificationLabelFieldValue.class);
45+
}
46+
47+
/**
48+
* Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of
49+
* the Google Drive Label resource.
50+
* The value may be {@code null}.
51+
*/
52+
@com.google.api.client.util.Key
53+
private java.lang.String labelId;
54+
55+
/**
56+
* Field values for the given classification label ID.
57+
* @return value or {@code null} for none
58+
*/
59+
public java.util.List<ClassificationLabelFieldValue> getFields() {
60+
return fields;
61+
}
62+
63+
/**
64+
* Field values for the given classification label ID.
65+
* @param fields fields or {@code null} for none
66+
*/
67+
public ClassificationLabelValue setFields(java.util.List<ClassificationLabelFieldValue> fields) {
68+
this.fields = fields;
69+
return this;
70+
}
71+
72+
/**
73+
* Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of
74+
* the Google Drive Label resource.
75+
* @return value or {@code null} for none
76+
*/
77+
public java.lang.String getLabelId() {
78+
return labelId;
79+
}
80+
81+
/**
82+
* Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of
83+
* the Google Drive Label resource.
84+
* @param labelId labelId or {@code null} for none
85+
*/
86+
public ClassificationLabelValue setLabelId(java.lang.String labelId) {
87+
this.labelId = labelId;
88+
return this;
89+
}
90+
91+
@Override
92+
public ClassificationLabelValue set(String fieldName, Object value) {
93+
return (ClassificationLabelValue) super.set(fieldName, value);
94+
}
95+
96+
@Override
97+
public ClassificationLabelValue clone() {
98+
return (ClassificationLabelValue) super.clone();
99+
}
100+
101+
}

clients/google-api-services-gmail/v1/2.0.0/com/google/api/services/gmail/model/Message.java

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,22 @@
2929
@SuppressWarnings("javadoc")
3030
public final class Message extends com.google.api.client.json.GenericJson {
3131

32+
/**
33+
* Classification Label values on the message. Available Classification Label schemas can be
34+
* queried using the Google Drive Labels API. Each classification label ID must be unique. If
35+
* duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only
36+
* used for Google Workspace accounts.
37+
* The value may be {@code null}.
38+
*/
39+
@com.google.api.client.util.Key
40+
private java.util.List<ClassificationLabelValue> classificationLabelValues;
41+
42+
static {
43+
// hack to force ProGuard to consider ClassificationLabelValue used, since otherwise it would be stripped out
44+
// see https://github.com/google/google-api-java-client/issues/543
45+
com.google.api.client.util.Data.nullOf(ClassificationLabelValue.class);
46+
}
47+
3248
/**
3349
* The ID of the last history record that modified this message.
3450
* The value may be {@code null}.
@@ -100,6 +116,29 @@ public final class Message extends com.google.api.client.json.GenericJson {
100116
@com.google.api.client.util.Key
101117
private java.lang.String threadId;
102118

119+
/**
120+
* Classification Label values on the message. Available Classification Label schemas can be
121+
* queried using the Google Drive Labels API. Each classification label ID must be unique. If
122+
* duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only
123+
* used for Google Workspace accounts.
124+
* @return value or {@code null} for none
125+
*/
126+
public java.util.List<ClassificationLabelValue> getClassificationLabelValues() {
127+
return classificationLabelValues;
128+
}
129+
130+
/**
131+
* Classification Label values on the message. Available Classification Label schemas can be
132+
* queried using the Google Drive Labels API. Each classification label ID must be unique. If
133+
* duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only
134+
* used for Google Workspace accounts.
135+
* @param classificationLabelValues classificationLabelValues or {@code null} for none
136+
*/
137+
public Message setClassificationLabelValues(java.util.List<ClassificationLabelValue> classificationLabelValues) {
138+
this.classificationLabelValues = classificationLabelValues;
139+
return this;
140+
}
141+
103142
/**
104143
* The ID of the last history record that modified this message.
105144
* @return value or {@code null} for none

clients/google-api-services-gmail/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-gmail</artifactId>
11-
<version>v1-rev20250630-2.0.0</version>
12-
<name>Gmail API v1-rev20250630-2.0.0</name>
11+
<version>v1-rev20251110-2.0.0</version>
12+
<name>Gmail API v1-rev20251110-2.0.0</name>
1313
<packaging>jar</packaging>
1414

1515
<inceptionYear>2011</inceptionYear>

clients/google-api-services-gmail/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-gmail</artifactId>
25-
<version>v1-rev20250630-2.0.0</version>
25+
<version>v1-rev20251110-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-gmail:v1-rev20250630-2.0.0'
38+
implementation 'com.google.apis:google-api-services-gmail:v1-rev20251110-2.0.0'
3939
}
4040
```
4141

0 commit comments

Comments
 (0)