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 on the specified resource. Replaces any existing policy.
See: Binary Authorization API Reference for binaryauthorization.projects.attestors.setIamPolicy
.
Synopsis
- type ProjectsAttestorsSetIAMPolicyResource = "v1beta1" :> (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] IAMPolicy))))))))
- projectsAttestorsSetIAMPolicy :: SetIAMPolicyRequest -> Text -> ProjectsAttestorsSetIAMPolicy
- data ProjectsAttestorsSetIAMPolicy
- pasipXgafv :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Xgafv)
- pasipUploadProtocol :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text)
- pasipAccessToken :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text)
- pasipUploadType :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text)
- pasipPayload :: Lens' ProjectsAttestorsSetIAMPolicy SetIAMPolicyRequest
- pasipResource :: Lens' ProjectsAttestorsSetIAMPolicy Text
- pasipCallback :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text)
REST Resource
type ProjectsAttestorsSetIAMPolicyResource = "v1beta1" :> (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] IAMPolicy)))))))) Source #
A resource alias for binaryauthorization.projects.attestors.setIamPolicy
method which the
ProjectsAttestorsSetIAMPolicy
request conforms to.
Creating a Request
projectsAttestorsSetIAMPolicy Source #
Creates a value of ProjectsAttestorsSetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsAttestorsSetIAMPolicy Source #
Sets the access control policy on the specified resource. Replaces any existing policy.
See: projectsAttestorsSetIAMPolicy
smart constructor.
Instances
Request Lenses
pasipXgafv :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
pasipUploadProtocol :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pasipAccessToken :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #
OAuth access token.
pasipUploadType :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pasipPayload :: Lens' ProjectsAttestorsSetIAMPolicy SetIAMPolicyRequest Source #
Multipart request metadata.
pasipResource :: Lens' ProjectsAttestorsSetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field.
pasipCallback :: Lens' ProjectsAttestorsSetIAMPolicy (Maybe Text) Source #
JSONP