Module GapiGmailV1Service.UsersResource
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.
val watch : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> GapiGmailV1Model.WatchRequest.t -> GapiConversation.Session.t -> GapiGmailV1Model.WatchResponse.t * GapiConversation.Session.t
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.