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.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

endTime

string (Timestamp format)

The end of the time window.

Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".