OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/admin.directory.device.chromeos
": { | 5 "https://www.googleapis.com/auth/admin.directory.device.chromeos
": { |
6 "description": "View and manage your Chrome OS devices' meta
data" | 6 "description": "View and manage your Chrome OS devices' meta
data" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/admin.directory.device.chromeos
.readonly": { | 8 "https://www.googleapis.com/auth/admin.directory.device.chromeos
.readonly": { |
9 "description": "View your Chrome OS devices' metadata" | 9 "description": "View your Chrome OS devices' metadata" |
10 }, | 10 }, |
(...skipping 34 matching lines...) Loading... |
45 "description": "View and manage user aliases on your domain" | 45 "description": "View and manage user aliases on your domain" |
46 }, | 46 }, |
47 "https://www.googleapis.com/auth/admin.directory.user.alias.read
only": { | 47 "https://www.googleapis.com/auth/admin.directory.user.alias.read
only": { |
48 "description": "View user aliases on your domain" | 48 "description": "View user aliases on your domain" |
49 }, | 49 }, |
50 "https://www.googleapis.com/auth/admin.directory.user.readonly":
{ | 50 "https://www.googleapis.com/auth/admin.directory.user.readonly":
{ |
51 "description": "View users on your domain" | 51 "description": "View users on your domain" |
52 }, | 52 }, |
53 "https://www.googleapis.com/auth/admin.directory.user.security":
{ | 53 "https://www.googleapis.com/auth/admin.directory.user.security":
{ |
54 "description": "Manage data access permissions for users on
your domain" | 54 "description": "Manage data access permissions for users on
your domain" |
| 55 }, |
| 56 "https://www.googleapis.com/auth/admin.directory.userschema": { |
| 57 "description": "View and manage the provisioning of user sch
emas on your domain" |
| 58 }, |
| 59 "https://www.googleapis.com/auth/admin.directory.userschema.read
only": { |
| 60 "description": "View user schemas on your domain" |
55 } | 61 } |
56 } | 62 } |
57 } | 63 } |
58 }, | 64 }, |
59 "basePath": "/admin/directory/v1/", | 65 "basePath": "/admin/directory/v1/", |
60 "baseUrl": "https://www.googleapis.com/admin/directory/v1/", | 66 "baseUrl": "https://www.googleapis.com/admin/directory/v1/", |
61 "batchPath": "batch", | 67 "batchPath": "batch", |
62 "canonicalName": "directory", | 68 "canonicalName": "directory", |
63 "description": "The Admin SDK Directory API lets you view and manage enterpr
ise resources such as users and groups, administrative notifications, security f
eatures, and more.", | 69 "description": "The Admin SDK Directory API lets you view and manage enterpr
ise resources such as users and groups, administrative notifications, security f
eatures, and more.", |
64 "discoveryVersion": "v1", | 70 "discoveryVersion": "v1", |
65 "documentationLink": "https://developers.google.com/admin-sdk/directory/", | 71 "documentationLink": "https://developers.google.com/admin-sdk/directory/", |
66 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/j_ZwE0C9AiYczX4hTNBHFJNHzq0\"", | 72 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/JayrKKEnIqmNj16l21fqKTyl5PU\"", |
67 "icons": { | 73 "icons": { |
68 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 74 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
69 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 75 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
70 }, | 76 }, |
71 "id": "admin:directory_v1", | 77 "id": "admin:directory_v1", |
72 "kind": "discovery#restDescription", | 78 "kind": "discovery#restDescription", |
73 "name": "admin", | 79 "name": "admin", |
74 "ownerDomain": "google.com", | 80 "ownerDomain": "google.com", |
75 "ownerName": "Google", | 81 "ownerName": "Google", |
76 "packagePath": "admin", | 82 "packagePath": "admin", |
(...skipping 1384 matching lines...) Loading... |
1461 }, | 1467 }, |
1462 "response": { | 1468 "response": { |
1463 "$ref": "OrgUnit" | 1469 "$ref": "OrgUnit" |
1464 }, | 1470 }, |
1465 "scopes": [ | 1471 "scopes": [ |
1466 "https://www.googleapis.com/auth/admin.directory.orgunit
" | 1472 "https://www.googleapis.com/auth/admin.directory.orgunit
" |
1467 ] | 1473 ] |
1468 } | 1474 } |
1469 } | 1475 } |
1470 }, | 1476 }, |
| 1477 "schemas": { |
| 1478 "methods": { |
| 1479 "delete": { |
| 1480 "description": "Delete schema", |
| 1481 "httpMethod": "DELETE", |
| 1482 "id": "directory.schemas.delete", |
| 1483 "parameterOrder": [ |
| 1484 "customerId", |
| 1485 "schemaKey" |
| 1486 ], |
| 1487 "parameters": { |
| 1488 "customerId": { |
| 1489 "description": "Immutable id of the Google Apps acco
unt", |
| 1490 "location": "path", |
| 1491 "required": true, |
| 1492 "type": "string" |
| 1493 }, |
| 1494 "schemaKey": { |
| 1495 "description": "Name or immutable Id of the schema", |
| 1496 "location": "path", |
| 1497 "required": true, |
| 1498 "type": "string" |
| 1499 } |
| 1500 }, |
| 1501 "path": "customer/{customerId}/schemas/{schemaKey}", |
| 1502 "scopes": [ |
| 1503 "https://www.googleapis.com/auth/admin.directory.usersch
ema" |
| 1504 ] |
| 1505 }, |
| 1506 "get": { |
| 1507 "description": "Retrieve schema", |
| 1508 "httpMethod": "GET", |
| 1509 "id": "directory.schemas.get", |
| 1510 "parameterOrder": [ |
| 1511 "customerId", |
| 1512 "schemaKey" |
| 1513 ], |
| 1514 "parameters": { |
| 1515 "customerId": { |
| 1516 "description": "Immutable id of the Google Apps acco
unt", |
| 1517 "location": "path", |
| 1518 "required": true, |
| 1519 "type": "string" |
| 1520 }, |
| 1521 "schemaKey": { |
| 1522 "description": "Name or immutable Id of the schema", |
| 1523 "location": "path", |
| 1524 "required": true, |
| 1525 "type": "string" |
| 1526 } |
| 1527 }, |
| 1528 "path": "customer/{customerId}/schemas/{schemaKey}", |
| 1529 "response": { |
| 1530 "$ref": "Schema" |
| 1531 }, |
| 1532 "scopes": [ |
| 1533 "https://www.googleapis.com/auth/admin.directory.usersch
ema", |
| 1534 "https://www.googleapis.com/auth/admin.directory.usersch
ema.readonly" |
| 1535 ] |
| 1536 }, |
| 1537 "insert": { |
| 1538 "description": "Create schema.", |
| 1539 "httpMethod": "POST", |
| 1540 "id": "directory.schemas.insert", |
| 1541 "parameterOrder": [ |
| 1542 "customerId" |
| 1543 ], |
| 1544 "parameters": { |
| 1545 "customerId": { |
| 1546 "description": "Immutable id of the Google Apps acco
unt", |
| 1547 "location": "path", |
| 1548 "required": true, |
| 1549 "type": "string" |
| 1550 } |
| 1551 }, |
| 1552 "path": "customer/{customerId}/schemas", |
| 1553 "request": { |
| 1554 "$ref": "Schema" |
| 1555 }, |
| 1556 "response": { |
| 1557 "$ref": "Schema" |
| 1558 }, |
| 1559 "scopes": [ |
| 1560 "https://www.googleapis.com/auth/admin.directory.usersch
ema" |
| 1561 ] |
| 1562 }, |
| 1563 "list": { |
| 1564 "description": "Retrieve all schemas for a customer", |
| 1565 "httpMethod": "GET", |
| 1566 "id": "directory.schemas.list", |
| 1567 "parameterOrder": [ |
| 1568 "customerId" |
| 1569 ], |
| 1570 "parameters": { |
| 1571 "customerId": { |
| 1572 "description": "Immutable id of the Google Apps acco
unt", |
| 1573 "location": "path", |
| 1574 "required": true, |
| 1575 "type": "string" |
| 1576 } |
| 1577 }, |
| 1578 "path": "customer/{customerId}/schemas", |
| 1579 "response": { |
| 1580 "$ref": "Schemas" |
| 1581 }, |
| 1582 "scopes": [ |
| 1583 "https://www.googleapis.com/auth/admin.directory.usersch
ema", |
| 1584 "https://www.googleapis.com/auth/admin.directory.usersch
ema.readonly" |
| 1585 ] |
| 1586 }, |
| 1587 "patch": { |
| 1588 "description": "Update schema. This method supports patch se
mantics.", |
| 1589 "httpMethod": "PATCH", |
| 1590 "id": "directory.schemas.patch", |
| 1591 "parameterOrder": [ |
| 1592 "customerId", |
| 1593 "schemaKey" |
| 1594 ], |
| 1595 "parameters": { |
| 1596 "customerId": { |
| 1597 "description": "Immutable id of the Google Apps acco
unt", |
| 1598 "location": "path", |
| 1599 "required": true, |
| 1600 "type": "string" |
| 1601 }, |
| 1602 "schemaKey": { |
| 1603 "description": "Name or immutable Id of the schema."
, |
| 1604 "location": "path", |
| 1605 "required": true, |
| 1606 "type": "string" |
| 1607 } |
| 1608 }, |
| 1609 "path": "customer/{customerId}/schemas/{schemaKey}", |
| 1610 "request": { |
| 1611 "$ref": "Schema" |
| 1612 }, |
| 1613 "response": { |
| 1614 "$ref": "Schema" |
| 1615 }, |
| 1616 "scopes": [ |
| 1617 "https://www.googleapis.com/auth/admin.directory.usersch
ema" |
| 1618 ] |
| 1619 }, |
| 1620 "update": { |
| 1621 "description": "Update schema", |
| 1622 "httpMethod": "PUT", |
| 1623 "id": "directory.schemas.update", |
| 1624 "parameterOrder": [ |
| 1625 "customerId", |
| 1626 "schemaKey" |
| 1627 ], |
| 1628 "parameters": { |
| 1629 "customerId": { |
| 1630 "description": "Immutable id of the Google Apps acco
unt", |
| 1631 "location": "path", |
| 1632 "required": true, |
| 1633 "type": "string" |
| 1634 }, |
| 1635 "schemaKey": { |
| 1636 "description": "Name or immutable Id of the schema."
, |
| 1637 "location": "path", |
| 1638 "required": true, |
| 1639 "type": "string" |
| 1640 } |
| 1641 }, |
| 1642 "path": "customer/{customerId}/schemas/{schemaKey}", |
| 1643 "request": { |
| 1644 "$ref": "Schema" |
| 1645 }, |
| 1646 "response": { |
| 1647 "$ref": "Schema" |
| 1648 }, |
| 1649 "scopes": [ |
| 1650 "https://www.googleapis.com/auth/admin.directory.usersch
ema" |
| 1651 ] |
| 1652 } |
| 1653 } |
| 1654 }, |
1471 "tokens": { | 1655 "tokens": { |
1472 "methods": { | 1656 "methods": { |
1473 "delete": { | 1657 "delete": { |
1474 "description": "Delete all access tokens issued by a user fo
r an application.", | 1658 "description": "Delete all access tokens issued by a user fo
r an application.", |
1475 "httpMethod": "DELETE", | 1659 "httpMethod": "DELETE", |
1476 "id": "directory.tokens.delete", | 1660 "id": "directory.tokens.delete", |
1477 "parameterOrder": [ | 1661 "parameterOrder": [ |
1478 "userKey", | 1662 "userKey", |
1479 "clientId" | 1663 "clientId" |
1480 ], | 1664 ], |
(...skipping 94 matching lines...) Loading... |
1575 ] | 1759 ] |
1576 }, | 1760 }, |
1577 "get": { | 1761 "get": { |
1578 "description": "retrieve user", | 1762 "description": "retrieve user", |
1579 "httpMethod": "GET", | 1763 "httpMethod": "GET", |
1580 "id": "directory.users.get", | 1764 "id": "directory.users.get", |
1581 "parameterOrder": [ | 1765 "parameterOrder": [ |
1582 "userKey" | 1766 "userKey" |
1583 ], | 1767 ], |
1584 "parameters": { | 1768 "parameters": { |
| 1769 "customFieldMask": { |
| 1770 "description": "Comma-separated list of schema names
. All fields from these schemas are fetched. This should only be set when projec
tion=custom.", |
| 1771 "location": "query", |
| 1772 "type": "string" |
| 1773 }, |
| 1774 "projection": { |
| 1775 "default": "basic", |
| 1776 "description": "What subset of fields to fetch for t
his user.", |
| 1777 "enum": [ |
| 1778 "basic", |
| 1779 "custom", |
| 1780 "full" |
| 1781 ], |
| 1782 "enumDescriptions": [ |
| 1783 "Do not include any custom fields for the user."
, |
| 1784 "Include custom fields from schemas mentioned in
customFieldMask.", |
| 1785 "Include all fields associated with this user." |
| 1786 ], |
| 1787 "location": "query", |
| 1788 "type": "string" |
| 1789 }, |
1585 "userKey": { | 1790 "userKey": { |
1586 "description": "Email or immutable Id of the user", | 1791 "description": "Email or immutable Id of the user", |
1587 "location": "path", | 1792 "location": "path", |
1588 "required": true, | 1793 "required": true, |
1589 "type": "string" | 1794 "type": "string" |
| 1795 }, |
| 1796 "viewType": { |
| 1797 "default": "admin_view", |
| 1798 "description": "Whether to fetch the ADMIN_VIEW or D
OMAIN_PUBLIC view of the user.", |
| 1799 "enum": [ |
| 1800 "admin_view", |
| 1801 "domain_public" |
| 1802 ], |
| 1803 "enumDescriptions": [ |
| 1804 "Fetches the ADMIN_VIEW of the user.", |
| 1805 "Fetches the DOMAIN_PUBLIC view of the user." |
| 1806 ], |
| 1807 "location": "query", |
| 1808 "type": "string" |
1590 } | 1809 } |
1591 }, | 1810 }, |
1592 "path": "users/{userKey}", | 1811 "path": "users/{userKey}", |
1593 "response": { | 1812 "response": { |
1594 "$ref": "User" | 1813 "$ref": "User" |
1595 }, | 1814 }, |
1596 "scopes": [ | 1815 "scopes": [ |
1597 "https://www.googleapis.com/auth/admin.directory.user", | 1816 "https://www.googleapis.com/auth/admin.directory.user", |
1598 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" | 1817 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" |
1599 ] | 1818 ] |
(...skipping 11 matching lines...) Loading... |
1611 }, | 1830 }, |
1612 "scopes": [ | 1831 "scopes": [ |
1613 "https://www.googleapis.com/auth/admin.directory.user" | 1832 "https://www.googleapis.com/auth/admin.directory.user" |
1614 ] | 1833 ] |
1615 }, | 1834 }, |
1616 "list": { | 1835 "list": { |
1617 "description": "Retrieve either deleted users or all users i
n a domain (paginated)", | 1836 "description": "Retrieve either deleted users or all users i
n a domain (paginated)", |
1618 "httpMethod": "GET", | 1837 "httpMethod": "GET", |
1619 "id": "directory.users.list", | 1838 "id": "directory.users.list", |
1620 "parameters": { | 1839 "parameters": { |
| 1840 "customFieldMask": { |
| 1841 "description": "Comma-separated list of schema names
. All fields from these schemas are fetched. This should only be set when projec
tion=custom.", |
| 1842 "location": "query", |
| 1843 "type": "string" |
| 1844 }, |
1621 "customer": { | 1845 "customer": { |
1622 "description": "Immutable id of the Google Apps acco
unt. In case of multi-domain, to fetch all users for a customer, fill this field
instead of domain.", | 1846 "description": "Immutable id of the Google Apps acco
unt. In case of multi-domain, to fetch all users for a customer, fill this field
instead of domain.", |
1623 "location": "query", | 1847 "location": "query", |
1624 "type": "string" | 1848 "type": "string" |
1625 }, | 1849 }, |
1626 "domain": { | 1850 "domain": { |
1627 "description": "Name of the domain. Fill this field
to get users from only this domain. To return all users in a multi-domain fill c
ustomer field instead.", | 1851 "description": "Name of the domain. Fill this field
to get users from only this domain. To return all users in a multi-domain fill c
ustomer field instead.", |
1628 "location": "query", | 1852 "location": "query", |
1629 "type": "string" | 1853 "type": "string" |
1630 }, | 1854 }, |
(...skipping 37 matching lines...) Loading... |
1668 "User's given name." | 1892 "User's given name." |
1669 ], | 1893 ], |
1670 "location": "query", | 1894 "location": "query", |
1671 "type": "string" | 1895 "type": "string" |
1672 }, | 1896 }, |
1673 "pageToken": { | 1897 "pageToken": { |
1674 "description": "Token to specify next page in the li
st", | 1898 "description": "Token to specify next page in the li
st", |
1675 "location": "query", | 1899 "location": "query", |
1676 "type": "string" | 1900 "type": "string" |
1677 }, | 1901 }, |
| 1902 "projection": { |
| 1903 "default": "basic", |
| 1904 "description": "What subset of fields to fetch for t
his user.", |
| 1905 "enum": [ |
| 1906 "basic", |
| 1907 "custom", |
| 1908 "full" |
| 1909 ], |
| 1910 "enumDescriptions": [ |
| 1911 "Do not include any custom fields for the user."
, |
| 1912 "Include custom fields from schemas mentioned in
customFieldMask.", |
| 1913 "Include all fields associated with this user." |
| 1914 ], |
| 1915 "location": "query", |
| 1916 "type": "string" |
| 1917 }, |
1678 "query": { | 1918 "query": { |
1679 "description": "Query string search. Should be of th
e form \"\" where field can be any of supported fields, operators can be one of
'=' for exact match or ':' for prefix match. For prefix match, the value should
always be followed by a *.", | 1919 "description": "Query string search. Should be of th
e form \"\". Complete documentation is at https://developers.google.com/admin-sd
k/directory/v1/guides/search-users", |
1680 "location": "query", | 1920 "location": "query", |
1681 "type": "string" | 1921 "type": "string" |
1682 }, | 1922 }, |
1683 "showDeleted": { | 1923 "showDeleted": { |
1684 "description": "If set to true retrieves the list of
deleted users. Default is false", | 1924 "description": "If set to true retrieves the list of
deleted users. Default is false", |
1685 "location": "query", | 1925 "location": "query", |
1686 "type": "string" | 1926 "type": "string" |
1687 }, | 1927 }, |
1688 "sortOrder": { | 1928 "sortOrder": { |
1689 "description": "Whether to return results in ascendi
ng or descending order.", | 1929 "description": "Whether to return results in ascendi
ng or descending order.", |
1690 "enum": [ | 1930 "enum": [ |
1691 "ASCENDING", | 1931 "ASCENDING", |
1692 "DESCENDING" | 1932 "DESCENDING" |
1693 ], | 1933 ], |
1694 "enumDescriptions": [ | 1934 "enumDescriptions": [ |
1695 "Ascending order.", | 1935 "Ascending order.", |
1696 "Descending order." | 1936 "Descending order." |
1697 ], | 1937 ], |
1698 "location": "query", | 1938 "location": "query", |
1699 "type": "string" | 1939 "type": "string" |
| 1940 }, |
| 1941 "viewType": { |
| 1942 "default": "admin_view", |
| 1943 "description": "Whether to fetch the ADMIN_VIEW or D
OMAIN_PUBLIC view of the user.", |
| 1944 "enum": [ |
| 1945 "admin_view", |
| 1946 "domain_public" |
| 1947 ], |
| 1948 "enumDescriptions": [ |
| 1949 "Fetches the ADMIN_VIEW of the user.", |
| 1950 "Fetches the DOMAIN_PUBLIC view of the user." |
| 1951 ], |
| 1952 "location": "query", |
| 1953 "type": "string" |
1700 } | 1954 } |
1701 }, | 1955 }, |
1702 "path": "users", | 1956 "path": "users", |
1703 "response": { | 1957 "response": { |
1704 "$ref": "Users" | 1958 "$ref": "Users" |
1705 }, | 1959 }, |
1706 "scopes": [ | 1960 "scopes": [ |
1707 "https://www.googleapis.com/auth/admin.directory.user", | 1961 "https://www.googleapis.com/auth/admin.directory.user", |
1708 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" | 1962 "https://www.googleapis.com/auth/admin.directory.user.re
adonly" |
1709 ], | 1963 ], |
(...skipping 95 matching lines...) Loading... |
1805 }, | 2059 }, |
1806 "scopes": [ | 2060 "scopes": [ |
1807 "https://www.googleapis.com/auth/admin.directory.user" | 2061 "https://www.googleapis.com/auth/admin.directory.user" |
1808 ] | 2062 ] |
1809 }, | 2063 }, |
1810 "watch": { | 2064 "watch": { |
1811 "description": "Watch for changes in users list", | 2065 "description": "Watch for changes in users list", |
1812 "httpMethod": "POST", | 2066 "httpMethod": "POST", |
1813 "id": "directory.users.watch", | 2067 "id": "directory.users.watch", |
1814 "parameters": { | 2068 "parameters": { |
| 2069 "customFieldMask": { |
| 2070 "description": "Comma-separated list of schema names
. All fields from these schemas are fetched. This should only be set when projec
tion=custom.", |
| 2071 "location": "query", |
| 2072 "type": "string" |
| 2073 }, |
1815 "customer": { | 2074 "customer": { |
1816 "description": "Immutable id of the Google Apps acco
unt. In case of multi-domain, to fetch all users for a customer, fill this field
instead of domain.", | 2075 "description": "Immutable id of the Google Apps acco
unt. In case of multi-domain, to fetch all users for a customer, fill this field
instead of domain.", |
1817 "location": "query", | 2076 "location": "query", |
1818 "type": "string" | 2077 "type": "string" |
1819 }, | 2078 }, |
1820 "domain": { | 2079 "domain": { |
1821 "description": "Name of the domain. Fill this field
to get users from only this domain. To return all users in a multi-domain fill c
ustomer field instead.", | 2080 "description": "Name of the domain. Fill this field
to get users from only this domain. To return all users in a multi-domain fill c
ustomer field instead.", |
1822 "location": "query", | 2081 "location": "query", |
1823 "type": "string" | 2082 "type": "string" |
1824 }, | 2083 }, |
(...skipping 37 matching lines...) Loading... |
1862 "User's given name." | 2121 "User's given name." |
1863 ], | 2122 ], |
1864 "location": "query", | 2123 "location": "query", |
1865 "type": "string" | 2124 "type": "string" |
1866 }, | 2125 }, |
1867 "pageToken": { | 2126 "pageToken": { |
1868 "description": "Token to specify next page in the li
st", | 2127 "description": "Token to specify next page in the li
st", |
1869 "location": "query", | 2128 "location": "query", |
1870 "type": "string" | 2129 "type": "string" |
1871 }, | 2130 }, |
| 2131 "projection": { |
| 2132 "default": "basic", |
| 2133 "description": "What subset of fields to fetch for t
his user.", |
| 2134 "enum": [ |
| 2135 "basic", |
| 2136 "custom", |
| 2137 "full" |
| 2138 ], |
| 2139 "enumDescriptions": [ |
| 2140 "Do not include any custom fields for the user."
, |
| 2141 "Include custom fields from schemas mentioned in
customFieldMask.", |
| 2142 "Include all fields associated with this user." |
| 2143 ], |
| 2144 "location": "query", |
| 2145 "type": "string" |
| 2146 }, |
1872 "query": { | 2147 "query": { |
1873 "description": "Query string search. Should be of th
e form \"\" where field can be any of supported fields, operators can be one of
'=' for exact match or ':' for prefix match. For prefix match, the value should
always be followed by a *.", | 2148 "description": "Query string search. Should be of th
e form \"\". Complete documentation is at https://developers.google.com/admin-sd
k/directory/v1/guides/search-users", |
1874 "location": "query", | 2149 "location": "query", |
1875 "type": "string" | 2150 "type": "string" |
1876 }, | 2151 }, |
1877 "showDeleted": { | 2152 "showDeleted": { |
1878 "description": "If set to true retrieves the list of
deleted users. Default is false", | 2153 "description": "If set to true retrieves the list of
deleted users. Default is false", |
1879 "location": "query", | 2154 "location": "query", |
1880 "type": "string" | 2155 "type": "string" |
1881 }, | 2156 }, |
1882 "sortOrder": { | 2157 "sortOrder": { |
1883 "description": "Whether to return results in ascendi
ng or descending order.", | 2158 "description": "Whether to return results in ascendi
ng or descending order.", |
1884 "enum": [ | 2159 "enum": [ |
1885 "ASCENDING", | 2160 "ASCENDING", |
1886 "DESCENDING" | 2161 "DESCENDING" |
1887 ], | 2162 ], |
1888 "enumDescriptions": [ | 2163 "enumDescriptions": [ |
1889 "Ascending order.", | 2164 "Ascending order.", |
1890 "Descending order." | 2165 "Descending order." |
1891 ], | 2166 ], |
1892 "location": "query", | 2167 "location": "query", |
1893 "type": "string" | 2168 "type": "string" |
| 2169 }, |
| 2170 "viewType": { |
| 2171 "default": "admin_view", |
| 2172 "description": "Whether to fetch the ADMIN_VIEW or D
OMAIN_PUBLIC view of the user.", |
| 2173 "enum": [ |
| 2174 "admin_view", |
| 2175 "domain_public" |
| 2176 ], |
| 2177 "enumDescriptions": [ |
| 2178 "Fetches the ADMIN_VIEW of the user.", |
| 2179 "Fetches the DOMAIN_PUBLIC view of the user." |
| 2180 ], |
| 2181 "location": "query", |
| 2182 "type": "string" |
1894 } | 2183 } |
1895 }, | 2184 }, |
1896 "path": "users/watch", | 2185 "path": "users/watch", |
1897 "request": { | 2186 "request": { |
1898 "$ref": "Channel", | 2187 "$ref": "Channel", |
1899 "parameterName": "resource" | 2188 "parameterName": "resource" |
1900 }, | 2189 }, |
1901 "response": { | 2190 "response": { |
1902 "$ref": "Channel" | 2191 "$ref": "Channel" |
1903 }, | 2192 }, |
(...skipping 311 matching lines...) Loading... |
2215 "response": { | 2504 "response": { |
2216 "$ref": "VerificationCodes" | 2505 "$ref": "VerificationCodes" |
2217 }, | 2506 }, |
2218 "scopes": [ | 2507 "scopes": [ |
2219 "https://www.googleapis.com/auth/admin.directory.user.se
curity" | 2508 "https://www.googleapis.com/auth/admin.directory.user.se
curity" |
2220 ] | 2509 ] |
2221 } | 2510 } |
2222 } | 2511 } |
2223 } | 2512 } |
2224 }, | 2513 }, |
2225 "revision": "20140905", | 2514 "revision": "20140919", |
2226 "rootUrl": "https://www.googleapis.com/", | 2515 "rootUrl": "https://www.googleapis.com/", |
2227 "schemas": { | 2516 "schemas": { |
2228 "Alias": { | 2517 "Alias": { |
2229 "description": "JSON template for Alias object in Directory API.", | 2518 "description": "JSON template for Alias object in Directory API.", |
2230 "id": "Alias", | 2519 "id": "Alias", |
2231 "properties": { | 2520 "properties": { |
2232 "alias": { | 2521 "alias": { |
2233 "description": "A alias email", | 2522 "description": "A alias email", |
2234 "type": "string" | 2523 "type": "string" |
2235 }, | 2524 }, |
(...skipping 775 matching lines...) Loading... |
3011 "organizationUnits": { | 3300 "organizationUnits": { |
3012 "description": "List of user objects.", | 3301 "description": "List of user objects.", |
3013 "items": { | 3302 "items": { |
3014 "$ref": "OrgUnit" | 3303 "$ref": "OrgUnit" |
3015 }, | 3304 }, |
3016 "type": "array" | 3305 "type": "array" |
3017 } | 3306 } |
3018 }, | 3307 }, |
3019 "type": "object" | 3308 "type": "object" |
3020 }, | 3309 }, |
| 3310 "Schema": { |
| 3311 "description": "JSON template for Schema resource in Directory API."
, |
| 3312 "id": "Schema", |
| 3313 "properties": { |
| 3314 "etag": { |
| 3315 "description": "ETag of the resource.", |
| 3316 "type": "string" |
| 3317 }, |
| 3318 "fields": { |
| 3319 "annotations": { |
| 3320 "required": [ |
| 3321 "directory.schemas.insert", |
| 3322 "directory.schemas.update" |
| 3323 ] |
| 3324 }, |
| 3325 "description": "Fields of Schema", |
| 3326 "items": { |
| 3327 "$ref": "SchemaFieldSpec" |
| 3328 }, |
| 3329 "type": "array" |
| 3330 }, |
| 3331 "kind": { |
| 3332 "default": "admin#directory#schema", |
| 3333 "description": "Kind of resource this is.", |
| 3334 "type": "string" |
| 3335 }, |
| 3336 "schemaId": { |
| 3337 "description": "Unique identifier of Schema (Read-only)", |
| 3338 "type": "string" |
| 3339 }, |
| 3340 "schemaName": { |
| 3341 "annotations": { |
| 3342 "required": [ |
| 3343 "directory.schemas.insert" |
| 3344 ] |
| 3345 }, |
| 3346 "description": "Schema name", |
| 3347 "type": "string" |
| 3348 } |
| 3349 }, |
| 3350 "type": "object" |
| 3351 }, |
| 3352 "SchemaFieldSpec": { |
| 3353 "description": "JSON template for FieldSpec resource for Schemas in
Directory API.", |
| 3354 "id": "SchemaFieldSpec", |
| 3355 "properties": { |
| 3356 "etag": { |
| 3357 "description": "ETag of the resource.", |
| 3358 "type": "string" |
| 3359 }, |
| 3360 "fieldId": { |
| 3361 "description": "Unique identifier of Field (Read-only)", |
| 3362 "type": "string" |
| 3363 }, |
| 3364 "fieldName": { |
| 3365 "annotations": { |
| 3366 "required": [ |
| 3367 "directory.schemas.insert", |
| 3368 "directory.schemas.update" |
| 3369 ] |
| 3370 }, |
| 3371 "description": "Name of the field.", |
| 3372 "type": "string" |
| 3373 }, |
| 3374 "fieldType": { |
| 3375 "annotations": { |
| 3376 "required": [ |
| 3377 "directory.schemas.insert", |
| 3378 "directory.schemas.update" |
| 3379 ] |
| 3380 }, |
| 3381 "description": "Type of the field.", |
| 3382 "type": "string" |
| 3383 }, |
| 3384 "indexed": { |
| 3385 "default": "true", |
| 3386 "description": "Boolean specifying whether the field is inde
xed or not.", |
| 3387 "type": "boolean" |
| 3388 }, |
| 3389 "kind": { |
| 3390 "default": "admin#directory#schema#fieldspec", |
| 3391 "description": "Kind of resource this is.", |
| 3392 "type": "string" |
| 3393 }, |
| 3394 "multiValued": { |
| 3395 "annotations": { |
| 3396 "required": [ |
| 3397 "directory.schemas.insert", |
| 3398 "directory.schemas.update" |
| 3399 ] |
| 3400 }, |
| 3401 "description": "Boolean specifying whether this is a multi-v
alued field or not.", |
| 3402 "type": "boolean" |
| 3403 }, |
| 3404 "numericIndexingSpec": { |
| 3405 "description": "Indexing spec for a numeric field. By defaul
t, only exact match queries will be supported for numeric fields. Setting the nu
mericIndexingSpec allows range queries to be supported.", |
| 3406 "properties": { |
| 3407 "maxValue": { |
| 3408 "description": "Maximum value of this field. This is
meant to be indicative rather than enforced. Values outside this range will sti
ll be indexed, but search may not be as performant.", |
| 3409 "format": "double", |
| 3410 "type": "number" |
| 3411 }, |
| 3412 "minValue": { |
| 3413 "description": "Minimum value of this field. This is
meant to be indicative rather than enforced. Values outside this range will sti
ll be indexed, but search may not be as performant.", |
| 3414 "format": "double", |
| 3415 "type": "number" |
| 3416 } |
| 3417 }, |
| 3418 "type": "object" |
| 3419 }, |
| 3420 "readAccessType": { |
| 3421 "default": "ALL_DOMAIN_USERS", |
| 3422 "description": "Read ACLs on the field specifying who can vi
ew values of this field. Valid values are \"ALL_DOMAIN_USERS\" and \"ADMINS_AND_
SELF\".", |
| 3423 "type": "string" |
| 3424 } |
| 3425 }, |
| 3426 "type": "object" |
| 3427 }, |
| 3428 "Schemas": { |
| 3429 "description": "JSON response template for List Schema operation in
Directory API.", |
| 3430 "id": "Schemas", |
| 3431 "properties": { |
| 3432 "etag": { |
| 3433 "description": "ETag of the resource.", |
| 3434 "type": "string" |
| 3435 }, |
| 3436 "kind": { |
| 3437 "default": "admin#directory#schemas", |
| 3438 "description": "Kind of resource this is.", |
| 3439 "type": "string" |
| 3440 }, |
| 3441 "schemas": { |
| 3442 "description": "List of UserSchema objects.", |
| 3443 "items": { |
| 3444 "$ref": "Schema" |
| 3445 }, |
| 3446 "type": "array" |
| 3447 } |
| 3448 }, |
| 3449 "type": "object" |
| 3450 }, |
3021 "Token": { | 3451 "Token": { |
3022 "description": "JSON template for token resource in Directory API.", | 3452 "description": "JSON template for token resource in Directory API.", |
3023 "id": "Token", | 3453 "id": "Token", |
3024 "properties": { | 3454 "properties": { |
3025 "anonymous": { | 3455 "anonymous": { |
3026 "description": "Whether the application is registered with G
oogle. The value is true if the application has an anonymous Client ID.", | 3456 "description": "Whether the application is registered with G
oogle. The value is true if the application has an anonymous Client ID.", |
3027 "type": "boolean" | 3457 "type": "boolean" |
3028 }, | 3458 }, |
3029 "clientId": { | 3459 "clientId": { |
3030 "description": "The Client ID of the application the token i
s issued to.", | 3460 "description": "The Client ID of the application the token i
s issued to.", |
(...skipping 47 matching lines...) Loading... |
3078 }, | 3508 }, |
3079 "kind": { | 3509 "kind": { |
3080 "default": "admin#directory#tokenList", | 3510 "default": "admin#directory#tokenList", |
3081 "description": "The type of the API resource. This is always
admin#directory#tokenList.", | 3511 "description": "The type of the API resource. This is always
admin#directory#tokenList.", |
3082 "type": "string" | 3512 "type": "string" |
3083 } | 3513 } |
3084 }, | 3514 }, |
3085 "type": "object" | 3515 "type": "object" |
3086 }, | 3516 }, |
3087 "User": { | 3517 "User": { |
3088 "description": "JSON template for User object in Apps Directory API.
", | 3518 "description": "JSON template for User object in Directory API.", |
3089 "id": "User", | 3519 "id": "User", |
3090 "properties": { | 3520 "properties": { |
3091 "addresses": { | 3521 "addresses": { |
3092 "type": "any" | 3522 "type": "any" |
3093 }, | 3523 }, |
3094 "agreedToTerms": { | 3524 "agreedToTerms": { |
3095 "description": "Indicates if user has agreed to terms (Read-
only)", | 3525 "description": "Indicates if user has agreed to terms (Read-
only)", |
3096 "type": "boolean" | 3526 "type": "boolean" |
3097 }, | 3527 }, |
3098 "aliases": { | 3528 "aliases": { |
3099 "description": "List of aliases (Read-only)", | 3529 "description": "List of aliases (Read-only)", |
3100 "items": { | 3530 "items": { |
3101 "type": "string" | 3531 "type": "string" |
3102 }, | 3532 }, |
3103 "type": "array" | 3533 "type": "array" |
3104 }, | 3534 }, |
3105 "changePasswordAtNextLogin": { | 3535 "changePasswordAtNextLogin": { |
3106 "description": "Boolean indicating if the user should change
password in next login", | 3536 "description": "Boolean indicating if the user should change
password in next login", |
3107 "type": "boolean" | 3537 "type": "boolean" |
3108 }, | 3538 }, |
3109 "creationTime": { | 3539 "creationTime": { |
3110 "description": "User's Google account creation time. (Read-o
nly)", | 3540 "description": "User's Google account creation time. (Read-o
nly)", |
3111 "format": "date-time", | 3541 "format": "date-time", |
3112 "type": "string" | 3542 "type": "string" |
3113 }, | 3543 }, |
| 3544 "customSchemas": { |
| 3545 "additionalProperties": { |
| 3546 "$ref": "UserCustomProperties" |
| 3547 }, |
| 3548 "description": "Custom fields of the user.", |
| 3549 "type": "object" |
| 3550 }, |
3114 "customerId": { | 3551 "customerId": { |
3115 "description": "CustomerId of User (Read-only)", | 3552 "description": "CustomerId of User (Read-only)", |
3116 "type": "string" | 3553 "type": "string" |
3117 }, | 3554 }, |
3118 "deletionTime": { | 3555 "deletionTime": { |
3119 "format": "date-time", | 3556 "format": "date-time", |
3120 "type": "string" | 3557 "type": "string" |
3121 }, | 3558 }, |
3122 "emails": { | 3559 "emails": { |
3123 "type": "any" | 3560 "type": "any" |
(...skipping 160 matching lines...) Loading... |
3284 "description": "Street.", | 3721 "description": "Street.", |
3285 "type": "string" | 3722 "type": "string" |
3286 }, | 3723 }, |
3287 "type": { | 3724 "type": { |
3288 "description": "Each entry can have a type which indicates s
tandard values of that entry. For example address could be of home, work etc. In
addition to the standard type, an entry can have a custom type and can take any
value. Such type should have the CUSTOM value as type and also have a customTyp
e value.", | 3725 "description": "Each entry can have a type which indicates s
tandard values of that entry. For example address could be of home, work etc. In
addition to the standard type, an entry can have a custom type and can take any
value. Such type should have the CUSTOM value as type and also have a customTyp
e value.", |
3289 "type": "string" | 3726 "type": "string" |
3290 } | 3727 } |
3291 }, | 3728 }, |
3292 "type": "object" | 3729 "type": "object" |
3293 }, | 3730 }, |
| 3731 "UserCustomProperties": { |
| 3732 "additionalProperties": { |
| 3733 "type": "any" |
| 3734 }, |
| 3735 "description": "JSON template for a set of custom properties (i.e. a
ll fields in a particular schema)", |
| 3736 "id": "UserCustomProperties", |
| 3737 "type": "object" |
| 3738 }, |
3294 "UserEmail": { | 3739 "UserEmail": { |
3295 "description": "JSON template for an email.", | 3740 "description": "JSON template for an email.", |
3296 "id": "UserEmail", | 3741 "id": "UserEmail", |
3297 "properties": { | 3742 "properties": { |
3298 "address": { | 3743 "address": { |
3299 "description": "Email id of the user.", | 3744 "description": "Email id of the user.", |
3300 "type": "string" | 3745 "type": "string" |
3301 }, | 3746 }, |
3302 "customType": { | 3747 "customType": { |
3303 "description": "Custom Type.", | 3748 "description": "Custom Type.", |
(...skipping 333 matching lines...) Loading... |
3637 "type": "string" | 4082 "type": "string" |
3638 } | 4083 } |
3639 }, | 4084 }, |
3640 "type": "object" | 4085 "type": "object" |
3641 } | 4086 } |
3642 }, | 4087 }, |
3643 "servicePath": "admin/directory/v1/", | 4088 "servicePath": "admin/directory/v1/", |
3644 "title": "Admin Directory API", | 4089 "title": "Admin Directory API", |
3645 "version": "directory_v1" | 4090 "version": "directory_v1" |
3646 } | 4091 } |
OLD | NEW |