Module Permission.PermissionDetails

type t = {
inherited : bool;(*

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

*)
inheritedFrom : string;(*

The ID of the item from which this permission is inherited. This is an output-only field.

*)
permissionType : string;(*

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

  • file
  • member
*)
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