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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.regionDisks.testIamPermissions method which the RegionDisksTestIAMPermissions request conforms to.

Creating a Request

regionDisksTestIAMPermissions Source #

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

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

data RegionDisksTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: regionDisksTestIAMPermissions smart constructor.

Instances
Eq RegionDisksTestIAMPermissions Source # 
Instance details

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

Data RegionDisksTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: RegionDisksTestIAMPermissions -> Constr #

dataTypeOf :: RegionDisksTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show RegionDisksTestIAMPermissions Source # 
Instance details

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

Generic RegionDisksTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep RegionDisksTestIAMPermissions :: Type -> Type #

GoogleRequest RegionDisksTestIAMPermissions Source # 
Instance details

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

type Rep RegionDisksTestIAMPermissions Source # 
Instance details

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

type Rep RegionDisksTestIAMPermissions = D1 (MetaData "RegionDisksTestIAMPermissions" "Network.Google.Resource.Compute.RegionDisks.TestIAMPermissions" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "RegionDisksTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_rdtipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rdtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest)) :*: (S1 (MetaSel (Just "_rdtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_rdtipRegion") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes RegionDisksTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

rdtipResource :: Lens' RegionDisksTestIAMPermissions Text Source #

Name or id of the resource for this request.

rdtipRegion :: Lens' RegionDisksTestIAMPermissions Text Source #

The name of the region for this request.