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

Contents

Description

Returns permissions that a caller has on the specified resource.

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

Synopsis

REST Resource

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

A resource alias for compute.licenseCodes.testIamPermissions method which the LicenseCodesTestIAMPermissions request conforms to.

Creating a Request

licenseCodesTestIAMPermissions Source #

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

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

data LicenseCodesTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource.

See: licenseCodesTestIAMPermissions smart constructor.

Instances
Eq LicenseCodesTestIAMPermissions Source # 
Instance details

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

Data LicenseCodesTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: LicenseCodesTestIAMPermissions -> Constr #

dataTypeOf :: LicenseCodesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show LicenseCodesTestIAMPermissions Source # 
Instance details

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

Generic LicenseCodesTestIAMPermissions Source # 
Instance details

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

Associated Types

type Rep LicenseCodesTestIAMPermissions :: Type -> Type #

GoogleRequest LicenseCodesTestIAMPermissions Source # 
Instance details

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

type Rep LicenseCodesTestIAMPermissions Source # 
Instance details

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

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

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

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

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

Request Lenses

lctipResource :: Lens' LicenseCodesTestIAMPermissions Text Source #

Name or id of the resource for this request.