Policy Simulator API (policysimulator:v1beta)

2024-02-22

1 new method | 1 removed method

Additions

    Methods
  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.create

      Parameters:

        parent

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

          Location: path

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

          Required: Yes

          Type: string

        orgPolicyViolationsPreviewId

          Type: string

          Location: query

          Description: Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.

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

      Flat Path: v1beta/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews

      Path: v1beta/{+parent}/orgPolicyViolationsPreviews

      Description: 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.

      HTTP Method: POST

      Parameter Order: parent

Deletions

    Methods
  • policysimulator.organizations.locations.orgPolicyViolationsPreviews

      Flat Path: v1beta/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews

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

      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.

      Parameter Order: parent

      Parameters:

        parent

          Location: path

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

          Type: string

          Required: Yes

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

      HTTP Method: POST

      Path: v1beta/{+parent}/orgPolicyViolationsPreviews