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.Locations.WorkflowTemplates.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.locations.workflowTemplates.testIamPermissions.

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource = "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.locations.workflowTemplates.testIamPermissions method which the ProjectsLocationsWorkflowTemplatesTestIAMPermissions request conforms to.

Creating a Request

data ProjectsLocationsWorkflowTemplatesTestIAMPermissions 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: projectsLocationsWorkflowTemplatesTestIAMPermissions smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

Data ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

Methods

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

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

toConstr :: ProjectsLocationsWorkflowTemplatesTestIAMPermissions -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesTestIAMPermissions -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

Generic ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

GoogleRequest ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

type Rep ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

type Rep ProjectsLocationsWorkflowTemplatesTestIAMPermissions = D1 (MetaData "ProjectsLocationsWorkflowTemplatesTestIAMPermissions" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions" "gogol-dataproc-0.5.0-CmwCQ3QYfGaKSLMn4uqAtt" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesTestIAMPermissions'" PrefixI True) ((S1 (MetaSel (Just "_plwttipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plwttipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwttipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwttipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwttipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 TestIAMPermissionsRequest)) :*: (S1 (MetaSel (Just "_plwttipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plwttipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

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

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.TestIAMPermissions

Request Lenses

plwttipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text) Source #

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

plwttipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text) Source #

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

plwttipResource :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions Text Source #

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