TeamDrive.Capabilities
type t = {
canAddChildren : bool;
Whether the current user can add children to folders in this Team Drive.
*)canChangeCopyRequiresWriterPermissionRestriction : bool;
Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
*)canChangeDomainUsersOnlyRestriction : bool;
Whether the current user can change the domainUsersOnly restriction of this Team Drive.
*)canChangeSharingFoldersRequiresOrganizerPermissionRestriction : bool;
Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this Team Drive.
*)canChangeTeamDriveBackground : bool;
Whether the current user can change the background of this Team Drive.
*)canChangeTeamMembersOnlyRestriction : bool;
Whether the current user can change the teamMembersOnly restriction of this Team Drive.
*)canComment : bool;
Whether the current user can comment on files in this Team Drive.
*)canCopy : bool;
Whether the current user can copy files in this Team Drive.
*)canDeleteChildren : bool;
Whether the current user can delete children from folders in this Team Drive.
*)canDeleteTeamDrive : bool;
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.
*)canDownload : bool;
Whether the current user can download files in this Team Drive.
*)canEdit : bool;
Whether the current user can edit files in this Team Drive
*)canListChildren : bool;
Whether the current user can list the children of folders in this Team Drive.
*)canManageMembers : bool;
Whether the current user can add members to this Team Drive or remove them or change their role.
*)canReadRevisions : bool;
Whether the current user can read the revisions resource of files in this Team Drive.
*)canRemoveChildren : bool;
Deprecated - use canDeleteChildren or canTrashChildren instead.
*)canRename : bool;
Whether the current user can rename files or folders in this Team Drive.
*)canRenameTeamDrive : bool;
Whether the current user can rename this Team Drive.
*)canResetTeamDriveRestrictions : bool;
Whether the current user can reset the Team Drive restrictions to defaults.
*)canTrashChildren : bool;
Whether the current user can trash children from folders in this Team Drive.
*)}
val canAddChildren : (t, bool) GapiLens.t
val canChangeCopyRequiresWriterPermissionRestriction : (t, bool) GapiLens.t
val canChangeDomainUsersOnlyRestriction : (t, bool) GapiLens.t
val canChangeSharingFoldersRequiresOrganizerPermissionRestriction :
(t, bool) GapiLens.t
val canChangeTeamDriveBackground : (t, bool) GapiLens.t
val canChangeTeamMembersOnlyRestriction : (t, bool) GapiLens.t
val canComment : (t, bool) GapiLens.t
val canCopy : (t, bool) GapiLens.t
val canDeleteChildren : (t, bool) GapiLens.t
val canDeleteTeamDrive : (t, bool) GapiLens.t
val canDownload : (t, bool) GapiLens.t
val canEdit : (t, bool) GapiLens.t
val canListChildren : (t, bool) GapiLens.t
val canManageMembers : (t, bool) GapiLens.t
val canReadRevisions : (t, bool) GapiLens.t
val canRemoveChildren : (t, bool) GapiLens.t
val canRename : (t, bool) GapiLens.t
val canRenameTeamDrive : (t, bool) GapiLens.t
val canResetTeamDriveRestrictions : (t, bool) GapiLens.t
val canTrashChildren : (t, bool) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t