- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
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 |
Required. The name of the note to list occurrences for in the form of |
Query parameters
Parameters | |
---|---|
filter |
The filter expression. |
pageSize |
Number of occurrences to return in the list. |
pageToken |
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 ( |
Fields | |
---|---|
occurrences[] |
The occurrences attached to the specified note. |
nextPageToken |
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.