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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.snapshots.testIamPermissions method which the SnapshotsTestIAMPermissions request conforms to.

Creating a Request

snapshotsTestIAMPermissions Source #

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

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

data SnapshotsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: snapshotsTestIAMPermissions smart constructor.

Instances
Eq SnapshotsTestIAMPermissions Source # 
Instance details

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

Data SnapshotsTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: SnapshotsTestIAMPermissions -> Constr #

dataTypeOf :: SnapshotsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show SnapshotsTestIAMPermissions Source # 
Instance details

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

Generic SnapshotsTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep SnapshotsTestIAMPermissions :: Type -> Type #

GoogleRequest SnapshotsTestIAMPermissions Source # 
Instance details

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

type Rep SnapshotsTestIAMPermissions Source # 
Instance details

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

type Rep SnapshotsTestIAMPermissions = D1 (MetaData "SnapshotsTestIAMPermissions" "Network.Google.Resource.Compute.Snapshots.TestIAMPermissions" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "SnapshotsTestIAMPermissions'" PrefixI True) (S1 (MetaSel (Just "_stipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_stipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest) :*: S1 (MetaSel (Just "_stipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes SnapshotsTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

stipProject :: Lens' SnapshotsTestIAMPermissions Text Source #

Project ID for this request.

stipResource :: Lens' SnapshotsTestIAMPermissions Text Source #

Name or id of the resource for this request.