class Google::Apis::FirebaseV1beta1::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 Platform (GCP) resources. You create a `FirebaseProject` by calling AddFirebase and specifying an existing [GCP `Project`](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.
Attributes
The user-assigned display name of the Project. Corresponds to the JSON property `displayName` @return [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). Learn more about using project identifiers in Google's [AIP 2510 standard](google.aip.dev/ cloud/2510). Note that the value for PROJECT_IDENTIFIER in any response body will be the `ProjectId`. Corresponds to the JSON property `name` @return [String]
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. Corresponds to the JSON property `projectId` @return [String]
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. Corresponds to the JSON property `projectNumber` @return [Fixnum]
The default resources associated with the Project. Corresponds to the JSON property `resources` @return [Google::Apis::FirebaseV1beta1::DefaultResources]
Output only. The lifecycle state of the Project. Updates to the state must be performed via com.google.cloudresourcemanager.v1.Projects.DeleteProject and com.google.cloudresourcemanager.v1.Projects.UndeleteProject Corresponds to the JSON property `state` @return [String]
Public Class Methods
# File lib/google/apis/firebase_v1beta1/classes.rb, line 467 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebase_v1beta1/classes.rb, line 472 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @project_id = args[:project_id] if args.key?(:project_id) @project_number = args[:project_number] if args.key?(:project_number) @resources = args[:resources] if args.key?(:resources) @state = args[:state] if args.key?(:state) end