FirebaseProject class
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 Platform (GCP) resources. You
create a FirebaseProject
by calling AddFirebase and specifying an
existing [GCP
Project
](https://cloud.google.com/resource-manager/reference/rest/v1/projects).
This adds Firebase resources to the existing GCP Project
. Since a
FirebaseProject is actually also a GCP Project
, a FirebaseProject
has
the same underlying GCP identifiers (projectNumber
and projectId
). This
allows for easy interop with Google APIs.
Constructors
-
FirebaseProject({Map<
String, String> ? annotations, String? displayName, String? etag, String? name, String? projectId, String? projectNumber, DefaultResources? resources, String? state}) - FirebaseProject.fromJson(Map json_)
Properties
-
annotations
↔ Map<
String, String> ? -
A set of user-defined annotations for the FirebaseProject.
getter/setter pair
- displayName ↔ String?
-
The user-assigned display name of the Project.
getter/setter pair
- etag ↔ String?
-
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.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
The resource name of the Project, in the format:
projects/PROJECT_IDENTIFIER PROJECT_IDENTIFIER: the Project's
[
ProjectNumber
](../projects#FirebaseProject.FIELDS.project_number) (recommended) or its [ProjectId
](../projects#FirebaseProject.FIELDS.project_id).getter/setter pair - projectId ↔ String?
-
A user-assigned unique identifier for the Project.
getter/setter pair
- projectNumber ↔ String?
-
The globally unique, Google-assigned canonical identifier for the Project.
getter/setter pair
- resources ↔ DefaultResources?
-
The default Firebase resources associated with the Project.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state ↔ String?
-
The lifecycle state of the Project.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited