package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. additionalRoles : string list;
    (*

    Additional roles for this user. Only commenter is currently allowed.

    *)
  2. authKey : string;
    (*

    The authkey parameter required for this permission.

    *)
  3. domain : string;
    (*

    The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.

    *)
  4. emailAddress : string;
    (*

    The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.

    *)
  5. etag : string;
    (*

    The ETag of the permission.

    *)
  6. expirationDate : GapiDate.t;
    (*

    The time at which this permission will expire (RFC 3339 date-time).

    *)
  7. id : string;
    (*

    The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored.

    *)
  8. kind : string;
    (*

    This is always drive#permission.

    *)
  9. name : string;
    (*

    The name for this permission.

    *)
  10. role : string;
    (*

    The primary role for this user. Allowed values are:

    • owner
    • reader
    • writer
    *)
  11. _type : string;
    (*

    The account type. Allowed values are:

    • user
    • group
    • domain
    • anyone
    *)
  12. value : string;
    (*

    The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type anyone, in which case both id and value are ignored.

    *)
}
val additionalRoles : (t, string list) GapiLens.t
val authKey : (t, string) GapiLens.t
val domain : (t, string) GapiLens.t
val emailAddress : (t, string) GapiLens.t
val etag : (t, string) GapiLens.t
val expirationDate : (t, GapiDate.t) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val role : (t, string) GapiLens.t
val _type : (t, string) GapiLens.t
val value : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t
OCaml

Innovation. Community. Security.