# Database Center V1BETA API - Class Google::Cloud::DatabaseCenter::V1beta::InefficientQueryInfo (v0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Database Center V1BETA API class Google::Cloud::DatabaseCenter::V1beta::InefficientQueryInfo.

Metadata about inefficient query signal info for a database resource.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #database

    def database() -> ::String

**Returns**

- (::String) --- Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.

### #database=

    def database=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.
**Returns**

- (::String) --- Name of the database where index is required. For example, "db1", which is the name of the database present in the instance.

### #impacted_queries_count

    def impacted_queries_count() -> ::Integer

**Returns**

- (::Integer) --- Count of queries to be impacted if index is applied

### #impacted_queries_count=

    def impacted_queries_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Count of queries to be impacted if index is applied
**Returns**

- (::Integer) --- Count of queries to be impacted if index is applied

### #sql_index_statement

    def sql_index_statement() -> ::String

**Returns**

- (::String) --- SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.

### #sql_index_statement=

    def sql_index_statement=(value) -> ::String

**Parameter**

- **value** (::String) --- SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.
**Returns**

- (::String) --- SQL statement of the index. Based on the ddl type, this will be either CREATE INDEX or DROP INDEX.

### #storage_cost_bytes

    def storage_cost_bytes() -> ::Integer

**Returns**

- (::Integer) --- Cost of additional disk usage in bytes

### #storage_cost_bytes=

    def storage_cost_bytes=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Cost of additional disk usage in bytes
**Returns**

- (::Integer) --- Cost of additional disk usage in bytes

### #table

    def table() -> ::String

**Returns**

- (::String) --- Name of the table where index is required

### #table=

    def table=(value) -> ::String

**Parameter**

- **value** (::String) --- Name of the table where index is required
**Returns**

- (::String) --- Name of the table where index is required