Drive.Capabilities
type t = {
canAddChildren : bool;
Whether the current user can add children to folders in this shared drive.
*)canChangeCopyRequiresWriterPermissionRestriction : bool;
Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
*)canChangeDomainUsersOnlyRestriction : bool;
Whether the current user can change the domainUsersOnly restriction of this shared drive.
*)canChangeDriveBackground : bool;
Whether the current user can change the background of this shared drive.
*)canChangeDriveMembersOnlyRestriction : bool;
Whether the current user can change the driveMembersOnly restriction of this shared drive.
*)canChangeSharingFoldersRequiresOrganizerPermissionRestriction : bool;
Whether the current user can change the sharingFoldersRequiresOrganizerPermission restriction of this shared drive.
*)canComment : bool;
Whether the current user can comment on files in this shared drive.
*)canCopy : bool;
Whether the current user can copy files in this shared drive.
*)canDeleteChildren : bool;
Whether the current user can delete children from folders in this shared drive.
*)canDeleteDrive : bool;
Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.
*)canDownload : bool;
Whether the current user can download files in this shared drive.
*)canEdit : bool;
Whether the current user can edit files in this shared drive
*)canListChildren : bool;
Whether the current user can list the children of folders in this shared drive.
*)canManageMembers : bool;
Whether the current user can add members to this shared drive or remove them or change their role.
*)canReadRevisions : bool;
Whether the current user can read the revisions resource of files in this shared drive.
*)canRename : bool;
Whether the current user can rename files or folders in this shared drive.
*)canRenameDrive : bool;
Whether the current user can rename this shared drive.
*)canResetDriveRestrictions : bool;
Whether the current user can reset the shared drive restrictions to defaults.
*)canTrashChildren : bool;
Whether the current user can trash children from folders in this shared drive.
*)}
val canAddChildren : (t, bool) GapiLens.t
val canChangeCopyRequiresWriterPermissionRestriction : (t, bool) GapiLens.t
val canChangeDomainUsersOnlyRestriction : (t, bool) GapiLens.t
val canChangeDriveBackground : (t, bool) GapiLens.t
val canChangeDriveMembersOnlyRestriction : (t, bool) GapiLens.t
val canChangeSharingFoldersRequiresOrganizerPermissionRestriction :
(t, bool) GapiLens.t
val canComment : (t, bool) GapiLens.t
val canCopy : (t, bool) GapiLens.t
val canDeleteChildren : (t, bool) GapiLens.t
val canDeleteDrive : (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 canRename : (t, bool) GapiLens.t
val canRenameDrive : (t, bool) GapiLens.t
val canResetDriveRestrictions : (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