Class: Google::Cloud::Firestore::V1::ExecutionStats

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/firestore/v1/query_profile.rb

Overview

Execution statistics for the query.

Instance Attribute Summary collapse

Instance Attribute Details

#debug_stats::Google::Protobuf::Struct

Returns 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" } }.

Returns:

  • (::Google::Protobuf::Struct)

    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" } }



91
92
93
94
# File 'proto_docs/google/firestore/v1/query_profile.rb', line 91

class ExecutionStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#execution_duration::Google::Protobuf::Duration

Returns Total time to execute the query in the backend.

Returns:



91
92
93
94
# File 'proto_docs/google/firestore/v1/query_profile.rb', line 91

class ExecutionStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#read_operations::Integer

Returns Total billable read operations.

Returns:

  • (::Integer)

    Total billable read operations.



91
92
93
94
# File 'proto_docs/google/firestore/v1/query_profile.rb', line 91

class ExecutionStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#results_returned::Integer

Returns Total number of results returned, including documents, projections, aggregation results, keys.

Returns:

  • (::Integer)

    Total number of results returned, including documents, projections, aggregation results, keys.



91
92
93
94
# File 'proto_docs/google/firestore/v1/query_profile.rb', line 91

class ExecutionStats
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end