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.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 # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

Data UsersStop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

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 # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

Generic UsersStop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

Associated Types

type Rep UsersStop :: Type -> Type #

GoogleRequest UsersStop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

Associated Types

type Rs UsersStop :: Type #

type Scopes UsersStop :: [Symbol] #

type Rep UsersStop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

type Rep UsersStop = D1 (MetaData "UsersStop" "Network.Google.Resource.Gmail.Users.Stop" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "UsersStop'" PrefixI True) (S1 (MetaSel (Just "_usUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersStop Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Stop

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

Defined in Network.Google.Resource.Gmail.Users.Stop

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.