gogol-gmail-0.4.0: Google Gmail SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Contents

Description

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.

See: Gmail API Reference for gmail.users.messages.batchDelete.

Synopsis

REST Resource

type UsersMessagesBatchDeleteResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("messages" :> ("batchDelete" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] BatchDeleteMessagesRequest :> Post '[JSON] ()))))))) Source #

A resource alias for gmail.users.messages.batchDelete method which the UsersMessagesBatchDelete request conforms to.

Creating a Request

usersMessagesBatchDelete Source #

Creates a value of UsersMessagesBatchDelete with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data UsersMessagesBatchDelete Source #

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all.

See: usersMessagesBatchDelete smart constructor.

Instances
Eq UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Data UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> UsersMessagesBatchDelete -> c UsersMessagesBatchDelete #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c UsersMessagesBatchDelete #

toConstr :: UsersMessagesBatchDelete -> Constr #

dataTypeOf :: UsersMessagesBatchDelete -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c UsersMessagesBatchDelete) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c UsersMessagesBatchDelete) #

gmapT :: (forall b. Data b => b -> b) -> UsersMessagesBatchDelete -> UsersMessagesBatchDelete #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesBatchDelete -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> UsersMessagesBatchDelete -> r #

gmapQ :: (forall d. Data d => d -> u) -> UsersMessagesBatchDelete -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> UsersMessagesBatchDelete -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> UsersMessagesBatchDelete -> m UsersMessagesBatchDelete #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesBatchDelete -> m UsersMessagesBatchDelete #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> UsersMessagesBatchDelete -> m UsersMessagesBatchDelete #

Show UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Generic UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Associated Types

type Rep UsersMessagesBatchDelete :: Type -> Type #

GoogleRequest UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

type Rep UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

type Rep UsersMessagesBatchDelete = D1 (MetaData "UsersMessagesBatchDelete" "Network.Google.Resource.Gmail.Users.Messages.BatchDelete" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersMessagesBatchDelete'" PrefixI True) (S1 (MetaSel (Just "_umbdPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BatchDeleteMessagesRequest) :*: S1 (MetaSel (Just "_umbdUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

type Scopes UsersMessagesBatchDelete = "https://mail.google.com/" ': ([] :: [Symbol])
type Rs UsersMessagesBatchDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Messages.BatchDelete

Request Lenses

umbdUserId :: Lens' UsersMessagesBatchDelete Text Source #

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