[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-18 UTC."],[],[],null,["# database.DatabaseEvent interface\n\nA CloudEvent that contains a DataSnapshot or a Change\n\n**Signature:** \n\n export interface DatabaseEvent\u003cT, Params = Record\u003cstring, string\u003e\u003e extends CloudEvent\u003cT\u003e \n\n**Extends:** [CloudEvent](./firebase-functions.cloudevent.md#cloudevent_interface)\\\u003cT\\\u003e\n\nProperties\n----------\n\n| Property | Type | Description |\n|------------------------------------------------------------------------------------------------------------------|--------|---------------------------------------------------------------------------------------------------------------------------------|\n| [firebaseDatabaseHost](./firebase-functions.database.databaseevent.md#databasedatabaseeventfirebasedatabasehost) | string | The domain of the database instance |\n| [instance](./firebase-functions.database.databaseevent.md#databasedatabaseeventinstance) | string | The instance ID portion of the fully qualified resource name |\n| [location](./firebase-functions.database.databaseevent.md#databasedatabaseeventlocation) | string | The location of the database |\n| [params](./firebase-functions.database.databaseevent.md#databasedatabaseeventparams) | Params | An object containing the values of the path patterns. Only named capture groups will be populated - {key}, {key=\\*}, {key=\\*\\*} |\n| [ref](./firebase-functions.database.databaseevent.md#databasedatabaseeventref) | string | The database reference path |\n\ndatabase.DatabaseEvent.firebaseDatabaseHost\n-------------------------------------------\n\nThe domain of the database instance\n\n**Signature:** \n\n firebaseDatabaseHost: string;\n\ndatabase.DatabaseEvent.instance\n-------------------------------\n\nThe instance ID portion of the fully qualified resource name\n\n**Signature:** \n\n instance: string;\n\ndatabase.DatabaseEvent.location\n-------------------------------\n\nThe location of the database\n\n**Signature:** \n\n location: string;\n\ndatabase.DatabaseEvent.params\n-----------------------------\n\nAn object containing the values of the path patterns. Only named capture groups will be populated - {key}, {key=\\*}, {key=\\*\\*}\n\n**Signature:** \n\n params: Params;\n\ndatabase.DatabaseEvent.ref\n--------------------------\n\nThe database reference path\n\n**Signature:** \n\n ref: string;"]]