Lists projects that are direct children of the specified folder or organization resource. list() provides a strongly consistent view of the projects underneath the specified parent resource. list() returns projects sorted based upon the (ascending) lexical ordering of their displayName. The caller must have resourcemanager.projects.list permission on the identified parent.
HTTP request
GET https://cloudresourcemanager.googleapis.com/v3/projects
Required. The name of the parent resource whose projects are being listed. Only children of this parent resource are listed; descendants are not listed.
If the parent is a folder, use the value folders/{folder_id}. If the parent is an organization, use the value organizations/{org_id}.
Authorization requires the following IAM permission on the specified resource parent:
resourcemanager.projects.list
pageToken
string
Optional. A pagination token returned from a previous call to projects.list that indicates from where listing should continue.
pageSize
integer
Optional. The maximum number of projects to return in the response. The server can return fewer projects than requested. If unspecified, server picks an appropriate default.
showDeleted
boolean
Optional. Indicate that projects in the DELETE_REQUESTED state should also be returned. Normally only ACTIVE projects are returned.
Request body
The request body must be empty.
Response body
A page of the response received from the projects.list method.
A paginated response where more pages are available has nextPageToken set. This token can be used in a subsequent request to retrieve the next request page.
NOTE: A response may contain fewer elements than the request pageSize and still have a nextPageToken.
If successful, the response body contains data with the following structure:
The list of Projects under the parent. This list can be paginated.
nextPageToken
string
Pagination token.
If the result set is too large to fit in a single response, this token is returned. It encodes the position of the current result cursor. Feeding this value into a new list request with the pageToken parameter gives the next page of the results.
When nextPageToken is not filled in, there is no next page and the list returned is the last page in the result set.
[[["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-11 UTC."],[],[],null,["# Method: projects.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListProjectsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nLists projects that are direct children of the specified folder or organization resource. `list()` provides a strongly consistent view of the projects underneath the specified parent resource. `list()` returns projects sorted based upon the (ascending) lexical ordering of their `displayName`. The caller must have `resourcemanager.projects.list` permission on the identified parent.\n\n### HTTP request\n\n`GET https://cloudresourcemanager.googleapis.com/v3/projects`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA page of the response received from the [projects.list](/resource-manager/reference/rest/v3/projects/list#google.cloud.resourcemanager.v3.Projects.ListProjects) method.\n\nA paginated response where more pages are available has `nextPageToken` set. This token can be used in a subsequent request to retrieve the next request page.\n\nNOTE: A response may contain fewer elements than the request `pageSize` and still have a `nextPageToken`.\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- `https://www.googleapis.com/auth/cloud-platform.read-only`\n- `https://www.googleapis.com/auth/cloudplatformprojects`\n- `https://www.googleapis.com/auth/cloudplatformprojects.readonly`\n\nFor more information, see the [Authentication Overview](/docs/authentication#authorization-gcp)."]]