gogol-discovery-0.5.0: Google API Discovery Service 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.Discovery.APIs.GetRest

Contents

Description

Retrieve the description of a particular version of an api.

See: API Discovery Service Reference for discovery.apis.getRest.

Synopsis

REST Resource

type APIsGetRestResource = "discovery" :> ("v1" :> ("apis" :> (Capture "api" Text :> (Capture "version" Text :> ("rest" :> (QueryParam "alt" AltJSON :> Get '[JSON] RestDescription)))))) Source #

A resource alias for discovery.apis.getRest method which the APIsGetRest request conforms to.

Creating a Request

apisGetRest Source #

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

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

data APIsGetRest Source #

Retrieve the description of a particular version of an api.

See: apisGetRest smart constructor.

Instances
Eq APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Data APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Methods

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

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

toConstr :: APIsGetRest -> Constr #

dataTypeOf :: APIsGetRest -> DataType #

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

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

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

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

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

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

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

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

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

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

Show APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Generic APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Associated Types

type Rep APIsGetRest :: Type -> Type #

GoogleRequest APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Associated Types

type Rs APIsGetRest :: Type #

type Scopes APIsGetRest :: [Symbol] #

type Rep APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

type Rep APIsGetRest = D1 (MetaData "APIsGetRest" "Network.Google.Resource.Discovery.APIs.GetRest" "gogol-discovery-0.5.0-Li2KqicWdZkK6nTjtHJfKk" False) (C1 (MetaCons "APIsGetRest'" PrefixI True) (S1 (MetaSel (Just "_agrVersion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_agrAPI") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

type Scopes APIsGetRest = ([] :: [Symbol])
type Rs APIsGetRest Source # 
Instance details

Defined in Network.Google.Resource.Discovery.APIs.GetRest

Request Lenses

agrVersion :: Lens' APIsGetRest Text Source #

The version of the API.

agrAPI :: Lens' APIsGetRest Text Source #

The name of the API.