gogol-ml-0.5.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.Jobs.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.jobs.setIamPolicy.

Synopsis

REST Resource

type ProjectsJobsSetIAMPolicyResource = "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.jobs.setIamPolicy method which the ProjectsJobsSetIAMPolicy request conforms to.

Creating a Request

projectsJobsSetIAMPolicy Source #

Creates a value of ProjectsJobsSetIAMPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ProjectsJobsSetIAMPolicy Source #

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

See: projectsJobsSetIAMPolicy smart constructor.

Instances
Eq ProjectsJobsSetIAMPolicy Source # 
Instance details

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

Data ProjectsJobsSetIAMPolicy Source # 
Instance details

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

Methods

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

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

toConstr :: ProjectsJobsSetIAMPolicy -> Constr #

dataTypeOf :: ProjectsJobsSetIAMPolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Show ProjectsJobsSetIAMPolicy Source # 
Instance details

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

Generic ProjectsJobsSetIAMPolicy Source # 
Instance details

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

Associated Types

type Rep ProjectsJobsSetIAMPolicy :: Type -> Type #

GoogleRequest ProjectsJobsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsJobsSetIAMPolicy Source # 
Instance details

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

type Rep ProjectsJobsSetIAMPolicy = D1 (MetaData "ProjectsJobsSetIAMPolicy" "Network.Google.Resource.Ml.Projects.Jobs.SetIAMPolicy" "gogol-ml-0.5.0-8XR7sxzY8qO2MeVpVE9oiH" False) (C1 (MetaCons "ProjectsJobsSetIAMPolicy'" PrefixI True) ((S1 (MetaSel (Just "_pjsipXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv)) :*: (S1 (MetaSel (Just "_pjsipUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjsipAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_pjsipUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_pjsipPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 GoogleIAMV1__SetIAMPolicyRequest)) :*: (S1 (MetaSel (Just "_pjsipResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_pjsipCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsJobsSetIAMPolicy Source # 
Instance details

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

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

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

Request Lenses

pjsipUploadProtocol :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #

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

pjsipUploadType :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #

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

pjsipResource :: Lens' ProjectsJobsSetIAMPolicy Text Source #

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