- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- IAM Permissions
- Try it!
orgPolicyViolationsPreviews.create creates 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
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The organization under which this Example: |
Query parameters
Parameters | |
---|---|
orgPolicyViolationsPreviewId |
Optional. An optional user-specified ID for the |
Request body
The request body contains an instance of OrgPolicyViolationsPreview
.
Response body
If successful, the response body contains a newly created 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.