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/*/content/**}: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 content item resource using the \u003ccode\u003egetIamPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGET\u003c/code\u003e HTTP request is made to a specific URL that includes the resource path and follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eresource\u003c/code\u003e path parameter is required, and an optional \u003ccode\u003eoptions\u003c/code\u003e query parameter allows for specifying options to customize the policy retrieval process.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must be empty, and a successful request will return a \u003ccode\u003ePolicy\u003c/code\u003e object in the response body.\u003c/p\u003e\n"],["\u003cp\u003eRetrieving the access control policy requires Google IAM \u003ccode\u003edataplex.content.getIamPolicy\u003c/code\u003e permission, and the request must be authorized with the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]