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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.images.testIamPermissions method which the ImagesTestIAMPermissions request conforms to.

Creating a Request

imagesTestIAMPermissions Source #

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

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

data ImagesTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: imagesTestIAMPermissions smart constructor.

Instances
Eq ImagesTestIAMPermissions Source # 
Instance details

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

Data ImagesTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ImagesTestIAMPermissions -> Constr #

dataTypeOf :: ImagesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ImagesTestIAMPermissions Source # 
Instance details

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

Generic ImagesTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep ImagesTestIAMPermissions :: Type -> Type #

GoogleRequest ImagesTestIAMPermissions Source # 
Instance details

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

type Rep ImagesTestIAMPermissions Source # 
Instance details

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

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

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

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

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

Request Lenses

itiampProject :: Lens' ImagesTestIAMPermissions Text Source #

Project ID for this request.

itiampResource :: Lens' ImagesTestIAMPermissions Text Source #

Name or id of the resource for this request.