You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/gmail-v1.json
+41-1Lines changed: 41 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -3077,7 +3077,7 @@
3077
3077
}
3078
3078
}
3079
3079
},
3080
-
"revision": "20250630",
3080
+
"revision": "20251110",
3081
3081
"rootUrl": "https://gmail.googleapis.com/",
3082
3082
"schemas": {
3083
3083
"AutoForwarding": {
@@ -3153,6 +3153,39 @@
3153
3153
},
3154
3154
"type": "object"
3155
3155
},
3156
+
"ClassificationLabelFieldValue": {
3157
+
"description": "Field values for a classification label.",
3158
+
"id": "ClassificationLabelFieldValue",
3159
+
"properties": {
3160
+
"fieldId": {
3161
+
"description": "Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive `Label.Field` object.",
3162
+
"type": "string"
3163
+
},
3164
+
"selection": {
3165
+
"description": "Selection choice ID for the selection option. Should only be set if the field type is `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive `Label.Field.SelectionOptions` resource.",
3166
+
"type": "string"
3167
+
}
3168
+
},
3169
+
"type": "object"
3170
+
},
3171
+
"ClassificationLabelValue": {
3172
+
"description": "Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. Only used for Google Workspace accounts. [Learn more about classification labels](https://support.google.com/a/answer/9292382).",
3173
+
"id": "ClassificationLabelValue",
3174
+
"properties": {
3175
+
"fields": {
3176
+
"description": "Field values for the given classification label ID.",
3177
+
"items": {
3178
+
"$ref": "ClassificationLabelFieldValue"
3179
+
},
3180
+
"type": "array"
3181
+
},
3182
+
"labelId": {
3183
+
"description": "Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of the Google Drive Label resource.",
3184
+
"type": "string"
3185
+
}
3186
+
},
3187
+
"type": "object"
3188
+
},
3156
3189
"CseIdentity": {
3157
3190
"description": "The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.",
3158
3191
"id": "CseIdentity",
@@ -3925,6 +3958,13 @@
3925
3958
"description": "An email message.",
3926
3959
"id": "Message",
3927
3960
"properties": {
3961
+
"classificationLabelValues": {
3962
+
"description": "Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts.",
3963
+
"items": {
3964
+
"$ref": "ClassificationLabelValue"
3965
+
},
3966
+
"type": "array"
3967
+
},
3928
3968
"historyId": {
3929
3969
"description": "The ID of the last history record that modified this message.",
* Required. The field ID for the Classification Label Value. Maps to the ID field of the Google Drive `Label.Field` object.
170
+
*/
171
+
fieldId?: string|null;
172
+
/**
173
+
* Selection choice ID for the selection option. Should only be set if the field type is `SELECTION` in the Google Drive `Label.Field` object. Maps to the id field of the Google Drive `Label.Field.SelectionOptions` resource.
174
+
*/
175
+
selection?: string|null;
176
+
}
177
+
/**
178
+
* Classification Labels applied to the email message. Classification Labels are different from Gmail inbox labels. Only used for Google Workspace accounts. [Learn more about classification labels](https://support.google.com/a/answer/9292382).
179
+
*/
180
+
exportinterfaceSchema$ClassificationLabelValue{
181
+
/**
182
+
* Field values for the given classification label ID.
183
+
*/
184
+
fields?: Schema$ClassificationLabelFieldValue[];
185
+
/**
186
+
* Required. The canonical or raw alphanumeric classification label ID. Maps to the ID field of the Google Drive Label resource.
187
+
*/
188
+
labelId?: string|null;
189
+
}
164
190
/**
165
191
* The client-side encryption (CSE) configuration for the email address of an authenticated user. Gmail uses CSE configurations to save drafts of client-side encrypted email messages, and to sign and send encrypted email messages. For administrators managing identities and keypairs for users in their organization, requests require authorization with a [service account](https://developers.google.com/identity/protocols/OAuth2ServiceAccount) that has [domain-wide delegation authority](https://developers.google.com/identity/protocols/OAuth2ServiceAccount#delegatingauthority) to impersonate users with the `https://www.googleapis.com/auth/gmail.settings.basic` scope. For users managing their own identities and keypairs, requests require [hardware key encryption](https://support.google.com/a/answer/14153163) turned on and configured.
166
192
*/
@@ -634,6 +660,10 @@ export namespace gmail_v1 {
634
660
* An email message.
635
661
*/
636
662
exportinterfaceSchema$Message{
663
+
/**
664
+
* Classification Label values on the message. Available Classification Label schemas can be queried using the Google Drive Labels API. Each classification label ID must be unique. If duplicate IDs are provided, only one will be retained, and the selection is arbitrary. Only used for Google Workspace accounts.
0 commit comments