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

Side by Side Diff: discovery/googleapis/gmail__v1.json

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « discovery/googleapis/genomics__v1.json ('k') | discovery/googleapis/iam__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 },
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 } 35 }
36 } 36 }
37 }, 37 },
38 "basePath": "/gmail/v1/users/", 38 "basePath": "/gmail/v1/users/",
39 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", 39 "baseUrl": "https://www.googleapis.com/gmail/v1/users/",
40 "batchPath": "batch", 40 "batchPath": "batch",
41 "description": "Access Gmail mailboxes including sending user email.", 41 "description": "Access Gmail mailboxes including sending user email.",
42 "discoveryVersion": "v1", 42 "discoveryVersion": "v1",
43 "documentationLink": "https://developers.google.com/gmail/api/", 43 "documentationLink": "https://developers.google.com/gmail/api/",
44 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/iEu64OqTQaadpg92fJ0bQ4GFW7U\"", 44 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/bv4LA8S_yqDUVUFrxfui1vcVGzk\"",
45 "icons": { 45 "icons": {
46 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", 46 "x16": "https://www.google.com/images/icons/product/googlemail-16.png",
47 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" 47 "x32": "https://www.google.com/images/icons/product/googlemail-32.png"
48 }, 48 },
49 "id": "gmail:v1", 49 "id": "gmail:v1",
50 "kind": "discovery#restDescription", 50 "kind": "discovery#restDescription",
51 "name": "gmail", 51 "name": "gmail",
52 "ownerDomain": "google.com", 52 "ownerDomain": "google.com",
53 "ownerName": "Google", 53 "ownerName": "Google",
54 "parameters": { 54 "parameters": {
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 "history": { 468 "history": {
469 "methods": { 469 "methods": {
470 "list": { 470 "list": {
471 "description": "Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasi ng historyId).", 471 "description": "Lists the history of all changes to the given mailbox. History results are returned in chronological order (increasi ng historyId).",
472 "httpMethod": "GET", 472 "httpMethod": "GET",
473 "id": "gmail.users.history.list", 473 "id": "gmail.users.history.list",
474 "parameterOrder": [ 474 "parameterOrder": [
475 "userId" 475 "userId"
476 ], 476 ],
477 "parameters": { 477 "parameters": {
478 "historyTypes": {
479 "description": "History types to be returned by the function",
480 "enum": [
481 "labelAdded",
482 "labelRemoved",
483 "messageAdded",
484 "messageDeleted"
485 ],
486 "enumDescriptions": [
487 "",
488 "",
489 "",
490 ""
491 ],
492 "location": "query",
493 "repeated": true,
494 "type": "string"
495 },
478 "labelId": { 496 "labelId": {
479 "description": "Only return messages with a label matching the ID.", 497 "description": "Only return messages with a label matching the ID.",
480 "location": "query", 498 "location": "query",
481 "type": "string" 499 "type": "string"
482 }, 500 },
483 "maxResults": { 501 "maxResults": {
484 "default": "100", 502 "default": "100",
485 "description": "The maximum number of histor y records to return.", 503 "description": "The maximum number of histor y records to return.",
486 "format": "uint32", 504 "format": "uint32",
487 "location": "query", 505 "location": "query",
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
873 "path": "/upload/gmail/v1/users/{userId} /messages/import" 891 "path": "/upload/gmail/v1/users/{userId} /messages/import"
874 } 892 }
875 } 893 }
876 }, 894 },
877 "parameterOrder": [ 895 "parameterOrder": [
878 "userId" 896 "userId"
879 ], 897 ],
880 "parameters": { 898 "parameters": {
881 "deleted": { 899 "deleted": {
882 "default": "false", 900 "default": "false",
883 "description": "Mark the email as permanentl y deleted (not TRASH) and only visible in Google Apps Vault to a Vault administr ator. Only used for Google Apps for Work accounts.", 901 "description": "Mark the email as permanentl y deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
884 "location": "query", 902 "location": "query",
885 "type": "boolean" 903 "type": "boolean"
886 }, 904 },
887 "internalDateSource": { 905 "internalDateSource": {
888 "default": "dateHeader", 906 "default": "dateHeader",
889 "description": "Source for Gmail's internal date of the message.", 907 "description": "Source for Gmail's internal date of the message.",
890 "enum": [ 908 "enum": [
891 "dateHeader", 909 "dateHeader",
892 "receivedTime" 910 "receivedTime"
893 ], 911 ],
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
951 "path": "/upload/gmail/v1/users/{userId} /messages" 969 "path": "/upload/gmail/v1/users/{userId} /messages"
952 } 970 }
953 } 971 }
954 }, 972 },
955 "parameterOrder": [ 973 "parameterOrder": [
956 "userId" 974 "userId"
957 ], 975 ],
958 "parameters": { 976 "parameters": {
959 "deleted": { 977 "deleted": {
960 "default": "false", 978 "default": "false",
961 "description": "Mark the email as permanentl y deleted (not TRASH) and only visible in Google Apps Vault to a Vault administr ator. Only used for Google Apps for Work accounts.", 979 "description": "Mark the email as permanentl y deleted (not TRASH) and only visible in Google Vault to a Vault administrator. Only used for G Suite accounts.",
962 "location": "query", 980 "location": "query",
963 "type": "boolean" 981 "type": "boolean"
964 }, 982 },
965 "internalDateSource": { 983 "internalDateSource": {
966 "default": "receivedTime", 984 "default": "receivedTime",
967 "description": "Source for Gmail's internal date of the message.", 985 "description": "Source for Gmail's internal date of the message.",
968 "enum": [ 986 "enum": [
969 "dateHeader", 987 "dateHeader",
970 "receivedTime" 988 "receivedTime"
971 ], 989 ],
(...skipping 945 matching lines...) Expand 10 before | Expand all | Expand 10 after
1917 "location": "path", 1935 "location": "path",
1918 "required": true, 1936 "required": true,
1919 "type": "string" 1937 "type": "string"
1920 } 1938 }
1921 }, 1939 },
1922 "path": "{userId}/settings/sendAs/{sendAsEma il}/verify", 1940 "path": "{userId}/settings/sendAs/{sendAsEma il}/verify",
1923 "scopes": [ 1941 "scopes": [
1924 "https://www.googleapis.com/auth/gmail.s ettings.sharing" 1942 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1925 ] 1943 ]
1926 } 1944 }
1945 },
1946 "resources": {
1947 "smimeInfo": {
1948 "methods": {
1949 "delete": {
1950 "description": "Deletes the specifie d S/MIME config for the specified send-as alias.",
1951 "httpMethod": "DELETE",
1952 "id": "gmail.users.settings.sendAs.s mimeInfo.delete",
1953 "parameterOrder": [
1954 "userId",
1955 "sendAsEmail",
1956 "id"
1957 ],
1958 "parameters": {
1959 "id": {
1960 "description": "The immutabl e ID for the SmimeInfo.",
1961 "location": "path",
1962 "required": true,
1963 "type": "string"
1964 },
1965 "sendAsEmail": {
1966 "description": "The email ad dress that appears in the \"From:\" header for mail sent using this alias.",
1967 "location": "path",
1968 "required": true,
1969 "type": "string"
1970 },
1971 "userId": {
1972 "default": "me",
1973 "description": "The user's e mail address. The special value me can be used to indicate the authenticated use r.",
1974 "location": "path",
1975 "required": true,
1976 "type": "string"
1977 }
1978 },
1979 "path": "{userId}/settings/sendAs/{s endAsEmail}/smimeInfo/{id}",
1980 "scopes": [
1981 "https://www.googleapis.com/auth /gmail.settings.basic",
1982 "https://www.googleapis.com/auth /gmail.settings.sharing"
1983 ]
1984 },
1985 "get": {
1986 "description": "Gets the specified S /MIME config for the specified send-as alias.",
1987 "httpMethod": "GET",
1988 "id": "gmail.users.settings.sendAs.s mimeInfo.get",
1989 "parameterOrder": [
1990 "userId",
1991 "sendAsEmail",
1992 "id"
1993 ],
1994 "parameters": {
1995 "id": {
1996 "description": "The immutabl e ID for the SmimeInfo.",
1997 "location": "path",
1998 "required": true,
1999 "type": "string"
2000 },
2001 "sendAsEmail": {
2002 "description": "The email ad dress that appears in the \"From:\" header for mail sent using this alias.",
2003 "location": "path",
2004 "required": true,
2005 "type": "string"
2006 },
2007 "userId": {
2008 "default": "me",
2009 "description": "The user's e mail address. The special value me can be used to indicate the authenticated use r.",
2010 "location": "path",
2011 "required": true,
2012 "type": "string"
2013 }
2014 },
2015 "path": "{userId}/settings/sendAs/{s endAsEmail}/smimeInfo/{id}",
2016 "response": {
2017 "$ref": "SmimeInfo"
2018 },
2019 "scopes": [
2020 "https://mail.google.com/",
2021 "https://www.googleapis.com/auth /gmail.modify",
2022 "https://www.googleapis.com/auth /gmail.readonly",
2023 "https://www.googleapis.com/auth /gmail.settings.basic",
2024 "https://www.googleapis.com/auth /gmail.settings.sharing"
2025 ]
2026 },
2027 "insert": {
2028 "description": "Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.",
2029 "httpMethod": "POST",
2030 "id": "gmail.users.settings.sendAs.s mimeInfo.insert",
2031 "parameterOrder": [
2032 "userId",
2033 "sendAsEmail"
2034 ],
2035 "parameters": {
2036 "sendAsEmail": {
2037 "description": "The email ad dress that appears in the \"From:\" header for mail sent using this alias.",
2038 "location": "path",
2039 "required": true,
2040 "type": "string"
2041 },
2042 "userId": {
2043 "default": "me",
2044 "description": "The user's e mail address. The special value me can be used to indicate the authenticated use r.",
2045 "location": "path",
2046 "required": true,
2047 "type": "string"
2048 }
2049 },
2050 "path": "{userId}/settings/sendAs/{s endAsEmail}/smimeInfo",
2051 "request": {
2052 "$ref": "SmimeInfo"
2053 },
2054 "response": {
2055 "$ref": "SmimeInfo"
2056 },
2057 "scopes": [
2058 "https://www.googleapis.com/auth /gmail.settings.basic",
2059 "https://www.googleapis.com/auth /gmail.settings.sharing"
2060 ]
2061 },
2062 "list": {
2063 "description": "Lists S/MIME configs for the specified send-as alias.",
2064 "httpMethod": "GET",
2065 "id": "gmail.users.settings.sendAs.s mimeInfo.list",
2066 "parameterOrder": [
2067 "userId",
2068 "sendAsEmail"
2069 ],
2070 "parameters": {
2071 "sendAsEmail": {
2072 "description": "The email ad dress that appears in the \"From:\" header for mail sent using this alias.",
2073 "location": "path",
2074 "required": true,
2075 "type": "string"
2076 },
2077 "userId": {
2078 "default": "me",
2079 "description": "The user's e mail address. The special value me can be used to indicate the authenticated use r.",
2080 "location": "path",
2081 "required": true,
2082 "type": "string"
2083 }
2084 },
2085 "path": "{userId}/settings/sendAs/{s endAsEmail}/smimeInfo",
2086 "response": {
2087 "$ref": "ListSmimeInfoResponse"
2088 },
2089 "scopes": [
2090 "https://mail.google.com/",
2091 "https://www.googleapis.com/auth /gmail.modify",
2092 "https://www.googleapis.com/auth /gmail.readonly",
2093 "https://www.googleapis.com/auth /gmail.settings.basic",
2094 "https://www.googleapis.com/auth /gmail.settings.sharing"
2095 ]
2096 },
2097 "setDefault": {
2098 "description": "Sets the default S/M IME config for the specified send-as alias.",
2099 "httpMethod": "POST",
2100 "id": "gmail.users.settings.sendAs.s mimeInfo.setDefault",
2101 "parameterOrder": [
2102 "userId",
2103 "sendAsEmail",
2104 "id"
2105 ],
2106 "parameters": {
2107 "id": {
2108 "description": "The immutabl e ID for the SmimeInfo.",
2109 "location": "path",
2110 "required": true,
2111 "type": "string"
2112 },
2113 "sendAsEmail": {
2114 "description": "The email ad dress that appears in the \"From:\" header for mail sent using this alias.",
2115 "location": "path",
2116 "required": true,
2117 "type": "string"
2118 },
2119 "userId": {
2120 "default": "me",
2121 "description": "The user's e mail address. The special value me can be used to indicate the authenticated use r.",
2122 "location": "path",
2123 "required": true,
2124 "type": "string"
2125 }
2126 },
2127 "path": "{userId}/settings/sendAs/{s endAsEmail}/smimeInfo/{id}/setDefault",
2128 "scopes": [
2129 "https://www.googleapis.com/auth /gmail.settings.basic",
2130 "https://www.googleapis.com/auth /gmail.settings.sharing"
2131 ]
2132 }
2133 }
2134 }
1927 } 2135 }
1928 } 2136 }
1929 } 2137 }
1930 }, 2138 },
1931 "threads": { 2139 "threads": {
1932 "methods": { 2140 "methods": {
1933 "delete": { 2141 "delete": {
1934 "description": "Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash inst ead.", 2142 "description": "Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash inst ead.",
1935 "httpMethod": "DELETE", 2143 "httpMethod": "DELETE",
1936 "id": "gmail.users.threads.delete", 2144 "id": "gmail.users.threads.delete",
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
2167 "scopes": [ 2375 "scopes": [
2168 "https://mail.google.com/", 2376 "https://mail.google.com/",
2169 "https://www.googleapis.com/auth/gmail.modify" 2377 "https://www.googleapis.com/auth/gmail.modify"
2170 ] 2378 ]
2171 } 2379 }
2172 } 2380 }
2173 } 2381 }
2174 } 2382 }
2175 } 2383 }
2176 }, 2384 },
2177 "revision": "20170117", 2385 "revision": "20170206",
2178 "rootUrl": "https://www.googleapis.com/", 2386 "rootUrl": "https://www.googleapis.com/",
2179 "schemas": { 2387 "schemas": {
2180 "AutoForwarding": { 2388 "AutoForwarding": {
2181 "description": "Auto-forwarding settings for an account.", 2389 "description": "Auto-forwarding settings for an account.",
2182 "id": "AutoForwarding", 2390 "id": "AutoForwarding",
2183 "properties": { 2391 "properties": {
2184 "disposition": { 2392 "disposition": {
2185 "description": "The state that a message should be left in a fter it has been forwarded.", 2393 "description": "The state that a message should be left in a fter it has been forwarded.",
2186 "enum": [ 2394 "enum": [
2187 "archive", 2395 "archive",
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
2736 "sendAs": { 2944 "sendAs": {
2737 "description": "List of send-as aliases.", 2945 "description": "List of send-as aliases.",
2738 "items": { 2946 "items": {
2739 "$ref": "SendAs" 2947 "$ref": "SendAs"
2740 }, 2948 },
2741 "type": "array" 2949 "type": "array"
2742 } 2950 }
2743 }, 2951 },
2744 "type": "object" 2952 "type": "object"
2745 }, 2953 },
2954 "ListSmimeInfoResponse": {
2955 "id": "ListSmimeInfoResponse",
2956 "properties": {
2957 "smimeInfo": {
2958 "description": "List of SmimeInfo.",
2959 "items": {
2960 "$ref": "SmimeInfo"
2961 },
2962 "type": "array"
2963 }
2964 },
2965 "type": "object"
2966 },
2746 "ListThreadsResponse": { 2967 "ListThreadsResponse": {
2747 "id": "ListThreadsResponse", 2968 "id": "ListThreadsResponse",
2748 "properties": { 2969 "properties": {
2749 "nextPageToken": { 2970 "nextPageToken": {
2750 "description": "Page token to retrieve the next page of resu lts in the list.", 2971 "description": "Page token to retrieve the next page of resu lts in the list.",
2751 "type": "string" 2972 "type": "string"
2752 }, 2973 },
2753 "resultSizeEstimate": { 2974 "resultSizeEstimate": {
2754 "description": "Estimated total number of results.", 2975 "description": "Estimated total number of results.",
2755 "format": "uint32", 2976 "format": "uint32",
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
3048 "enumDescriptions": [ 3269 "enumDescriptions": [
3049 "", 3270 "",
3050 "", 3271 "",
3051 "" 3272 ""
3052 ], 3273 ],
3053 "type": "string" 3274 "type": "string"
3054 } 3275 }
3055 }, 3276 },
3056 "type": "object" 3277 "type": "object"
3057 }, 3278 },
3279 "SmimeInfo": {
3280 "description": "An S/MIME email config.",
3281 "id": "SmimeInfo",
3282 "properties": {
3283 "encryptedKeyPassword": {
3284 "description": "Encrypted key password, when key is encrypte d.",
3285 "type": "string"
3286 },
3287 "expiration": {
3288 "description": "When the certificate expires (in millisecond s since epoch).",
3289 "format": "int64",
3290 "type": "string"
3291 },
3292 "id": {
3293 "description": "The immutable ID for the SmimeInfo.",
3294 "type": "string"
3295 },
3296 "isDefault": {
3297 "description": "Whether this SmimeInfo is the default one fo r this user's send-as address.",
3298 "type": "boolean"
3299 },
3300 "issuerCn": {
3301 "description": "The S/MIME certificate issuer's common name. ",
3302 "type": "string"
3303 },
3304 "pem": {
3305 "description": "PEM formatted X509 concatenated certificate string (standard base64 encoding). Format used for returning key, which includes public key as well as certificate chain (not private key).",
3306 "type": "string"
3307 },
3308 "pkcs12": {
3309 "description": "PKCS#12 format containing a single private/p ublic key pair and certificate chain. This format is only accepted from client f or creating a new SmimeInfo and is never returned, because the private key is no t intended to be exported. PKCS#12 may be encrypted, in which case encryptedKeyP assword should be set appropriately.",
3310 "format": "byte",
3311 "type": "string"
3312 }
3313 },
3314 "type": "object"
3315 },
3058 "SmtpMsa": { 3316 "SmtpMsa": {
3059 "description": "Configuration for communication with an SMTP service .", 3317 "description": "Configuration for communication with an SMTP service .",
3060 "id": "SmtpMsa", 3318 "id": "SmtpMsa",
3061 "properties": { 3319 "properties": {
3062 "host": { 3320 "host": {
3063 "description": "The hostname of the SMTP service. Required." , 3321 "description": "The hostname of the SMTP service. Required." ,
3064 "type": "string" 3322 "type": "string"
3065 }, 3323 },
3066 "password": { 3324 "password": {
3067 "description": "The password that will be used for authentic ation with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in response s.", 3325 "description": "The password that will be used for authentic ation with the SMTP service. This is a write-only field that can be specified in requests to create or update SendAs settings; it is never populated in response s.",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
3145 }, 3403 },
3146 "responseSubject": { 3404 "responseSubject": {
3147 "description": "Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response sub ject or the response body must be nonempty.", 3405 "description": "Optional text to prepend to the subject line in vacation responses. In order to enable auto-replies, either the response sub ject or the response body must be nonempty.",
3148 "type": "string" 3406 "type": "string"
3149 }, 3407 },
3150 "restrictToContacts": { 3408 "restrictToContacts": {
3151 "description": "Flag that determines whether responses are s ent to recipients who are not in the user's list of contacts.", 3409 "description": "Flag that determines whether responses are s ent to recipients who are not in the user's list of contacts.",
3152 "type": "boolean" 3410 "type": "boolean"
3153 }, 3411 },
3154 "restrictToDomain": { 3412 "restrictToDomain": {
3155 "description": "Flag that determines whether responses are s ent to recipients who are outside of the user's domain. This feature is only ava ilable for Google Apps users.", 3413 "description": "Flag that determines whether responses are s ent to recipients who are outside of the user's domain. This feature is only ava ilable for G Suite users.",
3156 "type": "boolean" 3414 "type": "boolean"
3157 }, 3415 },
3158 "startTime": { 3416 "startTime": {
3159 "description": "An optional start time for sending auto-repl ies (epoch ms). When this is specified, Gmail will automatically reply only to m essages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.", 3417 "description": "An optional start time for sending auto-repl ies (epoch ms). When this is specified, Gmail will automatically reply only to m essages that it receives after the start time. If both startTime and endTime are specified, startTime must precede endTime.",
3160 "format": "int64", 3418 "format": "int64",
3161 "type": "string" 3419 "type": "string"
3162 } 3420 }
3163 }, 3421 },
3164 "type": "object" 3422 "type": "object"
3165 }, 3423 },
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
3208 "type": "string" 3466 "type": "string"
3209 } 3467 }
3210 }, 3468 },
3211 "type": "object" 3469 "type": "object"
3212 } 3470 }
3213 }, 3471 },
3214 "servicePath": "gmail/v1/users/", 3472 "servicePath": "gmail/v1/users/",
3215 "title": "Gmail API", 3473 "title": "Gmail API",
3216 "version": "v1" 3474 "version": "v1"
3217 } 3475 }
OLDNEW
« no previous file with comments | « discovery/googleapis/genomics__v1.json ('k') | discovery/googleapis/iam__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698