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.Settings.ForwardingAddresses.Delete

Contents

Description

Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.forwardingAddresses.delete method which the UsersSettingsForwardingAddressesDelete request conforms to.

Creating a Request

usersSettingsForwardingAddressesDelete Source #

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

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

data UsersSettingsForwardingAddressesDelete Source #

Deletes the specified forwarding address and revokes any verification that may have been required. This method is only available to service account clients that have been delegated domain-wide authority.

See: usersSettingsForwardingAddressesDelete smart constructor.

Instances
Eq UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

Data UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

Methods

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

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

toConstr :: UsersSettingsForwardingAddressesDelete -> Constr #

dataTypeOf :: UsersSettingsForwardingAddressesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

Generic UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

GoogleRequest UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

type Rep UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

type Rep UsersSettingsForwardingAddressesDelete = D1 (MetaData "UsersSettingsForwardingAddressesDelete" "Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" False) (C1 (MetaCons "UsersSettingsForwardingAddressesDelete'" PrefixI True) (S1 (MetaSel (Just "_usfadForwardingEmail") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_usfadUserId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

type Scopes UsersSettingsForwardingAddressesDelete = "https://www.googleapis.com/auth/gmail.settings.sharing" ': ([] :: [Symbol])
type Rs UsersSettingsForwardingAddressesDelete Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Settings.ForwardingAddresses.Delete

Request Lenses

usfadUserId :: Lens' UsersSettingsForwardingAddressesDelete Text Source #

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