class Google::Apis::FirebaseV1beta1::DefaultResources
The default resources associated with the Project.
Attributes
The default Firebase Hosting site name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Hosting site in another project (learn more about creating non-default, [additional sites](firebase.google.com/docs/hosting/multisites)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Hosting site name. For example, if your `projectId` is ` myproject123`, your default Hosting site name might be: `myproject123-a5c16` Corresponds to the JSON property `hostingSite` @return [String]
The ID of the Project's default GCP resource location. The location is one of the available [GCP resource locations](firebase.google.com/docs/ projects/locations). This field is omitted if the default GCP resource location has not been finalized yet. To set a Project's default GCP resource location, call [`FinalizeDefaultLocation`](../projects.defaultLocation/ finalize) after you add Firebase resources to the Project. Corresponds to the JSON property `locationId` @return [String]
The default Firebase Realtime Database instance name, in the format: PROJECT_ID Though rare, your `projectId` might already be used as the name for an existing Realtime Database instance in another project (learn more about [ database sharding](firebase.google.com/docs/database/usage/sharding)). In these cases, your `projectId` is appended with a hyphen then five alphanumeric characters to create your default Realtime Database instance name. For example, if your `projectId` is `myproject123`, your default database instance name might be: `myproject123-a5c16` Corresponds to the JSON property `realtimeDatabaseInstance` @return [String]
The default Cloud Storage for Firebase storage bucket, in the format: PROJECT_ID.appspot.com Corresponds to the JSON property `storageBucket` @return [String]
Public Class Methods
# File lib/google/apis/firebase_v1beta1/classes.rb, line 307 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/firebase_v1beta1/classes.rb, line 312 def update!(**args) @hosting_site = args[:hosting_site] if args.key?(:hosting_site) @location_id = args[:location_id] if args.key?(:location_id) @realtime_database_instance = args[:realtime_database_instance] if args.key?(:realtime_database_instance) @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket) end