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.Get

Contents

Description

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

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

Synopsis

REST Resource

type ShelvesGetResource = "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] GoogleExampleLibraryagentV1Shelf))))))) Source #

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

Creating a Request

shelvesGet Source #

Arguments

:: Text

sgName

-> ShelvesGet 

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

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

data ShelvesGet Source #

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

See: shelvesGet smart constructor.

Instances
Eq ShelvesGet Source # 
Instance details

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

Data ShelvesGet Source # 
Instance details

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

Methods

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

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

toConstr :: ShelvesGet -> Constr #

dataTypeOf :: ShelvesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ShelvesGet Source # 
Instance details

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

Generic ShelvesGet Source # 
Instance details

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

Associated Types

type Rep ShelvesGet :: Type -> Type #

GoogleRequest ShelvesGet Source # 
Instance details

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

Associated Types

type Rs ShelvesGet :: Type #

type Scopes ShelvesGet :: [Symbol] #

type Rep ShelvesGet Source # 
Instance details

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

type Rep ShelvesGet = D1 (MetaData "ShelvesGet" "Network.Google.Resource.LibraryAgent.Shelves.Get" "gogol-libraryagent-0.4.0-3DDw7qDFYgp6HuQ2dTY0m5" False) (C1 (MetaCons "ShelvesGet'" PrefixI True) ((S1 (MetaSel (Just "_sgXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_sgUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_sgAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 (MetaSel (Just "_sgUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_sgName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ShelvesGet Source # 
Instance details

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

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

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

Request Lenses

sgXgafv :: Lens' ShelvesGet (Maybe Xgafv) Source #

V1 error format.

sgUploadProtocol :: Lens' ShelvesGet (Maybe Text) Source #

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

sgAccessToken :: Lens' ShelvesGet (Maybe Text) Source #

OAuth access token.

sgUploadType :: Lens' ShelvesGet (Maybe Text) Source #

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

sgName :: Lens' ShelvesGet Text Source #

The name of the shelf to retrieve.