Class: Google::Apis::FirestoreV1beta1::PlanSummary
- Inherits:
-
Object
- Object
- Google::Apis::FirestoreV1beta1::PlanSummary
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firestore_v1beta1/classes.rb,
lib/google/apis/firestore_v1beta1/representations.rb,
lib/google/apis/firestore_v1beta1/representations.rb
Overview
Planning phase information for the query.
Instance Attribute Summary collapse
-
#indexes_used ⇒ Array<Hash<String,Object>>
The indexes selected for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PlanSummary
constructor
A new instance of PlanSummary.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PlanSummary
Returns a new instance of PlanSummary.
2134 2135 2136 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2134 def initialize(**args) update!(**args) end |
Instance Attribute Details
#indexes_used ⇒ Array<Hash<String,Object>>
The indexes selected for the query. For example: [ "query_scope": "Collection"
, "properties": "(foo ASC, __name__ ASC)"
, "query_scope": "Collection", "
properties": "(bar ASC, __name__ ASC)"
]
Corresponds to the JSON property indexesUsed
2132 2133 2134 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2132 def indexes_used @indexes_used end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2139 2140 2141 |
# File 'lib/google/apis/firestore_v1beta1/classes.rb', line 2139 def update!(**args) @indexes_used = args[:indexes_used] if args.key?(:indexes_used) end |