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

Contents

Description

Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.

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

Synopsis

REST Resource

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

A resource alias for compute.globalForwardingRules.get method which the GlobalForwardingRulesGet request conforms to.

Creating a Request

globalForwardingRulesGet Source #

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

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

data GlobalForwardingRulesGet Source #

Returns the specified GlobalForwardingRule resource. Gets a list of available forwarding rules by making a list() request.

See: globalForwardingRulesGet smart constructor.

Instances
Eq GlobalForwardingRulesGet Source # 
Instance details

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

Data GlobalForwardingRulesGet Source # 
Instance details

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

Methods

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

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

toConstr :: GlobalForwardingRulesGet -> Constr #

dataTypeOf :: GlobalForwardingRulesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show GlobalForwardingRulesGet Source # 
Instance details

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

Generic GlobalForwardingRulesGet Source # 
Instance details

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

Associated Types

type Rep GlobalForwardingRulesGet :: Type -> Type #

GoogleRequest GlobalForwardingRulesGet Source # 
Instance details

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

type Rep GlobalForwardingRulesGet Source # 
Instance details

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

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

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

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

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

Request Lenses

gfrgProject :: Lens' GlobalForwardingRulesGet Text Source #

Project ID for this request.

gfrgForwardingRule :: Lens' GlobalForwardingRulesGet Text Source #

Name of the ForwardingRule resource to return.