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 endpoint retrieves the access control policy for a note or occurrence resource, requiring specific permissions (`containeranalysis.notes.setIamPolicy` or `containeranalysis.occurrences.setIamPolicy`)."],["The resource format for requests is `projects/[PROJECT_ID]/notes/[NOTE_ID]` for notes and `projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]` for occurrences, utilizing gRPC Transcoding syntax."],["The request requires a `resource` path parameter, which is a string representing the resource for which the policy is requested and adheres to Google's resource naming conventions."],["The optional request body can include a `GetPolicyOptions` object via the `options` field."],["Successful requests return a `Policy` object, and the request requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]