You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/dyn/drive_v3.changes.html
+9-1
Original file line number
Diff line number
Diff line change
@@ -190,6 +190,10 @@ <h3>Method Details</h3>
190
190
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
191
191
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
192
192
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
193
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
194
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
195
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
196
+
},
193
197
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
194
198
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
195
199
},
@@ -408,7 +412,7 @@ <h3>Method Details</h3>
408
412
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
409
413
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
410
414
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
411
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
415
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
412
416
},
413
417
],
414
418
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -523,6 +527,10 @@ <h3>Method Details</h3>
523
527
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
524
528
"copyRequiresWriterPermission": 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.
525
529
"domainUsersOnly": 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.
530
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
531
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
532
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
533
+
},
526
534
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
527
535
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
Copy file name to clipboardexpand all lines: docs/dyn/drive_v3.drives.html
+32
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,10 @@ <h3>Method Details</h3>
157
157
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
158
158
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
159
159
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
160
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
161
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
162
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
163
+
},
160
164
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
161
165
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
162
166
},
@@ -212,6 +216,10 @@ <h3>Method Details</h3>
212
216
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
213
217
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
214
218
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
219
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
220
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
221
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
222
+
},
215
223
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
216
224
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
217
225
},
@@ -290,6 +298,10 @@ <h3>Method Details</h3>
290
298
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
291
299
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
292
300
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
301
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
302
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
303
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
304
+
},
293
305
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
294
306
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
295
307
},
@@ -352,6 +364,10 @@ <h3>Method Details</h3>
352
364
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
353
365
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
354
366
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
367
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
368
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
369
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
370
+
},
355
371
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
356
372
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
357
373
},
@@ -419,6 +435,10 @@ <h3>Method Details</h3>
419
435
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
420
436
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
421
437
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
438
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
439
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
440
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
441
+
},
422
442
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
423
443
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
424
444
},
@@ -499,6 +519,10 @@ <h3>Method Details</h3>
499
519
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
500
520
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
501
521
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
522
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
523
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
524
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
525
+
},
502
526
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
503
527
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
504
528
},
@@ -556,6 +580,10 @@ <h3>Method Details</h3>
556
580
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
557
581
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
558
582
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
583
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
584
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
585
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
586
+
},
559
587
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
560
588
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
561
589
},
@@ -612,6 +640,10 @@ <h3>Method Details</h3>
612
640
"adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
613
641
"copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared 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 shared drive.
614
642
"domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
643
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
644
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
645
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
646
+
},
615
647
"driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
616
648
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
Copy file name to clipboardexpand all lines: docs/dyn/drive_v3.files.html
+8-8
Original file line number
Diff line number
Diff line change
@@ -355,7 +355,7 @@ <h3>Method Details</h3>
355
355
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
356
356
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
357
357
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
358
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
358
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
359
359
},
360
360
],
361
361
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -655,7 +655,7 @@ <h3>Method Details</h3>
655
655
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
656
656
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
657
657
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
658
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
658
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
659
659
},
660
660
],
661
661
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -948,7 +948,7 @@ <h3>Method Details</h3>
948
948
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
949
949
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
950
950
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
951
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
951
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
952
952
},
953
953
],
954
954
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -1251,7 +1251,7 @@ <h3>Method Details</h3>
1251
1251
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
1252
1252
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
1253
1253
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
1254
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
1254
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
1255
1255
},
1256
1256
],
1257
1257
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -1675,7 +1675,7 @@ <h3>Method Details</h3>
1675
1675
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
1676
1676
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
1677
1677
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
1678
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
1678
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
1679
1679
},
1680
1680
],
1681
1681
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -2015,7 +2015,7 @@ <h3>Method Details</h3>
2015
2015
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
2016
2016
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
2017
2017
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
2018
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2018
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2019
2019
},
2020
2020
],
2021
2021
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -2491,7 +2491,7 @@ <h3>Method Details</h3>
2491
2491
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
2492
2492
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
2493
2493
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
2494
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2494
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2495
2495
},
2496
2496
],
2497
2497
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -2795,7 +2795,7 @@ <h3>Method Details</h3>
2795
2795
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
2796
2796
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
2797
2797
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
2798
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2798
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
2799
2799
},
2800
2800
],
2801
2801
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
Copy file name to clipboardexpand all lines: docs/dyn/drive_v3.permissions.html
+6-6
Original file line number
Diff line number
Diff line change
@@ -126,7 +126,7 @@ <h3>Method Details</h3>
126
126
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
127
127
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
128
128
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
129
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
129
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
130
130
},
131
131
],
132
132
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -175,7 +175,7 @@ <h3>Method Details</h3>
175
175
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
176
176
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
177
177
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
178
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
178
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
179
179
},
180
180
],
181
181
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -245,7 +245,7 @@ <h3>Method Details</h3>
245
245
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
246
246
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
247
247
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
248
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
248
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
249
249
},
250
250
],
251
251
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -303,7 +303,7 @@ <h3>Method Details</h3>
303
303
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
304
304
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
305
305
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
306
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
306
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
307
307
},
308
308
],
309
309
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -363,7 +363,7 @@ <h3>Method Details</h3>
363
363
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
364
364
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
365
365
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
366
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
366
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
367
367
},
368
368
],
369
369
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
@@ -410,7 +410,7 @@ <h3>Method Details</h3>
410
410
"inherited": True or False, # Output only. Whether this permission is inherited. This field is always populated. This is an output-only field.
411
411
"inheritedFrom": "A String", # Output only. The ID of the item from which this permission is inherited. This is only populated for items in shared drives.
412
412
"permissionType": "A String", # Output only. The permission type for this user. While new values may be added in future, the following are currently possible: * `file` * `member`
413
-
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
413
+
"role": "A String", # Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`
414
414
},
415
415
],
416
416
"photoLink": "A String", # Output only. A link to the user's profile photo, if available.
Copy file name to clipboardexpand all lines: docs/dyn/drive_v3.teamdrives.html
+24
Original file line number
Diff line number
Diff line change
@@ -151,6 +151,10 @@ <h3>Method Details</h3>
151
151
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
152
152
"copyRequiresWriterPermission": 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.
153
153
"domainUsersOnly": 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.
154
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
155
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
156
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
157
+
},
154
158
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
155
159
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
156
160
},
@@ -206,6 +210,10 @@ <h3>Method Details</h3>
206
210
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
207
211
"copyRequiresWriterPermission": 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.
208
212
"domainUsersOnly": 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.
213
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
214
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
215
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
216
+
},
209
217
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
210
218
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
211
219
},
@@ -282,6 +290,10 @@ <h3>Method Details</h3>
282
290
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
283
291
"copyRequiresWriterPermission": 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.
284
292
"domainUsersOnly": 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.
293
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
294
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
295
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
296
+
},
285
297
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
286
298
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
287
299
},
@@ -351,6 +363,10 @@ <h3>Method Details</h3>
351
363
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
352
364
"copyRequiresWriterPermission": 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.
353
365
"domainUsersOnly": 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.
366
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
367
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
368
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
369
+
},
354
370
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
355
371
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
356
372
},
@@ -424,6 +440,10 @@ <h3>Method Details</h3>
424
440
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
425
441
"copyRequiresWriterPermission": 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.
426
442
"domainUsersOnly": 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.
443
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
444
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
445
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
446
+
},
427
447
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
428
448
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
429
449
},
@@ -480,6 +500,10 @@ <h3>Method Details</h3>
480
500
"adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
481
501
"copyRequiresWriterPermission": 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.
482
502
"domainUsersOnly": 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.
503
+
"downloadRestriction": { # A restriction for copy and download of the file. # Download restrictions applied by shared drive managers.
504
+
"restrictedForReaders": True or False, # Whether download and copy is restricted for readers.
505
+
"restrictedForWriters": True or False, # Whether download and copy is restricted for writers. If true, download is also restricted for readers.
506
+
},
483
507
"sharingFoldersRequiresOrganizerPermission": True or False, # If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.
484
508
"teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
Copy file name to clipboardexpand all lines: googleapiclient/discovery_cache/documents/drive.v3.json
+25-2
Original file line number
Diff line number
Diff line change
@@ -2800,7 +2800,7 @@
2800
2800
}
2801
2801
}
2802
2802
},
2803
-
"revision": "20250216",
2803
+
"revision": "20250220",
2804
2804
"rootUrl": "https://www.googleapis.com/",
2805
2805
"schemas": {
2806
2806
"About": {
@@ -3437,6 +3437,21 @@
3437
3437
},
3438
3438
"type": "object"
3439
3439
},
3440
+
"DownloadRestriction": {
3441
+
"description": "A restriction for copy and download of the file.",
3442
+
"id": "DownloadRestriction",
3443
+
"properties": {
3444
+
"restrictedForReaders": {
3445
+
"description": "Whether download and copy is restricted for readers.",
3446
+
"type": "boolean"
3447
+
},
3448
+
"restrictedForWriters": {
3449
+
"description": "Whether download and copy is restricted for writers. If true, download is also restricted for readers.",
3450
+
"type": "boolean"
3451
+
}
3452
+
},
3453
+
"type": "object"
3454
+
},
3440
3455
"Drive": {
3441
3456
"description": "Representation of a shared drive. Some resource methods (such as `drives.update`) require a `driveId`. Use the `drives.list` method to retrieve the ID for a shared drive.",
3442
3457
"id": "Drive",
@@ -3601,6 +3616,10 @@
3601
3616
"description": "Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.",
3602
3617
"type": "boolean"
3603
3618
},
3619
+
"downloadRestriction": {
3620
+
"$ref": "DownloadRestriction",
3621
+
"description": "Download restrictions applied by shared drive managers."
3622
+
},
3604
3623
"driveMembersOnly": {
3605
3624
"description": "Whether access to items inside this shared drive is restricted to its members.",
3606
3625
"type": "boolean"
@@ -4720,7 +4739,7 @@
4720
4739
"type": "string"
4721
4740
},
4722
4741
"role": {
4723
-
"description": "Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`",
4742
+
"description": "Output only. The primary role for this user. While new values may be added in the future, the following are currently possible: * `owner` * `organizer` * `fileOrganizer` * `writer` * `commenter` * `reader`",
4724
4743
"type": "string"
4725
4744
}
4726
4745
},
@@ -5221,6 +5240,10 @@
5221
5240
"description": "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.",
5222
5241
"type": "boolean"
5223
5242
},
5243
+
"downloadRestriction": {
5244
+
"$ref": "DownloadRestriction",
5245
+
"description": "Download restrictions applied by shared drive managers."
5246
+
},
5224
5247
"sharingFoldersRequiresOrganizerPermission": {
5225
5248
"description": "If true, only users with the organizer role can share folders. If false, users with either the organizer role or the file organizer role can share folders.",
0 commit comments