Policy Simulator API (policysimulator:v1)

2025-06-05

4 new methods

Additions

    Methods
  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list

      Flat Path : v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/orgPolicyViolations

      Parameters :

        parent

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

          Description : Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. Format: organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}

          Required : Yes

          Location : path

          Type : string

        pageSize

          Format : int32

          Location : query

          Description : Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 1000 items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

          Type : integer

        pageToken

          Location : query

          Description : Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.

          Type : string

      Path : v1/{+parent}/orgPolicyViolations

      Description : ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview.

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

      Parameter Order : parent

      HTTP Method : GET

  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.list

      Description : ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.

      Parameter Order : parent

      Path : v1/{+parent}/orgPolicyViolationsPreviews

      HTTP Method : GET

      Parameters :

        pageToken

          Location : query

          Description : Optional. A page token, received from a previous call. Provide this to retrieve the subsequent page. When paginating, all other parameters must match the call that provided the page token.

          Type : string

        parent

          Type : string

          Required : Yes

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

          Location : path

          Description : Required. The parent the violations are scoped to. Format: `organizations/{organization}/locations/{location}` Example: `organizations/my-example-org/locations/global`

        pageSize

          Location : query

          Description : Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 5 items will be returned. The maximum value is 10; values above 10 will be coerced to 10.

          Format : int32

          Type : integer

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

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

  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.create

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

      HTTP Method : POST

      Parameters :

        parent

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

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

          Type : string

          Required : Yes

          Location : path

        orgPolicyViolationsPreviewId

          Location : query

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

          Type : string

      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.

      Parameter Order : parent

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

      Path : v1/{+parent}/orgPolicyViolationsPreviews

  • policysimulator.organizations.locations.orgPolicyViolationsPreviews.get

      HTTP Method : GET

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

      Description : GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. Each OrgPolicyViolationsPreview is available for at least 7 days.

      Parameters :

        name

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

          Required : Yes

          Type : string

          Description : Required. The name of the OrgPolicyViolationsPreview to get.

          Location : path

      Flat Path : v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}

      Parameter Order : name

      Path : v1/{+name}