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 this folder. This is always false when the item is not a folder.

    *)
  2. canChangeCopyRequiresWriterPermission : bool;
    (*

    Whether the current user can change the copyRequiresWriterPermission restriction of this file.

    *)
  3. canChangeViewersCanCopyContent : bool;
    (*

    Deprecated

    *)
  4. canComment : bool;
    (*

    Whether the current user can comment on this file.

    *)
  5. canCopy : bool;
    (*

    Whether the current user can copy this file. For a Team Drive item, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.

    *)
  6. canDelete : bool;
    (*

    Whether the current user can delete this file.

    *)
  7. canDownload : bool;
    (*

    Whether the current user can download this file.

    *)
  8. canEdit : bool;
    (*

    Whether the current user can edit this file.

    *)
  9. canListChildren : bool;
    (*

    Whether the current user can list the children of this folder. This is always false when the item is not a folder.

    *)
  10. canMoveItemIntoTeamDrive : bool;
    (*

    Whether the current user can move this item into a Team Drive. If the item is in a Team Drive, this field is equivalent to canMoveTeamDriveItem.

    *)
  11. canMoveTeamDriveItem : bool;
    (*

    Whether the current user can move this Team Drive item by changing its parent. Note that a request to change the parent for this item may still fail depending on the new parent that is being added. Only populated for Team Drive files.

    *)
  12. canReadRevisions : bool;
    (*

    Whether the current user can read the revisions resource of this file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.

    *)
  13. canReadTeamDrive : bool;
    (*

    Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files.

    *)
  14. canRemoveChildren : bool;
    (*

    Whether the current user can remove children from this folder. This is always false when the item is not a folder.

    *)
  15. canRename : bool;
    (*

    Whether the current user can rename this file.

    *)
  16. canShare : bool;
    (*

    Whether the current user can modify the sharing settings for this file.

    *)
  17. canTrash : bool;
    (*

    Whether the current user can move this file to trash.

    *)
  18. canUntrash : bool;
    (*

    Whether the current user can restore this file from trash.

    *)
}
val canAddChildren : (t, bool) GapiLens.t
val canChangeCopyRequiresWriterPermission : (t, bool) GapiLens.t
val canChangeViewersCanCopyContent : (t, bool) GapiLens.t
val canComment : (t, bool) GapiLens.t
val canCopy : (t, bool) GapiLens.t
val canDelete : (t, bool) GapiLens.t
val canDownload : (t, bool) GapiLens.t
val canEdit : (t, bool) GapiLens.t
val canListChildren : (t, bool) GapiLens.t
val canMoveItemIntoTeamDrive : (t, bool) GapiLens.t
val canMoveTeamDriveItem : (t, bool) GapiLens.t
val canReadRevisions : (t, bool) GapiLens.t
val canReadTeamDrive : (t, bool) GapiLens.t
val canRemoveChildren : (t, bool) GapiLens.t
val canRename : (t, bool) GapiLens.t
val canShare : (t, bool) GapiLens.t
val canTrash : (t, bool) GapiLens.t
val canUntrash : (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.