# Cloud Firestore V1 API - Class Google::Cloud::Firestore::V1::ExecutionStats (v2.4.0)

2.4.0 (latest) 2.3.0 2.2.1 2.1.1 2.0.1 1.3.0 1.2.0 1.1.1 1.0.0 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.8 Reference documentation and code samples for the Cloud Firestore V1 API class Google::Cloud::Firestore::V1::ExecutionStats.

Execution statistics for the query.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #debug_stats

    def debug_stats() -> ::Google::Protobuf::Struct

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/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" } }

### #debug_stats=

    def debug_stats=(value) -> ::Google::Protobuf::Struct

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/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" } }
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/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" } }

### #execution_duration

    def execution_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/Google-Protobuf-Duration)) --- Total time to execute the query in the backend.

### #execution_duration=

    def execution_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/Google-Protobuf-Duration)) --- Total time to execute the query in the backend.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-firestore-v1/latest/Google-Protobuf-Duration)) --- Total time to execute the query in the backend.

### #read_operations

    def read_operations() -> ::Integer

**Returns**

- (::Integer) --- Total billable read operations.

### #read_operations=

    def read_operations=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total billable read operations.
**Returns**

- (::Integer) --- Total billable read operations.

### #results_returned

    def results_returned() -> ::Integer

**Returns**

- (::Integer) --- Total number of results returned, including documents, projections, aggregation results, keys.

### #results_returned=

    def results_returned=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Total number of results returned, including documents, projections, aggregation results, keys.
**Returns**

- (::Integer) --- Total number of results returned, including documents, projections, aggregation results, keys.