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 |
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: Cloud Dataproc API Reference for dataproc.projects.regions.jobs.getIamPolicy
.
Synopsis
- type ProjectsRegionsJobsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy))))))))
- projectsRegionsJobsGetIAMPolicy :: GetIAMPolicyRequest -> Text -> ProjectsRegionsJobsGetIAMPolicy
- data ProjectsRegionsJobsGetIAMPolicy
- prjgipXgafv :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Xgafv)
- prjgipUploadProtocol :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)
- prjgipAccessToken :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)
- prjgipUploadType :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)
- prjgipPayload :: Lens' ProjectsRegionsJobsGetIAMPolicy GetIAMPolicyRequest
- prjgipResource :: Lens' ProjectsRegionsJobsGetIAMPolicy Text
- prjgipCallback :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsRegionsJobsGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #
A resource alias for dataproc.projects.regions.jobs.getIamPolicy
method which the
ProjectsRegionsJobsGetIAMPolicy
request conforms to.
Creating a Request
projectsRegionsJobsGetIAMPolicy Source #
Creates a value of ProjectsRegionsJobsGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsJobsGetIAMPolicy Source #
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: projectsRegionsJobsGetIAMPolicy
smart constructor.
Instances
Request Lenses
prjgipXgafv :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
prjgipUploadProtocol :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prjgipAccessToken :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text) Source #
OAuth access token.
prjgipUploadType :: Lens' ProjectsRegionsJobsGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prjgipPayload :: Lens' ProjectsRegionsJobsGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
prjgipResource :: Lens' ProjectsRegionsJobsGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.