package gapi-ocaml

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

    Whether this permission is inherited. This field is always populated. This is an output-only field.

    *)
  2. inheritedFrom : string;
    (*

    The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.

    *)
  3. permissionType : string;
    (*

    The permission type for this user. While new values may be added in future, the following are currently possible:

    • file
    • member
    *)
  4. role : string;
    (*

    The primary role for this user. While new values may be added in the future, the following are currently possible:

    • organizer
    • fileOrganizer
    • writer
    • commenter
    • reader
    *)
}
val inherited : (t, bool) GapiLens.t
val inheritedFrom : (t, string) GapiLens.t
val permissionType : (t, string) GapiLens.t
val role : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t