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.SendAs.Delete

Contents

Description

Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.sendAs.delete method which the UsersSettingsSendAsDelete request conforms to.

Creating a Request

usersSettingsSendAsDelete Source #

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

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

data UsersSettingsSendAsDelete Source #

Deletes the specified send-as alias. Revokes any verification that may have been required for using it. This method is only available to service account clients that have been delegated domain-wide authority.

See: usersSettingsSendAsDelete smart constructor.

Instances
Eq UsersSettingsSendAsDelete Source # 
Instance details

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

Data UsersSettingsSendAsDelete Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsSendAsDelete -> Constr #

dataTypeOf :: UsersSettingsSendAsDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsSendAsDelete Source # 
Instance details

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

Generic UsersSettingsSendAsDelete Source # 
Instance details

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

Associated Types

type Rep UsersSettingsSendAsDelete :: Type -> Type #

GoogleRequest UsersSettingsSendAsDelete Source # 
Instance details

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

type Rep UsersSettingsSendAsDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

ussadUserId :: Lens' UsersSettingsSendAsDelete Text Source #

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

ussadSendAsEmail :: Lens' UsersSettingsSendAsDelete Text Source #

The send-as alias to be deleted.