- HTTP request
- Path parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
orgPolicyViolationsPreviews.generate generates an OrgPolicyViolationsPreview
for the proposed changes in the provided [OrgPolicyViolationsPreview.OrgPolicyOverlay][]. The changes to OrgPolicy are specified by this OrgPolicyOverlay
. The resources to scan are inferred from these specified changes.
HTTP request
POST https://policysimulator.googleapis.com/v1beta/{parent=organizations/*/locations/*}/orgPolicyViolationsPreviews:generate
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The organization under which this Example: |
Request body
The request body contains an instance of OrgPolicyViolationsPreview
.
Response body
If successful, the response body contains an instance of Operation
.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.
IAM Permissions
Requires the following IAM permission on the parent
resource:
policysimulator.orgPolicyViolationsPreviews.create
For more information, see the IAM documentation.