Lists each Google Cloud Project
that can have Firebase resources added and Firebase services enabled.
A Project will only be listed if:
- The caller has sufficient Google IAM permissions to call
AddFirebase
. - The Project is not already a
FirebaseProject
. - The Project is not in an Organization which has policies that prevent Firebase resources from being added.
HTTP request
GET https://firebase.googleapis.com/v1beta1/availableProjects
The URL uses gRPC Transcoding syntax.
Query parameters
Parameters | |
---|---|
page |
Token returned from a previous call to |
page |
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:
JSON representation |
---|
{
"projectInfo": [
{
object ( |
Fields | |
---|---|
project |
The list of Google Cloud |
next |
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 Page tokens are short-lived and should not be persisted. |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/firebase
https://www.googleapis.com/auth/firebase.readonly
For more information, see the Authentication Overview.
ProjectInfo
A reference to a Google Cloud Project
.
JSON representation |
---|
{ "project": string, "displayName": string, "locationId": string } |
Fields | |
---|---|
project |
The resource name of the Google Cloud
Refer to the |
display |
The user-assigned display name of the Google Cloud |
location |
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". The location is one of the available Google App Engine locations. 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. |