| Index: discovery/googleapis/gmail__v1.json
|
| diff --git a/discovery/googleapis/gmail__v1.json b/discovery/googleapis/gmail__v1.json
|
| index fdd6daa760e3c3de0993a566420e34cd303d34a8..15efe0156163d0ac4547efe1f701114fa333eccf 100644
|
| --- a/discovery/googleapis/gmail__v1.json
|
| +++ b/discovery/googleapis/gmail__v1.json
|
| @@ -23,7 +23,7 @@
|
| "description": "The Gmail REST API.",
|
| "discoveryVersion": "v1",
|
| "documentationLink": "https://developers.google.com/gmail/api/",
|
| - "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/FGWIXwFi3bZjyIWUjsVvCy3aEZU\"",
|
| + "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/VTv_VctBdqXjsksB5IcLu4ps6Nw\"",
|
| "icons": {
|
| "x16": "https://www.google.com/images/icons/product/googlemail-16.png",
|
| "x32": "https://www.google.com/images/icons/product/googlemail-32.png"
|
| @@ -81,6 +81,35 @@
|
| "protocol": "rest",
|
| "resources": {
|
| "users": {
|
| + "methods": {
|
| + "getProfile": {
|
| + "description": "Gets the current user's Gmail profile.",
|
| + "httpMethod": "GET",
|
| + "id": "gmail.users.getProfile",
|
| + "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}/profile",
|
| + "response": {
|
| + "$ref": "Profile"
|
| + },
|
| + "scopes": [
|
| + "https://mail.google.com/",
|
| + "https://www.googleapis.com/auth/gmail.compose",
|
| + "https://www.googleapis.com/auth/gmail.modify",
|
| + "https://www.googleapis.com/auth/gmail.readonly"
|
| + ]
|
| + }
|
| + },
|
| "resources": {
|
| "drafts": {
|
| "methods": {
|
| @@ -1270,7 +1299,7 @@
|
| }
|
| }
|
| },
|
| - "revision": "20141001",
|
| + "revision": "20141009",
|
| "rootUrl": "https://www.googleapis.com/",
|
| "schemas": {
|
| "Draft": {
|
| @@ -1674,6 +1703,32 @@
|
| },
|
| "type": "object"
|
| },
|
| + "Profile": {
|
| + "description": "Profile for a Gmail user.",
|
| + "id": "Profile",
|
| + "properties": {
|
| + "emailAddress": {
|
| + "description": "The user's email address.",
|
| + "type": "string"
|
| + },
|
| + "historyId": {
|
| + "description": "The ID of the mailbox's current history record.",
|
| + "format": "uint64",
|
| + "type": "string"
|
| + },
|
| + "messagesTotal": {
|
| + "description": "The total number of messages in the mailbox.",
|
| + "format": "int32",
|
| + "type": "integer"
|
| + },
|
| + "threadsTotal": {
|
| + "description": "The total number of threads in the mailbox.",
|
| + "format": "int32",
|
| + "type": "integer"
|
| + }
|
| + },
|
| + "type": "object"
|
| + },
|
| "Thread": {
|
| "description": "A collection of messages representing a conversation.",
|
| "id": "Thread",
|
|
|