Lists the alerts.
HTTP request
GET https://alertcenter.googleapis.com/v1beta1/alerts
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
customerId |
Optional. The unique identifier of the Google Workspace account of the customer the alerts are associated with. The |
pageSize |
Optional. The requested page size. Server may return fewer items than requested. If unspecified, server picks an appropriate default. |
pageToken |
Optional. A token identifying a page of results the server should return. If empty, a new iteration is started. To continue an iteration, pass in the value from the previous ListAlertsResponse's |
filter |
Optional. A query string for filtering alert results. For more details, see Query filters and Supported query filter fields. |
orderBy |
Optional. The sort order of the list results. If not specified results may be returned in arbitrary order. You can sort the results in descending order based on the creation timestamp using |
Request body
The request body must be empty.
Response body
Response message for an alert listing request.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"alerts": [
{
object ( |
Fields | |
---|---|
alerts[] |
The list of alerts. |
nextPageToken |
The token for the next page. If not empty, indicates that there may be more alerts that match the listing request; this value can be used in a subsequent |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/apps.alerts
For more information, see the Authorization guide.