Class: Google::Apis::FirebaseV1beta1::AdminSdkConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AdminSdkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebase_v1beta1/classes.rb,
lib/google/apis/firebase_v1beta1/representations.rb,
lib/google/apis/firebase_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#database_url ⇒ String
DEPRECATED. _Instead, find the default Firebase Realtime Database instance name using the list endpoint within the Firebase Realtime Database REST API.
-
#location_id ⇒ String
DEPRECATED. Instead, use product-specific REST APIs to find the location of resources. The ID of the Project's default GCP resource location.
-
#project_id ⇒ String
Immutable.
-
#storage_bucket ⇒ String
DEPRECATED. _Instead, find the default Cloud Storage for Firebase bucket using the list endpoint within the Cloud Storage for Firebase REST API.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdminSdkConfig
constructor
A new instance of AdminSdkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AdminSdkConfig
Returns a new instance of AdminSdkConfig.
120 121 122 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_url ⇒ String
DEPRECATED. Instead, find the default Firebase Realtime Database instance
name using the list endpoint
within the Firebase Realtime Database REST API. Note that the default instance
for the Project might not yet be provisioned, so the return might not contain
a default instance. The default Firebase Realtime Database URL.
Corresponds to the JSON property databaseURL
89 90 91 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 89 def database_url @database_url end |
#location_id ⇒ String
DEPRECATED. Instead, use product-specific REST APIs to find the location
of resources. The ID of the Project's default GCP resource location. The
location is one of the available GCP resource 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
after you add Firebase resources to the Project.
Corresponds to the JSON property locationId
100 101 102 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 100 def location_id @location_id end |
#project_id ⇒ String
Immutable. A user-assigned unique identifier for the FirebaseProject
. 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
108 109 110 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 108 def project_id @project_id end |
#storage_bucket ⇒ String
DEPRECATED. Instead, find the default Cloud Storage for Firebase bucket
using the list endpoint within the Cloud Storage for
Firebase REST API. Note that the default bucket for the Project might not yet
be provisioned, so the return might not contain a default bucket. The default
Cloud Storage for Firebase storage bucket name.
Corresponds to the JSON property storageBucket
118 119 120 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 118 def storage_bucket @storage_bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
125 126 127 128 129 130 |
# File 'lib/google/apis/firebase_v1beta1/classes.rb', line 125 def update!(**args) @database_url = args[:database_url] if args.key?(:database_url) @location_id = args[:location_id] if args.key?(:location_id) @project_id = args[:project_id] if args.key?(:project_id) @storage_bucket = args[:storage_bucket] if args.key?(:storage_bucket) end |