package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Threads : sig ... end
module Settings : sig ... end
module Messages : sig ... end
module Labels : sig ... end
module History : sig ... end
module Drafts : sig ... end
val getProfile : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> GapiConversation.Session.t -> GapiGmailV1Model.Profile.t * GapiConversation.Session.t

Gets the current user's Gmail profile.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").

  • parameter std_params

    Optional standard parameters.

  • parameter userId

    The user's email address. The special value me can be used to indicate the authenticated user.

val stop : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Stop receiving push notifications for the given user mailbox.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").

  • parameter std_params

    Optional standard parameters.

  • parameter userId

    The user's email address. The special value me can be used to indicate the authenticated user.

Set up or update a push notification watch on the given user mailbox.

  • parameter base_url

    Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").

  • parameter std_params

    Optional standard parameters.

  • parameter userId

    The user's email address. The special value me can be used to indicate the authenticated user.

OCaml

Innovation. Community. Security.