gogol-gmail-0.2.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.Settings.ForwardingAddresses.Get

Contents

Description

Gets the specified forwarding address.

See: Gmail API Reference for gmail.users.settings.forwardingAddresses.get.

Synopsis

REST Resource

type UsersSettingsForwardingAddressesGetResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("settings" :> ("forwardingAddresses" :> (Capture "forwardingEmail" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingAddress))))))) Source #

A resource alias for gmail.users.settings.forwardingAddresses.get method which the UsersSettingsForwardingAddressesGet request conforms to.

Creating a Request

usersSettingsForwardingAddressesGet Source #

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

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

data UsersSettingsForwardingAddressesGet Source #

Gets the specified forwarding address.

See: usersSettingsForwardingAddressesGet smart constructor.

Instances

Eq UsersSettingsForwardingAddressesGet Source # 
Data UsersSettingsForwardingAddressesGet Source # 

Methods

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

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

toConstr :: UsersSettingsForwardingAddressesGet -> Constr #

dataTypeOf :: UsersSettingsForwardingAddressesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsForwardingAddressesGet Source # 
Generic UsersSettingsForwardingAddressesGet Source # 
GoogleRequest UsersSettingsForwardingAddressesGet Source # 
type Rep UsersSettingsForwardingAddressesGet Source # 
type Rep UsersSettingsForwardingAddressesGet = D1 (MetaData "UsersSettingsForwardingAddressesGet" "Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Get" "gogol-gmail-0.2.0-E4i4RtGKYej4RON8UGqMJ5" False) (C1 (MetaCons "UsersSettingsForwardingAddressesGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_usfagForwardingEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_usfagUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes UsersSettingsForwardingAddressesGet Source # 
type Scopes UsersSettingsForwardingAddressesGet = (:) Symbol "https://mail.google.com/" ((:) Symbol "https://www.googleapis.com/auth/gmail.modify" ((:) Symbol "https://www.googleapis.com/auth/gmail.readonly" ((:) Symbol "https://www.googleapis.com/auth/gmail.settings.basic" ([] Symbol))))
type Rs UsersSettingsForwardingAddressesGet Source # 

Request Lenses

usfagUserId :: Lens' UsersSettingsForwardingAddressesGet Text Source #

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