Gets the access control policy for a contentitem resource. A NOT_FOUND error is returned if the resource does not exist. An empty policy is returned if the resource exists but does not have a policy set on it.
Caller must have Google IAM dataplex.content.getIamPolicy permission on the resource.
HTTP request
GET https://dataplex.googleapis.com/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:getIamPolicy
[[["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-21 UTC."],[[["\u003cp\u003eThis document describes how to retrieve the access control policy for a contentitem resource using the \u003ccode\u003egetIamPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e request to \u003ccode\u003ehttps://dataplex.googleapis.com/v1/{resource=projects/*/locations/*/lakes/*/contentitems/**}:getIamPolicy\u003c/code\u003e is used, with the \u003ccode\u003eresource\u003c/code\u003e path parameter being mandatory.\u003c/p\u003e\n"],["\u003cp\u003eAn optional \u003ccode\u003eGetPolicyOptions\u003c/code\u003e object can be passed as a query parameter called \u003ccode\u003eoptions\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful response will contain a \u003ccode\u003ePolicy\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe caller must have the \u003ccode\u003edataplex.content.getIamPolicy\u003c/code\u003e permission and use the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]