Token returned from a previous call to availableProjects.list indicating where in the set of Projects to resume listing.
pageSize
integer
The maximum number of Projects to return in the response.
The server may return fewer than this value at its discretion. If no value is specified (or too large a value is specified), the server will impose its own limit.
This value cannot be negative.
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
The list of Google Cloud Projects which can have Firebase resources added to them.
nextPageToken
string
If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results.
This token can be used in a subsequent calls to availableProjects.list to find the next group of Projects.
Page tokens are short-lived and should not be persisted.
The resource name of the Google Cloud Project to which Firebase resources can be added, in the format:
projects/PROJECT_IDENTIFIER
Refer to the FirebaseProjectname field for details about PROJECT_IDENTIFIER values.
displayName
string
The user-assigned display name of the Google Cloud Project, for example: My App.
locationId
string
DEPRECATEDInstead, use product-specific REST APIs to work with the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024.
Not all Projects will have this field populated. If it is not populated, it means that the Project does not yet have a location for default Google Cloud resources.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-01 UTC."],[],[],null,["# Method: availableProjects.list\n\nLists each [Google Cloud `Project`](https://cloud.google.com/resource-manager/reference/rest/v1/projects) that can have Firebase resources added and Firebase services enabled.\n\nA Project will only be listed if:\n\n- The caller has sufficient [Google IAM](https://cloud.google.com/iam) permissions to call [AddFirebase](/docs/reference/firebase-management/rest/v1beta1/projects/addFirebase#google.firebase.service.v1beta1.FirebaseProjectService.AddFirebase).\n- The Project is not already a [FirebaseProject](/docs/reference/firebase-management/rest/v1beta1/projects#FirebaseProject).\n- The Project is not in an Organization which has policies that prevent Firebase resources from being added.\n\n\u003cbr /\u003e\n\n### HTTP request\n\n`GET https://firebase.googleapis.com/v1beta1/availableProjects`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `page``Token` | `string` Token returned from a previous call to `availableProjects.list` indicating where in the set of Projects to resume listing. |\n| `page``Size` | `integer` The maximum number of Projects to return in the response. The server may return fewer than this value at its discretion. If no value is specified (or too large a value is specified), the server will impose its own limit. This value cannot be negative. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"projectInfo\": [ { object (/docs/reference/firebase-management/rest/v1beta1/availableProjects/list#ProjectInfo) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project``Info[]` | `object (`[ProjectInfo](/docs/reference/firebase-management/rest/v1beta1/availableProjects/list#ProjectInfo)`)` The list of Google Cloud `Projects` which can have Firebase resources added to them. |\n| `next``Page``Token` | `string` If the result list is too large to fit in a single response, then a token is returned. If the string is empty, then this response is the last page of results. This token can be used in a subsequent calls to `availableProjects.list` to find the next group of Projects. Page tokens are short-lived and should not be persisted. |\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/cloud-platform.read-only`\n- `\n https://www.googleapis.com/auth/firebase`\n- `\n https://www.googleapis.com/auth/firebase.readonly`\n\nFor more information, see the [Authentication Overview](https://cloud.google.com/docs/authentication/).\n\nProjectInfo\n-----------\n\nA reference to a Google Cloud `Project`.\n\n| JSON representation |\n|----------------------------------------------------------------------------|\n| ``` { \"project\": string, \"displayName\": string, \"locationId\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `project` | `string` The resource name of the Google Cloud `Project` to which Firebase resources can be added, in the format: `projects/`\u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e Refer to the `FirebaseProject` [`name`](../projects#FirebaseProject.FIELDS.name) field for details about \u003cvar translate=\"no\"\u003ePROJECT_IDENTIFIER\u003c/var\u003e values. |\n| `display``Name` | `string` The user-assigned display name of the Google Cloud `Project`, for example: `My App`. |\n| `location``Id` | `string` **DEPRECATED** *Instead, use product-specific REST APIs to work with the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024.* The ID of the Project's [\"location for default Google Cloud resources\"](https://firebase.google.com/docs/projects/locations#default-cloud-location). The location is one of the available [Google App Engine locations](https://cloud.google.com/about/locations#region). Not all Projects will have this field populated. If it is not populated, it means that the Project does not yet have a location for default Google Cloud resources. |"]]