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.clusters.getIamPolicy
.
Synopsis
- type ProjectsRegionsClustersGetIAMPolicyResource = "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))))))))
- projectsRegionsClustersGetIAMPolicy :: GetIAMPolicyRequest -> Text -> ProjectsRegionsClustersGetIAMPolicy
- data ProjectsRegionsClustersGetIAMPolicy
- prcgipXgafv :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Xgafv)
- prcgipUploadProtocol :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)
- prcgipAccessToken :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)
- prcgipUploadType :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)
- prcgipPayload :: Lens' ProjectsRegionsClustersGetIAMPolicy GetIAMPolicyRequest
- prcgipResource :: Lens' ProjectsRegionsClustersGetIAMPolicy Text
- prcgipCallback :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsRegionsClustersGetIAMPolicyResource = "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.clusters.getIamPolicy
method which the
ProjectsRegionsClustersGetIAMPolicy
request conforms to.
Creating a Request
projectsRegionsClustersGetIAMPolicy Source #
Creates a value of ProjectsRegionsClustersGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsClustersGetIAMPolicy 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: projectsRegionsClustersGetIAMPolicy
smart constructor.
Instances
Request Lenses
prcgipXgafv :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
prcgipUploadProtocol :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prcgipAccessToken :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text) Source #
OAuth access token.
prcgipUploadType :: Lens' ProjectsRegionsClustersGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prcgipPayload :: Lens' ProjectsRegionsClustersGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
prcgipResource :: Lens' ProjectsRegionsClustersGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.