gogol-libraryagent-0.4.0: Google Library Agent 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.LibraryAgent.Shelves.Books.Get

Contents

Description

Gets a book. Returns NOT_FOUND if the book does not exist.

See: Library Agent API Reference for libraryagent.shelves.books.get.

Synopsis

REST Resource

type ShelvesBooksGetResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] GoogleExampleLibraryagentV1Book))))))) Source #

A resource alias for libraryagent.shelves.books.get method which the ShelvesBooksGet request conforms to.

Creating a Request

shelvesBooksGet Source #

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

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

data ShelvesBooksGet Source #

Gets a book. Returns NOT_FOUND if the book does not exist.

See: shelvesBooksGet smart constructor.

Instances
Eq ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Data ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Methods

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

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

toConstr :: ShelvesBooksGet -> Constr #

dataTypeOf :: ShelvesBooksGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Generic ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Associated Types

type Rep ShelvesBooksGet :: Type -> Type #

GoogleRequest ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Associated Types

type Rs ShelvesBooksGet :: Type #

type Scopes ShelvesBooksGet :: [Symbol] #

type Rep ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

type Rep ShelvesBooksGet = D1 (MetaData "ShelvesBooksGet" "Network.Google.Resource.LibraryAgent.Shelves.Books.Get" "gogol-libraryagent-0.4.0-3DDw7qDFYgp6HuQ2dTY0m5" False) (C1 (MetaCons "ShelvesBooksGet'" PrefixI True) ((S1 (MetaSel (Just "_sbgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sbgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sbgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sbgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sbgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sbgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

type Scopes ShelvesBooksGet = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ShelvesBooksGet Source # 
Instance details

Defined in Network.Google.Resource.LibraryAgent.Shelves.Books.Get

Request Lenses

sbgUploadProtocol :: Lens' ShelvesBooksGet (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

sbgUploadType :: Lens' ShelvesBooksGet (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

sbgName :: Lens' ShelvesBooksGet Text Source #

The name of the book to retrieve.