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.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 # 
Instance details

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

Data ForwardingRulesGet Source # 
Instance details

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

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 # 
Instance details

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

Generic ForwardingRulesGet Source # 
Instance details

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

Associated Types

type Rep ForwardingRulesGet :: Type -> Type #

GoogleRequest ForwardingRulesGet Source # 
Instance details

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

Associated Types

type Rs ForwardingRulesGet :: Type #

type Scopes ForwardingRulesGet :: [Symbol] #

type Rep ForwardingRulesGet Source # 
Instance details

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

type Rep ForwardingRulesGet = D1 (MetaData "ForwardingRulesGet" "Network.Google.Resource.Compute.ForwardingRules.Get" "gogol-compute-0.4.0-2sGH21T2IC64ihLlqj83IP" False) (C1 (MetaCons "ForwardingRulesGet'" PrefixI True) (S1 (MetaSel (Just "_frgProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_frgForwardingRule") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_frgRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes ForwardingRulesGet Source # 
Instance details

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

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

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

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.