OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/drive": { | 5 "https://www.googleapis.com/auth/drive": { |
6 "description": "View and manage the files in your Google Dri
ve" | 6 "description": "View and manage the files in your Google Dri
ve" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/drive.appdata": { | 8 "https://www.googleapis.com/auth/drive.appdata": { |
9 "description": "View and manage its own configuration data i
n your Google Drive" | 9 "description": "View and manage its own configuration data i
n your Google Drive" |
10 }, | 10 }, |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
31 }, | 31 }, |
32 "basePath": "/drive/v3/", | 32 "basePath": "/drive/v3/", |
33 "baseUrl": "https://www.googleapis.com/drive/v3/", | 33 "baseUrl": "https://www.googleapis.com/drive/v3/", |
34 "batchPath": "batch", | 34 "batchPath": "batch", |
35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", | 35 "description": "Manages files in Drive including uploading, downloading, sea
rching, detecting changes, and updating sharing permissions.", |
36 "discoveryVersion": "v1", | 36 "discoveryVersion": "v1", |
37 "documentationLink": "https://developers.google.com/drive/", | 37 "documentationLink": "https://developers.google.com/drive/", |
38 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/Awu7J7NA3oyXK1BDXFMkCtzkJ-A\"", | 38 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/k5YKE4AZxQRCoprGRUGw27dEejE\"", |
39 "icons": { | 39 "icons": { |
40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", | 40 "x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png", |
41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" | 41 "x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png" |
42 }, | 42 }, |
43 "id": "drive:v3", | 43 "id": "drive:v3", |
44 "kind": "discovery#restDescription", | 44 "kind": "discovery#restDescription", |
45 "name": "drive", | 45 "name": "drive", |
46 "ownerDomain": "google.com", | 46 "ownerDomain": "google.com", |
47 "ownerName": "Google", | 47 "ownerName": "Google", |
48 "parameters": { | 48 "parameters": { |
(...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 "location": "query", | 807 "location": "query", |
808 "type": "boolean" | 808 "type": "boolean" |
809 }, | 809 }, |
810 "orderBy": { | 810 "orderBy": { |
811 "description": "A comma-separated list of sort keys.
Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'na
me', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMe
Time'. Each key sorts ascending by default, but may be reversed with the 'desc'
modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note tha
t there is a current limitation for users with approximately one million files i
n which the requested sort order is ignored.", | 811 "description": "A comma-separated list of sort keys.
Valid keys are 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'na
me', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', and 'viewedByMe
Time'. Each key sorts ascending by default, but may be reversed with the 'desc'
modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note tha
t there is a current limitation for users with approximately one million files i
n which the requested sort order is ignored.", |
812 "location": "query", | 812 "location": "query", |
813 "type": "string" | 813 "type": "string" |
814 }, | 814 }, |
815 "pageSize": { | 815 "pageSize": { |
816 "default": "100", | 816 "default": "100", |
817 "description": "The maximum number of files to retur
n per page.", | 817 "description": "The maximum number of files to retur
n per page. Partial or empty result pages are possible even before the end of th
e files list has been reached.", |
818 "format": "int32", | 818 "format": "int32", |
819 "location": "query", | 819 "location": "query", |
820 "maximum": "1000", | 820 "maximum": "1000", |
821 "minimum": "1", | 821 "minimum": "1", |
822 "type": "integer" | 822 "type": "integer" |
823 }, | 823 }, |
824 "pageToken": { | 824 "pageToken": { |
825 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response.", | 825 "description": "The token for continuing a previous
list request on the next page. This should be set to the value of 'nextPageToken
' from the previous response.", |
826 "location": "query", | 826 "location": "query", |
827 "type": "string" | 827 "type": "string" |
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 "response": { | 1707 "response": { |
1708 "$ref": "TeamDrive" | 1708 "$ref": "TeamDrive" |
1709 }, | 1709 }, |
1710 "scopes": [ | 1710 "scopes": [ |
1711 "https://www.googleapis.com/auth/drive" | 1711 "https://www.googleapis.com/auth/drive" |
1712 ] | 1712 ] |
1713 } | 1713 } |
1714 } | 1714 } |
1715 } | 1715 } |
1716 }, | 1716 }, |
1717 "revision": "20170320", | 1717 "revision": "20170406", |
1718 "rootUrl": "https://www.googleapis.com/", | 1718 "rootUrl": "https://www.googleapis.com/", |
1719 "schemas": { | 1719 "schemas": { |
1720 "About": { | 1720 "About": { |
1721 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", | 1721 "description": "Information about the user, the user's Drive, and sy
stem capabilities.", |
1722 "id": "About", | 1722 "id": "About", |
1723 "properties": { | 1723 "properties": { |
1724 "appInstalled": { | 1724 "appInstalled": { |
1725 "description": "Whether the user has installed the requestin
g app.", | 1725 "description": "Whether the user has installed the requestin
g app.", |
1726 "type": "boolean" | 1726 "type": "boolean" |
1727 }, | 1727 }, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1789 "type": "string" | 1789 "type": "string" |
1790 }, | 1790 }, |
1791 "usageInDriveTrash": { | 1791 "usageInDriveTrash": { |
1792 "description": "The usage by trashed files in Google
Drive.", | 1792 "description": "The usage by trashed files in Google
Drive.", |
1793 "format": "int64", | 1793 "format": "int64", |
1794 "type": "string" | 1794 "type": "string" |
1795 } | 1795 } |
1796 }, | 1796 }, |
1797 "type": "object" | 1797 "type": "object" |
1798 }, | 1798 }, |
| 1799 "teamDriveThemes": { |
| 1800 "description": "A list of themes that are supported for Team
Drives.", |
| 1801 "items": { |
| 1802 "properties": { |
| 1803 "backgroundImageLink": { |
| 1804 "description": "A link to this Team Drive theme'
s background image.", |
| 1805 "type": "string" |
| 1806 }, |
| 1807 "colorRgb": { |
| 1808 "description": "The color of this Team Drive the
me as an RGB hex string.", |
| 1809 "type": "string" |
| 1810 }, |
| 1811 "id": { |
| 1812 "description": "The ID of the theme.", |
| 1813 "type": "string" |
| 1814 } |
| 1815 }, |
| 1816 "type": "object" |
| 1817 }, |
| 1818 "type": "array" |
| 1819 }, |
1799 "user": { | 1820 "user": { |
1800 "$ref": "User", | 1821 "$ref": "User", |
1801 "description": "The authenticated user." | 1822 "description": "The authenticated user." |
1802 } | 1823 } |
1803 }, | 1824 }, |
1804 "type": "object" | 1825 "type": "object" |
1805 }, | 1826 }, |
1806 "Change": { | 1827 "Change": { |
1807 "description": "A change to a file or Team Drive.", | 1828 "description": "A change to a file or Team Drive.", |
1808 "id": "Change", | 1829 "id": "Change", |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2029 "id": "File", | 2050 "id": "File", |
2030 "properties": { | 2051 "properties": { |
2031 "appProperties": { | 2052 "appProperties": { |
2032 "additionalProperties": { | 2053 "additionalProperties": { |
2033 "type": "string" | 2054 "type": "string" |
2034 }, | 2055 }, |
2035 "description": "A collection of arbitrary key-value pairs wh
ich are private to the requesting app.\nEntries with null values are cleared in
update and copy requests.", | 2056 "description": "A collection of arbitrary key-value pairs wh
ich are private to the requesting app.\nEntries with null values are cleared in
update and copy requests.", |
2036 "type": "object" | 2057 "type": "object" |
2037 }, | 2058 }, |
2038 "capabilities": { | 2059 "capabilities": { |
2039 "description": "Capabilities the current user has on the fil
e. Each capability corresponds to a fine-grained action that a user may take.", | 2060 "description": "Capabilities the current user has on this fi
le. Each capability corresponds to a fine-grained action that a user may take.", |
2040 "properties": { | 2061 "properties": { |
2041 "canAddChildren": { | 2062 "canAddChildren": { |
2042 "description": "Whether the user can add children to
this folder. This is always false when the item is not a folder.", | 2063 "description": "Whether the current user can add chi
ldren to this folder. This is always false when the item is not a folder.", |
2043 "type": "boolean" | 2064 "type": "boolean" |
2044 }, | 2065 }, |
2045 "canComment": { | 2066 "canComment": { |
2046 "description": "Whether the user can comment on the
file.", | 2067 "description": "Whether the current user can comment
on this file.", |
2047 "type": "boolean" | 2068 "type": "boolean" |
2048 }, | 2069 }, |
2049 "canCopy": { | 2070 "canCopy": { |
2050 "description": "Whether the user can copy the file.
For a Team Drive item, whether non-folder descendants of this item, or this item
itself if it is not a folder, can be copied.", | 2071 "description": "Whether the current user can copy th
is file. For a Team Drive item, whether the current user can copy non-folder des
cendants of this item, or this item itself if it is not a folder.", |
2051 "type": "boolean" | 2072 "type": "boolean" |
2052 }, | 2073 }, |
2053 "canDelete": { | 2074 "canDelete": { |
2054 "description": "Whether the file can be deleted by t
he user.", | 2075 "description": "Whether the current user can delete
this file.", |
2055 "type": "boolean" | 2076 "type": "boolean" |
2056 }, | 2077 }, |
2057 "canDownload": { | 2078 "canDownload": { |
2058 "description": "Whether the file can be downloaded b
y the user.", | 2079 "description": "Whether the current user can downloa
d this file.", |
2059 "type": "boolean" | 2080 "type": "boolean" |
2060 }, | 2081 }, |
2061 "canEdit": { | 2082 "canEdit": { |
2062 "description": "Whether the user can edit the file's
content.", | 2083 "description": "Whether the current user can edit th
is file.", |
2063 "type": "boolean" | 2084 "type": "boolean" |
2064 }, | 2085 }, |
2065 "canListChildren": { | 2086 "canListChildren": { |
2066 "description": "Whether the user can list the childr
en of this folder. This is always false when the item is not a folder.", | 2087 "description": "Whether the current user can list th
e children of this folder. This is always false when the item is not a folder.", |
2067 "type": "boolean" | 2088 "type": "boolean" |
2068 }, | 2089 }, |
2069 "canMoveItemIntoTeamDrive": { | 2090 "canMoveItemIntoTeamDrive": { |
2070 "description": "Whether the current user can move th
is item into a Team Drive. If the item is in a Team Drive, this field is equival
ent to canMoveTeamDriveItem.", | 2091 "description": "Whether the current user can move th
is item into a Team Drive. If the item is in a Team Drive, this field is equival
ent to canMoveTeamDriveItem.", |
2071 "type": "boolean" | 2092 "type": "boolean" |
2072 }, | 2093 }, |
2073 "canMoveTeamDriveItem": { | 2094 "canMoveTeamDriveItem": { |
2074 "description": "Whether the user can move this Team
Drive item by changing its parent. Note that a request to change the parent for
this item may still fail depending on the new parent that is being added. Only p
opulated for Team Drive files.", | 2095 "description": "Whether the current user can move th
is Team Drive item by changing its parent. Note that a request to change the par
ent for this item may still fail depending on the new parent that is being added
. Only populated for Team Drive files.", |
2075 "type": "boolean" | 2096 "type": "boolean" |
2076 }, | 2097 }, |
2077 "canReadRevisions": { | 2098 "canReadRevisions": { |
2078 "description": "Whether the user has read access to
the Revisions resource of the file. For a Team Drive item, whether revisions of
non-folder descendants of this item, or this item itself if it is not a folder,
can be read.", | 2099 "description": "Whether the current user can read th
e revisions resource of this file. For a Team Drive item, whether revisions of n
on-folder descendants of this item, or this item itself if it is not a folder, c
an be read.", |
2079 "type": "boolean" | 2100 "type": "boolean" |
2080 }, | 2101 }, |
2081 "canReadTeamDrive": { | 2102 "canReadTeamDrive": { |
2082 "description": "Whether the user has read access to
the Team Drive to which this file belongs. Only populated for Team Drive files."
, | 2103 "description": "Whether the current user can read th
e Team Drive to which this file belongs. Only populated for Team Drive files.", |
2083 "type": "boolean" | 2104 "type": "boolean" |
2084 }, | 2105 }, |
2085 "canRemoveChildren": { | 2106 "canRemoveChildren": { |
2086 "description": "Whether the user can remove children
from this folder. This is always false when the item is not a folder.", | 2107 "description": "Whether the current user can remove
children from this folder. This is always false when the item is not a folder.", |
2087 "type": "boolean" | 2108 "type": "boolean" |
2088 }, | 2109 }, |
2089 "canRename": { | 2110 "canRename": { |
2090 "description": "Whether the file can be renamed by t
he user.", | 2111 "description": "Whether the current user can rename
this file.", |
2091 "type": "boolean" | 2112 "type": "boolean" |
2092 }, | 2113 }, |
2093 "canShare": { | 2114 "canShare": { |
2094 "description": "Whether the user can modify the file
's permissions and sharing settings.", | 2115 "description": "Whether the current user can modify
the sharing settings for this file.", |
2095 "type": "boolean" | 2116 "type": "boolean" |
2096 }, | 2117 }, |
2097 "canTrash": { | 2118 "canTrash": { |
2098 "description": "Whether the file can be trashed by t
he user.", | 2119 "description": "Whether the current user can move th
is file to trash.", |
2099 "type": "boolean" | 2120 "type": "boolean" |
2100 }, | 2121 }, |
2101 "canUntrash": { | 2122 "canUntrash": { |
2102 "description": "Whether the file can be restored fro
m the trash by the current user.", | 2123 "description": "Whether the current user can restore
this file from trash.", |
2103 "type": "boolean" | 2124 "type": "boolean" |
2104 } | 2125 } |
2105 }, | 2126 }, |
2106 "type": "object" | 2127 "type": "object" |
2107 }, | 2128 }, |
2108 "contentHints": { | 2129 "contentHints": { |
2109 "description": "Additional information about the content of
the file. These fields are never populated in responses.", | 2130 "description": "Additional information about the content of
the file. These fields are never populated in responses.", |
2110 "properties": { | 2131 "properties": { |
2111 "indexableText": { | 2132 "indexableText": { |
2112 "description": "Text to be indexed for the file to i
mprove fullText queries. This is limited to 128KB in length and may contain HTML
elements.", | 2133 "description": "Text to be indexed for the file to i
mprove fullText queries. This is limited to 128KB in length and may contain HTML
elements.", |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2532 "type": "object" | 2553 "type": "object" |
2533 }, | 2554 }, |
2534 "Permission": { | 2555 "Permission": { |
2535 "description": "A permission for a file. A permission grants a user,
group, domain or the world access to a file or a folder hierarchy.", | 2556 "description": "A permission for a file. A permission grants a user,
group, domain or the world access to a file or a folder hierarchy.", |
2536 "id": "Permission", | 2557 "id": "Permission", |
2537 "properties": { | 2558 "properties": { |
2538 "allowFileDiscovery": { | 2559 "allowFileDiscovery": { |
2539 "description": "Whether the permission allows the file to be
discovered through search. This is only applicable for permissions of type doma
in or anyone.", | 2560 "description": "Whether the permission allows the file to be
discovered through search. This is only applicable for permissions of type doma
in or anyone.", |
2540 "type": "boolean" | 2561 "type": "boolean" |
2541 }, | 2562 }, |
| 2563 "deleted": { |
| 2564 "description": "Whether the account of the permission has be
en deleted. This field only pertains to user and group permissions.", |
| 2565 "type": "boolean" |
| 2566 }, |
2542 "displayName": { | 2567 "displayName": { |
2543 "description": "A displayable name for users, groups or doma
ins.", | 2568 "description": "A displayable name for users, groups or doma
ins.", |
2544 "type": "string" | 2569 "type": "string" |
2545 }, | 2570 }, |
2546 "domain": { | 2571 "domain": { |
2547 "description": "The domain to which this permission refers."
, | 2572 "description": "The domain to which this permission refers."
, |
2548 "type": "string" | 2573 "type": "string" |
2549 }, | 2574 }, |
2550 "emailAddress": { | 2575 "emailAddress": { |
2551 "description": "The email address of the user or group to wh
ich this permission refers.", | 2576 "description": "The email address of the user or group to wh
ich this permission refers.", |
(...skipping 20 matching lines...) Expand all Loading... |
2572 "role": { | 2597 "role": { |
2573 "annotations": { | 2598 "annotations": { |
2574 "required": [ | 2599 "required": [ |
2575 "drive.permissions.create" | 2600 "drive.permissions.create" |
2576 ] | 2601 ] |
2577 }, | 2602 }, |
2578 "description": "The role granted by this permission. While n
ew values may be supported in the future, the following are currently allowed:
\n- organizer \n- owner \n- writer \n- commenter \n- reader", | 2603 "description": "The role granted by this permission. While n
ew values may be supported in the future, the following are currently allowed:
\n- organizer \n- owner \n- writer \n- commenter \n- reader", |
2579 "type": "string" | 2604 "type": "string" |
2580 }, | 2605 }, |
2581 "teamDrivePermissionDetails": { | 2606 "teamDrivePermissionDetails": { |
2582 "description": "Details of whether the Permissions on this T
eam Drive item are inherited or directly on this item. This is an output-only fi
eld which is present only for Team Drive items.", | 2607 "description": "Details of whether the permissions on this T
eam Drive item are inherited or directly on this item. This is an output-only fi
eld which is present only for Team Drive items.", |
2583 "items": { | 2608 "items": { |
2584 "properties": { | 2609 "properties": { |
2585 "inherited": { | 2610 "inherited": { |
2586 "description": "Whether this permission is inher
ited. This field is always populated. This is an output-only field.", | 2611 "description": "Whether this permission is inher
ited. This field is always populated. This is an output-only field.", |
2587 "type": "boolean" | 2612 "type": "boolean" |
2588 }, | 2613 }, |
2589 "inheritedFrom": { | 2614 "inheritedFrom": { |
2590 "description": "The ID of the item from which th
is permission is inherited. This is an output-only field and is only populated f
or members of the Team Drive.", | 2615 "description": "The ID of the item from which th
is permission is inherited. This is an output-only field and is only populated f
or members of the Team Drive.", |
2591 "type": "string" | 2616 "type": "string" |
2592 }, | 2617 }, |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2805 "description": "The starting page token for listing changes.
", | 2830 "description": "The starting page token for listing changes.
", |
2806 "type": "string" | 2831 "type": "string" |
2807 } | 2832 } |
2808 }, | 2833 }, |
2809 "type": "object" | 2834 "type": "object" |
2810 }, | 2835 }, |
2811 "TeamDrive": { | 2836 "TeamDrive": { |
2812 "description": "Representation of a Team Drive.", | 2837 "description": "Representation of a Team Drive.", |
2813 "id": "TeamDrive", | 2838 "id": "TeamDrive", |
2814 "properties": { | 2839 "properties": { |
| 2840 "backgroundImageFile": { |
| 2841 "description": "An image file and cropping parameters from w
hich a background image for this Team Drive is set. This is a write only field t
hat can only be set on a drive.teamdrives.update request that does not set theme
Id. When specified, all fields of the backgroundImageFile must be set.", |
| 2842 "properties": { |
| 2843 "id": { |
| 2844 "description": "The ID of an image file in Drive to
use for the background image.", |
| 2845 "type": "string" |
| 2846 }, |
| 2847 "width": { |
| 2848 "description": "The width of the cropped image in th
e closed range of 0 to 1, which is the width of the cropped image divided by the
width of the entire image. The height is computed by applying a width to height
aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide
and 144 pixels high.", |
| 2849 "format": "float", |
| 2850 "type": "number" |
| 2851 }, |
| 2852 "xCoordinate": { |
| 2853 "description": "The X coordinate of the upper left c
orner of the cropping area in the background image. This is a value in the close
d range of 0 to 1 which is the horizontal distance from the left side of the ent
ire image to the left side of the cropping area divided by the width of the enti
re image.", |
| 2854 "format": "float", |
| 2855 "type": "number" |
| 2856 }, |
| 2857 "yCoordinate": { |
| 2858 "description": "The Y coordinate of the upper left c
orner of the cropping area in the background image. This is a value in the close
d range of 0 to 1 which is the vertical distance from the top side of the entire
image to the top side of the cropping area divided by the height of the entire
image.", |
| 2859 "format": "float", |
| 2860 "type": "number" |
| 2861 } |
| 2862 }, |
| 2863 "type": "object" |
| 2864 }, |
| 2865 "backgroundImageLink": { |
| 2866 "description": "A short-lived link to this Team Drive's back
ground image.", |
| 2867 "type": "string" |
| 2868 }, |
2815 "capabilities": { | 2869 "capabilities": { |
2816 "description": "Capabilities the current user has on this Te
am Drive.", | 2870 "description": "Capabilities the current user has on this Te
am Drive.", |
2817 "properties": { | 2871 "properties": { |
2818 "canAddChildren": { | 2872 "canAddChildren": { |
2819 "description": "Whether the current user can add chi
ldren to folders in this Team Drive.", | 2873 "description": "Whether the current user can add chi
ldren to folders in this Team Drive.", |
2820 "type": "boolean" | 2874 "type": "boolean" |
2821 }, | 2875 }, |
| 2876 "canChangeTeamDriveBackground": { |
| 2877 "description": "Whether the current user can change
the background of this Team Drive.", |
| 2878 "type": "boolean" |
| 2879 }, |
2822 "canComment": { | 2880 "canComment": { |
2823 "description": "Whether the current user can comment
on files in this Team Drive.", | 2881 "description": "Whether the current user can comment
on files in this Team Drive.", |
2824 "type": "boolean" | 2882 "type": "boolean" |
2825 }, | 2883 }, |
2826 "canCopy": { | 2884 "canCopy": { |
2827 "description": "Whether files in this Team Drive can
be copied by the current user.", | 2885 "description": "Whether the current user can copy fi
les in this Team Drive.", |
2828 "type": "boolean" | 2886 "type": "boolean" |
2829 }, | 2887 }, |
2830 "canDeleteTeamDrive": { | 2888 "canDeleteTeamDrive": { |
2831 "description": "Whether this Team Drive can be delet
ed by the current user.", | 2889 "description": "Whether the current user can delete
this Team Drive. Attempting to delete the Team Drive may still fail if there are
untrashed items inside the Team Drive.", |
2832 "type": "boolean" | 2890 "type": "boolean" |
2833 }, | 2891 }, |
2834 "canDownload": { | 2892 "canDownload": { |
2835 "description": "Whether files in this Team Drive can
be downloaded by the current user.", | 2893 "description": "Whether the current user can downloa
d files in this Team Drive.", |
2836 "type": "boolean" | 2894 "type": "boolean" |
2837 }, | 2895 }, |
2838 "canEdit": { | 2896 "canEdit": { |
2839 "description": "Whether files in this Team Drive can
be edited by the current user.", | 2897 "description": "Whether the current user can edit fi
les in this Team Drive", |
2840 "type": "boolean" | 2898 "type": "boolean" |
2841 }, | 2899 }, |
2842 "canListChildren": { | 2900 "canListChildren": { |
2843 "description": "Whether the current user can list th
e children of folders in this Team Drive.", | 2901 "description": "Whether the current user can list th
e children of folders in this Team Drive.", |
2844 "type": "boolean" | 2902 "type": "boolean" |
2845 }, | 2903 }, |
2846 "canManageMembers": { | 2904 "canManageMembers": { |
2847 "description": "Whether the current user can add mem
bers to this Team Drive or remove them or change their role.", | 2905 "description": "Whether the current user can add mem
bers to this Team Drive or remove them or change their role.", |
2848 "type": "boolean" | 2906 "type": "boolean" |
2849 }, | 2907 }, |
2850 "canReadRevisions": { | 2908 "canReadRevisions": { |
2851 "description": "Whether the current user has read ac
cess to the Revisions resource of files in this Team Drive.", | 2909 "description": "Whether the current user can read th
e revisions resource of files in this Team Drive.", |
2852 "type": "boolean" | 2910 "type": "boolean" |
2853 }, | 2911 }, |
2854 "canRemoveChildren": { | 2912 "canRemoveChildren": { |
2855 "description": "Whether the current user can remove
children from folders in this Team Drive.", | 2913 "description": "Whether the current user can remove
children from folders in this Team Drive.", |
2856 "type": "boolean" | 2914 "type": "boolean" |
2857 }, | 2915 }, |
2858 "canRename": { | 2916 "canRename": { |
2859 "description": "Whether files or folders in this Tea
m Drive can be renamed by the current user.", | 2917 "description": "Whether the current user can rename
files or folders in this Team Drive.", |
2860 "type": "boolean" | 2918 "type": "boolean" |
2861 }, | 2919 }, |
2862 "canRenameTeamDrive": { | 2920 "canRenameTeamDrive": { |
2863 "description": "Whether this Team Drive can be renam
ed by the current user.", | 2921 "description": "Whether the current user can rename
this Team Drive.", |
2864 "type": "boolean" | 2922 "type": "boolean" |
2865 }, | 2923 }, |
2866 "canShare": { | 2924 "canShare": { |
2867 "description": "Whether the current user can share f
iles or folders in this Team Drive.", | 2925 "description": "Whether the current user can share f
iles or folders in this Team Drive.", |
2868 "type": "boolean" | 2926 "type": "boolean" |
2869 } | 2927 } |
2870 }, | 2928 }, |
2871 "type": "object" | 2929 "type": "object" |
2872 }, | 2930 }, |
| 2931 "colorRgb": { |
| 2932 "description": "The color of this Team Drive as an RGB hex s
tring. It can only be set on a drive.teamdrives.update request that does not set
themeId.", |
| 2933 "type": "string" |
| 2934 }, |
2873 "id": { | 2935 "id": { |
2874 "description": "The ID of this Team Drive which is also the
ID of the top level folder for this Team Drive.", | 2936 "description": "The ID of this Team Drive which is also the
ID of the top level folder for this Team Drive.", |
2875 "type": "string" | 2937 "type": "string" |
2876 }, | 2938 }, |
2877 "kind": { | 2939 "kind": { |
2878 "default": "drive#teamDrive", | 2940 "default": "drive#teamDrive", |
2879 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"drive#teamDrive\".", | 2941 "description": "Identifies what kind of resource this is. Va
lue: the fixed string \"drive#teamDrive\".", |
2880 "type": "string" | 2942 "type": "string" |
2881 }, | 2943 }, |
2882 "name": { | 2944 "name": { |
2883 "description": "The name of this Team Drive.", | 2945 "description": "The name of this Team Drive.", |
2884 "type": "string" | 2946 "type": "string" |
| 2947 }, |
| 2948 "themeId": { |
| 2949 "description": "The ID of the theme from which the backgroun
d image and color will be set. The set of possible teamDriveThemes can be retrie
ved from a drive.about.get response. When not specified on a drive.teamdrives.cr
eate request, a random theme is chosen from which the background image and color
are set. This is a write only field that can only be set on a request that does
not set colorRgb or backgroundImageFile.", |
| 2950 "type": "string" |
2885 } | 2951 } |
2886 }, | 2952 }, |
2887 "type": "object" | 2953 "type": "object" |
2888 }, | 2954 }, |
2889 "TeamDriveList": { | 2955 "TeamDriveList": { |
2890 "description": "A list of Team Drives.", | 2956 "description": "A list of Team Drives.", |
2891 "id": "TeamDriveList", | 2957 "id": "TeamDriveList", |
2892 "properties": { | 2958 "properties": { |
2893 "kind": { | 2959 "kind": { |
2894 "default": "drive#teamDriveList", | 2960 "default": "drive#teamDriveList", |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2939 "type": "string" | 3005 "type": "string" |
2940 } | 3006 } |
2941 }, | 3007 }, |
2942 "type": "object" | 3008 "type": "object" |
2943 } | 3009 } |
2944 }, | 3010 }, |
2945 "servicePath": "drive/v3/", | 3011 "servicePath": "drive/v3/", |
2946 "title": "Drive API", | 3012 "title": "Drive API", |
2947 "version": "v3" | 3013 "version": "v3" |
2948 } | 3014 } |
OLD | NEW |