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.
ANOT_FOUND error if the resource doesn't exist or you don't have the permission to view it.
An empty policy if the resource exists but doesn't have a set policy.
Supported resources are:
Tag templates
Entry groups
Note: This method doesn't get policies from Google Cloud Platform resources ingested into Data Catalog.
To call this method, you must have the following Google IAM permissions:
datacatalog.tagTemplates.getIamPolicy to get policies on tag templates.
datacatalog.entryGroups.getIamPolicy to get policies on entry groups.
HTTP request
POST https://datacatalog.googleapis.com/v1/{resource}:getIamPolicy
Path parameters
Parameters
resource
string
REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field. It takes the form projects/{project}/locations/{location}/entryGroups/{entrygroup}/entries/{entries}.
Request body
The request body contains data with the following structure:
[[["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, within Data Catalog.\u003c/p\u003e\n"],["\u003cp\u003eTo use this method, you must have the \u003ccode\u003edatacatalog.tagTemplates.getIamPolicy\u003c/code\u003e permission for tag templates or \u003ccode\u003edatacatalog.entryGroups.getIamPolicy\u003c/code\u003e for entry groups.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request is a POST to \u003ccode\u003ehttps://datacatalog.googleapis.com/v1/{resource}:getIamPolicy\u003c/code\u003e, with the resource specified in the path parameters.\u003c/p\u003e\n"],["\u003cp\u003eThe request body can include an optional \u003ccode\u003eGetPolicyOptions\u003c/code\u003e object to specify options for \u003ccode\u003eentries.getIamPolicy\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe endpoint 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.entries.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)."]]