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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

type SubnetworksTestIAMPermissionsResource = "compute" :> ("v1" :> ("projects" :> (Capture "project" Text :> ("regions" :> (Capture "region" Text :> ("subnetworks" :> (Capture "resource" Text :> ("testIamPermissions" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestPermissionsRequest :> Post '[JSON] TestPermissionsResponse)))))))))) Source #

A resource alias for compute.subnetworks.testIamPermissions method which the SubnetworksTestIAMPermissions request conforms to.

Creating a Request

subnetworksTestIAMPermissions Source #

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

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

data SubnetworksTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: subnetworksTestIAMPermissions smart constructor.

Instances
Eq SubnetworksTestIAMPermissions Source # 
Instance details

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

Data SubnetworksTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: SubnetworksTestIAMPermissions -> Constr #

dataTypeOf :: SubnetworksTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SubnetworksTestIAMPermissions Source # 
Instance details

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

Generic SubnetworksTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep SubnetworksTestIAMPermissions :: Type -> Type #

GoogleRequest SubnetworksTestIAMPermissions Source # 
Instance details

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

type Rep SubnetworksTestIAMPermissions Source # 
Instance details

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

type Rep SubnetworksTestIAMPermissions = D1 (MetaData "SubnetworksTestIAMPermissions" "Network.Google.Resource.Compute.Subnetworks.TestIAMPermissions" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "SubnetworksTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_stiampProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stiampPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest)) :*: (S1 (MetaSel (Just "_stiampResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_stiampRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SubnetworksTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

stiampResource :: Lens' SubnetworksTestIAMPermissions Text Source #

Name or id of the resource for this request.

stiampRegion :: Lens' SubnetworksTestIAMPermissions Text Source #

The name of the region for this request.