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 Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
See: Cloud Identity-Aware Proxy API Reference for iap.projects.iap_web.services.versions.testIamPermissions
.
Synopsis
- type ProjectsIapWebServicesVersionsTestIAMPermissionsResource = "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))))))))
- projectsIapWebServicesVersionsTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> ProjectsIapWebServicesVersionsTestIAMPermissions
- data ProjectsIapWebServicesVersionsTestIAMPermissions
- piwsvtipXgafv :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Xgafv)
- piwsvtipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
- piwsvtipAccessToken :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
- piwsvtipUploadType :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
- piwsvtipPayload :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions TestIAMPermissionsRequest
- piwsvtipResource :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions Text
- piwsvtipCallback :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text)
REST Resource
type ProjectsIapWebServicesVersionsTestIAMPermissionsResource = "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 iap.projects.iap_web.services.versions.testIamPermissions
method which the
ProjectsIapWebServicesVersionsTestIAMPermissions
request conforms to.
Creating a Request
projectsIapWebServicesVersionsTestIAMPermissions Source #
Creates a value of ProjectsIapWebServicesVersionsTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIapWebServicesVersionsTestIAMPermissions Source #
Returns permissions that a caller has on the Identity-Aware Proxy protected resource. More information about managing access via IAP can be found at: https://cloud.google.com/iap/docs/managing-access#managing_access_via_the_api
See: projectsIapWebServicesVersionsTestIAMPermissions
smart constructor.
Instances
Request Lenses
piwsvtipXgafv :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
piwsvtipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piwsvtipAccessToken :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text) Source #
OAuth access token.
piwsvtipUploadType :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piwsvtipPayload :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
piwsvtipResource :: Lens' ProjectsIapWebServicesVersionsTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.