gogol-mirror-0.0.1: Google Mirror SDK.

Copyright(c) 2015 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:

Request Lenses

lgId :: Lens' LocationsGet Text Source

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