Skip to main content

available_projects

Creates, updates, deletes, gets or lists an available_projects resource.

Overview

Nameavailable_projects
TypeResource
Idfirebase.firebase.available_projects

Fields

The following fields are returned by SELECT queries:

Successful response

NameDatatypeDescription
displayNamestringThe user-assigned display name of the Google Cloud Project, for example: My App.
locationIdstringDEPRECATED 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.
projectstringThe resource name of the Google Cloud Project to which Firebase resources can be added, in the format: projects/PROJECT_IDENTIFIER Refer to the FirebaseProject name field for details about PROJECT_IDENTIFIER values.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectpageToken, pageSizeLists 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.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
pageSizeinteger (int32)
pageTokenstring

SELECT examples

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.

SELECT
displayName,
locationId,
project
FROM firebase.firebase.available_projects
WHERE pageToken = '{{ pageToken }}'
AND pageSize = '{{ pageSize }}';