Optional. The maximum number of OauthClients to return. If unspecified, at most 50 OauthClients will be returned. The maximum value is 100; values above 100 are truncated to 100.
pageToken
string
Optional. A page token, received from a previous oauthClients.list call. Provide this to retrieve the subsequent page.
showDeleted
boolean
Optional. Whether to return soft-deleted OauthClients.
Request body
The request body must be empty.
Response body
Response message for oauthClients.list.
If successful, the response 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-05-21 UTC."],[[["\u003cp\u003eThis API endpoint lists all non-deleted OAuth clients within a specified project and location, with an option to include deleted clients.\u003c/p\u003e\n"],["\u003cp\u003eThe request is made using a \u003ccode\u003eGET\u003c/code\u003e HTTP method with a URL that includes project and location path parameters, as well as optional query parameters for pagination and filtering.\u003c/p\u003e\n"],["\u003cp\u003eThe response contains a list of OAuth client objects and a \u003ccode\u003enextPageToken\u003c/code\u003e if additional pages of results are available.\u003c/p\u003e\n"],["\u003cp\u003eThe API supports pagination via the \u003ccode\u003epageSize\u003c/code\u003e and \u003ccode\u003epageToken\u003c/code\u003e query parameters, allowing for retrieval of large lists of OAuth clients in manageable chunks.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization to use this endpoint requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or the \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,["# Method: projects.locations.oauthClients.list\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 - [JSON representation](#body.ListOauthClientsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Examples](#examples)\n- [Try it!](#try-it)\n\nLists all non-deleted [OauthClient](/iam/docs/reference/rest/v1/projects.locations.oauthClients#OauthClient)s in a project. If `showDeleted` is set to `true`, then deleted [OauthClient](/iam/docs/reference/rest/v1/projects.locations.oauthClients#OauthClient)s are also listed.\n\n### HTTP request\n\n`GET https://iam.googleapis.com/v1/{parent=projects/*/locations/*}/oauthClients`\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\nResponse message for oauthClients.list.\n\nIf successful, the response body contains data with the following structure:\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/cloud-platform`\n- `\n https://www.googleapis.com/auth/iam`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]