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.Operations.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.operations.setIamPolicy.

Synopsis

REST Resource

type ProjectsRegionsOperationsSetIAMPolicyResource = "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.operations.setIamPolicy method which the ProjectsRegionsOperationsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsRegionsOperationsSetIAMPolicy Source #

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

See: projectsRegionsOperationsSetIAMPolicy smart constructor.

Instances
Eq ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

Data ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsRegionsOperationsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsRegionsOperationsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

Generic ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

GoogleRequest ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsRegionsOperationsSetIAMPolicy = D1 (MetaData "ProjectsRegionsOperationsSetIAMPolicy" "Network.Google.Resource.Dataproc.Projects.Regions.Operations.SetIAMPolicy" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsRegionsOperationsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_prosipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_prosipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prosipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_prosipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_prosipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_prosipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_prosipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsRegionsOperationsSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

prosipUploadProtocol :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text) Source #

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

prosipUploadType :: Lens' ProjectsRegionsOperationsSetIAMPolicy (Maybe Text) Source #

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

prosipResource :: Lens' ProjectsRegionsOperationsSetIAMPolicy Text Source #

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