gogol-compute-0.3.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.ForwardingRules.Get

Contents

Description

Returns the specified ForwardingRule resource.

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

Synopsis

REST Resource

type ForwardingRulesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("forwardingRules" :> (Capture "forwardingRule" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] ForwardingRule)))))))) Source #

A resource alias for compute.forwardingRules.get method which the ForwardingRulesGet request conforms to.

Creating a Request

forwardingRulesGet Source #

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

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

data ForwardingRulesGet Source #

Returns the specified ForwardingRule resource.

See: forwardingRulesGet smart constructor.

Instances

Eq ForwardingRulesGet Source # 
Data ForwardingRulesGet Source # 

Methods

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

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

toConstr :: ForwardingRulesGet -> Constr #

dataTypeOf :: ForwardingRulesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ForwardingRulesGet Source # 
Generic ForwardingRulesGet Source # 
GoogleRequest ForwardingRulesGet Source # 
type Rep ForwardingRulesGet Source # 
type Rep ForwardingRulesGet = D1 (MetaData "ForwardingRulesGet" "Network.Google.Resource.Compute.ForwardingRules.Get" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "ForwardingRulesGet'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_frgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_frgForwardingRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_frgRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes ForwardingRulesGet Source # 
type Scopes ForwardingRulesGet = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ((:) Symbol "https://www.googleapis.com/auth/compute.readonly" ([] Symbol)))
type Rs ForwardingRulesGet Source # 

Request Lenses

frgProject :: Lens' ForwardingRulesGet Text Source #

Project ID for this request.

frgForwardingRule :: Lens' ForwardingRulesGet Text Source #

Name of the ForwardingRule resource to return.

frgRegion :: Lens' ForwardingRulesGet Text Source #

Name of the region scoping this request.