google_api_firebase v0.2.0 GoogleApi.Firebase.V1beta1.Model.WebAppConfig View Source

Configuration metadata of a single Firebase App for the web.

Attributes

  • apiKey (type: String.t, default: nil) - The API key associated with the web App.
  • appId (type: String.t, default: nil) - Immutable. The globally unique, Firebase-assigned identifier of the App.
  • authDomain (type: String.t, default: nil) - The domain Firebase Auth configures for OAuth redirects, in the format:
    projectId.firebaseapp.com
  • databaseURL (type: String.t, default: nil) - The default Firebase Realtime Database URL.
  • locationId (type: String.t, default: nil) - 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 FinalizeDefaultLocation after you add Firebase services to your project.
  • measurementId (type: String.t, default: nil) - 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 AddGoogleAnalytics.
  • messagingSenderId (type: String.t, default: nil) - The sender ID for use with Firebase Cloud Messaging.
  • projectId (type: String.t, default: nil) - Immutable. The globally unique, user-assigned project ID of the parent Project for the App.
  • storageBucket (type: String.t, default: nil) - The default Cloud Storage for Firebase storage bucket name.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Firebase.V1beta1.Model.WebAppConfig{
  apiKey: String.t(),
  appId: String.t(),
  authDomain: String.t(),
  databaseURL: String.t(),
  locationId: String.t(),
  measurementId: String.t(),
  messagingSenderId: String.t(),
  projectId: String.t(),
  storageBucket: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.