2024-06-27
▼ ▲ policysimulator.organizations.locations.orgPolicyViolationsPreviews.orgPolicyViolations.list
Path: v1/{+parent}/orgPolicyViolations
HTTP Method: GET
Flat Path: v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}/orgPolicyViolations
Description: ListOrgPolicyViolations lists the OrgPolicyViolations that are present in an OrgPolicyViolationsPreview.
Parameter Order: parent
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
pageToken
Type: string
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.
Location: query
pageSize
Type: integer
Location: query
Format: int32
Description: Optional. The maximum number of items to return. The service may return fewer than this value. If unspecified, at most 50 items will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
parent
Required: Yes
Description: Required. The OrgPolicyViolationsPreview to get OrgPolicyViolations from. Format: organizations/{organization}/locations/{location}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreview}
Location: path
Type: string
Pattern: ^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$
▼ ▲ policysimulator.organizations.locations.orgPolicyViolationsPreviews.list
HTTP Method: GET
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameter Order: parent
Path: v1/{+parent}/orgPolicyViolationsPreviews
Flat Path: v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews
Description: ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.
Parameters:
pageSize
Type: integer
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
Location: query
pageToken
Type: string
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.
parent
Type: string
Pattern: ^organizations/[^/]+/locations/[^/]+$
Location: path
Required: Yes
Description: Required. The parent the violations are scoped to. Format: `organizations/{organization}/locations/{location}` Example: `organizations/my-example-org/locations/global`
▼ ▲ policysimulator.organizations.locations.orgPolicyViolationsPreviews.create
HTTP Method: POST
Scopes: https://www.googleapis.com/auth/cloud-platform
Parameters:
orgPolicyViolationsPreviewId
Location: query
Type: string
Description: Optional. An optional user-specified ID for the OrgPolicyViolationsPreview. If not provided, a random ID will be generated.
parent
Location: path
Description: Required. The organization under which this OrgPolicyViolationsPreview will be created. Example: `organizations/my-example-org/locations/global`
Type: string
Pattern: ^organizations/[^/]+/locations/[^/]+$
Required: Yes
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
Description: GetOrgPolicyViolationsPreview gets the specified OrgPolicyViolationsPreview. Each OrgPolicyViolationsPreview is available for at least 7 days.
Parameter Order: name
Path: v1/{+name}
Scopes: https://www.googleapis.com/auth/cloud-platform
Flat Path: v1/organizations/{organizationsId}/locations/{locationsId}/orgPolicyViolationsPreviews/{orgPolicyViolationsPreviewsId}
Parameters:
name
Pattern: ^organizations/[^/]+/locations/[^/]+/orgPolicyViolationsPreviews/[^/]+$
Location: path
Type: string
Description: Required. The name of the OrgPolicyViolationsPreview to get.
Required: Yes