package gapi-ocaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val delete : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> sendAsEmail:string -> id:string -> GapiConversation.Session.t -> unit * GapiConversation.Session.t

Deletes the specified S/MIME config for the specified send-as alias.

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

    The email address that appears in the "From:" header for mail sent using this alias.

  • parameter id

    The immutable ID for the SmimeInfo.

val get : ?base_url:string -> ?etag:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> sendAsEmail:string -> id:string -> GapiConversation.Session.t -> GapiGmailV1Model.SmimeInfo.t * GapiConversation.Session.t

Gets the specified S/MIME config for the specified send-as alias.

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

    The email address that appears in the "From:" header for mail sent using this alias.

  • parameter id

    The immutable ID for the SmimeInfo.

val insert : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> sendAsEmail:string -> GapiGmailV1Model.SmimeInfo.t -> GapiConversation.Session.t -> GapiGmailV1Model.SmimeInfo.t * GapiConversation.Session.t

Insert (upload) the given S/MIME config for the specified send-as alias. Note that pkcs12 format is required for the key.

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

    The email address that appears in the "From:" header for mail sent using this alias.

val list : ?base_url:string -> ?std_params:GapiService.StandardParameters.t -> userId:string -> sendAsEmail:string -> GapiConversation.Session.t -> GapiGmailV1Model.ListSmimeInfoResponse.t * GapiConversation.Session.t

Lists S/MIME configs for the specified send-as alias.

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

    The email address that appears in the "From:" header for mail sent using this alias.

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

Sets the default S/MIME config for the specified send-as alias.

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

    The email address that appears in the "From:" header for mail sent using this alias.

  • parameter id

    The immutable ID for the SmimeInfo.