gogol-maps-engine-0.3.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.Layers.Get

Contents

Description

Return metadata for a particular layer.

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

Synopsis

REST Resource

type LayersGetResource = "mapsengine" :> ("v1" :> ("layers" :> (Capture "id" Text :> (QueryParam "version" LayersGetVersion :> (QueryParam "alt" AltJSON :> Get '[JSON] Layer))))) Source #

A resource alias for mapsengine.layers.get method which the LayersGet request conforms to.

Creating a Request

layersGet Source #

Arguments

:: Text

lgId

-> LayersGet 

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

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

data LayersGet Source #

Return metadata for a particular layer.

See: layersGet smart constructor.

Instances

Eq LayersGet Source # 
Data LayersGet Source # 

Methods

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

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

toConstr :: LayersGet -> Constr #

dataTypeOf :: LayersGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LayersGet Source # 
Generic LayersGet Source # 

Associated Types

type Rep LayersGet :: * -> * #

GoogleRequest LayersGet Source # 

Associated Types

type Rs LayersGet :: * #

type Scopes LayersGet :: [Symbol] #

type Rep LayersGet Source # 
type Rep LayersGet = D1 (MetaData "LayersGet" "Network.Google.Resource.MapsEngine.Layers.Get" "gogol-maps-engine-0.3.0-8urOfAmB6laBICTI61kKED" False) (C1 (MetaCons "LayersGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lgVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe LayersGetVersion))) (S1 (MetaSel (Just Symbol "_lgId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LayersGet Source # 
type Scopes LayersGet = (:) Symbol "https://www.googleapis.com/auth/mapsengine" ((:) Symbol "https://www.googleapis.com/auth/mapsengine.readonly" ([] Symbol))
type Rs LayersGet Source # 

Request Lenses

lgVersion :: Lens' LayersGet (Maybe LayersGetVersion) Source #

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

lgId :: Lens' LayersGet Text Source #

The ID of the layer.