Skip to content

Commit c189a81

Browse files
feat(drive): update the api
#### drive:v2 The following keys were added: - schemas.Drive.properties.capabilities.properties.canChangeSharingFoldersRequiresOrganizerPermissionRestriction.type (Total Keys: 1) - schemas.Drive.properties.restrictions.properties.sharingFoldersRequiresOrganizerPermission.type (Total Keys: 1) - schemas.TeamDrive.properties.capabilities.properties.canChangeSharingFoldersRequiresOrganizerPermissionRestriction.type (Total Keys: 1) - schemas.TeamDrive.properties.restrictions.properties.sharingFoldersRequiresOrganizerPermission.type (Total Keys: 1) #### drive:v3 The following keys were added: - schemas.Drive.properties.capabilities.properties.canChangeSharingFoldersRequiresOrganizerPermissionRestriction.type (Total Keys: 1) - schemas.Drive.properties.restrictions.properties.sharingFoldersRequiresOrganizerPermission.type (Total Keys: 1) - schemas.TeamDrive.properties.capabilities.properties.canChangeSharingFoldersRequiresOrganizerPermissionRestriction.type (Total Keys: 1) - schemas.TeamDrive.properties.restrictions.properties.sharingFoldersRequiresOrganizerPermission.type (Total Keys: 1)
1 parent b2704a0 commit c189a81

File tree

8 files changed

+104
-4
lines changed

8 files changed

+104
-4
lines changed

docs/dyn/drive_v2.changes.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ <h3>Method Details</h3>
129129
&quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this shared drive.
130130
&quot;canChangeDriveBackground&quot;: True or False, # Whether the current user can change the background of this shared drive.
131131
&quot;canChangeDriveMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the driveMembersOnly restriction of this shared drive.
132+
&quot;canChangeSharingFoldersRequiresOrganizerPermissionRestriction&quot;: True or False, # Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
132133
&quot;canComment&quot;: True or False, # Whether the current user can comment on files in this shared drive.
133134
&quot;canCopy&quot;: True or False, # Whether the current user can copy files in this shared drive.
134135
&quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this shared drive.
@@ -156,6 +157,7 @@ <h3>Method Details</h3>
156157
&quot;copyRequiresWriterPermission&quot;: 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.
157158
&quot;domainUsersOnly&quot;: 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.
158159
&quot;driveMembersOnly&quot;: True or False, # Whether access to items inside this shared drive is restricted to its members.
160+
&quot;sharingFoldersRequiresOrganizerPermission&quot;: 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.
159161
},
160162
&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 driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert 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.
161163
},
@@ -600,6 +602,7 @@ <h3>Method Details</h3>
600602
&quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
601603
&quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
602604
&quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
605+
&quot;canChangeSharingFoldersRequiresOrganizerPermissionRestriction&quot;: True or False, # Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
603606
&quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
604607
&quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
605608
&quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
@@ -628,6 +631,7 @@ <h3>Method Details</h3>
628631
&quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
629632
&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.
630633
&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.
634+
&quot;sharingFoldersRequiresOrganizerPermission&quot;: 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.
631635
&quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
632636
},
633637
&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.insert 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.
@@ -700,6 +704,7 @@ <h3>Method Details</h3>
700704
&quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this shared drive.
701705
&quot;canChangeDriveBackground&quot;: True or False, # Whether the current user can change the background of this shared drive.
702706
&quot;canChangeDriveMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the driveMembersOnly restriction of this shared drive.
707+
&quot;canChangeSharingFoldersRequiresOrganizerPermissionRestriction&quot;: True or False, # Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
703708
&quot;canComment&quot;: True or False, # Whether the current user can comment on files in this shared drive.
704709
&quot;canCopy&quot;: True or False, # Whether the current user can copy files in this shared drive.
705710
&quot;canDeleteChildren&quot;: True or False, # Whether the current user can delete children from folders in this shared drive.
@@ -727,6 +732,7 @@ <h3>Method Details</h3>
727732
&quot;copyRequiresWriterPermission&quot;: 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.
728733
&quot;domainUsersOnly&quot;: 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.
729734
&quot;driveMembersOnly&quot;: True or False, # Whether access to items inside this shared drive is restricted to its members.
735+
&quot;sharingFoldersRequiresOrganizerPermission&quot;: 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.
730736
},
731737
&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 driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert 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.
732738
},
@@ -1171,6 +1177,7 @@ <h3>Method Details</h3>
11711177
&quot;canAddChildren&quot;: True or False, # Whether the current user can add children to folders in this Team Drive.
11721178
&quot;canChangeCopyRequiresWriterPermissionRestriction&quot;: True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
11731179
&quot;canChangeDomainUsersOnlyRestriction&quot;: True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
1180+
&quot;canChangeSharingFoldersRequiresOrganizerPermissionRestriction&quot;: True or False, # Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
11741181
&quot;canChangeTeamDriveBackground&quot;: True or False, # Whether the current user can change the background of this Team Drive.
11751182
&quot;canChangeTeamMembersOnlyRestriction&quot;: True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
11761183
&quot;canComment&quot;: True or False, # Whether the current user can comment on files in this Team Drive.
@@ -1199,6 +1206,7 @@ <h3>Method Details</h3>
11991206
&quot;adminManagedRestrictions&quot;: True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
12001207
&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.
12011208
&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.
1209+
&quot;sharingFoldersRequiresOrganizerPermission&quot;: 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.
12021210
&quot;teamMembersOnly&quot;: True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
12031211
},
12041212
&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.insert 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.

0 commit comments

Comments
 (0)