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

Contents

Description

Returns the specified commitment resource. Gets a list of available commitments by making a list() request.

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

Synopsis

REST Resource

type RegionCommitmentsGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("commitments" :> (Capture "commitment" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] Commitment)))))))) Source #

A resource alias for compute.regionCommitments.get method which the RegionCommitmentsGet request conforms to.

Creating a Request

regionCommitmentsGet Source #

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

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

data RegionCommitmentsGet Source #

Returns the specified commitment resource. Gets a list of available commitments by making a list() request.

See: regionCommitmentsGet smart constructor.

Instances
Eq RegionCommitmentsGet Source # 
Instance details

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

Data RegionCommitmentsGet Source # 
Instance details

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

Methods

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

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

toConstr :: RegionCommitmentsGet -> Constr #

dataTypeOf :: RegionCommitmentsGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegionCommitmentsGet Source # 
Instance details

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

Generic RegionCommitmentsGet Source # 
Instance details

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

Associated Types

type Rep RegionCommitmentsGet :: Type -> Type #

GoogleRequest RegionCommitmentsGet Source # 
Instance details

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

Associated Types

type Rs RegionCommitmentsGet :: Type #

type Scopes RegionCommitmentsGet :: [Symbol] #

type Rep RegionCommitmentsGet Source # 
Instance details

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

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

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

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

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

Request Lenses

rcgProject :: Lens' RegionCommitmentsGet Text Source #

Project ID for this request.

rcgRegion :: Lens' RegionCommitmentsGet Text Source #

Name of the region for this request.

rcgCommitment :: Lens' RegionCommitmentsGet Text Source #

Name of the commitment to return.