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.SecurityPolicies.PatchRule

Contents

Description

Patches a rule at the specified priority.

See: Compute Engine API Reference for compute.securityPolicies.patchRule.

Synopsis

REST Resource

type SecurityPoliciesPatchRuleResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> ("patchRule" :> (QueryParam "priority" (Textual Int32) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SecurityPolicyRule :> Post '[JSON] Operation)))))))))) Source #

A resource alias for compute.securityPolicies.patchRule method which the SecurityPoliciesPatchRule request conforms to.

Creating a Request

securityPoliciesPatchRule Source #

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

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

data SecurityPoliciesPatchRule Source #

Patches a rule at the specified priority.

See: securityPoliciesPatchRule smart constructor.

Instances
Eq SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

Data SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

Methods

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

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

toConstr :: SecurityPoliciesPatchRule -> Constr #

dataTypeOf :: SecurityPoliciesPatchRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

Generic SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

Associated Types

type Rep SecurityPoliciesPatchRule :: Type -> Type #

GoogleRequest SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

type Rep SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

type Rep SecurityPoliciesPatchRule = D1 (MetaData "SecurityPoliciesPatchRule" "Network.Google.Resource.Compute.SecurityPolicies.PatchRule" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "SecurityPoliciesPatchRule'" PrefixI True) ((S1 (MetaSel (Just "_spprPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: S1 (MetaSel (Just "_spprProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_spprPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SecurityPolicyRule) :*: S1 (MetaSel (Just "_spprSecurityPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SecurityPoliciesPatchRule Source # 
Instance details

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

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

Defined in Network.Google.Resource.Compute.SecurityPolicies.PatchRule

Request Lenses

spprPriority :: Lens' SecurityPoliciesPatchRule (Maybe Int32) Source #

The priority of the rule to patch.

spprProject :: Lens' SecurityPoliciesPatchRule Text Source #

Project ID for this request.

spprSecurityPolicy :: Lens' SecurityPoliciesPatchRule Text Source #

Name of the security policy to update.