public sealed class StructuredQuery.Types.Projection : IMessage<StructuredQuery.Types.Projection>, IEquatable<StructuredQuery.Types.Projection>, IDeepCloneable<StructuredQuery.Types.Projection>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.Projection.
[[["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\u003eThis page provides documentation for the \u003ccode\u003eStructuredQuery.Types.Projection\u003c/code\u003e class within the Google Cloud Firestore v1 API, specifically for version 3.9.0, and also offers navigation to other versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStructuredQuery.Types.Projection\u003c/code\u003e is used to define which document fields should be returned in a query and it inherits from \u003ccode\u003eobject\u003c/code\u003e and implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProjection\u003c/code\u003e class has two constructors, one default and one that takes another \u003ccode\u003eProjection\u003c/code\u003e object as a parameter, allowing for object duplication, and it includes a \u003ccode\u003eFields\u003c/code\u003e property to specify the document fields to be returned in the query results.\u003c/p\u003e\n"],["\u003cp\u003eIf the \u003ccode\u003eFields\u003c/code\u003e property within \u003ccode\u003eStructuredQuery.Types.Projection\u003c/code\u003e is empty, all fields of a document will be returned; to get only the document's name, one should use \u003ccode\u003e['__name__']\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for the \u003ccode\u003eStructuredQuery.Types.Projection\u003c/code\u003e class is \u003ccode\u003eGoogle.Cloud.Firestore.V1\u003c/code\u003e and it is found within the \u003ccode\u003eGoogle.Cloud.Firestore.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]