OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://mail.google.com/": { | 5 "https://mail.google.com/": { |
6 "description": "View and manage your mail" | 6 "description": "View and manage your mail" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/gmail.compose": { | 8 "https://www.googleapis.com/auth/gmail.compose": { |
9 "description": "Manage drafts and send emails" | 9 "description": "Manage drafts and send emails" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/gmail.insert": { | 11 "https://www.googleapis.com/auth/gmail.insert": { |
12 "description": "Insert mail into your mailbox" | 12 "description": "Insert mail into your mailbox" |
13 }, | 13 }, |
14 "https://www.googleapis.com/auth/gmail.labels": { | 14 "https://www.googleapis.com/auth/gmail.labels": { |
15 "description": "Manage mailbox labels" | 15 "description": "Manage mailbox labels" |
16 }, | 16 }, |
| 17 "https://www.googleapis.com/auth/gmail.metadata": { |
| 18 "description": "View your email message metadata such as lab
els and headers, but not the email body" |
| 19 }, |
17 "https://www.googleapis.com/auth/gmail.modify": { | 20 "https://www.googleapis.com/auth/gmail.modify": { |
18 "description": "View and modify but not delete your email" | 21 "description": "View and modify but not delete your email" |
19 }, | 22 }, |
20 "https://www.googleapis.com/auth/gmail.readonly": { | 23 "https://www.googleapis.com/auth/gmail.readonly": { |
21 "description": "View your emails messages and settings" | 24 "description": "View your emails messages and settings" |
22 }, | 25 }, |
23 "https://www.googleapis.com/auth/gmail.send": { | 26 "https://www.googleapis.com/auth/gmail.send": { |
24 "description": "Send email on your behalf" | 27 "description": "Send email on your behalf" |
25 }, | 28 }, |
26 "https://www.googleapis.com/auth/gmail.settings.basic": { | 29 "https://www.googleapis.com/auth/gmail.settings.basic": { |
27 "description": "Manage your basic mail settings" | 30 "description": "Manage your basic mail settings" |
28 }, | 31 }, |
29 "https://www.googleapis.com/auth/gmail.settings.sharing": { | 32 "https://www.googleapis.com/auth/gmail.settings.sharing": { |
30 "description": "Manage your sensitive mail settings, includi
ng who can manage your mail" | 33 "description": "Manage your sensitive mail settings, includi
ng who can manage your mail" |
31 } | 34 } |
32 } | 35 } |
33 } | 36 } |
34 }, | 37 }, |
35 "basePath": "/gmail/v1/users/", | 38 "basePath": "/gmail/v1/users/", |
36 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", | 39 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", |
37 "batchPath": "batch", | 40 "batchPath": "batch", |
38 "description": "Access Gmail mailboxes including sending user email.", | 41 "description": "Access Gmail mailboxes including sending user email.", |
39 "discoveryVersion": "v1", | 42 "discoveryVersion": "v1", |
40 "documentationLink": "https://developers.google.com/gmail/api/", | 43 "documentationLink": "https://developers.google.com/gmail/api/", |
41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/c9szhoCXYrKaLKrzYGmZhJZBHUc\"", | 44 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/V8B0BNh6Gl7mnZWtADepvF4qGmI\"", |
42 "icons": { | 45 "icons": { |
43 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", | 46 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", |
44 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" | 47 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" |
45 }, | 48 }, |
46 "id": "gmail:v1", | 49 "id": "gmail:v1", |
47 "kind": "discovery#restDescription", | 50 "kind": "discovery#restDescription", |
48 "name": "gmail", | 51 "name": "gmail", |
49 "ownerDomain": "google.com", | 52 "ownerDomain": "google.com", |
50 "ownerName": "Google", | 53 "ownerName": "Google", |
51 "parameters": { | 54 "parameters": { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "type": "string" | 116 "type": "string" |
114 } | 117 } |
115 }, | 118 }, |
116 "path": "{userId}/profile", | 119 "path": "{userId}/profile", |
117 "response": { | 120 "response": { |
118 "$ref": "Profile" | 121 "$ref": "Profile" |
119 }, | 122 }, |
120 "scopes": [ | 123 "scopes": [ |
121 "https://mail.google.com/", | 124 "https://mail.google.com/", |
122 "https://www.googleapis.com/auth/gmail.compose", | 125 "https://www.googleapis.com/auth/gmail.compose", |
| 126 "https://www.googleapis.com/auth/gmail.metadata", |
123 "https://www.googleapis.com/auth/gmail.modify", | 127 "https://www.googleapis.com/auth/gmail.modify", |
124 "https://www.googleapis.com/auth/gmail.readonly" | 128 "https://www.googleapis.com/auth/gmail.readonly" |
125 ] | 129 ] |
126 }, | 130 }, |
127 "stop": { | 131 "stop": { |
128 "description": "Stop receiving push notifications for the gi
ven user mailbox.", | 132 "description": "Stop receiving push notifications for the gi
ven user mailbox.", |
129 "httpMethod": "POST", | 133 "httpMethod": "POST", |
130 "id": "gmail.users.stop", | 134 "id": "gmail.users.stop", |
131 "parameterOrder": [ | 135 "parameterOrder": [ |
132 "userId" | 136 "userId" |
133 ], | 137 ], |
134 "parameters": { | 138 "parameters": { |
135 "userId": { | 139 "userId": { |
136 "default": "me", | 140 "default": "me", |
137 "description": "The user's email address. The specia
l value me can be used to indicate the authenticated user.", | 141 "description": "The user's email address. The specia
l value me can be used to indicate the authenticated user.", |
138 "location": "path", | 142 "location": "path", |
139 "required": true, | 143 "required": true, |
140 "type": "string" | 144 "type": "string" |
141 } | 145 } |
142 }, | 146 }, |
143 "path": "{userId}/stop", | 147 "path": "{userId}/stop", |
144 "scopes": [ | 148 "scopes": [ |
145 "https://mail.google.com/", | 149 "https://mail.google.com/", |
| 150 "https://www.googleapis.com/auth/gmail.metadata", |
146 "https://www.googleapis.com/auth/gmail.modify", | 151 "https://www.googleapis.com/auth/gmail.modify", |
147 "https://www.googleapis.com/auth/gmail.readonly" | 152 "https://www.googleapis.com/auth/gmail.readonly" |
148 ] | 153 ] |
149 }, | 154 }, |
150 "watch": { | 155 "watch": { |
151 "description": "Set up or update a push notification watch o
n the given user mailbox.", | 156 "description": "Set up or update a push notification watch o
n the given user mailbox.", |
152 "httpMethod": "POST", | 157 "httpMethod": "POST", |
153 "id": "gmail.users.watch", | 158 "id": "gmail.users.watch", |
154 "parameterOrder": [ | 159 "parameterOrder": [ |
155 "userId" | 160 "userId" |
156 ], | 161 ], |
157 "parameters": { | 162 "parameters": { |
158 "userId": { | 163 "userId": { |
159 "default": "me", | 164 "default": "me", |
160 "description": "The user's email address. The specia
l value me can be used to indicate the authenticated user.", | 165 "description": "The user's email address. The specia
l value me can be used to indicate the authenticated user.", |
161 "location": "path", | 166 "location": "path", |
162 "required": true, | 167 "required": true, |
163 "type": "string" | 168 "type": "string" |
164 } | 169 } |
165 }, | 170 }, |
166 "path": "{userId}/watch", | 171 "path": "{userId}/watch", |
167 "request": { | 172 "request": { |
168 "$ref": "WatchRequest" | 173 "$ref": "WatchRequest" |
169 }, | 174 }, |
170 "response": { | 175 "response": { |
171 "$ref": "WatchResponse" | 176 "$ref": "WatchResponse" |
172 }, | 177 }, |
173 "scopes": [ | 178 "scopes": [ |
174 "https://mail.google.com/", | 179 "https://mail.google.com/", |
| 180 "https://www.googleapis.com/auth/gmail.metadata", |
175 "https://www.googleapis.com/auth/gmail.modify", | 181 "https://www.googleapis.com/auth/gmail.modify", |
176 "https://www.googleapis.com/auth/gmail.readonly" | 182 "https://www.googleapis.com/auth/gmail.readonly" |
177 ] | 183 ] |
178 } | 184 } |
179 }, | 185 }, |
180 "resources": { | 186 "resources": { |
181 "drafts": { | 187 "drafts": { |
182 "methods": { | 188 "methods": { |
183 "create": { | 189 "create": { |
184 "description": "Creates a new draft with the DRAFT l
abel.", | 190 "description": "Creates a new draft with the DRAFT l
abel.", |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 "required": true, | 505 "required": true, |
500 "type": "string" | 506 "type": "string" |
501 } | 507 } |
502 }, | 508 }, |
503 "path": "{userId}/history", | 509 "path": "{userId}/history", |
504 "response": { | 510 "response": { |
505 "$ref": "ListHistoryResponse" | 511 "$ref": "ListHistoryResponse" |
506 }, | 512 }, |
507 "scopes": [ | 513 "scopes": [ |
508 "https://mail.google.com/", | 514 "https://mail.google.com/", |
| 515 "https://www.googleapis.com/auth/gmail.metadata"
, |
509 "https://www.googleapis.com/auth/gmail.modify", | 516 "https://www.googleapis.com/auth/gmail.modify", |
510 "https://www.googleapis.com/auth/gmail.readonly" | 517 "https://www.googleapis.com/auth/gmail.readonly" |
511 ] | 518 ] |
512 } | 519 } |
513 } | 520 } |
514 }, | 521 }, |
515 "labels": { | 522 "labels": { |
516 "methods": { | 523 "methods": { |
517 "create": { | 524 "create": { |
518 "description": "Creates a new label.", | 525 "description": "Creates a new label.", |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 "type": "string" | 603 "type": "string" |
597 } | 604 } |
598 }, | 605 }, |
599 "path": "{userId}/labels/{id}", | 606 "path": "{userId}/labels/{id}", |
600 "response": { | 607 "response": { |
601 "$ref": "Label" | 608 "$ref": "Label" |
602 }, | 609 }, |
603 "scopes": [ | 610 "scopes": [ |
604 "https://mail.google.com/", | 611 "https://mail.google.com/", |
605 "https://www.googleapis.com/auth/gmail.labels", | 612 "https://www.googleapis.com/auth/gmail.labels", |
| 613 "https://www.googleapis.com/auth/gmail.metadata"
, |
606 "https://www.googleapis.com/auth/gmail.modify", | 614 "https://www.googleapis.com/auth/gmail.modify", |
607 "https://www.googleapis.com/auth/gmail.readonly" | 615 "https://www.googleapis.com/auth/gmail.readonly" |
608 ] | 616 ] |
609 }, | 617 }, |
610 "list": { | 618 "list": { |
611 "description": "Lists all labels in the user's mailb
ox.", | 619 "description": "Lists all labels in the user's mailb
ox.", |
612 "httpMethod": "GET", | 620 "httpMethod": "GET", |
613 "id": "gmail.users.labels.list", | 621 "id": "gmail.users.labels.list", |
614 "parameterOrder": [ | 622 "parameterOrder": [ |
615 "userId" | 623 "userId" |
616 ], | 624 ], |
617 "parameters": { | 625 "parameters": { |
618 "userId": { | 626 "userId": { |
619 "default": "me", | 627 "default": "me", |
620 "description": "The user's email address. Th
e special value me can be used to indicate the authenticated user.", | 628 "description": "The user's email address. Th
e special value me can be used to indicate the authenticated user.", |
621 "location": "path", | 629 "location": "path", |
622 "required": true, | 630 "required": true, |
623 "type": "string" | 631 "type": "string" |
624 } | 632 } |
625 }, | 633 }, |
626 "path": "{userId}/labels", | 634 "path": "{userId}/labels", |
627 "response": { | 635 "response": { |
628 "$ref": "ListLabelsResponse" | 636 "$ref": "ListLabelsResponse" |
629 }, | 637 }, |
630 "scopes": [ | 638 "scopes": [ |
631 "https://mail.google.com/", | 639 "https://mail.google.com/", |
632 "https://www.googleapis.com/auth/gmail.labels", | 640 "https://www.googleapis.com/auth/gmail.labels", |
| 641 "https://www.googleapis.com/auth/gmail.metadata"
, |
633 "https://www.googleapis.com/auth/gmail.modify", | 642 "https://www.googleapis.com/auth/gmail.modify", |
634 "https://www.googleapis.com/auth/gmail.readonly" | 643 "https://www.googleapis.com/auth/gmail.readonly" |
635 ] | 644 ] |
636 }, | 645 }, |
637 "patch": { | 646 "patch": { |
638 "description": "Updates the specified label. This me
thod supports patch semantics.", | 647 "description": "Updates the specified label. This me
thod supports patch semantics.", |
639 "httpMethod": "PATCH", | 648 "httpMethod": "PATCH", |
640 "id": "gmail.users.labels.patch", | 649 "id": "gmail.users.labels.patch", |
641 "parameterOrder": [ | 650 "parameterOrder": [ |
642 "userId", | 651 "userId", |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
808 "required": true, | 817 "required": true, |
809 "type": "string" | 818 "type": "string" |
810 } | 819 } |
811 }, | 820 }, |
812 "path": "{userId}/messages/{id}", | 821 "path": "{userId}/messages/{id}", |
813 "response": { | 822 "response": { |
814 "$ref": "Message" | 823 "$ref": "Message" |
815 }, | 824 }, |
816 "scopes": [ | 825 "scopes": [ |
817 "https://mail.google.com/", | 826 "https://mail.google.com/", |
| 827 "https://www.googleapis.com/auth/gmail.metadata"
, |
818 "https://www.googleapis.com/auth/gmail.modify", | 828 "https://www.googleapis.com/auth/gmail.modify", |
819 "https://www.googleapis.com/auth/gmail.readonly" | 829 "https://www.googleapis.com/auth/gmail.readonly" |
820 ] | 830 ] |
821 }, | 831 }, |
822 "import": { | 832 "import": { |
823 "description": "Imports a message into only this use
r's mailbox, with standard email delivery scanning and classification similar to
receiving via SMTP. Does not send a message.", | 833 "description": "Imports a message into only this use
r's mailbox, with standard email delivery scanning and classification similar to
receiving via SMTP. Does not send a message.", |
824 "httpMethod": "POST", | 834 "httpMethod": "POST", |
825 "id": "gmail.users.messages.import", | 835 "id": "gmail.users.messages.import", |
826 "mediaUpload": { | 836 "mediaUpload": { |
827 "accept": [ | 837 "accept": [ |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1007 "required": true, | 1017 "required": true, |
1008 "type": "string" | 1018 "type": "string" |
1009 } | 1019 } |
1010 }, | 1020 }, |
1011 "path": "{userId}/messages", | 1021 "path": "{userId}/messages", |
1012 "response": { | 1022 "response": { |
1013 "$ref": "ListMessagesResponse" | 1023 "$ref": "ListMessagesResponse" |
1014 }, | 1024 }, |
1015 "scopes": [ | 1025 "scopes": [ |
1016 "https://mail.google.com/", | 1026 "https://mail.google.com/", |
| 1027 "https://www.googleapis.com/auth/gmail.metadata"
, |
1017 "https://www.googleapis.com/auth/gmail.modify", | 1028 "https://www.googleapis.com/auth/gmail.modify", |
1018 "https://www.googleapis.com/auth/gmail.readonly" | 1029 "https://www.googleapis.com/auth/gmail.readonly" |
1019 ] | 1030 ] |
1020 }, | 1031 }, |
1021 "modify": { | 1032 "modify": { |
1022 "description": "Modifies the labels on the specified
message.", | 1033 "description": "Modifies the labels on the specified
message.", |
1023 "httpMethod": "POST", | 1034 "httpMethod": "POST", |
1024 "id": "gmail.users.messages.modify", | 1035 "id": "gmail.users.messages.modify", |
1025 "parameterOrder": [ | 1036 "parameterOrder": [ |
1026 "userId", | 1037 "userId", |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1966 "required": true, | 1977 "required": true, |
1967 "type": "string" | 1978 "type": "string" |
1968 } | 1979 } |
1969 }, | 1980 }, |
1970 "path": "{userId}/threads/{id}", | 1981 "path": "{userId}/threads/{id}", |
1971 "response": { | 1982 "response": { |
1972 "$ref": "Thread" | 1983 "$ref": "Thread" |
1973 }, | 1984 }, |
1974 "scopes": [ | 1985 "scopes": [ |
1975 "https://mail.google.com/", | 1986 "https://mail.google.com/", |
| 1987 "https://www.googleapis.com/auth/gmail.metadata"
, |
1976 "https://www.googleapis.com/auth/gmail.modify", | 1988 "https://www.googleapis.com/auth/gmail.modify", |
1977 "https://www.googleapis.com/auth/gmail.readonly" | 1989 "https://www.googleapis.com/auth/gmail.readonly" |
1978 ] | 1990 ] |
1979 }, | 1991 }, |
1980 "list": { | 1992 "list": { |
1981 "description": "Lists the threads in the user's mail
box.", | 1993 "description": "Lists the threads in the user's mail
box.", |
1982 "httpMethod": "GET", | 1994 "httpMethod": "GET", |
1983 "id": "gmail.users.threads.list", | 1995 "id": "gmail.users.threads.list", |
1984 "parameterOrder": [ | 1996 "parameterOrder": [ |
1985 "userId" | 1997 "userId" |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2021 "required": true, | 2033 "required": true, |
2022 "type": "string" | 2034 "type": "string" |
2023 } | 2035 } |
2024 }, | 2036 }, |
2025 "path": "{userId}/threads", | 2037 "path": "{userId}/threads", |
2026 "response": { | 2038 "response": { |
2027 "$ref": "ListThreadsResponse" | 2039 "$ref": "ListThreadsResponse" |
2028 }, | 2040 }, |
2029 "scopes": [ | 2041 "scopes": [ |
2030 "https://mail.google.com/", | 2042 "https://mail.google.com/", |
| 2043 "https://www.googleapis.com/auth/gmail.metadata"
, |
2031 "https://www.googleapis.com/auth/gmail.modify", | 2044 "https://www.googleapis.com/auth/gmail.modify", |
2032 "https://www.googleapis.com/auth/gmail.readonly" | 2045 "https://www.googleapis.com/auth/gmail.readonly" |
2033 ] | 2046 ] |
2034 }, | 2047 }, |
2035 "modify": { | 2048 "modify": { |
2036 "description": "Modifies the labels applied to the t
hread. This applies to all messages in the thread.", | 2049 "description": "Modifies the labels applied to the t
hread. This applies to all messages in the thread.", |
2037 "httpMethod": "POST", | 2050 "httpMethod": "POST", |
2038 "id": "gmail.users.threads.modify", | 2051 "id": "gmail.users.threads.modify", |
2039 "parameterOrder": [ | 2052 "parameterOrder": [ |
2040 "userId", | 2053 "userId", |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2129 "scopes": [ | 2142 "scopes": [ |
2130 "https://mail.google.com/", | 2143 "https://mail.google.com/", |
2131 "https://www.googleapis.com/auth/gmail.modify" | 2144 "https://www.googleapis.com/auth/gmail.modify" |
2132 ] | 2145 ] |
2133 } | 2146 } |
2134 } | 2147 } |
2135 } | 2148 } |
2136 } | 2149 } |
2137 } | 2150 } |
2138 }, | 2151 }, |
2139 "revision": "20160711", | 2152 "revision": "20161019", |
2140 "rootUrl": "https://www.googleapis.com/", | 2153 "rootUrl": "https://www.googleapis.com/", |
2141 "schemas": { | 2154 "schemas": { |
2142 "AutoForwarding": { | 2155 "AutoForwarding": { |
2143 "description": "Auto-forwarding settings for an account.", | 2156 "description": "Auto-forwarding settings for an account.", |
2144 "id": "AutoForwarding", | 2157 "id": "AutoForwarding", |
2145 "properties": { | 2158 "properties": { |
2146 "disposition": { | 2159 "disposition": { |
2147 "description": "The state that a message should be left in a
fter it has been forwarded.", | 2160 "description": "The state that a message should be left in a
fter it has been forwarded.", |
2148 "enum": [ | 2161 "enum": [ |
2149 "archive", | 2162 "archive", |
(...skipping 647 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2797 }, | 2810 }, |
2798 "MessagePartBody": { | 2811 "MessagePartBody": { |
2799 "description": "The body of a single MIME message part.", | 2812 "description": "The body of a single MIME message part.", |
2800 "id": "MessagePartBody", | 2813 "id": "MessagePartBody", |
2801 "properties": { | 2814 "properties": { |
2802 "attachmentId": { | 2815 "attachmentId": { |
2803 "description": "When present, contains the ID of an external
attachment that can be retrieved in a separate messages.attachments.get request
. When not present, the entire content of the message part body is contained in
the data field.", | 2816 "description": "When present, contains the ID of an external
attachment that can be retrieved in a separate messages.attachments.get request
. When not present, the entire content of the message part body is contained in
the data field.", |
2804 "type": "string" | 2817 "type": "string" |
2805 }, | 2818 }, |
2806 "data": { | 2819 "data": { |
2807 "description": "The body data of a MIME message part. May be
empty for MIME container types that have no message body or when the body data
is sent as a separate attachment. An attachment ID is present if the body data i
s contained in a separate attachment.", | 2820 "description": "The body data of a MIME message part as a ba
se64url encoded string. May be empty for MIME container types that have no messa
ge body or when the body data is sent as a separate attachment. An attachment ID
is present if the body data is contained in a separate attachment.", |
2808 "format": "byte", | 2821 "format": "byte", |
2809 "type": "string" | 2822 "type": "string" |
2810 }, | 2823 }, |
2811 "size": { | 2824 "size": { |
2812 "description": "Total number of bytes in the body of the mes
sage part.", | 2825 "description": "Total number of bytes in the body of the mes
sage part.", |
2813 "format": "int32", | 2826 "format": "int32", |
2814 "type": "integer" | 2827 "type": "integer" |
2815 } | 2828 } |
2816 }, | 2829 }, |
2817 "type": "object" | 2830 "type": "object" |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2931 }, | 2944 }, |
2932 "threadsTotal": { | 2945 "threadsTotal": { |
2933 "description": "The total number of threads in the mailbox."
, | 2946 "description": "The total number of threads in the mailbox."
, |
2934 "format": "int32", | 2947 "format": "int32", |
2935 "type": "integer" | 2948 "type": "integer" |
2936 } | 2949 } |
2937 }, | 2950 }, |
2938 "type": "object" | 2951 "type": "object" |
2939 }, | 2952 }, |
2940 "SendAs": { | 2953 "SendAs": { |
2941 "description": "Settings associated with a send-as alias, which can
be either the primary login address associated with the account or a custom \"fr
om\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the
web interface. See for more details.", | 2954 "description": "Settings associated with a send-as alias, which can
be either the primary login address associated with the account or a custom \"fr
om\" address. Send-as aliases correspond to the \"Send Mail As\" feature in the
web interface.", |
2942 "id": "SendAs", | 2955 "id": "SendAs", |
2943 "properties": { | 2956 "properties": { |
2944 "displayName": { | 2957 "displayName": { |
2945 "description": "A name that appears in the \"From:\" header
for mail sent using this alias. For custom \"from\" addresses, when this is empt
y, Gmail will populate the \"From:\" header with the name that is used for the p
rimary address associated with the account.", | 2958 "description": "A name that appears in the \"From:\" header
for mail sent using this alias. For custom \"from\" addresses, when this is empt
y, Gmail will populate the \"From:\" header with the name that is used for the p
rimary address associated with the account.", |
2946 "type": "string" | 2959 "type": "string" |
2947 }, | 2960 }, |
2948 "isDefault": { | 2961 "isDefault": { |
2949 "description": "Whether this address is selected as the defa
ult \"From:\" address in situations such as composing a new message or sending a
vacation auto-reply. Every Gmail account has exactly one default send-as addres
s, so the only legal value that clients may write to this field is true. Changin
g this from false to true for an address will result in this field becoming fals
e for the other previous default address.", | 2962 "description": "Whether this address is selected as the defa
ult \"From:\" address in situations such as composing a new message or sending a
vacation auto-reply. Every Gmail account has exactly one default send-as addres
s, so the only legal value that clients may write to this field is true. Changin
g this from false to true for an address will result in this field becoming fals
e for the other previous default address.", |
2950 "type": "boolean" | 2963 "type": "boolean" |
2951 }, | 2964 }, |
(...skipping 11 matching lines...) Expand all Loading... |
2963 }, | 2976 }, |
2964 "signature": { | 2977 "signature": { |
2965 "description": "An optional HTML signature that is included
in messages composed with this alias in the Gmail web UI.", | 2978 "description": "An optional HTML signature that is included
in messages composed with this alias in the Gmail web UI.", |
2966 "type": "string" | 2979 "type": "string" |
2967 }, | 2980 }, |
2968 "smtpMsa": { | 2981 "smtpMsa": { |
2969 "$ref": "SmtpMsa", | 2982 "$ref": "SmtpMsa", |
2970 "description": "An optional SMTP service that will be used a
s an outbound relay for mail sent using this alias. If this is empty, outbound m
ail will be sent directly from Gmail's servers to the destination SMTP service.
This setting only applies to custom \"from\" aliases." | 2983 "description": "An optional SMTP service that will be used a
s an outbound relay for mail sent using this alias. If this is empty, outbound m
ail will be sent directly from Gmail's servers to the destination SMTP service.
This setting only applies to custom \"from\" aliases." |
2971 }, | 2984 }, |
2972 "treatAsAlias": { | 2985 "treatAsAlias": { |
2973 "description": "Whether Gmail should treat this address as a
n alias for the user's primary email address. See for more details. This settin
g only applies to custom \"from\" aliases.", | 2986 "description": "Whether Gmail should treat this address as
an alias for the user's primary email address. This setting only applies to cust
om \"from\" aliases.", |
2974 "type": "boolean" | 2987 "type": "boolean" |
2975 }, | 2988 }, |
2976 "verificationStatus": { | 2989 "verificationStatus": { |
2977 "description": "Indicates whether this address has been veri
fied for use as a send-as alias. Read-only. This setting only applies to custom
\"from\" aliases.", | 2990 "description": "Indicates whether this address has been veri
fied for use as a send-as alias. Read-only. This setting only applies to custom
\"from\" aliases.", |
2978 "enum": [ | 2991 "enum": [ |
2979 "accepted", | 2992 "accepted", |
2980 "pending", | 2993 "pending", |
2981 "verificationStatusUnspecified" | 2994 "verificationStatusUnspecified" |
2982 ], | 2995 ], |
2983 "enumDescriptions": [ | 2996 "enumDescriptions": [ |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3051 "type": "array" | 3064 "type": "array" |
3052 }, | 3065 }, |
3053 "snippet": { | 3066 "snippet": { |
3054 "description": "A short part of the message text.", | 3067 "description": "A short part of the message text.", |
3055 "type": "string" | 3068 "type": "string" |
3056 } | 3069 } |
3057 }, | 3070 }, |
3058 "type": "object" | 3071 "type": "object" |
3059 }, | 3072 }, |
3060 "VacationSettings": { | 3073 "VacationSettings": { |
3061 "description": "Vacation auto-reply settings for an account. These s
ettings correspond to the \"Vacation responder\" feature in the web interface. S
ee for more details.", | 3074 "description": "Vacation auto-reply settings for an account. These s
ettings correspond to the \"Vacation responder\" feature in the web interface.", |
3062 "id": "VacationSettings", | 3075 "id": "VacationSettings", |
3063 "properties": { | 3076 "properties": { |
3064 "enableAutoReply": { | 3077 "enableAutoReply": { |
3065 "description": "Flag that controls whether Gmail automatical
ly replies to messages.", | 3078 "description": "Flag that controls whether Gmail automatical
ly replies to messages.", |
3066 "type": "boolean" | 3079 "type": "boolean" |
3067 }, | 3080 }, |
3068 "endTime": { | 3081 "endTime": { |
3069 "description": "An optional end time for sending auto-replie
s (epoch ms). When this is specified, Gmail will automatically reply only to mes
sages that it receives before the end time. If both startTime and endTime are sp
ecified, startTime must precede endTime.", | 3082 "description": "An optional end time for sending auto-replie
s (epoch ms). When this is specified, Gmail will automatically reply only to mes
sages that it receives before the end time. If both startTime and endTime are sp
ecified, startTime must precede endTime.", |
3070 "format": "int64", | 3083 "format": "int64", |
3071 "type": "string" | 3084 "type": "string" |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3143 "type": "string" | 3156 "type": "string" |
3144 } | 3157 } |
3145 }, | 3158 }, |
3146 "type": "object" | 3159 "type": "object" |
3147 } | 3160 } |
3148 }, | 3161 }, |
3149 "servicePath": "gmail/v1/users/", | 3162 "servicePath": "gmail/v1/users/", |
3150 "title": "Gmail API", | 3163 "title": "Gmail API", |
3151 "version": "v1" | 3164 "version": "v1" |
3152 } | 3165 } |
OLD | NEW |