organizations

Lists the Violations in the AssuredWorkload Environment. Callers may also choose to read across multiple Workloads as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of workload-id in the parent. Format organizations/{org_id}/locations/{location}/workloads/-

get/v1/{+parent}/violations

Request

  • Base URL: https://assuredworkloads.googleapis.com
  • URL: https://assuredworkloads.googleapis.com/v1/{+parent}/violations
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

Path parameters

parentstring required

Required. The Workload name. Format organizations/{org_id}/locations/{location}/workloads/{workload}.

Query parameters

filterstring

Optional. A custom filter for filtering by the Violations properties.

interval.endTimestring

The end of the time window.

interval.startTimestring

The start of the time window.

orderBystring

Optional. Actionable sorting delegation.

pageSizeinteger

Optional. Page size.

pageTokenstring

Optional. Page token returned from previous request.

view'VIOLATION_VIEW_UNSPECIFIED' | 'VIOLATION_VIEW_ASSURED_WORKLOADS' | 'VIOLATION_VIEW_DATA_BOUNDARY'

Optional. Specifies the violation view(AssuredWorkloads or DataBoundary) for fetching violations.

Response

Successful response

Changes

    • breaking

      removed the media type */* for the response with the status

    • info

      added the new optional query request parameter view

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status