gogol-iap-0.4.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.Projects.IapTunnel.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.projects.iap_tunnel.testIamPermissions.

Synopsis

REST Resource

type ProjectsIapTunnelTestIAMPermissionsResource = "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.projects.iap_tunnel.testIamPermissions method which the ProjectsIapTunnelTestIAMPermissions request conforms to.

Creating a Request

data ProjectsIapTunnelTestIAMPermissions 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: projectsIapTunnelTestIAMPermissions smart constructor.

Instances
Eq ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

Data ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsIapTunnelTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsIapTunnelTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

Generic ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

GoogleRequest ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

type Rep ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

type Rep ProjectsIapTunnelTestIAMPermissions = D1 (MetaData "ProjectsIapTunnelTestIAMPermissions" "Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions" "gogol-iap-0.4.0-EsvJTg6W8MxApwSUQuf3pN" False) (C1 (MetaCons "ProjectsIapTunnelTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_pittipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pittipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pittipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pittipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pittipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_pittipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pittipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsIapTunnelTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

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

Defined in Network.Google.Resource.IAP.Projects.IapTunnel.TestIAMPermissions

Request Lenses

pittipUploadProtocol :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text) Source #

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

pittipUploadType :: Lens' ProjectsIapTunnelTestIAMPermissions (Maybe Text) Source #

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

pittipResource :: Lens' ProjectsIapTunnelTestIAMPermissions Text Source #

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