public sealed class StructuredQuery.Types.CollectionSelector : IMessage<StructuredQuery.Types.CollectionSelector>, IEquatable<StructuredQuery.Types.CollectionSelector>, IDeepCloneable<StructuredQuery.Types.CollectionSelector>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.CollectionSelector.
A selection of a collection, such as messages as m1.
When false, selects only collections that are immediate children of
the parent specified in the containing RunQueryRequest.
When true, selects all descendant collections.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["The `StructuredQuery.Types.CollectionSelector` class is part of the Firestore v1 API, and is used to select a collection within a query, like `messages as m1`."],["This class inherits from `object` and implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The class offers a default constructor, `CollectionSelector()`, and an overload `CollectionSelector(StructuredQuery.Types.CollectionSelector other)` for copying an existing `CollectionSelector` instance."],["Key properties of `CollectionSelector` include `AllDescendants` (a boolean to select all descendant collections or only immediate children) and `CollectionId` (a string to specify the ID of the collection to select)."],["The provided documentation covers various versions of the API, ranging from version 2.3.0 to the latest 3.10.0, showing the class is supported in each of them."]]],[]]