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. canChangeSharingFoldersRequiresOrganizerPermissionRestriction : bool;
    (*

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

    *)
  5. canChangeTeamDriveBackground : bool;
    (*

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

    *)
  6. canChangeTeamMembersOnlyRestriction : bool;
    (*

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

    *)
  7. canComment : bool;
    (*

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

    *)
  8. canCopy : bool;
    (*

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

    *)
  9. canDeleteChildren : bool;
    (*

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

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

    *)
  11. canDownload : bool;
    (*

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

    *)
  12. canEdit : bool;
    (*

    Whether the current user can edit files in this Team Drive

    *)
  13. canListChildren : bool;
    (*

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

    *)
  14. canManageMembers : bool;
    (*

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

    *)
  15. canReadRevisions : bool;
    (*

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

    *)
  16. canRemoveChildren : bool;
    (*

    Deprecated - use canDeleteChildren or canTrashChildren instead.

    *)
  17. canRename : bool;
    (*

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

    *)
  18. canRenameTeamDrive : bool;
    (*

    Whether the current user can rename this Team Drive.

    *)
  19. canResetTeamDriveRestrictions : bool;
    (*

    Whether the current user can reset the Team Drive restrictions to defaults.

    *)
  20. canShare : bool;
    (*

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

    *)
  21. 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 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
OCaml

Innovation. Community. Security.