gogol-mirror-0.4.0: Google Mirror 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.Mirror.Locations.Get

Contents

Description

Gets a single location by ID.

See: Google Mirror API Reference for mirror.locations.get.

Synopsis

REST Resource

type LocationsGetResource = "mirror" :> ("v1" :> ("locations" :> (Capture "id" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Location)))) Source #

A resource alias for mirror.locations.get method which the LocationsGet request conforms to.

Creating a Request

locationsGet Source #

Arguments

:: Text

lgId

-> LocationsGet 

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

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

data LocationsGet Source #

Gets a single location by ID.

See: locationsGet smart constructor.

Instances
Eq LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Data LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Methods

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

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

toConstr :: LocationsGet -> Constr #

dataTypeOf :: LocationsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Generic LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Associated Types

type Rep LocationsGet :: Type -> Type #

GoogleRequest LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Associated Types

type Rs LocationsGet :: Type #

type Scopes LocationsGet :: [Symbol] #

type Rep LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

type Rep LocationsGet = D1 (MetaData "LocationsGet" "Network.Google.Resource.Mirror.Locations.Get" "gogol-mirror-0.4.0-9c962MxnB494MCOxCUtS1H" True) (C1 (MetaCons "LocationsGet'" PrefixI True) (S1 (MetaSel (Just "_lgId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Scopes LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

type Scopes LocationsGet = "https://www.googleapis.com/auth/glass.location" ': ("https://www.googleapis.com/auth/glass.timeline" ': ([] :: [Symbol]))
type Rs LocationsGet Source # 
Instance details

Defined in Network.Google.Resource.Mirror.Locations.Get

Request Lenses

lgId :: Lens' LocationsGet Text Source #

The ID of the location or latest for the last known location.