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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.instances.testIamPermissions method which the InstancesTestIAMPermissions request conforms to.

Creating a Request

instancesTestIAMPermissions Source #

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

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

data InstancesTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: instancesTestIAMPermissions smart constructor.

Instances
Eq InstancesTestIAMPermissions Source # 
Instance details

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

Data InstancesTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: InstancesTestIAMPermissions -> Constr #

dataTypeOf :: InstancesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstancesTestIAMPermissions Source # 
Instance details

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

Generic InstancesTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep InstancesTestIAMPermissions :: Type -> Type #

GoogleRequest InstancesTestIAMPermissions Source # 
Instance details

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

type Rep InstancesTestIAMPermissions Source # 
Instance details

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

type Rep InstancesTestIAMPermissions = D1 (MetaData "InstancesTestIAMPermissions" "Network.Google.Resource.Compute.Instances.TestIAMPermissions" "gogol-compute-0.4.0-3Vo4S3NyrNeJWlNkflB3dZ" False) (C1 (MetaCons "InstancesTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_itipProject") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_itipZone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) :*: (S1 (MetaSel (Just "_itipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestPermissionsRequest) :*: S1 (MetaSel (Just "_itipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Scopes InstancesTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

itipProject :: Lens' InstancesTestIAMPermissions Text Source #

Project ID for this request.

itipZone :: Lens' InstancesTestIAMPermissions Text Source #

The name of the zone for this request.

itipResource :: Lens' InstancesTestIAMPermissions Text Source #

Name or id of the resource for this request.