class Google::Apis::FirestoreV1beta1::CollectionSelector
A selection of a collection, such as `messages as m1`.
Attributes
all_descendants[RW]
When false, selects only collections that are immediate children of the ` parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections. Corresponds to the JSON property `allDescendants` @return [Boolean]
all_descendants?[RW]
When false, selects only collections that are immediate children of the ` parent` specified in the containing `RunQueryRequest`. When true, selects all descendant collections. Corresponds to the JSON property `allDescendants` @return [Boolean]
collection_id[RW]
The collection ID. When set, selects only collections with this ID. Corresponds to the JSON property `collectionId` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/firestore_v1beta1/classes.rb, line 248 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/firestore_v1beta1/classes.rb, line 253 def update!(**args) @all_descendants = args[:all_descendants] if args.key?(:all_descendants) @collection_id = args[:collection_id] if args.key?(:collection_id) end