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.setIamPolicy
.
Synopsis
- type ProjectsIapWebSetIAMPolicyResource = "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))))))))
- projectsIapWebSetIAMPolicy :: SetIAMPolicyRequest -> Text -> ProjectsIapWebSetIAMPolicy
- data ProjectsIapWebSetIAMPolicy
- piwsipXgafv :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Xgafv)
- piwsipUploadProtocol :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
- piwsipAccessToken :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
- piwsipUploadType :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
- piwsipPayload :: Lens' ProjectsIapWebSetIAMPolicy SetIAMPolicyRequest
- piwsipResource :: Lens' ProjectsIapWebSetIAMPolicy Text
- piwsipCallback :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text)
REST Resource
type ProjectsIapWebSetIAMPolicyResource = "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.setIamPolicy
method which the
ProjectsIapWebSetIAMPolicy
request conforms to.
Creating a Request
projectsIapWebSetIAMPolicy Source #
Creates a value of ProjectsIapWebSetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsIapWebSetIAMPolicy 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: projectsIapWebSetIAMPolicy
smart constructor.
Instances
Request Lenses
piwsipXgafv :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
piwsipUploadProtocol :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
piwsipAccessToken :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #
OAuth access token.
piwsipUploadType :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
piwsipPayload :: Lens' ProjectsIapWebSetIAMPolicy SetIAMPolicyRequest Source #
Multipart request metadata.
piwsipResource :: Lens' ProjectsIapWebSetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
piwsipCallback :: Lens' ProjectsIapWebSetIAMPolicy (Maybe Text) Source #
JSONP