organizations
ListOrgPolicyViolationsPreviews lists each OrgPolicyViolationsPreview in an organization. Each OrgPolicyViolationsPreview is available for at least 7 days.
get/v1/{+parent}/orgPolicyViolationsPreviews
Path parameters
parentstring required
Required. The parent the violations are scoped to. Format: organizations/{organization}/locations/{location} Example: organizations/my-example-org/locations/global
Query parameters
pageSizeinteger
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.
pageTokenstring
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.
Response
Successful response