[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Interface|AttributeTargets.Delegate)]public sealed class FirestoreDataAttribute:Attribute
Reference documentation and code samples for the Firestore API class FirestoreDataAttribute.
Attribute indicating that a type is intended to be used with Firestore.
[[["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 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the Firestore API documented is 3.10.0, while the current page focuses on version 3.2.0, and there are other versions available, ranging from 2.3.1 to 3.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e class is used to mark a type as compatible with Firestore, and is designed for use on classes, structs, enums, interfaces, and delegates.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e inherits from the \u003ccode\u003eAttribute\u003c/code\u003e class, providing methods for custom attribute usage, and is found within the \u003ccode\u003eGoogle.Cloud.Firestore\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e has properties to set a custom converter type and define how to handle unknown properties during serialization and deserialization.\u003c/p\u003e\n"],["\u003cp\u003eThe default setting for unknown property handling within the \u003ccode\u003eFirestoreDataAttribute\u003c/code\u003e class is set to \u003ccode\u003eWarn\u003c/code\u003e, and can be changed upon instantiation.\u003c/p\u003e\n"]]],[],null,[]]