# Data Catalog V1 API - Class Google::Cloud::DataCatalog::V1::UsageStats (v2.8.0)

2.8.0 (latest) 2.7.0 2.6.0 2.5.1 2.4.0 2.3.1 2.2.2 2.1.1 2.0.0 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.23.0 0.22.0 0.21.2 0.20.1 0.19.0 0.18.1 0.17.0 0.16.1 0.15.0 0.14.0 0.13.0 0.12.1 0.11.0 0.10.0 0.9.1 Reference documentation and code samples for the Data Catalog V1 API class Google::Cloud::DataCatalog::V1::UsageStats.

Detailed statistics on the entry's usage.

Usage statistics have the following limitations:

- Only BigQuery tables have them.
- They only include BigQuery query jobs.
- They might be underestimated because wildcard table references are not yet counted. For more information, see [Querying multiple tables using a wildcard table](https://cloud.google.com/bigquery/docs/querying-wildcard-tables)

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #total_cancellations

    def total_cancellations() -> ::Float

**Returns**

- (::Float) --- The number of cancelled attempts to use the underlying entry.

### #total_cancellations=

    def total_cancellations=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The number of cancelled attempts to use the underlying entry.
**Returns**

- (::Float) --- The number of cancelled attempts to use the underlying entry.

### #total_completions

    def total_completions() -> ::Float

**Returns**

- (::Float) --- The number of successful uses of the underlying entry.

### #total_completions=

    def total_completions=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The number of successful uses of the underlying entry.
**Returns**

- (::Float) --- The number of successful uses of the underlying entry.

### #total_execution_time_for_completions_millis

    def total_execution_time_for_completions_millis() -> ::Float

**Returns**

- (::Float) --- Total time spent only on successful uses, in milliseconds.

### #total_execution_time_for_completions_millis=

    def total_execution_time_for_completions_millis=(value) -> ::Float

**Parameter**

- **value** (::Float) --- Total time spent only on successful uses, in milliseconds.
**Returns**

- (::Float) --- Total time spent only on successful uses, in milliseconds.

### #total_failures

    def total_failures() -> ::Float

**Returns**

- (::Float) --- The number of failed attempts to use the underlying entry.

### #total_failures=

    def total_failures=(value) -> ::Float

**Parameter**

- **value** (::Float) --- The number of failed attempts to use the underlying entry.
**Returns**

- (::Float) --- The number of failed attempts to use the underlying entry.