GetWebAppConfigResult

data class GetWebAppConfigResult(val apiKey: String, val authDomain: String, val databaseUrl: String, val id: String, val locationId: String, val measurementId: String, val messagingSenderId: String, val project: String? = null, val storageBucket: String, val webAppId: String)

A collection of values returned by getWebAppConfig.

Constructors

Link copied to clipboard
constructor(apiKey: String, authDomain: String, databaseUrl: String, id: String, locationId: String, measurementId: String, messagingSenderId: String, project: String? = null, storageBucket: String, webAppId: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The API key associated with the web App.

Link copied to clipboard

The domain Firebase Auth configures for OAuth redirects, in the format: projectId.firebaseapp.com

Link copied to clipboard

The default Firebase Realtime Database URL.

Link copied to clipboard
val id: String
Link copied to clipboard

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 defaultLocation.finalize after you add Firebase services to your project.

Link copied to clipboard

The unique Google-assigned identifier of the Google Analytics web stream associated with the Firebase Web App. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the App is linked to a web stream in a Google Analytics App + Web property. Learn more about this ID and Google Analytics web streams in the Analytics documentation. To generate a measurementId and link the Web App with a Google Analytics web stream, call projects.addGoogleAnalytics.

Link copied to clipboard

The sender ID for use with Firebase Cloud Messaging.

Link copied to clipboard
val project: String? = null
Link copied to clipboard

The default Cloud Storage for Firebase storage bucket name.

Link copied to clipboard