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

Contents

Description

Modifies the labels on the specified messages.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.messages.batchModify method which the UsersMessagesBatchModify request conforms to.

Creating a Request

usersMessagesBatchModify Source #

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

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

data UsersMessagesBatchModify Source #

Modifies the labels on the specified messages.

See: usersMessagesBatchModify smart constructor.

Instances
Eq UsersMessagesBatchModify Source # 
Instance details

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

Data UsersMessagesBatchModify Source # 
Instance details

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

Methods

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

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

toConstr :: UsersMessagesBatchModify -> Constr #

dataTypeOf :: UsersMessagesBatchModify -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersMessagesBatchModify Source # 
Instance details

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

Generic UsersMessagesBatchModify Source # 
Instance details

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

Associated Types

type Rep UsersMessagesBatchModify :: Type -> Type #

GoogleRequest UsersMessagesBatchModify Source # 
Instance details

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

type Rep UsersMessagesBatchModify Source # 
Instance details

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

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

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

type Scopes UsersMessagesBatchModify = "https://mail.google.com/" ': ("https://www.googleapis.com/auth/gmail.modify" ': ([] :: [Symbol]))
type Rs UsersMessagesBatchModify Source # 
Instance details

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

Request Lenses

umbmUserId :: Lens' UsersMessagesBatchModify Text Source #

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