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.Subnetworks.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: Compute Engine API Reference for compute.subnetworks.getIamPolicy.

Synopsis

REST Resource

type SubnetworksGetIAMPolicyResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("subnetworks" :> (Capture "resource" Text :> ("getIamPolicy" :> (QueryParam "alt" AltJSON :> Get '[JSON] Policy))))))))) Source #

A resource alias for compute.subnetworks.getIamPolicy method which the SubnetworksGetIAMPolicy request conforms to.

Creating a Request

subnetworksGetIAMPolicy Source #

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

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

data SubnetworksGetIAMPolicy Source #

Gets the access control policy for a resource. May be empty if no such policy or resource exists.

See: subnetworksGetIAMPolicy smart constructor.

Instances
Eq SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

Data SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

Methods

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

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

toConstr :: SubnetworksGetIAMPolicy -> Constr #

dataTypeOf :: SubnetworksGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

Generic SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

Associated Types

type Rep SubnetworksGetIAMPolicy :: Type -> Type #

GoogleRequest SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

type Rep SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

type Rep SubnetworksGetIAMPolicy = D1 (MetaData "SubnetworksGetIAMPolicy" "Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "SubnetworksGetIAMPolicy'" PrefixI True) (S1 (MetaSel (Just "_sgipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_sgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sgipRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubnetworksGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

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

Defined in Network.Google.Resource.Compute.Subnetworks.GetIAMPolicy

Request Lenses

sgipProject :: Lens' SubnetworksGetIAMPolicy Text Source #

Project ID for this request.

sgipResource :: Lens' SubnetworksGetIAMPolicy Text Source #

Name or id of the resource for this request.

sgipRegion :: Lens' SubnetworksGetIAMPolicy Text Source #

The name of the region for this request.