package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. canAddChildren : bool;
    (*

    Whether the current user can add children to folders in this shared drive.

    *)
  2. canChangeCopyRequiresWriterPermissionRestriction : bool;
    (*

    Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.

    *)
  3. canChangeDomainUsersOnlyRestriction : bool;
    (*

    Whether the current user can change the domainUsersOnly restriction of this shared drive.

    *)
  4. canChangeDriveBackground : bool;
    (*

    Whether the current user can change the background of this shared drive.

    *)
  5. canChangeDriveMembersOnlyRestriction : bool;
    (*

    Whether the current user can change the driveMembersOnly restriction of this shared drive.

    *)
  6. canComment : bool;
    (*

    Whether the current user can comment on files in this shared drive.

    *)
  7. canCopy : bool;
    (*

    Whether the current user can copy files in this shared drive.

    *)
  8. canDeleteChildren : bool;
    (*

    Whether the current user can delete children from folders in this shared drive.

    *)
  9. 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.

    *)
  10. canDownload : bool;
    (*

    Whether the current user can download files in this shared drive.

    *)
  11. canEdit : bool;
    (*

    Whether the current user can edit files in this shared drive

    *)
  12. canListChildren : bool;
    (*

    Whether the current user can list the children of folders in this shared drive.

    *)
  13. canManageMembers : bool;
    (*

    Whether the current user can add members to this shared drive or remove them or change their role.

    *)
  14. canReadRevisions : bool;
    (*

    Whether the current user can read the revisions resource of files in this shared drive.

    *)
  15. canRename : bool;
    (*

    Whether the current user can rename files or folders in this shared drive.

    *)
  16. canRenameDrive : bool;
    (*

    Whether the current user can rename this shared drive.

    *)
  17. canShare : bool;
    (*

    Whether the current user can share files or folders in this shared drive.

    *)
  18. 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 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 canShare : (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