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
Output only.
-
#display_name ⇒ String
The user-assigned display name of the Firebase App.
-
#name ⇒ String
The resource name of the Firebase App, in the format: projects/PROJECT_ID / iosApps/APP_ID or projects/PROJECT_ID/androidApps/APP_ID or projects/ PROJECT_ID/webApps/APP_ID Corresponds to the JSON property
name
. -
#namespace ⇒ String
Output only.
-
#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.
Constructor Details
#initialize(**args) ⇒ FirebaseAppInfo
Returns a new instance of FirebaseAppInfo.
417 418 419 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#app_id ⇒ String
Output only. Immutable. The globally unique, Firebase-assigned identifier for
the WebApp
. This identifier should be treated as an opaque token, as the
data format is not specified.
Corresponds to the JSON property appId
387 388 389 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 387 def app_id @app_id end |
#display_name ⇒ String
The user-assigned display name of the Firebase App.
Corresponds to the JSON property displayName
392 393 394 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 392 def display_name @display_name end |
#name ⇒ String
The resource name of the Firebase App, in the format: projects/PROJECT_ID /
iosApps/APP_ID or projects/PROJECT_ID/androidApps/APP_ID or projects/
PROJECT_ID/webApps/APP_ID
Corresponds to the JSON property name
399 400 401 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 399 def name @name end |
#namespace ⇒ String
Output only. Immutable. The platform-specific identifier of the App. Note:
For most use cases, use appId
, which is the canonical, globally unique
identifier for referencing an App. This string is derived from a native
identifier for each platform: packageName
for an AndroidApp
, bundleId
for an IosApp
, and webId
for a WebApp
. Its contents should be treated as
opaque, as the native identifier format may change as platforms evolve. This
string is only unique within a FirebaseProject
and its associated Apps.
Corresponds to the JSON property namespace
410 411 412 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 410 def namespace @namespace end |
#platform ⇒ String
The platform of the Firebase App.
Corresponds to the JSON property platform
415 416 417 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 415 def platform @platform end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
422 423 424 425 426 427 428 |
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 422 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) @namespace = args[:namespace] if args.key?(:namespace) @platform = args[:platform] if args.key?(:platform) end |