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 2025-07-31 UTC."],[[["\u003cp\u003eThis page details how to retrieve the access control policy for a note or occurrence resource, which requires specific permissions (\u003ccode\u003econtaineranalysis.notes.setIamPolicy\u003c/code\u003e or \u003ccode\u003econtaineranalysis.occurrences.setIamPolicy\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eThe resource format is specified as \u003ccode\u003eprojects/[PROJECT_ID]/notes/[NOTE_ID]\u003c/code\u003e for notes and \u003ccode\u003eprojects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID]\u003c/code\u003e for occurrences.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses gRPC Transcoding, and the request includes a required path parameter, \u003ccode\u003eresource\u003c/code\u003e, which specifies the target resource for the policy.\u003c/p\u003e\n"],["\u003cp\u003eThe request body may include an optional \u003ccode\u003eoptions\u003c/code\u003e field, and the successful response body will be an instance of \u003ccode\u003ePolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eTo make requests, the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope is required.\u003c/p\u003e\n"]]],[],null,[]]