ListViolationsRequest

Request for fetching violations in an organization.

JSON representation
{
  "parent": string,
  "interval": {
    object (TimeWindow)
  },
  "pageSize": integer,
  "pageToken": string,
  "filter": string
}
Fields
parent

string

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

interval

object (TimeWindow)

Optional. Specifies the time window for retrieving active Violations. When specified, retrieves Violations that were active between startTime and endTime.

pageSize

integer

Optional. Page size.

pageToken

string

Optional. Page token returned from previous request.

filter

string

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

TimeWindow

Interval defining a time window.

JSON representation
{
  "startTime": string,
  "endTime": string
}
Fields
startTime

string (Timestamp format)

The start of the time window.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

endTime

string (Timestamp format)

The end of the time window.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".