Resource: FirebaseProject
A FirebaseProject
is the top-level Firebase entity. It is the container for Firebase Apps, Firebase Hosting sites, storage systems (Firebase Realtime Database, Cloud Firestore, Cloud Storage buckets), and other Firebase and Google Cloud resources.
You create a FirebaseProject
by calling projects.addFirebase
and specifying an existing Google Cloud Project
. This adds Firebase resources to the existing Google Cloud Project
.
Since a FirebaseProject
is actually also a Google Cloud Project
, a FirebaseProject
has the same underlying Google Cloud identifiers (projectNumber
and projectId
). This allows for easy interop with Google APIs.
JSON representation |
---|
{
"name": string,
"projectId": string,
"projectNumber": string,
"displayName": string,
"state": enum ( |
Fields | |
---|---|
name |
The resource name of the Project, in the format:
PROJECT_IDENTIFIER: the Project's |
project |
Output only. Immutable. A user-assigned unique identifier for the Project. This identifier may appear in URLs or names for some Firebase resources associated with the Project, but it should generally be treated as a convenience alias to reference the Project. |
project |
Output only. Immutable. The globally unique, Google-assigned canonical identifier for the Project. Use this identifier when configuring integrations and/or making API calls to Firebase or third-party services. |
display |
The user-assigned display name of the Project. |
state |
Output only. The lifecycle state of the Project. |
annotations |
A set of user-defined annotations for the These annotations are intended solely for developers and client-side tools. Firebase services will not mutate this annotations set. An object containing a list of |
etag |
This checksum is computed by the server based on the value of other fields, and it may be sent with update requests to ensure the client has an up-to-date value before proceeding. Learn more about This etag is strongly validated. |
State
The possible lifecycle states of the Project. Learn more about states in Google's AIP-216 standard.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unspecified state. |
ACTIVE |
The Project is active. |
DELETED |
The Project has been soft-deleted. |
Methods |
|
---|---|
|
Adds Firebase resources and enables Firebase services in the specified existing Google Cloud Project . |
|
Links the specified FirebaseProject with an existing Google Analytics account. |
|
Gets the specified FirebaseProject . |
|
Gets the configuration artifact associated with the specified FirebaseProject , which can be used by servers to simplify initialization. |
|
Gets the Google Analytics details currently associated with the specified FirebaseProject . |
|
Lists each FirebaseProject accessible to the caller. |
|
Updates the attributes of the specified FirebaseProject . |
|
Unlinks the specified FirebaseProject from its Google Analytics account. |
|
Lists all available Apps for the specified FirebaseProject . |