Skip to main content

analytics_details

Creates, updates, deletes, gets or lists an analytics_details resource.

Overview​

Nameanalytics_details
TypeResource
Idfirebase.firebase.analytics_details

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
analyticsPropertyobjectThe Analytics Property object associated with the specified FirebaseProject. This object contains the details of the Google Analytics property associated with the Project. (id: AnalyticsProperty)
streamMappingsarray - 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:

NameAccessible byRequired ParamsOptional ParamsDescription
get_analytics_detailsselectprojectsIdGets 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.

NameDatatypeDescription
projectsIdstring

SELECT examples​

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
;