gogol-maps-engine-0.2.0: Google Maps Engine 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.MapsEngine.Maps.Get

Contents

Description

Return metadata for a particular map.

See: Google Maps Engine API Reference for mapsengine.maps.get.

Synopsis

REST Resource

type MapsGetResource = "mapsengine" :> ("v1" :> ("maps" :> (Capture "id" Text :> (QueryParam "version" MapsGetVersion :> (QueryParam "alt" AltJSON :> Get '[JSON] Map))))) Source #

A resource alias for mapsengine.maps.get method which the MapsGet request conforms to.

Creating a Request

mapsGet Source #

Arguments

:: Text

mgId

-> MapsGet 

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

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

data MapsGet Source #

Return metadata for a particular map.

See: mapsGet smart constructor.

Instances

Eq MapsGet Source # 

Methods

(==) :: MapsGet -> MapsGet -> Bool #

(/=) :: MapsGet -> MapsGet -> Bool #

Data MapsGet Source # 

Methods

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

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

toConstr :: MapsGet -> Constr #

dataTypeOf :: MapsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show MapsGet Source # 
Generic MapsGet Source # 

Associated Types

type Rep MapsGet :: * -> * #

Methods

from :: MapsGet -> Rep MapsGet x #

to :: Rep MapsGet x -> MapsGet #

GoogleRequest MapsGet Source # 

Associated Types

type Rs MapsGet :: * #

type Scopes MapsGet :: [Symbol] #

type Rep MapsGet Source # 
type Rep MapsGet = D1 (MetaData "MapsGet" "Network.Google.Resource.MapsEngine.Maps.Get" "gogol-maps-engine-0.2.0-2bpteR2QZNW3x0T2dUmzGZ" False) (C1 (MetaCons "MapsGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mgVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe MapsGetVersion))) (S1 (MetaSel (Just Symbol "_mgId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes MapsGet Source # 
type Scopes MapsGet = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ((:) Symbol "https://www.googleapis.com/auth/mapsengine.readonly" ([] Symbol))
type Rs MapsGet Source # 
type Rs MapsGet = Map

Request Lenses

mgVersion :: Lens' MapsGet (Maybe MapsGetVersion) Source #

Deprecated: The version parameter indicates which version of the map should be returned. When version is set to published, the published version of the map will be returned. Please use the maps.getPublished endpoint instead.

mgId :: Lens' MapsGet Text Source #

The ID of the map.