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 projects.getAnalyticsDetails
is NOT_FOUND
.
HTTP request
GET https://firebase.googleapis.com/v1beta1/{name=projects/*/analyticsDetails}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The resource name of the
Refer to the |
Request body
The request body must be empty.
Response body
If successful, the response body contains data with the following structure:
JSON representation |
---|
{ "analyticsProperty": { object ( |
Fields | |
---|---|
analytics |
The Analytics Property object associated with the specified This object contains the details of the Google Analytics property associated with the Project. |
stream |
|
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/cloud-platform.read-only
https://www.googleapis.com/auth/firebase
https://www.googleapis.com/auth/firebase.readonly
For more information, see the Authentication Overview.
AnalyticsProperty
Details of a Google Analytics property
JSON representation |
---|
{ "id": string, "displayName": string, "analyticsAccountId": string } |
Fields | |
---|---|
id |
The globally unique, Google-assigned identifier of the Google Analytics property associated with the specified If you called |
display |
The display name of the Google Analytics property associated with the specified |
analytics |
Output only. The ID of the Google Analytics account for the Google Analytics property associated with the specified |
StreamMapping
A mapping of a Firebase App to a Google Analytics data stream
JSON representation |
---|
{ "app": string, "streamId": string, "measurementId": string } |
Fields | |
---|---|
app |
The resource name of the Firebase App associated with the Google Analytics data stream, in the format:
or
or
Refer to the |
stream |
The unique Google-assigned identifier of the Google Analytics data stream associated with the Firebase App. Learn more about Google Analytics data streams in the Analytics documentation. |
measurement |
Applicable for Firebase Web Apps only. 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. Learn more about this ID and Google Analytics web streams in the Analytics documentation. |