Data Catalog API methods that are related to Data Catalog search and metadata are deprecated and will be discontinued on January 30, 2026. See Transition from Data Catalog to Dataplex Universal Catalog. Methods that are related to policy tags and policy tag taxonomies are not deprecated.
[[["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-17 UTC."],[[["\u003cp\u003eThis endpoint retrieves the access control policy for a specified resource, such as tag templates or entry groups, using the \u003ccode\u003egetIamPolicy\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eTo successfully call this method, users must have the \u003ccode\u003edatacatalog.tagTemplates.getIamPolicy\u003c/code\u003e or \u003ccode\u003edatacatalog.entryGroups.getIamPolicy\u003c/code\u003e IAM permissions, depending on the target resource.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is made using the POST method to the specified URL, including a resource identifier in the path.\u003c/p\u003e\n"],["\u003cp\u003eThe request body is optional and can contain a \u003ccode\u003eGetPolicyOptions\u003c/code\u003e object, and the response will be a \u003ccode\u003ePolicy\u003c/code\u003e object if successful.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.entryGroups.getIamPolicy\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\n| Data Catalog is deprecated. Please use Dataplex Universal Catalog instead.\nGets the access control policy for a resource.\n\nMay return:\n\n- A`NOT_FOUND` error if the resource doesn't exist or you don't have the permission to view it.\n- An empty policy if the resource exists but doesn't have a set policy.\n\nSupported resources are:\n\n- Tag templates\n- Entry groups\n\nNote: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.\n\nTo call this method, you must have the following Google IAM permissions:\n\n- `datacatalog.tagTemplates.getIamPolicy` to get policies on tag templates.\n- `datacatalog.entryGroups.getIamPolicy` to get policies on entry groups.\n\n### HTTP request\n\n`POST https://datacatalog.googleapis.com/v1/{resource}:getIamPolicy`\n\n### Path parameters\n\n### Request body\n\nThe request body contains data with the following structure:\n\n### Response body\n\nIf successful, the response body contains an instance of [Policy](/data-catalog/docs/reference/rest/Shared.Types/Policy).\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]