gogol-compute-0.4.0: Google Compute Engine 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.Compute.Licenses.Get

Contents

Description

Returns the specified License resource.

See: Compute Engine API Reference for compute.licenses.get.

Synopsis

REST Resource

type LicensesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("licenses" :> (Capture "license" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] License))))))) Source #

A resource alias for compute.licenses.get method which the LicensesGet request conforms to.

Creating a Request

licensesGet Source #

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

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

data LicensesGet Source #

Returns the specified License resource.

See: licensesGet smart constructor.

Instances
Eq LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

Data LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

Methods

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

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

toConstr :: LicensesGet -> Constr #

dataTypeOf :: LicensesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

Generic LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

Associated Types

type Rep LicensesGet :: Type -> Type #

GoogleRequest LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

Associated Types

type Rs LicensesGet :: Type #

type Scopes LicensesGet :: [Symbol] #

type Rep LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

type Rep LicensesGet = D1 (MetaData "LicensesGet" "Network.Google.Resource.Compute.Licenses.Get" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "LicensesGet'" PrefixI True) (S1 (MetaSel (Just "_lgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lgLicense") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes LicensesGet Source # 
Instance details

Defined in Network.Google.Resource.Compute.Licenses.Get

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

Defined in Network.Google.Resource.Compute.Licenses.Get

Request Lenses

lgProject :: Lens' LicensesGet Text Source #

Project ID for this request.

lgLicense :: Lens' LicensesGet Text Source #

Name of the License resource to return.