Class WebAppConfig
Configuration metadata of a single Firebase App for the web.
Implements
Inherited Members
Namespace: Google.Apis.FirebaseManagement.v1beta1.Data
Assembly: Google.Apis.FirebaseManagement.v1beta1.dll
Syntax
public class WebAppConfig : IDirectResponseSchema
Properties
ApiKey
The
keyString
of the API key associated with the WebApp
. Note that this value is not the
apiKeyId
(the UID) of the API key associated with the
WebApp
.
Declaration
[JsonProperty("apiKey")]
public virtual string ApiKey { get; set; }
Property Value
Type | Description |
---|---|
string |
AppId
Immutable. The globally unique, Firebase-assigned identifier for the WebApp
.
Declaration
[JsonProperty("appId")]
public virtual string AppId { get; set; }
Property Value
Type | Description |
---|---|
string |
AuthDomain
The domain Firebase Auth configures for OAuth redirects, in the format: PROJECT_ID.firebaseapp.com
Declaration
[JsonProperty("authDomain")]
public virtual string AuthDomain { get; set; }
Property Value
Type | Description |
---|---|
string |
DatabaseURL
DEPRECATED. Instead, find the URL of the default Realtime Database instance using the list endpoint within the Firebase Realtime Database REST API. If the default instance for the Project has not yet been provisioned, the return might not contain a default instance. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Realtime Database endpoint to populate this value for that config. The URL of the default Firebase Realtime Database instance.
Declaration
[JsonProperty("databaseURL")]
public virtual string DatabaseURL { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
LocationId
DEPRECATED. Instead, use product-specific REST APIs to find the location of each resource in a Project. This field may not be populated, especially for newly provisioned projects after October 30, 2024. The ID of the Project's "location for default Google Cloud resources", which are resources associated with Google App Engine. The location is one of the available App Engine locations. This field is omitted if the location for default Google Cloud resources has not been set.
Declaration
[JsonProperty("locationId")]
public virtual string LocationId { get; set; }
Property Value
Type | Description |
---|---|
string |
MeasurementId
The unique Google-assigned identifier of the Google Analytics web stream associated with the WebApp
.
Firebase SDKs use this ID to interact with Google Analytics APIs. This field is only present if the WebApp
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 WebApp
with a Google Analytics web stream, call
AddGoogleAnalytics
. For apps using the Firebase JavaScript
SDK v7.20.0 and later, Firebase dynamically fetches the measurementId
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.
Declaration
[JsonProperty("measurementId")]
public virtual string MeasurementId { get; set; }
Property Value
Type | Description |
---|---|
string |
MessagingSenderId
The sender ID for use with Firebase Cloud Messaging.
Declaration
[JsonProperty("messagingSenderId")]
public virtual string MessagingSenderId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectId
Immutable. A user-assigned unique identifier for the FirebaseProject
.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
Type | Description |
---|---|
string |
ProjectNumber
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.
Declaration
[JsonProperty("projectNumber")]
public virtual string ProjectNumber { get; set; }
Property Value
Type | Description |
---|---|
string |
RealtimeDatabaseUrl
Optional. Duplicate field for the URL of the default Realtime Database instances (if the default instance
has been provisioned). If the request asks for the V2 config format, this field will be populated instead of
realtime_database_instance_uri
.
Declaration
[JsonProperty("realtimeDatabaseUrl")]
public virtual string RealtimeDatabaseUrl { get; set; }
Property Value
Type | Description |
---|---|
string |
StorageBucket
DEPRECATED. Instead, find the name of the default Cloud Storage for Firebase bucket using the list endpoint within the Cloud Storage for Firebase REST API. If the default bucket for the Project has not yet been provisioned, the return might not contain a default bucket. Note that the config that's generated for the Firebase console or the Firebase CLI uses the Cloud Storage for Firebase endpoint to populate this value for that config. The name of the default Cloud Storage for Firebase bucket.
Declaration
[JsonProperty("storageBucket")]
public virtual string StorageBucket { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
Version of the config specification.
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
string |