A map of parameters and their values associated with the event.Note: Values in this map are cast to the most appropriate type. Due to the nature of JavaScript's number handling, this might entail a loss of precision in cases of very large integers.
[null,null,["Last updated 2023-04-24 UTC."],[],[],null,["# analytics.AnalyticsEvent class\n\nInterface representing a Firebase Analytics event that was logged for a specific user.\n\n**Signature:** \n\n export declare class AnalyticsEvent \n\nConstructors\n------------\n\n| Constructor | Modifiers | Description |\n|------------------------------------------------------------------------------------------------------------------|-----------|---------------------------------------------------------|\n| [(constructor)(wireFormat)](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventconstructor) | | Constructs a new instance of the `AnalyticsEvent` class |\n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|------------------------------------------------------------------------------------------------------------|-----------|--------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [logTime](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventlogtime) | | string | UTC client time when the event happened. |\n| [name](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventname) | | string | The name of the event. |\n| [params](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventparams) | | { \\[key: string\\]: any; } | A map of parameters and their values associated with the event.Note: Values in this map are cast to the most appropriate type. Due to the nature of JavaScript's number handling, this might entail a loss of precision in cases of very large integers. |\n| [previousLogTime](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventpreviouslogtime) | | string | UTC client time when the previous event happened. |\n| [reportingDate](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventreportingdate) | | string | The date on which the event.was logged. (`YYYYMMDD` format in the registered timezone of your app). |\n| [user](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventuser) | | [UserDimensions](./firebase-functions.analytics.userdimensions.md#analyticsuserdimensions_class) | User-related dimensions. |\n| [valueInUSD](./firebase-functions.analytics.analyticsevent.md#analyticsanalyticseventvalueinusd) | | number | Value parameter in USD. |\n\nanalytics.AnalyticsEvent.(constructor)\n--------------------------------------\n\nConstructs a new instance of the `AnalyticsEvent` class\n\n**Signature:** \n\n constructor(wireFormat: any);\n\n### Parameters\n\n| Parameter | Type | Description |\n|------------|------|-------------|\n| wireFormat | any | |\n\nanalytics.AnalyticsEvent.logTime\n--------------------------------\n\nUTC client time when the event happened.\n\n**Signature:** \n\n logTime: string;\n\nanalytics.AnalyticsEvent.name\n-----------------------------\n\nThe name of the event.\n\n**Signature:** \n\n name: string;\n\nanalytics.AnalyticsEvent.params\n-------------------------------\n\nA map of parameters and their values associated with the event.\n| **Note:** Values in this map are cast to the most appropriate type. Due to the nature of JavaScript's number handling, this might entail a loss of precision in cases of very large integers.\n\n**Signature:** \n\n params: {\n [key: string]: any;\n };\n\nanalytics.AnalyticsEvent.previousLogTime\n----------------------------------------\n\nUTC client time when the previous event happened.\n\n**Signature:** \n\n previousLogTime?: string;\n\nanalytics.AnalyticsEvent.reportingDate\n--------------------------------------\n\nThe date on which the event.was logged. (`YYYYMMDD` format in the registered timezone of your app).\n\n**Signature:** \n\n reportingDate: string;\n\nanalytics.AnalyticsEvent.user\n-----------------------------\n\nUser-related dimensions.\n\n**Signature:** \n\n user?: UserDimensions;\n\nanalytics.AnalyticsEvent.valueInUSD\n-----------------------------------\n\nValue parameter in USD.\n\n**Signature:** \n\n valueInUSD?: number;"]]