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

Synopsis

REST Resource

type ProjectsLocationsWorkflowTemplatesSetIAMPolicyResource = "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.locations.workflowTemplates.setIamPolicy method which the ProjectsLocationsWorkflowTemplatesSetIAMPolicy request conforms to.

Creating a Request

data ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source #

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

See: projectsLocationsWorkflowTemplatesSetIAMPolicy smart constructor.

Instances
Eq ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Data ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsLocationsWorkflowTemplatesSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

Generic ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsLocationsWorkflowTemplatesSetIAMPolicy = D1 (MetaData "ProjectsLocationsWorkflowTemplatesSetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.SetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_plwtsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_plwtsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_plwtsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plwtsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

plwtsipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text) Source #

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

plwtsipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy (Maybe Text) Source #

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

plwtsipResource :: Lens' ProjectsLocationsWorkflowTemplatesSetIAMPolicy Text Source #

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