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 an 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_tunnel.zones.getIamPolicy
.
Synopsis
- type ProjectsIapTunnelZonesGetIAMPolicyResource = "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))))))))
- projectsIapTunnelZonesGetIAMPolicy :: GetIAMPolicyRequest -> Text -> ProjectsIapTunnelZonesGetIAMPolicy
- data ProjectsIapTunnelZonesGetIAMPolicy
- pitzgipXgafv :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Xgafv)
- pitzgipUploadProtocol :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
- pitzgipAccessToken :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
- pitzgipUploadType :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
- pitzgipPayload :: Lens' ProjectsIapTunnelZonesGetIAMPolicy GetIAMPolicyRequest
- pitzgipResource :: Lens' ProjectsIapTunnelZonesGetIAMPolicy Text
- pitzgipCallback :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsIapTunnelZonesGetIAMPolicyResource = "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 iap.projects.iap_tunnel.zones.getIamPolicy
method which the
ProjectsIapTunnelZonesGetIAMPolicy
request conforms to.
Creating a Request
projectsIapTunnelZonesGetIAMPolicy Source #
Creates a value of ProjectsIapTunnelZonesGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIapTunnelZonesGetIAMPolicy Source #
Gets the access control policy for an 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: projectsIapTunnelZonesGetIAMPolicy
smart constructor.
Instances
Request Lenses
pitzgipXgafv :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pitzgipUploadProtocol :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pitzgipAccessToken :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text) Source #
OAuth access token.
pitzgipUploadType :: Lens' ProjectsIapTunnelZonesGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pitzgipPayload :: Lens' ProjectsIapTunnelZonesGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
pitzgipResource :: Lens' ProjectsIapTunnelZonesGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.