gogol-dataproc-0.5.0: Google Cloud Dataproc 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.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

Contents

Description

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: Cloud Dataproc API Reference for dataproc.projects.regions.jobs.testIamPermissions.

Synopsis

REST Resource

type ProjectsRegionsJobsTestIAMPermissionsResource = "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 dataproc.projects.regions.jobs.testIamPermissions method which the ProjectsRegionsJobsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsRegionsJobsTestIAMPermissions Source #

Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

See: projectsRegionsJobsTestIAMPermissions smart constructor.

Instances
Eq ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

Data ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsRegionsJobsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsRegionsJobsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

Generic ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

GoogleRequest ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

type Rep ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

type Rep ProjectsRegionsJobsTestIAMPermissions = D1 (MetaData "ProjectsRegionsJobsTestIAMPermissions" "Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions" "gogol-dataproc-0.5.0-CmwCQ3QYfGaKSLMn4uqAtt" False) (C1 (MetaCons "ProjectsRegionsJobsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_prjtipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prjtipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjtipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prjtipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prjtipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_prjtipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prjtipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsJobsTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.Jobs.TestIAMPermissions

Request Lenses

prjtipUploadProtocol :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text) Source #

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

prjtipUploadType :: Lens' ProjectsRegionsJobsTestIAMPermissions (Maybe Text) Source #

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

prjtipResource :: Lens' ProjectsRegionsJobsTestIAMPermissions Text Source #

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