Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
- 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))))))))
- projectsJobsSetIAMPolicy :: GoogleIAMV1__SetIAMPolicyRequest -> Text -> ProjectsJobsSetIAMPolicy
- data ProjectsJobsSetIAMPolicy
- pjsipXgafv :: Lens' ProjectsJobsSetIAMPolicy (Maybe Xgafv)
- pjsipUploadProtocol :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text)
- pjsipAccessToken :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text)
- pjsipUploadType :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text)
- pjsipPayload :: Lens' ProjectsJobsSetIAMPolicy GoogleIAMV1__SetIAMPolicyRequest
- pjsipResource :: Lens' ProjectsJobsSetIAMPolicy Text
- pjsipCallback :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text)
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
Request Lenses
pjsipXgafv :: Lens' ProjectsJobsSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pjsipUploadProtocol :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pjsipAccessToken :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #
OAuth access token.
pjsipUploadType :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pjsipPayload :: Lens' ProjectsJobsSetIAMPolicy GoogleIAMV1__SetIAMPolicyRequest Source #
Multipart request metadata.
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.
pjsipCallback :: Lens' ProjectsJobsSetIAMPolicy (Maybe Text) Source #
JSONP