gogol-gmail-0.3.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.Stop

Contents

Description

Stop receiving push notifications for the given user mailbox.

See: Gmail API Reference for gmail.users.stop.

Synopsis

REST Resource

type UsersStopResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("stop" :> (QueryParam "alt" AltJSON :> Post '[JSON] ()))))) Source #

A resource alias for gmail.users.stop method which the UsersStop request conforms to.

Creating a Request

usersStop :: UsersStop Source #

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

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

data UsersStop Source #

Stop receiving push notifications for the given user mailbox.

See: usersStop smart constructor.

Instances

Eq UsersStop Source # 
Data UsersStop Source # 

Methods

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

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

toConstr :: UsersStop -> Constr #

dataTypeOf :: UsersStop -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersStop Source # 
Generic UsersStop Source # 

Associated Types

type Rep UsersStop :: * -> * #

GoogleRequest UsersStop Source # 

Associated Types

type Rs UsersStop :: * #

type Scopes UsersStop :: [Symbol] #

type Rep UsersStop Source # 
type Rep UsersStop = D1 (MetaData "UsersStop" "Network.Google.Resource.Gmail.Users.Stop" "gogol-gmail-0.3.0-LsjK5jY5aBO3wn73Gztk4i" True) (C1 (MetaCons "UsersStop'" PrefixI True) (S1 (MetaSel (Just Symbol "_usUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersStop Source # 
type Scopes UsersStop = (:) Symbol "https://mail.google.com/" ((:) Symbol "https://www.googleapis.com/auth/gmail.metadata" ((:) Symbol "https://www.googleapis.com/auth/gmail.modify" ((:) Symbol "https://www.googleapis.com/auth/gmail.readonly" ([] Symbol))))
type Rs UsersStop Source # 
type Rs UsersStop = ()

Request Lenses

usUserId :: Lens' UsersStop Text Source #

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