1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="drive_v3.html">Drive API</a> . <a href="drive_v3.teamdrives.html">teamdrives</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#close">close()</a></code></p>
79<p class="firstline">Close httplib2 connections.</p>
80<p class="toc_element">
81  <code><a href="#create">create(requestId, body=None)</a></code></p>
82<p class="firstline">Deprecated use drives.create instead.</p>
83<p class="toc_element">
84  <code><a href="#delete">delete(teamDriveId)</a></code></p>
85<p class="firstline">Deprecated use drives.delete instead.</p>
86<p class="toc_element">
87  <code><a href="#get">get(teamDriveId, useDomainAdminAccess=None)</a></code></p>
88<p class="firstline">Deprecated use drives.get instead.</p>
89<p class="toc_element">
90  <code><a href="#list">list(pageSize=None, pageToken=None, q=None, useDomainAdminAccess=None)</a></code></p>
91<p class="firstline">Deprecated use drives.list instead.</p>
92<p class="toc_element">
93  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
94<p class="firstline">Retrieves the next page of results.</p>
95<p class="toc_element">
96  <code><a href="#update">update(teamDriveId, body=None, useDomainAdminAccess=None)</a></code></p>
97<p class="firstline">Deprecated use drives.update instead</p>
98<h3>Method Details</h3>
99<div class="method">
100    <code class="details" id="close">close()</code>
101  <pre>Close httplib2 connections.</pre>
102</div>
103
104<div class="method">
105    <code class="details" id="create">create(requestId, body=None)</code>
106  <pre>Deprecated use drives.create instead.
107
108Args:
109  requestId: string, An ID, such as a random UUID, which uniquely identifies this user&#x27;s request for idempotent creation of a Team Drive. A repeated request by the same user and with the same request ID will avoid creating duplicates by attempting to create the same Team Drive. If the Team Drive already exists a 409 error will be returned. (required)
110  body: object, The request body.
111    The object takes the form of:
112
113{ # Deprecated: use the drive collection instead.
114  &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
115    &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
116    &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
117    &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
118    &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
119  },
120  &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
121  &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
122    &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
123    &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
124    &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
125    &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
126    &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
127    &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
128    &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
129    &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
130    &quot;canDeleteTeamDrive&quot;: True or False, # 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.
131    &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
132    &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
133    &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
134    &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
135    &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
136    &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
137    &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
138    &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
139    &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
140    &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
141  },
142  &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
143  &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
144  &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
145  &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
146  &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
147  &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
148    &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
149    &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
150    &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
151    &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
152  },
153  &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
154}
155
156
157Returns:
158  An object of the form:
159
160    { # Deprecated: use the drive collection instead.
161  &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
162    &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
163    &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
164    &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
165    &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
166  },
167  &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
168  &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
169    &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
170    &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
171    &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
172    &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
173    &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
174    &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
175    &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
176    &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
177    &quot;canDeleteTeamDrive&quot;: True or False, # 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.
178    &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
179    &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
180    &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
181    &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
182    &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
183    &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
184    &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
185    &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
186    &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
187    &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
188  },
189  &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
190  &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
191  &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
192  &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
193  &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
194  &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
195    &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
196    &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
197    &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
198    &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
199  },
200  &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
201}</pre>
202</div>
203
204<div class="method">
205    <code class="details" id="delete">delete(teamDriveId)</code>
206  <pre>Deprecated use drives.delete instead.
207
208Args:
209  teamDriveId: string, The ID of the Team Drive (required)
210</pre>
211</div>
212
213<div class="method">
214    <code class="details" id="get">get(teamDriveId, useDomainAdminAccess=None)</code>
215  <pre>Deprecated use drives.get instead.
216
217Args:
218  teamDriveId: string, The ID of the Team Drive (required)
219  useDomainAdminAccess: boolean, Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.
220
221Returns:
222  An object of the form:
223
224    { # Deprecated: use the drive collection instead.
225  &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
226    &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
227    &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
228    &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
229    &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
230  },
231  &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
232  &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
233    &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
234    &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
235    &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
236    &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
237    &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
238    &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
239    &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
240    &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
241    &quot;canDeleteTeamDrive&quot;: True or False, # 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.
242    &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
243    &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
244    &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
245    &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
246    &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
247    &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
248    &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
249    &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
250    &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
251    &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
252  },
253  &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
254  &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
255  &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
256  &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
257  &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
258  &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
259    &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
260    &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
261    &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
262    &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
263  },
264  &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
265}</pre>
266</div>
267
268<div class="method">
269    <code class="details" id="list">list(pageSize=None, pageToken=None, q=None, useDomainAdminAccess=None)</code>
270  <pre>Deprecated use drives.list instead.
271
272Args:
273  pageSize: integer, Maximum number of Team Drives to return.
274  pageToken: string, Page token for Team Drives.
275  q: string, Query string for searching Team Drives.
276  useDomainAdminAccess: boolean, Issue the request as a domain administrator; if set to true, then all Team Drives of the domain in which the requester is an administrator are returned.
277
278Returns:
279  An object of the form:
280
281    { # A list of Team Drives.
282  &quot;kind&quot;: &quot;drive#teamDriveList&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDriveList&quot;.
283  &quot;nextPageToken&quot;: &quot;A String&quot;, # The page token for the next page of Team Drives. This will be absent if the end of the Team Drives list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
284  &quot;teamDrives&quot;: [ # The list of Team Drives. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
285    { # Deprecated: use the drive collection instead.
286      &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
287        &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
288        &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
289        &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
290        &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
291      },
292      &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
293      &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
294        &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
295        &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
296        &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
297        &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
298        &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
299        &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
300        &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
301        &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
302        &quot;canDeleteTeamDrive&quot;: True or False, # 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.
303        &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
304        &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
305        &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
306        &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
307        &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
308        &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
309        &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
310        &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
311        &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
312        &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
313      },
314      &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
315      &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
316      &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
317      &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
318      &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
319      &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
320        &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
321        &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
322        &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
323        &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
324      },
325      &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
326    },
327  ],
328}</pre>
329</div>
330
331<div class="method">
332    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
333  <pre>Retrieves the next page of results.
334
335Args:
336  previous_request: The request for the previous page. (required)
337  previous_response: The response from the request for the previous page. (required)
338
339Returns:
340  A request object that you can call &#x27;execute()&#x27; on to request the next
341  page. Returns None if there are no more items in the collection.
342    </pre>
343</div>
344
345<div class="method">
346    <code class="details" id="update">update(teamDriveId, body=None, useDomainAdminAccess=None)</code>
347  <pre>Deprecated use drives.update instead
348
349Args:
350  teamDriveId: string, The ID of the Team Drive (required)
351  body: object, The request body.
352    The object takes the form of:
353
354{ # Deprecated: use the drive collection instead.
355  &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
356    &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
357    &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
358    &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
359    &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
360  },
361  &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
362  &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
363    &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
364    &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
365    &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
366    &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
367    &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
368    &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
369    &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
370    &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
371    &quot;canDeleteTeamDrive&quot;: True or False, # 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.
372    &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
373    &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
374    &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
375    &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
376    &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
377    &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
378    &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
379    &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
380    &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
381    &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
382  },
383  &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
384  &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
385  &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
386  &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
387  &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
388  &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
389    &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
390    &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
391    &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
392    &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
393  },
394  &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
395}
396
397  useDomainAdminAccess: boolean, Issue the request as a domain administrator; if set to true, then the requester will be granted access if they are an administrator of the domain to which the Team Drive belongs.
398
399Returns:
400  An object of the form:
401
402    { # Deprecated: use the drive collection instead.
403  &quot;backgroundImageFile&quot;: { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don&#x27;t set themeId. When specified, all fields of the backgroundImageFile must be set.
404    &quot;id&quot;: &quot;A String&quot;, # The ID of an image file in Drive to use for the background image.
405    &quot;width&quot;: 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents 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.
406    &quot;xCoordinate&quot;: 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
407    &quot;yCoordinate&quot;: 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents 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.
408  },
409  &quot;backgroundImageLink&quot;: &quot;A String&quot;, # A short-lived link to this Team Drive&#x27;s background image.
410  &quot;capabilities&quot;: { # Capabilities the current user has on this Team Drive.
411    &quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
412    &quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
413    &quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
414    &quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
415    &quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
416    &quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
417    &quot;canCopy&quot;: True or False, # Whether the current user can copy files in this Team Drive.
418    &quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this Team Drive.
419    &quot;canDeleteTeamDrive&quot;: True or False, # 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.
420    &quot;canDownload&quot;: True or False, # Whether the current user can download files in this Team Drive.
421    &quot;canEdit&quot;: True or False, # Whether the current user can edit files in this Team Drive
422    &quot;canListChildren&quot;: True or False, # Whether the current user can list the children of folders in this Team Drive.
423    &quot;canManageMembers&quot;: True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
424    &quot;canReadRevisions&quot;: True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
425    &quot;canRemoveChildren&quot;: True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
426    &quot;canRename&quot;: True or False, # Whether the current user can rename files or folders in this Team Drive.
427    &quot;canRenameTeamDrive&quot;: True or False, # Whether the current user can rename this Team Drive.
428    &quot;canShare&quot;: True or False, # Whether the current user can share files or folders in this Team Drive.
429    &quot;canTrashChildren&quot;: True or False, # Whether the current user can trash children from folders in this Team Drive.
430  },
431  &quot;colorRgb&quot;: &quot;A String&quot;, # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
432  &quot;createdTime&quot;: &quot;A String&quot;, # The time at which the Team Drive was created (RFC 3339 date-time).
433  &quot;id&quot;: &quot;A String&quot;, # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
434  &quot;kind&quot;: &quot;drive#teamDrive&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;drive#teamDrive&quot;.
435  &quot;name&quot;: &quot;A String&quot;, # The name of this Team Drive.
436  &quot;restrictions&quot;: { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
437    &quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
438    &quot;copyRequiresWriterPermission&quot;: True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
439    &quot;domainUsersOnly&quot;: True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
440    &quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
441  },
442  &quot;themeId&quot;: &quot;A String&quot;, # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.create request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don&#x27;t set colorRgb or backgroundImageFile.
443}</pre>
444</div>
445
446</body></html>