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

Contents

Description

Deletes a rule at the specified priority.

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

Synopsis

REST Resource

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

A resource alias for compute.securityPolicies.removeRule method which the SecurityPoliciesRemoveRule request conforms to.

Creating a Request

securityPoliciesRemoveRule Source #

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

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

data SecurityPoliciesRemoveRule Source #

Deletes a rule at the specified priority.

See: securityPoliciesRemoveRule smart constructor.

Instances
Eq SecurityPoliciesRemoveRule Source # 
Instance details

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

Data SecurityPoliciesRemoveRule Source # 
Instance details

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

Methods

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

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

toConstr :: SecurityPoliciesRemoveRule -> Constr #

dataTypeOf :: SecurityPoliciesRemoveRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SecurityPoliciesRemoveRule Source # 
Instance details

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

Generic SecurityPoliciesRemoveRule Source # 
Instance details

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

Associated Types

type Rep SecurityPoliciesRemoveRule :: Type -> Type #

GoogleRequest SecurityPoliciesRemoveRule Source # 
Instance details

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

type Rep SecurityPoliciesRemoveRule Source # 
Instance details

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

type Rep SecurityPoliciesRemoveRule = D1 (MetaData "SecurityPoliciesRemoveRule" "Network.Google.Resource.Compute.SecurityPolicies.RemoveRule" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "SecurityPoliciesRemoveRule'" PrefixI True) (S1 (MetaSel (Just "_sprrPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_sprrProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sprrSecurityPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SecurityPoliciesRemoveRule Source # 
Instance details

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

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

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

Request Lenses

sprrPriority :: Lens' SecurityPoliciesRemoveRule (Maybe Int32) Source #

The priority of the rule to remove from the security policy.

sprrProject :: Lens' SecurityPoliciesRemoveRule Text Source #

Project ID for this request.

sprrSecurityPolicy :: Lens' SecurityPoliciesRemoveRule Text Source #

Name of the security policy to update.