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 Team Drive.

    *)
  2. canChangeCopyRequiresWriterPermissionRestriction : bool;
    (*

    Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.

    *)
  3. canChangeDomainUsersOnlyRestriction : bool;
    (*

    Whether the current user can change the domainUsersOnly restriction of this Team Drive.

    *)
  4. canChangeTeamDriveBackground : bool;
    (*

    Whether the current user can change the background of this Team Drive.

    *)
  5. canChangeTeamMembersOnlyRestriction : bool;
    (*

    Whether the current user can change the teamMembersOnly restriction of this Team Drive.

    *)
  6. canComment : bool;
    (*

    Whether the current user can comment on files in this Team Drive.

    *)
  7. canCopy : bool;
    (*

    Whether the current user can copy files in this Team Drive.

    *)
  8. canDeleteChildren : bool;
    (*

    Whether the current user can delete children from folders in this Team Drive.

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

    *)
  10. canDownload : bool;
    (*

    Whether the current user can download files in this Team Drive.

    *)
  11. canEdit : bool;
    (*

    Whether the current user can edit files in this Team Drive

    *)
  12. canListChildren : bool;
    (*

    Whether the current user can list the children of folders in this Team Drive.

    *)
  13. canManageMembers : bool;
    (*

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

    *)
  14. canReadRevisions : bool;
    (*

    Whether the current user can read the revisions resource of files in this Team Drive.

    *)
  15. canRemoveChildren : bool;
    (*

    Deprecated - use canDeleteChildren or canTrashChildren instead.

    *)
  16. canRename : bool;
    (*

    Whether the current user can rename files or folders in this Team Drive.

    *)
  17. canRenameTeamDrive : bool;
    (*

    Whether the current user can rename this Team Drive.

    *)
  18. canShare : bool;
    (*

    Whether the current user can share files or folders in this Team Drive.

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