available_projects
Creates, updates, deletes, gets or lists an available_projects
resource.
Overview
Name | available_projects |
Type | Resource |
Id | firebase.firebase.available_projects |
Fields
The following fields are returned by SELECT
queries:
- list
Successful response
Name | Datatype | Description |
---|---|---|
displayName | string | The user-assigned display name of the Google Cloud Project , for example: My App . |
locationId | 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". 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. |
project | string | The 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:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | pageToken , pageSize | 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. |
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.
Name | Datatype | Description |
---|---|---|
pageSize | integer (int32) | |
pageToken | string |
SELECT
examples
- list
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 }}';