package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Creates a new label.

  • 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 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.

  • 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.

  • parameter 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.

  • parameter base_url

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

  • parameter etag

    Optional ETag.

  • 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.

  • parameter id

    The ID of the label to retrieve.

Lists all labels in the user's 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 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.

  • 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.

  • parameter 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.

  • 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.

  • parameter id

    The ID of the label to update.

OCaml

Innovation. Community. Security.