<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@firebase/firestore](./firestore.md) &gt; [/](./firestore_.md) &gt; [DocumentSnapshot](./firestore_.documentsnapshot.md) &gt; [metadata](./firestore_.documentsnapshot.metadata.md)

## DocumentSnapshot.metadata property

Metadata about the `DocumentSnapshot`<!-- -->, including information about its source and local modifications.

<b>Signature:</b>

```typescript
readonly metadata: SnapshotMetadata;
```
