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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.instanceTemplates.testIamPermissions method which the InstanceTemplatesTestIAMPermissions request conforms to.

Creating a Request

instanceTemplatesTestIAMPermissions Source #

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

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

data InstanceTemplatesTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: instanceTemplatesTestIAMPermissions smart constructor.

Instances
Eq InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

Data InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: InstanceTemplatesTestIAMPermissions -> Constr #

dataTypeOf :: InstanceTemplatesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

Generic InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

GoogleRequest InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

type Rep InstanceTemplatesTestIAMPermissions Source # 
Instance details

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

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

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

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

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

Request Lenses

ittipResource :: Lens' InstanceTemplatesTestIAMPermissions Text Source #

Name or id of the resource for this request.