Policy Simulator API (policysimulator:v1alpha)

2024-01-25

1 new method

Additions

    Methods
  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.generate

      Description: GenerateOrgPolicyViolationsPreview 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 Method: POST

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1alpha/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews:generate

      Path: v1alpha/{+parent}/orgPolicyViolationsPreviews:generate

      Parameters:

        parent

          Location: path

          Type: string

          Pattern: ^organizations/[^/]+/locations/[^/]+$

          Required: Yes

          Description: Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: `organizations/my-example-org/locations/global`

      Parameter Order: parent