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 |
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. 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.setIamPolicy
.
Synopsis
- type ProjectsIapWebServicesVersionsSetIAMPolicyResource = "v1" :> (CaptureMode "resource" "setIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy))))))))
- projectsIapWebServicesVersionsSetIAMPolicy :: SetIAMPolicyRequest -> Text -> ProjectsIapWebServicesVersionsSetIAMPolicy
- data ProjectsIapWebServicesVersionsSetIAMPolicy
- piwsvsipXgafv :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Xgafv)
- piwsvsipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
- piwsvsipAccessToken :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
- piwsvsipUploadType :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
- piwsvsipPayload :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy SetIAMPolicyRequest
- piwsvsipResource :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy Text
- piwsvsipCallback :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text)
REST Resource
type ProjectsIapWebServicesVersionsSetIAMPolicyResource = "v1" :> (CaptureMode "resource" "setIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #
A resource alias for iap.projects.iap_web.services.versions.setIamPolicy
method which the
ProjectsIapWebServicesVersionsSetIAMPolicy
request conforms to.
Creating a Request
projectsIapWebServicesVersionsSetIAMPolicy Source #
Creates a value of ProjectsIapWebServicesVersionsSetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIapWebServicesVersionsSetIAMPolicy Source #
Sets the access control policy for an Identity-Aware Proxy protected resource. Replaces any existing policy. 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: projectsIapWebServicesVersionsSetIAMPolicy
smart constructor.
Instances
Request Lenses
piwsvsipXgafv :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
piwsvsipUploadProtocol :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piwsvsipAccessToken :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text) Source #
OAuth access token.
piwsvsipUploadType :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piwsvsipPayload :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy SetIAMPolicyRequest Source #
Multipart request metadata.
piwsvsipResource :: Lens' ProjectsIapWebServicesVersionsSetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.