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.Clusters.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.clusters.setIamPolicy.

Synopsis

REST Resource

type ProjectsRegionsClustersSetIAMPolicyResource = "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.clusters.setIamPolicy method which the ProjectsRegionsClustersSetIAMPolicy request conforms to.

Creating a Request

data ProjectsRegionsClustersSetIAMPolicy Source #

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

See: projectsRegionsClustersSetIAMPolicy smart constructor.

Instances
Eq ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

Data ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsClustersSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsRegionsClustersSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

Generic ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsClustersSetIAMPolicy = D1 (MetaData "ProjectsRegionsClustersSetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Regions.Clusters.SetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsClustersSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prcsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prcsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prcsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prcsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_prcsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prcsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsClustersSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

prcsipUploadProtocol :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text) Source #

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

prcsipUploadType :: Lens' ProjectsRegionsClustersSetIAMPolicy (Maybe Text) Source #

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

prcsipResource :: Lens' ProjectsRegionsClustersSetIAMPolicy Text Source #

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