Skip to content

Commit b29ea99

Browse files
feat(gmail): update the api
#### gmail:v1 The following keys were added: - schemas.WatchRequest.properties.labelFilterBehavior.type (Total Keys: 1)
1 parent 20aea1f commit b29ea99

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

docs/dyn/gmail_v1.users.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@

Method Details

168168

169169
{ # Set up or update a new push notification watch on this user's mailbox.
170170
"labelFilterAction": "A String", # Filtering behavior of labelIds list specified.
171+
"labelFilterBehavior": "A String", # Filtering behavior of labelIds list specified. This field replaces label_filter_action; if set, label_filter_action is ignored.
171172
"labelIds": [ # List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated.
172173
"A String",
173174
],

googleapiclient/discovery_cache/documents/gmail.v1.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3077,7 +3077,7 @@
30773077
}
30783078
}
30793079
},
3080-
"revision": "20230522",
3080+
"revision": "20230612",
30813081
"rootUrl": "https://gmail.googleapis.com/",
30823082
"schemas": {
30833083
"AutoForwarding": {
@@ -4359,6 +4359,18 @@
43594359
],
43604360
"type": "string"
43614361
},
4362+
"labelFilterBehavior": {
4363+
"description": "Filtering behavior of labelIds list specified. This field replaces label_filter_action; if set, label_filter_action is ignored.",
4364+
"enum": [
4365+
"include",
4366+
"exclude"
4367+
],
4368+
"enumDescriptions": [
4369+
"Only get push notifications for message changes relating to labelIds specified.",
4370+
"Get push notifications for all message changes except those relating to labelIds specified."
4371+
],
4372+
"type": "string"
4373+
},
43624374
"labelIds": {
43634375
"description": "List of label_ids to restrict notifications about. By default, if unspecified, all changes are pushed out. If specified then dictates which labels are required for a push notification to be generated.",
43644376
"items": {

0 commit comments

Comments
 (0)