gogol-ml-0.4.0: Google Cloud Machine Learning Engine 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.Ml.Projects.Models.SetIAMPolicy

Contents

Description

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

See: Cloud Machine Learning Engine Reference for ml.projects.models.setIamPolicy.

Synopsis

REST Resource

type ProjectsModelsSetIAMPolicyResource = "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] GoogleIAMV1__SetIAMPolicyRequest :> Post '[JSON] GoogleIAMV1__Policy)))))))) Source #

A resource alias for ml.projects.models.setIamPolicy method which the ProjectsModelsSetIAMPolicy request conforms to.

Creating a Request

data ProjectsModelsSetIAMPolicy Source #

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

See: projectsModelsSetIAMPolicy smart constructor.

Instances
Eq ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

Data ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

Methods

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

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

toConstr :: ProjectsModelsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsModelsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

Generic ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

Associated Types

type Rep ProjectsModelsSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

type Rep ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

type Rep ProjectsModelsSetIAMPolicy = D1 (MetaData "ProjectsModelsSetIAMPolicy" "Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy" "gogol-ml-0.4.0-E5tHTl2V6ffJIUGt4f8uUo" False) (C1 (MetaCons "ProjectsModelsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pmsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pmsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pmsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pmsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleIAMV1__SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pmsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pmsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsModelsSetIAMPolicy Source # 
Instance details

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

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

Defined in Network.Google.Resource.Ml.Projects.Models.SetIAMPolicy

Request Lenses

pmsipUploadProtocol :: Lens' ProjectsModelsSetIAMPolicy (Maybe Text) Source #

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

pmsipUploadType :: Lens' ProjectsModelsSetIAMPolicy (Maybe Text) Source #

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

pmsipResource :: Lens' ProjectsModelsSetIAMPolicy Text Source #

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