analytics_details
Creates, updates, deletes, gets or lists an analytics_details resource.
Overview
| Name | analytics_details |
| Type | Resource |
| Id | firebase.firebase.analytics_details |
Fields
The following fields are returned by SELECT queries:
- get_analytics_details
| Name | Datatype | Description |
|---|---|---|
analyticsProperty | object | The Analytics Property object associated with the specified FirebaseProject. This object contains the details of the Google Analytics property associated with the Project. (id: AnalyticsProperty) |
streamMappings | array | - For AndroidApps and IosApps: a map of app to streamId for each Firebase App in the specified FirebaseProject. Each app and streamId appears only once. - For WebApps: a map of app to streamId and measurementId for each WebApp in the specified FirebaseProject. Each app, streamId, and measurementId appears only once. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_analytics_details | select | projectsId | Gets the Google Analytics details currently associated with the specified FirebaseProject. If the FirebaseProject is not yet linked to Google Analytics, then the response to GetAnalyticsDetails is NOT_FOUND. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
projectsId | string |
SELECT examples
- get_analytics_details
Gets the Google Analytics details currently associated with the specified FirebaseProject. If the FirebaseProject is not yet linked to Google Analytics, then the response to GetAnalyticsDetails is NOT_FOUND.
SELECT
analyticsProperty,
streamMappings
FROM firebase.firebase.analytics_details
WHERE projectsId = '{{ projectsId }}' -- required
;