[[["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-06-27 UTC."],[],[],null,["# Method: endpoints.getIamPolicy\n\n**Full name**: projects.locations.endpoints.getIamPolicy\n\nGets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. \n\n### Endpoint\n\npost `https:``/``/{service-endpoint}``/v1beta1``/{resource}:getIamPolicy` \nWhere `{service-endpoint}` is one of the [supported service endpoints](/vertex-ai/docs/reference/rest#rest_endpoints).\n\n### Path parameters\n\n`resource` `string` \nREQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.\n\n### Query parameters\n\n`options` `object (`[GetPolicyOptions](/vertex-ai/docs/reference/rest/Shared.Types/GetIamPolicyRequest#GetPolicyOptions)`)` \nOPTIONAL: A `GetPolicyOptions` object for specifying options to `endpoints.getIamPolicy`.\n\n### Request body\n\nThe request body must be empty. \n\n### Response body\n\nIf successful, the response body contains an instance of [Policy](/vertex-ai/docs/reference/rest/Shared.Types/Policy)."]]