gogol-books-0.4.0: Google Books 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.Books.Layers.Get

Contents

Description

Gets the layer summary for a volume.

See: Books API Reference for books.layers.get.

Synopsis

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

layersGet Source #

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 #

Gets the layer summary for a volume.

See: layersGet smart constructor.

Instances
Eq LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

Data LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

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 # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

Generic LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

Associated Types

type Rep LayersGet :: Type -> Type #

GoogleRequest LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

Associated Types

type Rs LayersGet :: Type #

type Scopes LayersGet :: [Symbol] #

type Rep LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

type Rep LayersGet = D1 (MetaData "LayersGet" "Network.Google.Resource.Books.Layers.Get" "gogol-books-0.4.0-JsYtirrXlXLDWYQKuxGcRl" False) (C1 (MetaCons "LayersGet'" PrefixI True) ((S1 (MetaSel (Just "_lgContentVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgVolumeId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_lgSource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lgSummaryId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

type Scopes LayersGet = "https://www.googleapis.com/auth/books" ': ([] :: [Symbol])
type Rs LayersGet Source # 
Instance details

Defined in Network.Google.Resource.Books.Layers.Get

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.

lgSource :: Lens' LayersGet (Maybe Text) Source #

String to identify the originator of this request.

lgSummaryId :: Lens' LayersGet Text Source #

The ID for the layer to get the summary for.