gogol-iap-0.5.0: Google Cloud Identity-Aware Proxy 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.IAP.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api

See: Cloud Identity-Aware Proxy API Reference for iap.testIamPermissions.

Synopsis

REST Resource

type TestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #

A resource alias for iap.testIamPermissions method which the TestIAMPermissions request conforms to.

Creating a Request

testIAMPermissions Source #

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

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

data TestIAMPermissions Source #

Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api

See: testIAMPermissions smart constructor.

Instances
Eq TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Data TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Methods

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

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

toConstr :: TestIAMPermissions -> Constr #

dataTypeOf :: TestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Generic TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Associated Types

type Rep TestIAMPermissions :: Type -> Type #

GoogleRequest TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Associated Types

type Rs TestIAMPermissions :: Type #

type Scopes TestIAMPermissions :: [Symbol] #

type Rep TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

type Rep TestIAMPermissions = D1 (MetaData "TestIAMPermissions" "Network.Google.Resource.IAP.TestIAMPermissions" "gogol-iap-0.5.0-Gm42rkNPbdcHvjBH7HiOMW" False) (C1 (MetaCons "TestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_tipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_tipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_tipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_tipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_tipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_tipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes TestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.TestIAMPermissions

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

Defined in Network.Google.Resource.IAP.TestIAMPermissions

Request Lenses

tipUploadProtocol :: Lens' TestIAMPermissions (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

tipUploadType :: Lens' TestIAMPermissions (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

tipResource :: Lens' TestIAMPermissions Text Source #

REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.