Interface for defining optional parameters for creating a DocumentSnapshot.
Properties
createTime
nullable string
The date the document was created, formatted as a UTC string.
firebaseApp
nullable firebase.app.App
The Firebase app that the Firestore database belongs to. You do not need to supply this parameter if you supplied Firebase config values when initializing firebase-functions-test.
readTime
nullable string
The last time the document was read, formatted as a UTC string.
updateTime
nullable string
The last update time for the document, formatted as a UTC string.
Was this helpful?
Recommended for you
About these recommendations
These recommendations help you find the content you are looking for. They may be based on the page you’re currently viewing and your account’s saved web and app activity.
[[["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 2019-12-03 UTC."],[],[]]