Class: Google::Apis::DatastoreV1beta3::ExecutionStats
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::ExecutionStats
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb
Overview
Execution statistics for the query.
Instance Attribute Summary collapse
-
#debug_stats ⇒ Hash<String,Object>
Debugging statistics from the execution of the query.
-
#execution_duration ⇒ String
Total time to execute the query in the backend.
-
#read_operations ⇒ Fixnum
Total billable read operations.
-
#results_returned ⇒ Fixnum
Total number of results returned, including documents, projections, aggregation results, keys.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ExecutionStats
constructor
A new instance of ExecutionStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ExecutionStats
Returns a new instance of ExecutionStats.
526 527 528 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 526 def initialize(**args) update!(**args) end |
Instance Attribute Details
#debug_stats ⇒ Hash<String,Object>
Debugging statistics from the execution of the query. Note that the debugging
stats are subject to change as Firestore evolves. It could include: "
indexes_entries_scanned": "1000", "documents_scanned": "20", "billing_details"
:
"documents_billable": "20", "index_entries_billable": "1000", "
min_query_cost": "0"
Corresponds to the JSON property
debugStats
508 509 510 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 508 def debug_stats @debug_stats end |
#execution_duration ⇒ String
Total time to execute the query in the backend.
Corresponds to the JSON property executionDuration
513 514 515 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 513 def execution_duration @execution_duration end |
#read_operations ⇒ Fixnum
Total billable read operations.
Corresponds to the JSON property readOperations
518 519 520 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 518 def read_operations @read_operations end |
#results_returned ⇒ Fixnum
Total number of results returned, including documents, projections,
aggregation results, keys.
Corresponds to the JSON property resultsReturned
524 525 526 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 524 def results_returned @results_returned end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
531 532 533 534 535 536 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 531 def update!(**args) @debug_stats = args[:debug_stats] if args.key?(:debug_stats) @execution_duration = args[:execution_duration] if args.key?(:execution_duration) @read_operations = args[:read_operations] if args.key?(:read_operations) @results_returned = args[:results_returned] if args.key?(:results_returned) end |