Method: projects.notes.occurrences.list

Lists occurrences referencing the specified note. Provider projects can use this method to get all occurrences across consumer projects referencing the specified note.

HTTP request

GET https://containeranalysis.googleapis.com/v1beta1/{name=projects/*/notes/*}/occurrences

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the note to list occurrences for in the form of projects/[PROVIDER_ID]/notes/[NOTE_ID].

Query parameters

Parameters
filter

string

The filter expression.

pageSize

integer

Number of occurrences to return in the list.

pageToken

string

Token to provide to skip to a particular spot in the list.

Request body

The request body must be empty.

Response body

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

Response for listing occurrences for a note.

JSON representation
{
  "occurrences": [
    {
      object (Occurrence)
    }
  ],
  "nextPageToken": string
}
Fields
occurrences[]

object (Occurrence)

The occurrences attached to the specified note.

nextPageToken

string

Token to provide to skip to a particular spot in the list.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.