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.SetTarget

Contents

Description

Changes target URL for forwarding rule. The new target should be of the same type as the old target.

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

Synopsis

REST Resource

type ForwardingRulesSetTargetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("forwardingRules" :> (Capture "forwardingRule" Text :> ("setTarget" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TargetReference :> Post '[JSON] Operation)))))))))) Source #

A resource alias for compute.forwardingRules.setTarget method which the ForwardingRulesSetTarget request conforms to.

Creating a Request

forwardingRulesSetTarget Source #

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

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

data ForwardingRulesSetTarget Source #

Changes target URL for forwarding rule. The new target should be of the same type as the old target.

See: forwardingRulesSetTarget smart constructor.

Instances

Eq ForwardingRulesSetTarget Source # 
Data ForwardingRulesSetTarget Source # 

Methods

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

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

toConstr :: ForwardingRulesSetTarget -> Constr #

dataTypeOf :: ForwardingRulesSetTarget -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Request Lenses

frstProject :: Lens' ForwardingRulesSetTarget Text Source #

Project ID for this request.

frstForwardingRule :: Lens' ForwardingRulesSetTarget Text Source #

Name of the ForwardingRule resource in which target is to be set.

frstRegion :: Lens' ForwardingRulesSetTarget Text Source #

Name of the region scoping this request.