Class: Google::Apis::FirebaseV1beta1::FirebaseAppInfo
- Inherits:
-
Object
- Object
- Google::Apis::FirebaseV1beta1::FirebaseAppInfo
- 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
Overview
A high-level summary of an App.
Instance Attribute Summary collapse
-
#app_id ⇒ String
Immutable.
-
#display_name ⇒ String
The user-assigned display name of the Firebase App.
-
#name ⇒ String
The fully qualified resource name of the Firebase App, in the format:
projects/projectId/iosApps/appId
orprojects/projectId/androidApps/appId
Corresponds to the JSON propertyname
. -
#platform ⇒ String
The platform of the Firebase App.
Instance Method Summary collapse
-
#initialize(**args) ⇒ FirebaseAppInfo
constructor
A new instance of FirebaseAppInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ FirebaseAppInfo
Returns a new instance of FirebaseAppInfo.
428 429 430 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 428 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
Immutable. The globally unique, Firebase-assigned identifier of the App.
This identifier should be treated as an opaque token, as the data
format is not specified.
Corresponds to the JSON property appId
408 409 410 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 408 def app_id @app_id end |
#display_name ⇒ String
The user-assigned display name of the Firebase App.
Corresponds to the JSON property displayName
413 414 415 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 413 def display_name @display_name end |
#name ⇒ String
The fully qualified resource name of the Firebase App, in the format:
projects/projectId/iosApps/appId
or projects/projectId/androidApps/appId
Corresponds to the JSON property name
421 422 423 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 421 def name @name end |
#platform ⇒ String
The platform of the Firebase App.
Corresponds to the JSON property platform
426 427 428 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 426 def platform @platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
433 434 435 436 437 438 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 433 def update!(**args) @app_id = args[:app_id] if args.key?(:app_id) @display_name = args[:display_name] if args.key?(:display_name) @name = args[:name] if args.key?(:name) @platform = args[:platform] if args.key?(:platform) end |