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.WorkflowTemplates.GetIAMPolicy

Contents

Description

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.getIamPolicy.

Synopsis

REST Resource

type ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #

A resource alias for dataproc.projects.regions.workflowTemplates.getIamPolicy method which the ProjectsRegionsWorkflowTemplatesGetIAMPolicy request conforms to.

Creating a Request

data ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source #

Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

See: projectsRegionsWorkflowTemplatesGetIAMPolicy smart constructor.

Instances
Eq ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

Data ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

Methods

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

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

toConstr :: ProjectsRegionsWorkflowTemplatesGetIAMPolicy -> Constr #

dataTypeOf :: ProjectsRegionsWorkflowTemplatesGetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

Generic ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

GoogleRequest ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

type Rep ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

type Rep ProjectsRegionsWorkflowTemplatesGetIAMPolicy = D1 (MetaData "ProjectsRegionsWorkflowTemplatesGetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsWorkflowTemplatesGetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prwtgipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prwtgipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtgipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prwtgipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtgipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_prwtgipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prwtgipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

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

Defined in Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.GetIAMPolicy

Request Lenses

prwtgipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #

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

prwtgipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #

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

prwtgipResource :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy Text Source #

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