Class: Google::Apis::FirebaseV1beta1::AdminSdkConfig
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::AdminSdkConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/firebase_v1beta1/classes.rb,
generated/google/apis/firebase_v1beta1/representations.rb,
generated/google/apis/firebase_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#database_url ⇒ String
The default Firebase Realtime Database URL.
-
#location_id ⇒ String
The ID of the project's default GCP resource location.
-
#project_id ⇒ String
Immutable.
-
#storage_bucket ⇒ String
The default Cloud Storage for Firebase storage bucket name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AdminSdkConfig
constructor
A new instance of AdminSdkConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AdminSdkConfig
Returns a new instance of AdminSdkConfig.
140 141 142 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 140 def initialize(**args) update!(**args) end |
Instance Attribute Details
#database_url ⇒ String
The default Firebase Realtime Database URL.
Corresponds to the JSON property databaseURL
115 116 117 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 115 def database_url @database_url end |
#location_id ⇒ String
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 your project's default GCP resource location,
call FinalizeDefaultLocation
after you add Firebase services to your project.
Corresponds to the JSON property locationId
127 128 129 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 127 def location_id @location_id end |
#project_id ⇒ String
Immutable. The globally unique, user-assigned project ID of the parent
Project.
Corresponds to the JSON property projectId
133 134 135 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 133 def project_id @project_id end |
#storage_bucket ⇒ String
The default Cloud Storage for Firebase storage bucket name.
Corresponds to the JSON property storageBucket
138 139 140 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 138 def storage_bucket @storage_bucket end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
145 146 147 148 149 150 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 145 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 |