organizations
CreateOrgPolicyViolationsPreview 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.
post/v1/{+parent}/orgPolicyViolationsPreviews
Path parameters
parentstring required
Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: organizations/my-example-org/locations/global
Query parameters
orgPolicyViolationsPreviewIdstring
Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.
Request body
Response
Successful response