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

Contents

Description

Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.

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

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.delegates.delete method which the UsersSettingsDelegatesDelete request conforms to.

Creating a Request

usersSettingsDelegatesDelete Source #

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

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

data UsersSettingsDelegatesDelete Source #

Removes the specified delegate (which can be of any verification status), and revokes any verification that may have been required for using it. Note that a delegate user must be referred to by their primary email address, and not an email alias. This method is only available to service account clients that have been delegated domain-wide authority.

See: usersSettingsDelegatesDelete smart constructor.

Instances
Eq UsersSettingsDelegatesDelete Source # 
Instance details

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

Data UsersSettingsDelegatesDelete Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsDelegatesDelete -> Constr #

dataTypeOf :: UsersSettingsDelegatesDelete -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsDelegatesDelete Source # 
Instance details

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

Generic UsersSettingsDelegatesDelete Source # 
Instance details

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

Associated Types

type Rep UsersSettingsDelegatesDelete :: Type -> Type #

GoogleRequest UsersSettingsDelegatesDelete Source # 
Instance details

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

type Rep UsersSettingsDelegatesDelete Source # 
Instance details

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

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

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

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

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

Request Lenses

usddUserId :: Lens' UsersSettingsDelegatesDelete Text Source #

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

usddDelegateEmail :: Lens' UsersSettingsDelegatesDelete Text Source #

The email address of the user to be removed as a delegate.