View Source GoogleApi.Firebase.V1beta1.Model.WebAppConfig (google_api_firebase v0.13.1)
Configuration metadata of a single Firebase App for the web.
Attributes
-
apiKey(type:String.t, default:nil) - ThekeyStringof 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, callFinalizeDefaultLocationafter 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 theWebAppis 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 ameasurementIdand link theWebAppwith a Google Analytics web stream, callAddGoogleAnalytics. For apps using the Firebase JavaScript SDK v7.20.0 and later, Firebase dynamically fetches themeasurementIdwhen 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. -
projectNumber(type:String.t, default:nil) - Output only. Immutable. The globally unique, Google-assigned canonical identifier for the Project. Use this identifier when configuring integrations and/or making API calls to Google Cloud or third-party services. -
realtimeDatabaseUrl(type:String.t, default:nil) - Optional. Duplicate field for the URL of the default RTDB instances (if there is one) that uses the same field name as the unified V2 config file format. We wanted to make a single config file format for all the app platforms (Android, iOS and web) and we had to pick consistent names for all the fields since there was some varience between the platforms. If the request asks for the V2 format we will populate this field instead of realtime_database_instance_uri. -
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. -
version(type:String.t, default:nil) - Version of the config specification.
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, projectNumber: String.t() | nil, realtimeDatabaseUrl: String.t() | nil, storageBucket: String.t() | nil, version: String.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.