gogol-dataproc-0.4.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.Clusters.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.clusters.testIamPermissions.

Synopsis

REST Resource

type ProjectsRegionsClustersTestIAMPermissionsResource = "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.clusters.testIamPermissions method which the ProjectsRegionsClustersTestIAMPermissions request conforms to.

Creating a Request

data ProjectsRegionsClustersTestIAMPermissions 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: projectsRegionsClustersTestIAMPermissions smart constructor.

Instances
Eq ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

Data ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsClustersTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsRegionsClustersTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

Generic ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

GoogleRequest ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsRegionsClustersTestIAMPermissions = D1 (MetaData "ProjectsRegionsClustersTestIAMPermissions" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.TestIAMPermissions" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_prctipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prctipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prctipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prctipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prctipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_prctipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prctipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsClustersTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

prctipUploadProtocol :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text) Source #

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

prctipUploadType :: Lens' ProjectsRegionsClustersTestIAMPermissions (Maybe Text) Source #

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

prctipResource :: Lens' ProjectsRegionsClustersTestIAMPermissions Text Source #

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