Module Settings.Filters

val create : ?⁠base_url:string -> ?⁠std_params:GapiService.StandardParameters.t -> userId:string -> GapiGmailV1Model.Filter.t -> GapiConversation.Session.t -> GapiGmailV1Model.Filter.t * GapiConversation.Session.t

Creates a filter.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter userId

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

Deletes a filter.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter userId

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

parameter id

The ID of the filter to be deleted.

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

Gets a filter.

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

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

parameter id

The ID of the filter to be fetched.

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

Lists the message filters of a Gmail user.

parameter base_url

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

parameter std_params

Optional standard parameters.

parameter userId

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