Method: projects.occurrences.getNotes

Gets the note attached to the specified occurrence. Consumer projects can use this method to get a note that belongs to a provider project.

HTTP request

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of Note.

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.