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 endpoint retrieves the access control policy for a note or occurrence resource, requiring 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 for requests is \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, utilizing gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eresource\u003c/code\u003e path parameter, which is a string representing the resource for which the policy is requested and adheres to Google's resource naming conventions.\u003c/p\u003e\n"],["\u003cp\u003eThe optional request body can include a \u003ccode\u003eGetPolicyOptions\u003c/code\u003e object via the \u003ccode\u003eoptions\u003c/code\u003e field.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a \u003ccode\u003ePolicy\u003c/code\u003e object, and the request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]