public sealed class CollectionSelector : IMessage<StructuredQuery.Types.CollectionSelector>, IEquatable<StructuredQuery.Types.CollectionSelector>, IDeepCloneable<StructuredQuery.Types.CollectionSelector>, IBufferMessage, IMessage
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-07-18 UTC."],[[["This webpage details the `CollectionSelector` class, part of the `Google.Cloud.Firestore.V1` namespace, which is utilized for selecting collections within Firestore queries."],["The `CollectionSelector` class has several versions available, ranging from version 2.3.0 to the latest version 3.10.0, with the links provided for each one."],["`CollectionSelector` inherits from `Object` and implements `IMessage\u003cStructuredQuery.Types.CollectionSelector\u003e`, `IEquatable\u003cStructuredQuery.Types.CollectionSelector\u003e`, `IDeepCloneable\u003cStructuredQuery.Types.CollectionSelector\u003e`, `IBufferMessage`, and `IMessage` interfaces."],["The class offers two constructors, a default one and one that accepts another `StructuredQuery.Types.CollectionSelector` instance."],["Key properties of `CollectionSelector` include `AllDescendants`, which determines if all descendant collections are selected, and `CollectionId`, which filters collections based on their ID."]]],[]]