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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-02 UTC."],[[["This page details how to retrieve the access control policy for a note or occurrence resource, which requires specific permissions (`containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy`)."],["The resource format is specified as `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences."],["The HTTP request uses gRPC Transcoding, and the request includes a required path parameter, `resource`, which specifies the target resource for the policy."],["The request body may include an optional `options` field, and the successful response body will be an instance of `Policy`."],["To make requests, the `https://www.googleapis.com/auth/cloud-platform` OAuth scope is required."]]],[]]