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 |
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
See: Cloud Dataproc API Reference for dataproc.projects.locations.workflowTemplates.testIamPermissions
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse))))))))
- projectsLocationsWorkflowTemplatesTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> ProjectsLocationsWorkflowTemplatesTestIAMPermissions
- data ProjectsLocationsWorkflowTemplatesTestIAMPermissions
- plwttipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Xgafv)
- plwttipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)
- plwttipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)
- plwttipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)
- plwttipPayload :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions TestIAMPermissionsRequest
- plwttipResource :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions Text
- plwttipCallback :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #
A resource alias for dataproc.projects.locations.workflowTemplates.testIamPermissions
method which the
ProjectsLocationsWorkflowTemplatesTestIAMPermissions
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesTestIAMPermissions Source #
Creates a value of ProjectsLocationsWorkflowTemplatesTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesTestIAMPermissions Source #
Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a NOT_FOUND error.Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.
See: projectsLocationsWorkflowTemplatesTestIAMPermissions
smart constructor.
Instances
Request Lenses
plwttipXgafv :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
plwttipUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwttipAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text) Source #
OAuth access token.
plwttipUploadType :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwttipPayload :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
plwttipResource :: Lens' ProjectsLocationsWorkflowTemplatesTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.