gogol-dfareporting-0.3.0: Google DCM/DFA Reporting And Trafficking 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.DFAReporting.Metros.List

Contents

Description

Retrieves a list of metros.

See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.metros.list.

Synopsis

REST Resource

type MetrosListResource = "dfareporting" :> ("v2.7" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("metros" :> (QueryParam "alt" AltJSON :> Get '[JSON] MetrosListResponse))))) Source #

A resource alias for dfareporting.metros.list method which the MetrosList request conforms to.

Creating a Request

metrosList Source #

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

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

data MetrosList Source #

Retrieves a list of metros.

See: metrosList smart constructor.

Instances

Eq MetrosList Source # 
Data MetrosList Source # 

Methods

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

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

toConstr :: MetrosList -> Constr #

dataTypeOf :: MetrosList -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MetrosList Source # 
Generic MetrosList Source # 

Associated Types

type Rep MetrosList :: * -> * #

GoogleRequest MetrosList Source # 

Associated Types

type Rs MetrosList :: * #

type Scopes MetrosList :: [Symbol] #

type Rep MetrosList Source # 
type Rep MetrosList = D1 (MetaData "MetrosList" "Network.Google.Resource.DFAReporting.Metros.List" "gogol-dfareporting-0.3.0-1Sz7MzcQaqT30NKUHnKpNh" True) (C1 (MetaCons "MetrosList'" PrefixI True) (S1 (MetaSel (Just Symbol "_mlProFileId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Textual Int64))))
type Scopes MetrosList Source # 
type Scopes MetrosList = (:) Symbol "https://www.googleapis.com/auth/dfatrafficking" ([] Symbol)
type Rs MetrosList Source # 

Request Lenses

mlProFileId :: Lens' MetrosList Int64 Source #

User profile ID associated with this request.