module Labels: sig .. end
val create : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
GapiGmailV1Model.Label.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Label.t * GapiConversation.Session.t
Creates a new label.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
val delete : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t
Immediately and permanently deletes the specified label and removes it from any messages and threads that it is applied to.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
id : The ID of the label to delete.
val get : ?base_url:string ->
?etag:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.Label.t * GapiConversation.Session.t
Gets the specified label.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
etag : Optional ETag.
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
id : The ID of the label to retrieve.
val list : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
GapiConversation.Session.t ->
GapiGmailV1Model.ListLabelsResponse.t * GapiConversation.Session.t
Lists all labels in the user's mailbox.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
val patch : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiGmailV1Model.Label.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Label.t * GapiConversation.Session.t
Updates the specified label. This method supports patch semantics.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
id : The ID of the label to update.
val update : ?base_url:string ->
?std_params:GapiService.StandardParameters.t ->
userId:string ->
id:string ->
GapiGmailV1Model.Label.t ->
GapiConversation.Session.t ->
GapiGmailV1Model.Label.t * GapiConversation.Session.t
Updates the specified label.
base_url : Service endpoint base URL (defaults to "https://www.googleapis.com/gmail/v1/users/").
std_params : Optional standard parameters.
userId : The user's email address. The special value me can be used to indicate the authenticated user.
id : The ID of the label to update.