gogol-compute-0.5.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.LicenseCodes.Get

Contents

Description

Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code.

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

Synopsis

REST Resource

type LicenseCodesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("licenseCodes" :> (Capture "licenseCode" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] LicenseCode))))))) Source #

A resource alias for compute.licenseCodes.get method which the LicenseCodesGet request conforms to.

Creating a Request

licenseCodesGet Source #

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

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

data LicenseCodesGet Source #

Return a specified license code. License codes are mirrored across all projects that have permissions to read the License Code.

See: licenseCodesGet smart constructor.

Instances
Eq LicenseCodesGet Source # 
Instance details

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

Data LicenseCodesGet Source # 
Instance details

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

Methods

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

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

toConstr :: LicenseCodesGet -> Constr #

dataTypeOf :: LicenseCodesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseCodesGet Source # 
Instance details

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

Generic LicenseCodesGet Source # 
Instance details

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

Associated Types

type Rep LicenseCodesGet :: Type -> Type #

GoogleRequest LicenseCodesGet Source # 
Instance details

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

Associated Types

type Rs LicenseCodesGet :: Type #

type Scopes LicenseCodesGet :: [Symbol] #

type Rep LicenseCodesGet Source # 
Instance details

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

type Rep LicenseCodesGet = D1 (MetaData "LicenseCodesGet" "Network.Google.Resource.Compute.LicenseCodes.Get" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "LicenseCodesGet'" PrefixI True) (S1 (MetaSel (Just "_lcgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_lcgLicenseCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes LicenseCodesGet Source # 
Instance details

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

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

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

Request Lenses

lcgProject :: Lens' LicenseCodesGet Text Source #

Project ID for this request.

lcgLicenseCode :: Lens' LicenseCodesGet Text Source #

Number corresponding to the License code resource to return.