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.Labels.List

Contents

Description

Lists all labels in the user's mailbox.

See: Gmail API Reference for gmail.users.labels.list.

Synopsis

REST Resource

type UsersLabelsListResource = "gmail" :> ("v1" :> ("users" :> (Capture "userId" Text :> ("labels" :> (QueryParam "alt" AltJSON :> Get '[JSON] ListLabelsResponse))))) Source #

A resource alias for gmail.users.labels.list method which the UsersLabelsList request conforms to.

Creating a Request

usersLabelsList :: UsersLabelsList Source #

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

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

data UsersLabelsList Source #

Lists all labels in the user's mailbox.

See: usersLabelsList smart constructor.

Instances
Eq UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Data UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Methods

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

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

toConstr :: UsersLabelsList -> Constr #

dataTypeOf :: UsersLabelsList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Generic UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Associated Types

type Rep UsersLabelsList :: Type -> Type #

GoogleRequest UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Associated Types

type Rs UsersLabelsList :: Type #

type Scopes UsersLabelsList :: [Symbol] #

type Rep UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

type Rep UsersLabelsList = D1 (MetaData "UsersLabelsList" "Network.Google.Resource.Gmail.Users.Labels.List" "gogol-gmail-0.4.0-EDJmLuxza63I9QV4rXNgT4" True) (C1 (MetaCons "UsersLabelsList'" PrefixI True) (S1 (MetaSel (Just "_ullUserId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes UsersLabelsList Source # 
Instance details

Defined in Network.Google.Resource.Gmail.Users.Labels.List

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

Defined in Network.Google.Resource.Gmail.Users.Labels.List

Request Lenses

ullUserId :: Lens' UsersLabelsList Text Source #

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