pub struct FirebaseProject {
pub annotations: Option<HashMap<String, String>>,
pub display_name: Option<String>,
pub etag: Option<String>,
pub name: Option<String>,
pub project_id: Option<String>,
pub project_number: Option<i64>,
pub resources: Option<DefaultResources>,
pub state: Option<String>,
}Expand description
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 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.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- get projects (response)
- patch projects (request|response)
Fields§
§annotations: Option<HashMap<String, String>>A set of user-defined annotations for the FirebaseProject. Learn more about annotations in Google’s AIP-128 standard. These annotations are intended solely for developers and client-side tools. Firebase services will not mutate this annotations set.
display_name: Option<String>The user-assigned display name of the Project.
etag: Option<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. Learn more about etag in Google’s AIP-154 standard. This etag is strongly validated.
name: Option<String>The resource name of the Project, in the format: projects/PROJECT_IDENTIFIER PROJECT_IDENTIFIER: the Project’s ProjectNumber (recommended) or its ProjectId. Learn more about using project identifiers in Google’s AIP 2510 standard. Note that the value for PROJECT_IDENTIFIER in any response body will be the ProjectId.
project_id: Option<String>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_number: Option<i64>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.
resources: Option<DefaultResources>Output only. DEPRECATED. Auto-provisioning of these resources is changing, so this object no longer reliably provides information about the Project. Instead, retrieve information about each resource directly from its resource-specific API. The default Firebase resources associated with the Project.
state: Option<String>Output only. The lifecycle state of the Project.
Trait Implementations§
Source§impl Clone for FirebaseProject
impl Clone for FirebaseProject
Source§fn clone(&self) -> FirebaseProject
fn clone(&self) -> FirebaseProject
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more