2025-10-10
▼ ▲ monitoring.projects.alerts.list
Path : v3/{+parent}/alerts
Flat Path : v3/projects/{projectsId}/alerts
HTTP Method : GET
Parameters :
parent
Description : Required. The name of the project to list alerts for.
Pattern : ^projects/[^/]+$
Location : path
Required : Yes
Type : string
filter
Description : Optional. An alert is returned if there is a match on any fields belonging to the alert or its subfields.
Location : query
Type : string
orderBy
Description : 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.
Location : query
Type : string
pageSize
Description : 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.
Location : query
Type : integer
Format : int32
pageToken
Description : 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.
Location : query
Type : string
Parameter Order : parent
Scopes :
Description : Lists the existing alerts for the metrics scope of the project.
▼ ▲ monitoring.projects.alerts.get
Path : v3/{+name}
Flat Path : v3/projects/{projectsId}/alerts/{alertsId}
HTTP Method : GET
Parameters :
name
Description : Required. The name of the alert.The format is: projects/[PROJECT_ID_OR_NUMBER]/alerts/[ALERT_ID] The [ALERT_ID] is a system-assigned unique identifier for the alert.
Pattern : ^projects/[^/]+/alerts/[^/]+$
Location : path
Required : Yes
Type : string
Parameter Order : name
Scopes :
Description : Gets a single alert.