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.SetIAMPolicy

Contents

Description

Sets the access control policy on the specified resource. Replaces any existing policy.

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

Synopsis

REST Resource

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

A resource alias for dataproc.projects.regions.workflowTemplates.setIamPolicy method which the ProjectsRegionsWorkflowTemplatesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source #

Sets the access control policy on the specified resource. Replaces any existing policy.

See: projectsRegionsWorkflowTemplatesSetIAMPolicy smart constructor.

Instances
Eq ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Data ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsWorkflowTemplatesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsRegionsWorkflowTemplatesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsWorkflowTemplatesSetIAMPolicy = D1 (MetaData "ProjectsRegionsWorkflowTemplatesSetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Regions.WorkflowTemplates.SetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsWorkflowTemplatesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prwtsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prwtsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prwtsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prwtsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_prwtsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prwtsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

prwtsipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text) Source #

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

prwtsipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy (Maybe Text) Source #

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

prwtsipResource :: Lens' ProjectsRegionsWorkflowTemplatesSetIAMPolicy Text Source #

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