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.Operations.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.operations.testIamPermissions.

Synopsis

REST Resource

type ProjectsRegionsOperationsTestIAMPermissionsResource = "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.operations.testIamPermissions method which the ProjectsRegionsOperationsTestIAMPermissions request conforms to.

Creating a Request

data ProjectsRegionsOperationsTestIAMPermissions 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: projectsRegionsOperationsTestIAMPermissions smart constructor.

Instances
Eq ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

Data ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsOperationsTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsRegionsOperationsTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

Generic ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

GoogleRequest ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

type Rep ProjectsRegionsOperationsTestIAMPermissions = D1 (MetaData "ProjectsRegionsOperationsTestIAMPermissions" "Network.Google.Resource.Dataproc.Projects.Regions.Operations.TestIAMPermissions" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsOperationsTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_protipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_protipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_protipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_protipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_protipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_protipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_protipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsOperationsTestIAMPermissions Source # 
Instance details

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

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

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

Request Lenses

protipUploadProtocol :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text) Source #

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

protipUploadType :: Lens' ProjectsRegionsOperationsTestIAMPermissions (Maybe Text) Source #

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

protipResource :: Lens' ProjectsRegionsOperationsTestIAMPermissions Text Source #

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