[[["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-05-21 UTC."],[[["\u003cp\u003eThis endpoint, \u003ccode\u003eentitlements.search\u003c/code\u003e, retrieves entitlements based on the caller's access level and other specified criteria.\u003c/p\u003e\n"],["\u003cp\u003eThe HTTP request uses a \u003ccode\u003eGET\u003c/code\u003e method at a specific URL with the parent resource defined in the path, following gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eRequired query parameters include \u003ccode\u003ecallerAccessType\u003c/code\u003e to filter results by the caller's access type, and the URL requires a \u003ccode\u003eparent\u003c/code\u003e path parameter that owns the entitlement resources.\u003c/p\u003e\n"],["\u003cp\u003eOptional query parameters, such as \u003ccode\u003efilter\u003c/code\u003e, \u003ccode\u003epageSize\u003c/code\u003e, and \u003ccode\u003epageToken\u003c/code\u003e, can be used to refine the search and manage result pagination.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a \u003ccode\u003eSearchEntitlementsResponse\u003c/code\u003e, and the request body should remain empty, with OAuth scope \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e being a requirement.\u003c/p\u003e\n"]]],[],null,["# Method: folders.locations.entitlements.search\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\n`entitlements.search` returns entitlements on which the caller has the specified access.\n\n### HTTP request\n\n`GET https://privilegedaccessmanager.googleapis.com/v1/{parent=folders/*/locations/*}/entitlements:search`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n### Query parameters\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 [SearchEntitlementsResponse](/iam/docs/reference/pam/rest/v1/SearchEntitlementsResponse).\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](https://cloud.google.com/docs/authentication/)."]]