Method: projects.notes.getIamPolicy

Gets the access control policy for a note or an occurrence resource. Requires containeranalysis.notes.setIamPolicy or containeranalysis.occurrences.setIamPolicy permission if the resource is a note or occurrence, respectively.

The resource takes the format projects/[PROJECT_ID]/notes/[NOTE_ID] for notes and projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID] for occurrences.

HTTP request


The URL uses Google API HTTP annotation syntax.

Path parameters



REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.

Request body

The request body must be empty.

Response body

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

Authorization Scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.

Was this page helpful? Let us know how we did:

Send feedback about...

Container Registry