Method: projects.alerts.list

Get a list of alerts that meet the filter criteria.

HTTP request


GET https://threatintelligence.googleapis.com/v1beta/{parent=projects/*}/alerts

The URLs use gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. Parent of the alerts. Format: projects/{project}

Query parameters

Parameters
filter

string

Optional. Filter criteria.

orderBy

string

Optional. Order by criteria in the csv format: "field1,field2 desc" or "field1,field2" or "field1 asc, field2".

pageToken

string

Optional. Page token.

pageSize

integer

Optional. Page size.

Request body

The request body must be empty.

Response body

Response message for alerts.list.

If successful, the response body contains data with the following structure:

JSON representation
{
  "alerts": [
    {
      object (Alert)
    }
  ],
  "nextPageToken": string
}
Fields
alerts[]

object (Alert)

List of alerts.

nextPageToken

string

Page token.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.