Class: Google::Firestore::V1beta1::StructuredQuery::CollectionSelector

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb

Overview

A selection of a collection, such as +messages as m1+.

Instance Attribute Summary collapse

Instance Attribute Details

#all_descendantstrue, false

Returns When false, selects only collections that are immediate children of the +parent+ specified in the containing +RunQueryRequest+. When true, selects all descendant collections.

Returns:

  • (true, false)

    When false, selects only collections that are immediate children of the +parent+ specified in the containing +RunQueryRequest+. When true, selects all descendant collections.



77
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb', line 77

class CollectionSelector; end

#collection_idString

Returns The collection ID. When set, selects only collections with this ID.

Returns:

  • (String)

    The collection ID. When set, selects only collections with this ID.



77
# File 'lib/google/cloud/firestore/v1beta1/doc/google/firestore/v1beta1/query.rb', line 77

class CollectionSelector; end