Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1782)

Unified Diff: discovery/googleapis/gmail__v1.json

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/genomics__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/gmail__v1.json
diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json
index 30751de4a5fbc06c9900244ab9dbb5e65a9259ff..79135c4ad64491b457cdc7f108695691b43747fd 100644
--- a/discovery/googleapis/gmail__v1.json
+++ b/discovery/googleapis/gmail__v1.json
@@ -41,7 +41,7 @@
"description": "Access Gmail mailboxes including sending user email.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/gmail/api/",
- "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/V8B0BNh6Gl7mnZWtADepvF4qGmI\"",
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/p_Ki8ZAiDCpzN2N5osErTV2szew\"",
"icons": {
"x16": "https://www.google.com/images/icons/product/googlemail-16.png",
"x32": "https://www.google.com/images/icons/product/googlemail-32.png"
@@ -743,6 +743,31 @@
"https://mail.google.com/"
]
},
+ "batchModify": {
+ "description": "Modifies the labels on the specified messages.",
+ "httpMethod": "POST",
+ "id": "gmail.users.messages.batchModify",
+ "parameterOrder": [
+ "userId"
+ ],
+ "parameters": {
+ "userId": {
+ "default": "me",
+ "description": "The user's email address. The special value me can be used to indicate the authenticated user.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "{userId}/messages/batchModify",
+ "request": {
+ "$ref": "BatchModifyMessagesRequest"
+ },
+ "scopes": [
+ "https://mail.google.com/",
+ "https://www.googleapis.com/auth/gmail.modify"
+ ]
+ },
"delete": {
"description": "Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash instead.",
"httpMethod": "DELETE",
@@ -1006,7 +1031,7 @@
"type": "string"
},
"q": {
- "description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
+ "description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
"location": "query",
"type": "string"
},
@@ -2022,7 +2047,7 @@
"type": "string"
},
"q": {
- "description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
+ "description": "Only return threads matching the specified query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\". Parameter cannot be used when accessing the api using the gmail.metadata scope.",
"location": "query",
"type": "string"
},
@@ -2149,7 +2174,7 @@
}
}
},
- "revision": "20161019",
+ "revision": "20161206",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"AutoForwarding": {
@@ -2198,6 +2223,33 @@
},
"type": "object"
},
+ "BatchModifyMessagesRequest": {
+ "id": "BatchModifyMessagesRequest",
+ "properties": {
+ "addLabelIds": {
+ "description": "A list of label IDs to add to messages.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "ids": {
+ "description": "The IDs of the messages to modify. There is a limit of 1000 ids per request.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "removeLabelIds": {
+ "description": "A list of label IDs to remove from messages.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"Draft": {
"description": "A draft email in the user's mailbox.",
"id": "Draft",
@@ -2822,7 +2874,7 @@
"type": "string"
},
"size": {
- "description": "Total number of bytes in the body of the message part.",
+ "description": "Number of bytes for the message part data (encoding notwithstanding).",
"format": "int32",
"type": "integer"
}
« no previous file with comments | « discovery/googleapis/genomics__v1.json ('k') | discovery/googleapis/groupsmigration__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698