| Copyright | (c) 2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.Google.Resource.Books.Layers.Get
Description
Gets the layer summary for a volume.
See: Books API Reference for books.layers.get.
- type LayersGetResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layersummary" :> (Capture "summaryId" Text :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Layersummary))))))))
- layersGet :: Text -> Text -> LayersGet
- data LayersGet
- lgContentVersion :: Lens' LayersGet (Maybe Text)
- lgVolumeId :: Lens' LayersGet Text
- lgSource :: Lens' LayersGet (Maybe Text)
- lgSummaryId :: Lens' LayersGet Text
REST Resource
type LayersGetResource = "books" :> ("v1" :> ("volumes" :> (Capture "volumeId" Text :> ("layersummary" :> (Capture "summaryId" Text :> (QueryParam "contentVersion" Text :> (QueryParam "source" Text :> (QueryParam "alt" AltJSON :> Get `[JSON]` Layersummary)))))))) Source
A resource alias for books.layers.get method which the
LayersGet request conforms to.
Creating a Request
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:
Gets the layer summary for a volume.
See: layersGet smart constructor.
Request Lenses
lgContentVersion :: Lens' LayersGet (Maybe Text) Source
The content version for the requested volume.
lgVolumeId :: Lens' LayersGet Text Source
The volume to retrieve layers for.
lgSummaryId :: Lens' LayersGet Text Source
The ID for the layer to get the summary for.