package gapi-ocaml

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

    The user's email address.

    *)
  2. family_name : string;
    (*

    The user's last name.

    *)
  3. gender : string;
    (*

    The user's gender.

    *)
  4. given_name : string;
    (*

    The user's first name.

    *)
  5. hd : string;
    (*

    The hosted domain e.g. example.com if the user is Google apps user.

    *)
  6. id : string;
    (*

    The obfuscated ID of the user.

    *)
  7. locale : string;
    (*

    The user's preferred locale.

    *)
  8. name : string;
    (*

    The user's full name.

    *)
  9. picture : string;
    (*

    URL of the user's picture image.

    *)
  10. verified_email : bool;
    (*

    Boolean flag which is true if the email address is verified. Always verified because we only return the user's primary email address.

    *)
}
val email : (t, string) GapiLens.t
val family_name : (t, string) GapiLens.t
val gender : (t, string) GapiLens.t
val given_name : (t, string) GapiLens.t
val hd : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val locale : (t, string) GapiLens.t
val name : (t, string) GapiLens.t
val picture : (t, string) GapiLens.t
val verified_email : (t, bool) 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.