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.locations.workflowTemplates.getIamPolicy
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource = "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))))))))
- projectsLocationsWorkflowTemplatesGetIAMPolicy :: GetIAMPolicyRequest -> Text -> ProjectsLocationsWorkflowTemplatesGetIAMPolicy
- data ProjectsLocationsWorkflowTemplatesGetIAMPolicy
- plwtgipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv)
- plwtgipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- plwtgipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- plwtgipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- plwtgipPayload :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest
- plwtgipResource :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy Text
- plwtgipCallback :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesGetIAMPolicyResource = "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.locations.workflowTemplates.getIamPolicy
method which the
ProjectsLocationsWorkflowTemplatesGetIAMPolicy
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesGetIAMPolicy Source #
Creates a value of ProjectsLocationsWorkflowTemplatesGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesGetIAMPolicy 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: projectsLocationsWorkflowTemplatesGetIAMPolicy
smart constructor.
Instances
Request Lenses
plwtgipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
plwtgipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtgipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
OAuth access token.
plwtgipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtgipPayload :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
plwtgipResource :: Lens' ProjectsLocationsWorkflowTemplatesGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.