gogol-compute-0.5.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.Get

Contents

Description

List all of the ordered rules present in a single specified policy.

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

Synopsis

REST Resource

type SecurityPoliciesGetResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("global" :> ("securityPolicies" :> (Capture "securityPolicy" Text :> (QueryParam "alt" AltJSON :> Get '[JSON] SecurityPolicy))))))) Source #

A resource alias for compute.securityPolicies.get method which the SecurityPoliciesGet request conforms to.

Creating a Request

securityPoliciesGet Source #

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

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

data SecurityPoliciesGet Source #

List all of the ordered rules present in a single specified policy.

See: securityPoliciesGet smart constructor.

Instances
Eq SecurityPoliciesGet Source # 
Instance details

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

Data SecurityPoliciesGet Source # 
Instance details

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

Methods

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

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

toConstr :: SecurityPoliciesGet -> Constr #

dataTypeOf :: SecurityPoliciesGet -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SecurityPoliciesGet Source # 
Instance details

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

Generic SecurityPoliciesGet Source # 
Instance details

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

Associated Types

type Rep SecurityPoliciesGet :: Type -> Type #

GoogleRequest SecurityPoliciesGet Source # 
Instance details

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

Associated Types

type Rs SecurityPoliciesGet :: Type #

type Scopes SecurityPoliciesGet :: [Symbol] #

type Rep SecurityPoliciesGet Source # 
Instance details

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

type Rep SecurityPoliciesGet = D1 (MetaData "SecurityPoliciesGet" "Network.Google.Resource.Compute.SecurityPolicies.Get" "gogol-compute-0.5.0-COFx0B1aAnaBzgHFC8Y2g1" False) (C1 (MetaCons "SecurityPoliciesGet'" PrefixI True) (S1 (MetaSel (Just "_secProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_secSecurityPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Scopes SecurityPoliciesGet Source # 
Instance details

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

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

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

Request Lenses

secProject :: Lens' SecurityPoliciesGet Text Source #

Project ID for this request.

secSecurityPolicy :: Lens' SecurityPoliciesGet Text Source #

Name of the security policy to get.