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-1Lines changed: 9 additions & 1 deletion
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
+32Lines changed: 32 additions & 0 deletions
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.
0 commit comments