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.Firewalls.Update

Contents

Description

Updates the specified firewall rule with the data included in the request.

See: Compute Engine API Reference for compute.firewalls.update.

Synopsis

REST Resource

type FirewallsUpdateResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("firewalls" :> (Capture "firewall" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Firewall :> Put '[JSON] Operation)))))))) Source #

A resource alias for compute.firewalls.update method which the FirewallsUpdate request conforms to.

Creating a Request

firewallsUpdate Source #

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

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

data FirewallsUpdate Source #

Updates the specified firewall rule with the data included in the request.

See: firewallsUpdate smart constructor.

Instances

Eq FirewallsUpdate Source # 
Data FirewallsUpdate Source # 

Methods

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

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

toConstr :: FirewallsUpdate -> Constr #

dataTypeOf :: FirewallsUpdate -> DataType #

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

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

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

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

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

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

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

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

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

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

Show FirewallsUpdate Source # 
Generic FirewallsUpdate Source # 
GoogleRequest FirewallsUpdate Source # 
type Rep FirewallsUpdate Source # 
type Rep FirewallsUpdate = D1 (MetaData "FirewallsUpdate" "Network.Google.Resource.Compute.Firewalls.Update" "gogol-compute-0.3.0-JmC4j0JQjdEJ6YK33fLFL4" False) (C1 (MetaCons "FirewallsUpdate'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_fuProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) ((:*:) (S1 (MetaSel (Just Symbol "_fuPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Firewall)) (S1 (MetaSel (Just Symbol "_fuFirewall") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Scopes FirewallsUpdate Source # 
type Scopes FirewallsUpdate = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/compute" ([] Symbol))
type Rs FirewallsUpdate Source # 

Request Lenses

fuProject :: Lens' FirewallsUpdate Text Source #

Project ID for this request.

fuPayload :: Lens' FirewallsUpdate Firewall Source #

Multipart request metadata.

fuFirewall :: Lens' FirewallsUpdate Text Source #

Name of the firewall rule to update.