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 Dataproc API Reference for dataproc.projects.regions.jobs.setIamPolicy
.
Synopsis
- type ProjectsRegionsJobsSetIAMPolicyResource = "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))))))))
- projectsRegionsJobsSetIAMPolicy :: SetIAMPolicyRequest -> Text -> ProjectsRegionsJobsSetIAMPolicy
- data ProjectsRegionsJobsSetIAMPolicy
- prjsipXgafv :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Xgafv)
- prjsipUploadProtocol :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)
- prjsipAccessToken :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)
- prjsipUploadType :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)
- prjsipPayload :: Lens' ProjectsRegionsJobsSetIAMPolicy SetIAMPolicyRequest
- prjsipResource :: Lens' ProjectsRegionsJobsSetIAMPolicy Text
- prjsipCallback :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text)
REST Resource
type ProjectsRegionsJobsSetIAMPolicyResource = "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.jobs.setIamPolicy
method which the
ProjectsRegionsJobsSetIAMPolicy
request conforms to.
Creating a Request
projectsRegionsJobsSetIAMPolicy Source #
Creates a value of ProjectsRegionsJobsSetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsJobsSetIAMPolicy Source #
Sets the access control policy on the specified resource. Replaces any existing policy.
See: projectsRegionsJobsSetIAMPolicy
smart constructor.
Instances
Request Lenses
prjsipXgafv :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
prjsipUploadProtocol :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prjsipAccessToken :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text) Source #
OAuth access token.
prjsipUploadType :: Lens' ProjectsRegionsJobsSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prjsipPayload :: Lens' ProjectsRegionsJobsSetIAMPolicy SetIAMPolicyRequest Source #
Multipart request metadata.
prjsipResource :: Lens' ProjectsRegionsJobsSetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.