View Source GoogleApi.Firebase.V1beta1.Model.WebAppConfig (google_api_firebase v0.12.0)
Configuration metadata of a single Firebase App for the web.
Attributes
-
apiKey
(type:String.t
, default:nil
) - ThekeyString
of the API key associated with theWebApp
. Note that this value is not theapiKeyId
(the UID) of the API key associated with theWebApp
. -
appId
(type:String.t
, default:nil
) - Immutable. The globally unique, Firebase-assigned identifier for theWebApp
. -
authDomain
(type:String.t
, default:nil
) - The domain Firebase Auth configures for OAuth redirects, in the format: PROJECT_ID.firebaseapp.com -
databaseURL
(type:String.t
, default:nil
) - DEPRECATED. Instead, find the default Firebase Realtime Database instance name using the list endpoint within the Firebase Realtime Database REST API. Note that the default instance for the Project might not yet be provisioned, so the return might not contain a default instance. The default Firebase Realtime Database URL. -
locationId
(type:String.t
, default:nil
) - DEPRECATED. Instead, use product-specific REST APIs to find the location of resources. 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 a Project's default GCP resource location, callFinalizeDefaultLocation
after you add Firebase resources to the Project. -
measurementId
(type:String.t
, default:nil
) - The unique Google-assigned identifier of the Google Analytics web stream associated with theWebApp
. Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if theWebApp
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 ameasurementId
and link theWebApp
with a Google Analytics web stream, callAddGoogleAnalytics
. For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches themeasurementId
when your app initializes Analytics. Having this ID in your config object is optional, but it does serve as a fallback in the rare case that the dynamic fetch fails. -
messagingSenderId
(type:String.t
, default:nil
) - The sender ID for use with Firebase Cloud Messaging. -
projectId
(type:String.t
, default:nil
) - Immutable. A user-assigned unique identifier for theFirebaseProject
. -
storageBucket
(type:String.t
, default:nil
) - DEPRECATED. Instead, find the default Cloud Storage for Firebase bucket using the list endpoint within the Cloud Storage for Firebase REST API. Note that the default bucket for the Project might not yet be provisioned, so the return might not contain a default bucket. The default Cloud Storage for Firebase storage bucket name.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.Firebase.V1beta1.Model.WebAppConfig{ apiKey: String.t() | nil, appId: String.t() | nil, authDomain: String.t() | nil, databaseURL: String.t() | nil, locationId: String.t() | nil, measurementId: String.t() | nil, messagingSenderId: String.t() | nil, projectId: String.t() | nil, storageBucket: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.