Class: Google::Apis::FirebaseV1beta1::FirebaseAppInfo

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

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

Returns:

  • (String)


387
388
389
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 387

def app_id
  @app_id
end

#display_nameString

The user-assigned display name of the Firebase App. Corresponds to the JSON property displayName

Returns:

  • (String)


392
393
394
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 392

def display_name
  @display_name
end

#nameString

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

Returns:

  • (String)


399
400
401
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 399

def name
  @name
end

#namespaceString

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

Returns:

  • (String)


410
411
412
# File 'generated/google/apis/firebase_v1beta1/classes.rb', line 410

def namespace
  @namespace
end

#platformString

The platform of the Firebase App. Corresponds to the JSON property platform

Returns:

  • (String)


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