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

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

Issue 2159673002: Api-roll 39: 2016-07-18 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 4 years, 5 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/oauth2__v2.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 },
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.modify": { 17 "https://www.googleapis.com/auth/gmail.modify": {
18 "description": "View and modify but not delete your email" 18 "description": "View and modify but not delete your email"
19 }, 19 },
20 "https://www.googleapis.com/auth/gmail.readonly": { 20 "https://www.googleapis.com/auth/gmail.readonly": {
21 "description": "View your emails messages and settings" 21 "description": "View your emails messages and settings"
22 }, 22 },
23 "https://www.googleapis.com/auth/gmail.send": { 23 "https://www.googleapis.com/auth/gmail.send": {
24 "description": "Send email on your behalf" 24 "description": "Send email on your behalf"
25 },
26 "https://www.googleapis.com/auth/gmail.settings.basic": {
27 "description": "Manage your basic mail settings"
28 },
29 "https://www.googleapis.com/auth/gmail.settings.sharing": {
30 "description": "Manage your sensitive mail settings, includi ng who can manage your mail"
25 } 31 }
26 } 32 }
27 } 33 }
28 }, 34 },
29 "basePath": "/gmail/v1/users/", 35 "basePath": "/gmail/v1/users/",
30 "baseUrl": "https://www.googleapis.com/gmail/v1/users/", 36 "baseUrl": "https://www.googleapis.com/gmail/v1/users/",
31 "batchPath": "batch", 37 "batchPath": "batch",
32 "description": "Access Gmail mailboxes including sending user email.", 38 "description": "Access Gmail mailboxes including sending user email.",
33 "discoveryVersion": "v1", 39 "discoveryVersion": "v1",
34 "documentationLink": "https://developers.google.com/gmail/api/", 40 "documentationLink": "https://developers.google.com/gmail/api/",
35 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/LkMck3hBuxqAAX2hwDLpkoyTBGM\"", 41 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/c9szhoCXYrKaLKrzYGmZhJZBHUc\"",
36 "icons": { 42 "icons": {
37 "x16": "https://www.google.com/images/icons/product/googlemail-16.png", 43 "x16": "https://www.google.com/images/icons/product/googlemail-16.png",
38 "x32": "https://www.google.com/images/icons/product/googlemail-32.png" 44 "x32": "https://www.google.com/images/icons/product/googlemail-32.png"
39 }, 45 },
40 "id": "gmail:v1", 46 "id": "gmail:v1",
41 "kind": "discovery#restDescription", 47 "kind": "discovery#restDescription",
42 "name": "gmail", 48 "name": "gmail",
43 "ownerDomain": "google.com", 49 "ownerDomain": "google.com",
44 "ownerName": "Google", 50 "ownerName": "Google",
45 "parameters": { 51 "parameters": {
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
1199 "scopes": [ 1205 "scopes": [
1200 "https://mail.google.com/", 1206 "https://mail.google.com/",
1201 "https://www.googleapis.com/auth/gmail.m odify", 1207 "https://www.googleapis.com/auth/gmail.m odify",
1202 "https://www.googleapis.com/auth/gmail.r eadonly" 1208 "https://www.googleapis.com/auth/gmail.r eadonly"
1203 ] 1209 ]
1204 } 1210 }
1205 } 1211 }
1206 } 1212 }
1207 } 1213 }
1208 }, 1214 },
1215 "settings": {
1216 "methods": {
1217 "getAutoForwarding": {
1218 "description": "Gets the auto-forwarding setting for the specified account.",
1219 "httpMethod": "GET",
1220 "id": "gmail.users.settings.getAutoForwarding",
1221 "parameterOrder": [
1222 "userId"
1223 ],
1224 "parameters": {
1225 "userId": {
1226 "default": "me",
1227 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1228 "location": "path",
1229 "required": true,
1230 "type": "string"
1231 }
1232 },
1233 "path": "{userId}/settings/autoForwarding",
1234 "response": {
1235 "$ref": "AutoForwarding"
1236 },
1237 "scopes": [
1238 "https://mail.google.com/",
1239 "https://www.googleapis.com/auth/gmail.modify",
1240 "https://www.googleapis.com/auth/gmail.readonly" ,
1241 "https://www.googleapis.com/auth/gmail.settings. basic"
1242 ]
1243 },
1244 "getImap": {
1245 "description": "Gets IMAP settings.",
1246 "httpMethod": "GET",
1247 "id": "gmail.users.settings.getImap",
1248 "parameterOrder": [
1249 "userId"
1250 ],
1251 "parameters": {
1252 "userId": {
1253 "default": "me",
1254 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1255 "location": "path",
1256 "required": true,
1257 "type": "string"
1258 }
1259 },
1260 "path": "{userId}/settings/imap",
1261 "response": {
1262 "$ref": "ImapSettings"
1263 },
1264 "scopes": [
1265 "https://mail.google.com/",
1266 "https://www.googleapis.com/auth/gmail.modify",
1267 "https://www.googleapis.com/auth/gmail.readonly" ,
1268 "https://www.googleapis.com/auth/gmail.settings. basic"
1269 ]
1270 },
1271 "getPop": {
1272 "description": "Gets POP settings.",
1273 "httpMethod": "GET",
1274 "id": "gmail.users.settings.getPop",
1275 "parameterOrder": [
1276 "userId"
1277 ],
1278 "parameters": {
1279 "userId": {
1280 "default": "me",
1281 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1282 "location": "path",
1283 "required": true,
1284 "type": "string"
1285 }
1286 },
1287 "path": "{userId}/settings/pop",
1288 "response": {
1289 "$ref": "PopSettings"
1290 },
1291 "scopes": [
1292 "https://mail.google.com/",
1293 "https://www.googleapis.com/auth/gmail.modify",
1294 "https://www.googleapis.com/auth/gmail.readonly" ,
1295 "https://www.googleapis.com/auth/gmail.settings. basic"
1296 ]
1297 },
1298 "getVacation": {
1299 "description": "Gets vacation responder settings.",
1300 "httpMethod": "GET",
1301 "id": "gmail.users.settings.getVacation",
1302 "parameterOrder": [
1303 "userId"
1304 ],
1305 "parameters": {
1306 "userId": {
1307 "default": "me",
1308 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1309 "location": "path",
1310 "required": true,
1311 "type": "string"
1312 }
1313 },
1314 "path": "{userId}/settings/vacation",
1315 "response": {
1316 "$ref": "VacationSettings"
1317 },
1318 "scopes": [
1319 "https://mail.google.com/",
1320 "https://www.googleapis.com/auth/gmail.modify",
1321 "https://www.googleapis.com/auth/gmail.readonly" ,
1322 "https://www.googleapis.com/auth/gmail.settings. basic"
1323 ]
1324 },
1325 "updateAutoForwarding": {
1326 "description": "Updates the auto-forwarding setting for the specified account. A verified forwarding address must be specified when auto-forwarding is enabled.",
1327 "httpMethod": "PUT",
1328 "id": "gmail.users.settings.updateAutoForwarding",
1329 "parameterOrder": [
1330 "userId"
1331 ],
1332 "parameters": {
1333 "userId": {
1334 "default": "me",
1335 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1336 "location": "path",
1337 "required": true,
1338 "type": "string"
1339 }
1340 },
1341 "path": "{userId}/settings/autoForwarding",
1342 "request": {
1343 "$ref": "AutoForwarding"
1344 },
1345 "response": {
1346 "$ref": "AutoForwarding"
1347 },
1348 "scopes": [
1349 "https://www.googleapis.com/auth/gmail.settings. sharing"
1350 ]
1351 },
1352 "updateImap": {
1353 "description": "Updates IMAP settings.",
1354 "httpMethod": "PUT",
1355 "id": "gmail.users.settings.updateImap",
1356 "parameterOrder": [
1357 "userId"
1358 ],
1359 "parameters": {
1360 "userId": {
1361 "default": "me",
1362 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1363 "location": "path",
1364 "required": true,
1365 "type": "string"
1366 }
1367 },
1368 "path": "{userId}/settings/imap",
1369 "request": {
1370 "$ref": "ImapSettings"
1371 },
1372 "response": {
1373 "$ref": "ImapSettings"
1374 },
1375 "scopes": [
1376 "https://www.googleapis.com/auth/gmail.settings. basic"
1377 ]
1378 },
1379 "updatePop": {
1380 "description": "Updates POP settings.",
1381 "httpMethod": "PUT",
1382 "id": "gmail.users.settings.updatePop",
1383 "parameterOrder": [
1384 "userId"
1385 ],
1386 "parameters": {
1387 "userId": {
1388 "default": "me",
1389 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1390 "location": "path",
1391 "required": true,
1392 "type": "string"
1393 }
1394 },
1395 "path": "{userId}/settings/pop",
1396 "request": {
1397 "$ref": "PopSettings"
1398 },
1399 "response": {
1400 "$ref": "PopSettings"
1401 },
1402 "scopes": [
1403 "https://www.googleapis.com/auth/gmail.settings. basic"
1404 ]
1405 },
1406 "updateVacation": {
1407 "description": "Updates vacation responder settings. ",
1408 "httpMethod": "PUT",
1409 "id": "gmail.users.settings.updateVacation",
1410 "parameterOrder": [
1411 "userId"
1412 ],
1413 "parameters": {
1414 "userId": {
1415 "default": "me",
1416 "description": "User's email address. The sp ecial value \"me\" can be used to indicate the authenticated user.",
1417 "location": "path",
1418 "required": true,
1419 "type": "string"
1420 }
1421 },
1422 "path": "{userId}/settings/vacation",
1423 "request": {
1424 "$ref": "VacationSettings"
1425 },
1426 "response": {
1427 "$ref": "VacationSettings"
1428 },
1429 "scopes": [
1430 "https://www.googleapis.com/auth/gmail.settings. basic"
1431 ]
1432 }
1433 },
1434 "resources": {
1435 "filters": {
1436 "methods": {
1437 "create": {
1438 "description": "Creates a filter.",
1439 "httpMethod": "POST",
1440 "id": "gmail.users.settings.filters.create",
1441 "parameterOrder": [
1442 "userId"
1443 ],
1444 "parameters": {
1445 "userId": {
1446 "default": "me",
1447 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1448 "location": "path",
1449 "required": true,
1450 "type": "string"
1451 }
1452 },
1453 "path": "{userId}/settings/filters",
1454 "request": {
1455 "$ref": "Filter"
1456 },
1457 "response": {
1458 "$ref": "Filter"
1459 },
1460 "scopes": [
1461 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1462 ]
1463 },
1464 "delete": {
1465 "description": "Deletes a filter.",
1466 "httpMethod": "DELETE",
1467 "id": "gmail.users.settings.filters.delete",
1468 "parameterOrder": [
1469 "userId",
1470 "id"
1471 ],
1472 "parameters": {
1473 "id": {
1474 "description": "The ID of the filter to be deleted.",
1475 "location": "path",
1476 "required": true,
1477 "type": "string"
1478 },
1479 "userId": {
1480 "default": "me",
1481 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1482 "location": "path",
1483 "required": true,
1484 "type": "string"
1485 }
1486 },
1487 "path": "{userId}/settings/filters/{id}",
1488 "scopes": [
1489 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1490 ]
1491 },
1492 "get": {
1493 "description": "Gets a filter.",
1494 "httpMethod": "GET",
1495 "id": "gmail.users.settings.filters.get",
1496 "parameterOrder": [
1497 "userId",
1498 "id"
1499 ],
1500 "parameters": {
1501 "id": {
1502 "description": "The ID of the filter to be fetched.",
1503 "location": "path",
1504 "required": true,
1505 "type": "string"
1506 },
1507 "userId": {
1508 "default": "me",
1509 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1510 "location": "path",
1511 "required": true,
1512 "type": "string"
1513 }
1514 },
1515 "path": "{userId}/settings/filters/{id}",
1516 "response": {
1517 "$ref": "Filter"
1518 },
1519 "scopes": [
1520 "https://mail.google.com/",
1521 "https://www.googleapis.com/auth/gmail.m odify",
1522 "https://www.googleapis.com/auth/gmail.r eadonly",
1523 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1524 ]
1525 },
1526 "list": {
1527 "description": "Lists the message filters of a Gmail user.",
1528 "httpMethod": "GET",
1529 "id": "gmail.users.settings.filters.list",
1530 "parameterOrder": [
1531 "userId"
1532 ],
1533 "parameters": {
1534 "userId": {
1535 "default": "me",
1536 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1537 "location": "path",
1538 "required": true,
1539 "type": "string"
1540 }
1541 },
1542 "path": "{userId}/settings/filters",
1543 "response": {
1544 "$ref": "ListFiltersResponse"
1545 },
1546 "scopes": [
1547 "https://mail.google.com/",
1548 "https://www.googleapis.com/auth/gmail.m odify",
1549 "https://www.googleapis.com/auth/gmail.r eadonly",
1550 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1551 ]
1552 }
1553 }
1554 },
1555 "forwardingAddresses": {
1556 "methods": {
1557 "create": {
1558 "description": "Creates a forwarding address . If ownership verification is required, a message will be sent to the recipient and the resource's verification status will be set to pending; otherwise, the r esource will be created with verification status set to accepted.",
1559 "httpMethod": "POST",
1560 "id": "gmail.users.settings.forwardingAddres ses.create",
1561 "parameterOrder": [
1562 "userId"
1563 ],
1564 "parameters": {
1565 "userId": {
1566 "default": "me",
1567 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1568 "location": "path",
1569 "required": true,
1570 "type": "string"
1571 }
1572 },
1573 "path": "{userId}/settings/forwardingAddress es",
1574 "request": {
1575 "$ref": "ForwardingAddress"
1576 },
1577 "response": {
1578 "$ref": "ForwardingAddress"
1579 },
1580 "scopes": [
1581 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1582 ]
1583 },
1584 "delete": {
1585 "description": "Deletes the specified forwar ding address and revokes any verification that may have been required.",
1586 "httpMethod": "DELETE",
1587 "id": "gmail.users.settings.forwardingAddres ses.delete",
1588 "parameterOrder": [
1589 "userId",
1590 "forwardingEmail"
1591 ],
1592 "parameters": {
1593 "forwardingEmail": {
1594 "description": "The forwarding addre ss to be deleted.",
1595 "location": "path",
1596 "required": true,
1597 "type": "string"
1598 },
1599 "userId": {
1600 "default": "me",
1601 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1602 "location": "path",
1603 "required": true,
1604 "type": "string"
1605 }
1606 },
1607 "path": "{userId}/settings/forwardingAddress es/{forwardingEmail}",
1608 "scopes": [
1609 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1610 ]
1611 },
1612 "get": {
1613 "description": "Gets the specified forwardin g address.",
1614 "httpMethod": "GET",
1615 "id": "gmail.users.settings.forwardingAddres ses.get",
1616 "parameterOrder": [
1617 "userId",
1618 "forwardingEmail"
1619 ],
1620 "parameters": {
1621 "forwardingEmail": {
1622 "description": "The forwarding addre ss to be retrieved.",
1623 "location": "path",
1624 "required": true,
1625 "type": "string"
1626 },
1627 "userId": {
1628 "default": "me",
1629 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1630 "location": "path",
1631 "required": true,
1632 "type": "string"
1633 }
1634 },
1635 "path": "{userId}/settings/forwardingAddress es/{forwardingEmail}",
1636 "response": {
1637 "$ref": "ForwardingAddress"
1638 },
1639 "scopes": [
1640 "https://mail.google.com/",
1641 "https://www.googleapis.com/auth/gmail.m odify",
1642 "https://www.googleapis.com/auth/gmail.r eadonly",
1643 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1644 ]
1645 },
1646 "list": {
1647 "description": "Lists the forwarding address es for the specified account.",
1648 "httpMethod": "GET",
1649 "id": "gmail.users.settings.forwardingAddres ses.list",
1650 "parameterOrder": [
1651 "userId"
1652 ],
1653 "parameters": {
1654 "userId": {
1655 "default": "me",
1656 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1657 "location": "path",
1658 "required": true,
1659 "type": "string"
1660 }
1661 },
1662 "path": "{userId}/settings/forwardingAddress es",
1663 "response": {
1664 "$ref": "ListForwardingAddressesResponse "
1665 },
1666 "scopes": [
1667 "https://mail.google.com/",
1668 "https://www.googleapis.com/auth/gmail.m odify",
1669 "https://www.googleapis.com/auth/gmail.r eadonly",
1670 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1671 ]
1672 }
1673 }
1674 },
1675 "sendAs": {
1676 "methods": {
1677 "create": {
1678 "description": "Creates a custom \"from\" se nd-as alias. If an SMTP MSA is specified, Gmail will attempt to connect to the S MTP service to validate the configuration before creating the alias. If ownershi p verification is required for the alias, a message will be sent to the email ad dress and the resource's verification status will be set to pending; otherwise, the resource will be created with verification status set to accepted. If a sign ature is provided, Gmail will sanitize the HTML before saving it with the alias. ",
1679 "httpMethod": "POST",
1680 "id": "gmail.users.settings.sendAs.create",
1681 "parameterOrder": [
1682 "userId"
1683 ],
1684 "parameters": {
1685 "userId": {
1686 "default": "me",
1687 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1688 "location": "path",
1689 "required": true,
1690 "type": "string"
1691 }
1692 },
1693 "path": "{userId}/settings/sendAs",
1694 "request": {
1695 "$ref": "SendAs"
1696 },
1697 "response": {
1698 "$ref": "SendAs"
1699 },
1700 "scopes": [
1701 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1702 ]
1703 },
1704 "delete": {
1705 "description": "Deletes the specified send-a s alias. Revokes any verification that may have been required for using it.",
1706 "httpMethod": "DELETE",
1707 "id": "gmail.users.settings.sendAs.delete",
1708 "parameterOrder": [
1709 "userId",
1710 "sendAsEmail"
1711 ],
1712 "parameters": {
1713 "sendAsEmail": {
1714 "description": "The send-as alias to be deleted.",
1715 "location": "path",
1716 "required": true,
1717 "type": "string"
1718 },
1719 "userId": {
1720 "default": "me",
1721 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1722 "location": "path",
1723 "required": true,
1724 "type": "string"
1725 }
1726 },
1727 "path": "{userId}/settings/sendAs/{sendAsEma il}",
1728 "scopes": [
1729 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1730 ]
1731 },
1732 "get": {
1733 "description": "Gets the specified send-as a lias. Fails with an HTTP 404 error if the specified address is not a member of t he collection.",
1734 "httpMethod": "GET",
1735 "id": "gmail.users.settings.sendAs.get",
1736 "parameterOrder": [
1737 "userId",
1738 "sendAsEmail"
1739 ],
1740 "parameters": {
1741 "sendAsEmail": {
1742 "description": "The send-as alias to be retrieved.",
1743 "location": "path",
1744 "required": true,
1745 "type": "string"
1746 },
1747 "userId": {
1748 "default": "me",
1749 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1750 "location": "path",
1751 "required": true,
1752 "type": "string"
1753 }
1754 },
1755 "path": "{userId}/settings/sendAs/{sendAsEma il}",
1756 "response": {
1757 "$ref": "SendAs"
1758 },
1759 "scopes": [
1760 "https://mail.google.com/",
1761 "https://www.googleapis.com/auth/gmail.m odify",
1762 "https://www.googleapis.com/auth/gmail.r eadonly",
1763 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1764 ]
1765 },
1766 "list": {
1767 "description": "Lists the send-as aliases fo r the specified account. The result includes the primary send-as address associa ted with the account as well as any custom \"from\" aliases.",
1768 "httpMethod": "GET",
1769 "id": "gmail.users.settings.sendAs.list",
1770 "parameterOrder": [
1771 "userId"
1772 ],
1773 "parameters": {
1774 "userId": {
1775 "default": "me",
1776 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1777 "location": "path",
1778 "required": true,
1779 "type": "string"
1780 }
1781 },
1782 "path": "{userId}/settings/sendAs",
1783 "response": {
1784 "$ref": "ListSendAsResponse"
1785 },
1786 "scopes": [
1787 "https://mail.google.com/",
1788 "https://www.googleapis.com/auth/gmail.m odify",
1789 "https://www.googleapis.com/auth/gmail.r eadonly",
1790 "https://www.googleapis.com/auth/gmail.s ettings.basic"
1791 ]
1792 },
1793 "patch": {
1794 "description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias. This method supports patch semantics.",
1795 "httpMethod": "PATCH",
1796 "id": "gmail.users.settings.sendAs.patch",
1797 "parameterOrder": [
1798 "userId",
1799 "sendAsEmail"
1800 ],
1801 "parameters": {
1802 "sendAsEmail": {
1803 "description": "The send-as alias to be updated.",
1804 "location": "path",
1805 "required": true,
1806 "type": "string"
1807 },
1808 "userId": {
1809 "default": "me",
1810 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1811 "location": "path",
1812 "required": true,
1813 "type": "string"
1814 }
1815 },
1816 "path": "{userId}/settings/sendAs/{sendAsEma il}",
1817 "request": {
1818 "$ref": "SendAs"
1819 },
1820 "response": {
1821 "$ref": "SendAs"
1822 },
1823 "scopes": [
1824 "https://www.googleapis.com/auth/gmail.s ettings.basic",
1825 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1826 ]
1827 },
1828 "update": {
1829 "description": "Updates a send-as alias. If a signature is provided, Gmail will sanitize the HTML before saving it with the alias.",
1830 "httpMethod": "PUT",
1831 "id": "gmail.users.settings.sendAs.update",
1832 "parameterOrder": [
1833 "userId",
1834 "sendAsEmail"
1835 ],
1836 "parameters": {
1837 "sendAsEmail": {
1838 "description": "The send-as alias to be updated.",
1839 "location": "path",
1840 "required": true,
1841 "type": "string"
1842 },
1843 "userId": {
1844 "default": "me",
1845 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1846 "location": "path",
1847 "required": true,
1848 "type": "string"
1849 }
1850 },
1851 "path": "{userId}/settings/sendAs/{sendAsEma il}",
1852 "request": {
1853 "$ref": "SendAs"
1854 },
1855 "response": {
1856 "$ref": "SendAs"
1857 },
1858 "scopes": [
1859 "https://www.googleapis.com/auth/gmail.s ettings.basic",
1860 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1861 ]
1862 },
1863 "verify": {
1864 "description": "Sends a verification email t o the specified send-as alias address. The verification status must be pending." ,
1865 "httpMethod": "POST",
1866 "id": "gmail.users.settings.sendAs.verify",
1867 "parameterOrder": [
1868 "userId",
1869 "sendAsEmail"
1870 ],
1871 "parameters": {
1872 "sendAsEmail": {
1873 "description": "The send-as alias to be verified.",
1874 "location": "path",
1875 "required": true,
1876 "type": "string"
1877 },
1878 "userId": {
1879 "default": "me",
1880 "description": "User's email address . The special value \"me\" can be used to indicate the authenticated user.",
1881 "location": "path",
1882 "required": true,
1883 "type": "string"
1884 }
1885 },
1886 "path": "{userId}/settings/sendAs/{sendAsEma il}/verify",
1887 "scopes": [
1888 "https://www.googleapis.com/auth/gmail.s ettings.sharing"
1889 ]
1890 }
1891 }
1892 }
1893 }
1894 },
1209 "threads": { 1895 "threads": {
1210 "methods": { 1896 "methods": {
1211 "delete": { 1897 "delete": {
1212 "description": "Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash inst ead.", 1898 "description": "Immediately and permanently deletes the specified thread. This operation cannot be undone. Prefer threads.trash inst ead.",
1213 "httpMethod": "DELETE", 1899 "httpMethod": "DELETE",
1214 "id": "gmail.users.threads.delete", 1900 "id": "gmail.users.threads.delete",
1215 "parameterOrder": [ 1901 "parameterOrder": [
1216 "userId", 1902 "userId",
1217 "id" 1903 "id"
1218 ], 1904 ],
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
1443 "scopes": [ 2129 "scopes": [
1444 "https://mail.google.com/", 2130 "https://mail.google.com/",
1445 "https://www.googleapis.com/auth/gmail.modify" 2131 "https://www.googleapis.com/auth/gmail.modify"
1446 ] 2132 ]
1447 } 2133 }
1448 } 2134 }
1449 } 2135 }
1450 } 2136 }
1451 } 2137 }
1452 }, 2138 },
1453 "revision": "20160621", 2139 "revision": "20160711",
1454 "rootUrl": "https://www.googleapis.com/", 2140 "rootUrl": "https://www.googleapis.com/",
1455 "schemas": { 2141 "schemas": {
2142 "AutoForwarding": {
2143 "description": "Auto-forwarding settings for an account.",
2144 "id": "AutoForwarding",
2145 "properties": {
2146 "disposition": {
2147 "description": "The state that a message should be left in a fter it has been forwarded.",
2148 "enum": [
2149 "archive",
2150 "dispositionUnspecified",
2151 "leaveInInbox",
2152 "markRead",
2153 "trash"
2154 ],
2155 "enumDescriptions": [
2156 "",
2157 "",
2158 "",
2159 "",
2160 ""
2161 ],
2162 "type": "string"
2163 },
2164 "emailAddress": {
2165 "description": "Email address to which all incoming messages are forwarded. This email address must be a verified member of the forwarding a ddresses.",
2166 "type": "string"
2167 },
2168 "enabled": {
2169 "description": "Whether all incoming mail is automatically f orwarded to another address.",
2170 "type": "boolean"
2171 }
2172 },
2173 "type": "object"
2174 },
1456 "BatchDeleteMessagesRequest": { 2175 "BatchDeleteMessagesRequest": {
1457 "id": "BatchDeleteMessagesRequest", 2176 "id": "BatchDeleteMessagesRequest",
1458 "properties": { 2177 "properties": {
1459 "ids": { 2178 "ids": {
1460 "description": "The IDs of the messages to delete.", 2179 "description": "The IDs of the messages to delete.",
1461 "items": { 2180 "items": {
1462 "type": "string" 2181 "type": "string"
1463 }, 2182 },
1464 "type": "array" 2183 "type": "array"
1465 } 2184 }
(...skipping 13 matching lines...) Expand all
1479 "description": "The immutable ID of the draft.", 2198 "description": "The immutable ID of the draft.",
1480 "type": "string" 2199 "type": "string"
1481 }, 2200 },
1482 "message": { 2201 "message": {
1483 "$ref": "Message", 2202 "$ref": "Message",
1484 "description": "The message content of the draft." 2203 "description": "The message content of the draft."
1485 } 2204 }
1486 }, 2205 },
1487 "type": "object" 2206 "type": "object"
1488 }, 2207 },
2208 "Filter": {
2209 "description": "Resource definition for Gmail filters. Filters apply to specific messages instead of an entire email thread.",
2210 "id": "Filter",
2211 "properties": {
2212 "action": {
2213 "$ref": "FilterAction",
2214 "description": "Action that the filter performs."
2215 },
2216 "criteria": {
2217 "$ref": "FilterCriteria",
2218 "description": "Matching criteria for the filter."
2219 },
2220 "id": {
2221 "description": "The server assigned ID of the filter.",
2222 "type": "string"
2223 }
2224 },
2225 "type": "object"
2226 },
2227 "FilterAction": {
2228 "description": "A set of actions to perform on a message.",
2229 "id": "FilterAction",
2230 "properties": {
2231 "addLabelIds": {
2232 "description": "List of labels to add to the message.",
2233 "items": {
2234 "type": "string"
2235 },
2236 "type": "array"
2237 },
2238 "forward": {
2239 "description": "Email address that the message should be for warded to.",
2240 "type": "string"
2241 },
2242 "removeLabelIds": {
2243 "description": "List of labels to remove from the message.",
2244 "items": {
2245 "type": "string"
2246 },
2247 "type": "array"
2248 }
2249 },
2250 "type": "object"
2251 },
2252 "FilterCriteria": {
2253 "description": "Message matching criteria.",
2254 "id": "FilterCriteria",
2255 "properties": {
2256 "excludeChats": {
2257 "description": "Whether the response should exclude chats.",
2258 "type": "boolean"
2259 },
2260 "from": {
2261 "description": "The sender's display name or email address." ,
2262 "type": "string"
2263 },
2264 "hasAttachment": {
2265 "description": "Whether the message has any attachment.",
2266 "type": "boolean"
2267 },
2268 "negatedQuery": {
2269 "description": "Only return messages not matching the specif ied query. Supports the same query format as the Gmail search box. For example, \"from:someuser@example.com rfc822msgid: is:unread\".",
2270 "type": "string"
2271 },
2272 "query": {
2273 "description": "Only return messages matching the specified query. Supports the same query format as the Gmail search box. For example, \"fr om:someuser@example.com rfc822msgid: is:unread\".",
2274 "type": "string"
2275 },
2276 "size": {
2277 "description": "The size of the entire RFC822 message in byt es, including all headers and attachments.",
2278 "format": "int32",
2279 "type": "integer"
2280 },
2281 "sizeComparison": {
2282 "description": "How the message size in bytes should be in r elation to the size field.",
2283 "enum": [
2284 "larger",
2285 "smaller",
2286 "unspecified"
2287 ],
2288 "enumDescriptions": [
2289 "",
2290 "",
2291 ""
2292 ],
2293 "type": "string"
2294 },
2295 "subject": {
2296 "description": "Case-insensitive phrase found in the message 's subject. Trailing and leading whitespace are be trimmed and adjacent spaces a re collapsed.",
2297 "type": "string"
2298 },
2299 "to": {
2300 "description": "The recipient's display name or email addres s. Includes recipients in the \"to\", \"cc\", and \"bcc\" header fields. You can use simply the local part of the email address. For example, \"example\" and \" example@\" both match \"example@gmail.com\". This field is case-insensitive.",
2301 "type": "string"
2302 }
2303 },
2304 "type": "object"
2305 },
2306 "ForwardingAddress": {
2307 "description": "Settings for a forwarding address.",
2308 "id": "ForwardingAddress",
2309 "properties": {
2310 "forwardingEmail": {
2311 "description": "An email address to which messages can be fo rwarded.",
2312 "type": "string"
2313 },
2314 "verificationStatus": {
2315 "description": "Indicates whether this address has been veri fied and is usable for forwarding. Read-only.",
2316 "enum": [
2317 "accepted",
2318 "pending",
2319 "verificationStatusUnspecified"
2320 ],
2321 "enumDescriptions": [
2322 "",
2323 "",
2324 ""
2325 ],
2326 "type": "string"
2327 }
2328 },
2329 "type": "object"
2330 },
1489 "History": { 2331 "History": {
1490 "description": "A record of a change to the user's mailbox. Each his tory change may affect multiple messages in multiple ways.", 2332 "description": "A record of a change to the user's mailbox. Each his tory change may affect multiple messages in multiple ways.",
1491 "id": "History", 2333 "id": "History",
1492 "properties": { 2334 "properties": {
1493 "id": { 2335 "id": {
1494 "description": "The mailbox sequence ID.", 2336 "description": "The mailbox sequence ID.",
1495 "format": "uint64", 2337 "format": "uint64",
1496 "type": "string" 2338 "type": "string"
1497 }, 2339 },
1498 "labelsAdded": { 2340 "labelsAdded": {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
1576 }, 2418 },
1577 "HistoryMessageDeleted": { 2419 "HistoryMessageDeleted": {
1578 "id": "HistoryMessageDeleted", 2420 "id": "HistoryMessageDeleted",
1579 "properties": { 2421 "properties": {
1580 "message": { 2422 "message": {
1581 "$ref": "Message" 2423 "$ref": "Message"
1582 } 2424 }
1583 }, 2425 },
1584 "type": "object" 2426 "type": "object"
1585 }, 2427 },
2428 "ImapSettings": {
2429 "description": "IMAP settings for an account.",
2430 "id": "ImapSettings",
2431 "properties": {
2432 "autoExpunge": {
2433 "description": "If this value is true, Gmail will immediatel y expunge a message when it is marked as deleted in IMAP. Otherwise, Gmail will wait for an update from the client before expunging messages marked as deleted." ,
2434 "type": "boolean"
2435 },
2436 "enabled": {
2437 "description": "Whether IMAP is enabled for the account.",
2438 "type": "boolean"
2439 },
2440 "expungeBehavior": {
2441 "description": "The action that will be executed on a messag e when it is marked as deleted and expunged from the last visible IMAP folder.",
2442 "enum": [
2443 "archive",
2444 "deleteForever",
2445 "expungeBehaviorUnspecified",
2446 "trash"
2447 ],
2448 "enumDescriptions": [
2449 "",
2450 "",
2451 "",
2452 ""
2453 ],
2454 "type": "string"
2455 },
2456 "maxFolderSize": {
2457 "description": "An optional limit on the number of messages that an IMAP folder may contain. Legal values are 0, 1000, 2000, 5000 or 10000. A value of zero is interpreted to mean that there is no limit.",
2458 "format": "int32",
2459 "type": "integer"
2460 }
2461 },
2462 "type": "object"
2463 },
1586 "Label": { 2464 "Label": {
1587 "description": "Labels are used to categorize messages and threads w ithin the user's mailbox.", 2465 "description": "Labels are used to categorize messages and threads w ithin the user's mailbox.",
1588 "id": "Label", 2466 "id": "Label",
1589 "properties": { 2467 "properties": {
1590 "id": { 2468 "id": {
1591 "annotations": { 2469 "annotations": {
1592 "required": [ 2470 "required": [
1593 "gmail.users.labels.update" 2471 "gmail.users.labels.update"
1594 ] 2472 ]
1595 }, 2473 },
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
1694 "type": "string" 2572 "type": "string"
1695 }, 2573 },
1696 "resultSizeEstimate": { 2574 "resultSizeEstimate": {
1697 "description": "Estimated total number of results.", 2575 "description": "Estimated total number of results.",
1698 "format": "uint32", 2576 "format": "uint32",
1699 "type": "integer" 2577 "type": "integer"
1700 } 2578 }
1701 }, 2579 },
1702 "type": "object" 2580 "type": "object"
1703 }, 2581 },
2582 "ListFiltersResponse": {
2583 "description": "Response for the ListFilters method.",
2584 "id": "ListFiltersResponse",
2585 "properties": {
2586 "filter": {
2587 "description": "List of a user's filters.",
2588 "items": {
2589 "$ref": "Filter"
2590 },
2591 "type": "array"
2592 }
2593 },
2594 "type": "object"
2595 },
2596 "ListForwardingAddressesResponse": {
2597 "description": "Response for the ListForwardingAddresses method.",
2598 "id": "ListForwardingAddressesResponse",
2599 "properties": {
2600 "forwardingAddresses": {
2601 "description": "List of addresses that may be used for forwa rding.",
2602 "items": {
2603 "$ref": "ForwardingAddress"
2604 },
2605 "type": "array"
2606 }
2607 },
2608 "type": "object"
2609 },
1704 "ListHistoryResponse": { 2610 "ListHistoryResponse": {
1705 "id": "ListHistoryResponse", 2611 "id": "ListHistoryResponse",
1706 "properties": { 2612 "properties": {
1707 "history": { 2613 "history": {
1708 "description": "List of history records. Any messages contai ned in the response will typically only have id and threadId fields populated.", 2614 "description": "List of history records. Any messages contai ned in the response will typically only have id and threadId fields populated.",
1709 "items": { 2615 "items": {
1710 "$ref": "History" 2616 "$ref": "History"
1711 }, 2617 },
1712 "type": "array" 2618 "type": "array"
1713 }, 2619 },
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 "type": "string" 2657 "type": "string"
1752 }, 2658 },
1753 "resultSizeEstimate": { 2659 "resultSizeEstimate": {
1754 "description": "Estimated total number of results.", 2660 "description": "Estimated total number of results.",
1755 "format": "uint32", 2661 "format": "uint32",
1756 "type": "integer" 2662 "type": "integer"
1757 } 2663 }
1758 }, 2664 },
1759 "type": "object" 2665 "type": "object"
1760 }, 2666 },
2667 "ListSendAsResponse": {
2668 "description": "Response for the ListSendAs method.",
2669 "id": "ListSendAsResponse",
2670 "properties": {
2671 "sendAs": {
2672 "description": "List of send-as aliases.",
2673 "items": {
2674 "$ref": "SendAs"
2675 },
2676 "type": "array"
2677 }
2678 },
2679 "type": "object"
2680 },
1761 "ListThreadsResponse": { 2681 "ListThreadsResponse": {
1762 "id": "ListThreadsResponse", 2682 "id": "ListThreadsResponse",
1763 "properties": { 2683 "properties": {
1764 "nextPageToken": { 2684 "nextPageToken": {
1765 "description": "Page token to retrieve the next page of resu lts in the list.", 2685 "description": "Page token to retrieve the next page of resu lts in the list.",
1766 "type": "string" 2686 "type": "string"
1767 }, 2687 },
1768 "resultSizeEstimate": { 2688 "resultSizeEstimate": {
1769 "description": "Estimated total number of results.", 2689 "description": "Estimated total number of results.",
1770 "format": "uint32", 2690 "format": "uint32",
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
1943 "removeLabelIds": { 2863 "removeLabelIds": {
1944 "description": "A list of IDs of labels to remove from this thread.", 2864 "description": "A list of IDs of labels to remove from this thread.",
1945 "items": { 2865 "items": {
1946 "type": "string" 2866 "type": "string"
1947 }, 2867 },
1948 "type": "array" 2868 "type": "array"
1949 } 2869 }
1950 }, 2870 },
1951 "type": "object" 2871 "type": "object"
1952 }, 2872 },
2873 "PopSettings": {
2874 "description": "POP settings for an account.",
2875 "id": "PopSettings",
2876 "properties": {
2877 "accessWindow": {
2878 "description": "The range of messages which are accessible v ia POP.",
2879 "enum": [
2880 "accessWindowUnspecified",
2881 "allMail",
2882 "disabled",
2883 "fromNowOn"
2884 ],
2885 "enumDescriptions": [
2886 "",
2887 "",
2888 "",
2889 ""
2890 ],
2891 "type": "string"
2892 },
2893 "disposition": {
2894 "description": "The action that will be executed on a messag e after it has been fetched via POP.",
2895 "enum": [
2896 "archive",
2897 "dispositionUnspecified",
2898 "leaveInInbox",
2899 "markRead",
2900 "trash"
2901 ],
2902 "enumDescriptions": [
2903 "",
2904 "",
2905 "",
2906 "",
2907 ""
2908 ],
2909 "type": "string"
2910 }
2911 },
2912 "type": "object"
2913 },
1953 "Profile": { 2914 "Profile": {
1954 "description": "Profile for a Gmail user.", 2915 "description": "Profile for a Gmail user.",
1955 "id": "Profile", 2916 "id": "Profile",
1956 "properties": { 2917 "properties": {
1957 "emailAddress": { 2918 "emailAddress": {
1958 "description": "The user's email address.", 2919 "description": "The user's email address.",
1959 "type": "string" 2920 "type": "string"
1960 }, 2921 },
1961 "historyId": { 2922 "historyId": {
1962 "description": "The ID of the mailbox's current history reco rd.", 2923 "description": "The ID of the mailbox's current history reco rd.",
1963 "format": "uint64", 2924 "format": "uint64",
1964 "type": "string" 2925 "type": "string"
1965 }, 2926 },
1966 "messagesTotal": { 2927 "messagesTotal": {
1967 "description": "The total number of messages in the mailbox. ", 2928 "description": "The total number of messages in the mailbox. ",
1968 "format": "int32", 2929 "format": "int32",
1969 "type": "integer" 2930 "type": "integer"
1970 }, 2931 },
1971 "threadsTotal": { 2932 "threadsTotal": {
1972 "description": "The total number of threads in the mailbox." , 2933 "description": "The total number of threads in the mailbox." ,
1973 "format": "int32", 2934 "format": "int32",
1974 "type": "integer" 2935 "type": "integer"
1975 } 2936 }
1976 }, 2937 },
1977 "type": "object" 2938 "type": "object"
1978 }, 2939 },
2940 "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.",
2942 "id": "SendAs",
2943 "properties": {
2944 "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.",
2946 "type": "string"
2947 },
2948 "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.",
2950 "type": "boolean"
2951 },
2952 "isPrimary": {
2953 "description": "Whether this address is the primary address used to login to the account. Every Gmail account has exactly one primary addres s, and it cannot be deleted from the collection of send-as aliases. This field i s read-only.",
2954 "type": "boolean"
2955 },
2956 "replyToAddress": {
2957 "description": "An optional email address that is included i n a \"Reply-To:\" header for mail sent using this alias. If this is empty, Gmail will not generate a \"Reply-To:\" header.",
2958 "type": "string"
2959 },
2960 "sendAsEmail": {
2961 "description": "The email address that appears in the \"From :\" header for mail sent using this alias. This is read-only for all operations except create.",
2962 "type": "string"
2963 },
2964 "signature": {
2965 "description": "An optional HTML signature that is included in messages composed with this alias in the Gmail web UI.",
2966 "type": "string"
2967 },
2968 "smtpMsa": {
2969 "$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."
2971 },
2972 "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.",
2974 "type": "boolean"
2975 },
2976 "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.",
2978 "enum": [
2979 "accepted",
2980 "pending",
2981 "verificationStatusUnspecified"
2982 ],
2983 "enumDescriptions": [
2984 "",
2985 "",
2986 ""
2987 ],
2988 "type": "string"
2989 }
2990 },
2991 "type": "object"
2992 },
2993 "SmtpMsa": {
2994 "description": "Configuration for communication with an SMTP service .",
2995 "id": "SmtpMsa",
2996 "properties": {
2997 "host": {
2998 "description": "The hostname of the SMTP service. Required." ,
2999 "type": "string"
3000 },
3001 "password": {
3002 "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.",
3003 "type": "string"
3004 },
3005 "port": {
3006 "description": "The port of the SMTP service. Required.",
3007 "format": "int32",
3008 "type": "integer"
3009 },
3010 "securityMode": {
3011 "description": "The protocol that will be used to secure com munication with the SMTP service. Required.",
3012 "enum": [
3013 "none",
3014 "securityModeUnspecified",
3015 "ssl",
3016 "starttls"
3017 ],
3018 "enumDescriptions": [
3019 "",
3020 "",
3021 "",
3022 ""
3023 ],
3024 "type": "string"
3025 },
3026 "username": {
3027 "description": "The username 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.",
3028 "type": "string"
3029 }
3030 },
3031 "type": "object"
3032 },
1979 "Thread": { 3033 "Thread": {
1980 "description": "A collection of messages representing a conversation .", 3034 "description": "A collection of messages representing a conversation .",
1981 "id": "Thread", 3035 "id": "Thread",
1982 "properties": { 3036 "properties": {
1983 "historyId": { 3037 "historyId": {
1984 "description": "The ID of the last history record that modif ied this thread.", 3038 "description": "The ID of the last history record that modif ied this thread.",
1985 "format": "uint64", 3039 "format": "uint64",
1986 "type": "string" 3040 "type": "string"
1987 }, 3041 },
1988 "id": { 3042 "id": {
1989 "description": "The unique ID of the thread.", 3043 "description": "The unique ID of the thread.",
1990 "type": "string" 3044 "type": "string"
1991 }, 3045 },
1992 "messages": { 3046 "messages": {
1993 "description": "The list of messages in the thread.", 3047 "description": "The list of messages in the thread.",
1994 "items": { 3048 "items": {
1995 "$ref": "Message" 3049 "$ref": "Message"
1996 }, 3050 },
1997 "type": "array" 3051 "type": "array"
1998 }, 3052 },
1999 "snippet": { 3053 "snippet": {
2000 "description": "A short part of the message text.", 3054 "description": "A short part of the message text.",
2001 "type": "string" 3055 "type": "string"
2002 } 3056 }
2003 }, 3057 },
2004 "type": "object" 3058 "type": "object"
2005 }, 3059 },
3060 "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.",
3062 "id": "VacationSettings",
3063 "properties": {
3064 "enableAutoReply": {
3065 "description": "Flag that controls whether Gmail automatical ly replies to messages.",
3066 "type": "boolean"
3067 },
3068 "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.",
3070 "format": "int64",
3071 "type": "string"
3072 },
3073 "responseBodyHtml": {
3074 "description": "Response body in HTML format. Gmail will san itize the HTML before storing it.",
3075 "type": "string"
3076 },
3077 "responseBodyPlainText": {
3078 "description": "Response body in plain text format.",
3079 "type": "string"
3080 },
3081 "responseSubject": {
3082 "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.",
3083 "type": "string"
3084 },
3085 "restrictToContacts": {
3086 "description": "Flag that determines whether responses are s ent to recipients who are not in the user's list of contacts.",
3087 "type": "boolean"
3088 },
3089 "restrictToDomain": {
3090 "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.",
3091 "type": "boolean"
3092 },
3093 "startTime": {
3094 "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.",
3095 "format": "int64",
3096 "type": "string"
3097 }
3098 },
3099 "type": "object"
3100 },
2006 "WatchRequest": { 3101 "WatchRequest": {
2007 "description": "Set up or update a new push notification watch on th is user's mailbox.", 3102 "description": "Set up or update a new push notification watch on th is user's mailbox.",
2008 "id": "WatchRequest", 3103 "id": "WatchRequest",
2009 "properties": { 3104 "properties": {
2010 "labelFilterAction": { 3105 "labelFilterAction": {
2011 "description": "Filtering behavior of labelIds list specifie d.", 3106 "description": "Filtering behavior of labelIds list specifie d.",
2012 "enum": [ 3107 "enum": [
2013 "exclude", 3108 "exclude",
2014 "include" 3109 "include"
2015 ], 3110 ],
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2048 "type": "string" 3143 "type": "string"
2049 } 3144 }
2050 }, 3145 },
2051 "type": "object" 3146 "type": "object"
2052 } 3147 }
2053 }, 3148 },
2054 "servicePath": "gmail/v1/users/", 3149 "servicePath": "gmail/v1/users/",
2055 "title": "Gmail API", 3150 "title": "Gmail API",
2056 "version": "v1" 3151 "version": "v1"
2057 } 3152 }
OLDNEW
« no previous file with comments | « discovery/googleapis/genomics__v1.json ('k') | discovery/googleapis/oauth2__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698