v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1333131212.7 KB
projects

Lists the existing alerts for the metrics scope of the project.

get/v3/{+parent}/alerts

Path parameters

parentstring required

Required. The name of the project to list alerts for.

Query parameters

filterstring

Optional. An alert is returned if there is a match on any fields belonging to the alert or its subfields.

orderBystring

Optional. A comma-separated list of fields in Alert to use for sorting. The default sort direction is ascending. To specify descending order for a field, add a desc modifier. The following fields are supported: open_time close_timeFor example, close_time desc, open_time will return the alerts closed most recently, with ties broken in the order of older alerts listed first.If the field is not set, the results are sorted by open_time desc.

pageSizeinteger

Optional. The maximum number of results to return in a single response. If not set to a positive number, at most 50 alerts will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.

pageTokenstring

Optional. If non-empty, page_token must contain a value returned as the next_page_token in a previous response to request the next set of results.

Response

Successful response