gogol-gmail-0.5.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.List

Contents

Description

Lists the delegates for the specified account. 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.list.

Synopsis

REST Resource

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

A resource alias for gmail.users.settings.delegates.list method which the UsersSettingsDelegatesList request conforms to.

Creating a Request

usersSettingsDelegatesList :: UsersSettingsDelegatesList Source #

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

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

data UsersSettingsDelegatesList Source #

Lists the delegates for the specified account. This method is only available to service account clients that have been delegated domain-wide authority.

See: usersSettingsDelegatesList smart constructor.

Instances
Eq UsersSettingsDelegatesList Source # 
Instance details

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

Data UsersSettingsDelegatesList Source # 
Instance details

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

Methods

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

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

toConstr :: UsersSettingsDelegatesList -> Constr #

dataTypeOf :: UsersSettingsDelegatesList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersSettingsDelegatesList Source # 
Instance details

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

Generic UsersSettingsDelegatesList Source # 
Instance details

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

Associated Types

type Rep UsersSettingsDelegatesList :: Type -> Type #

GoogleRequest UsersSettingsDelegatesList Source # 
Instance details

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

type Rep UsersSettingsDelegatesList Source # 
Instance details

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

type Rep UsersSettingsDelegatesList = D1 (MetaData "UsersSettingsDelegatesList" "Network.Google.Resource.Gmail.Users.Settings.Delegates.List" "gogol-gmail-0.5.0-48uFK4VONYULgv1idP6U1t" True) (C1 (MetaCons "UsersSettingsDelegatesList'" PrefixI True) (S1 (MetaSel (Just "_usdlUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersSettingsDelegatesList Source # 
Instance details

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

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

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

Request Lenses

usdlUserId :: Lens' UsersSettingsDelegatesList Text Source #

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