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

Contents

Description

Gets a rule at the specified priority.

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

Synopsis

REST Resource

type SecurityPoliciesGetRuleResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> ("getRule" :> (QueryParam "priority" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] SecurityPolicyRule))))))))) Source #

A resource alias for compute.securityPolicies.getRule method which the SecurityPoliciesGetRule request conforms to.

Creating a Request

securityPoliciesGetRule Source #

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

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

data SecurityPoliciesGetRule Source #

Gets a rule at the specified priority.

See: securityPoliciesGetRule smart constructor.

Instances
Eq SecurityPoliciesGetRule Source # 
Instance details

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

Data SecurityPoliciesGetRule Source # 
Instance details

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

Methods

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

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

toConstr :: SecurityPoliciesGetRule -> Constr #

dataTypeOf :: SecurityPoliciesGetRule -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SecurityPoliciesGetRule Source # 
Instance details

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

Generic SecurityPoliciesGetRule Source # 
Instance details

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

Associated Types

type Rep SecurityPoliciesGetRule :: Type -> Type #

GoogleRequest SecurityPoliciesGetRule Source # 
Instance details

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

type Rep SecurityPoliciesGetRule Source # 
Instance details

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

type Rep SecurityPoliciesGetRule = D1 (MetaData "SecurityPoliciesGetRule" "Network.Google.Resource.Compute.SecurityPolicies.GetRule" "gogol-compute-0.4.0-2sGH21T2IC64ihLlqj83IP" False) (C1 (MetaCons "SecurityPoliciesGetRule'" PrefixI True) (S1 (MetaSel (Just "_spgrPriority") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Textual Int32))) :*: (S1 (MetaSel (Just "_spgrProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_spgrSecurityPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SecurityPoliciesGetRule Source # 
Instance details

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

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

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

Request Lenses

spgrPriority :: Lens' SecurityPoliciesGetRule (Maybe Int32) Source #

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

spgrProject :: Lens' SecurityPoliciesGetRule Text Source #

Project ID for this request.

spgrSecurityPolicy :: Lens' SecurityPoliciesGetRule Text Source #

Name of the security policy to which the queried rule belongs.