# Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::IndexEntity (v1.8.0)

1.8.0 (latest) 1.7.0 1.6.0 1.5.1 1.4.0 1.3.1 1.2.2 1.1.0 1.0.1 0.8.0 0.7.2 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.5 Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::IndexEntity.

Index is not used as an independent entity, it is retrieved as part of a
Table entity.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #custom_features

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

**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.

### #custom_features=

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

**Parameter**

- **value** ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.
**Returns**

- ([::Google::Protobuf::Struct](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-cloud_dms-v1/latest/Google-Protobuf-Struct)) --- Custom engine specific features.

### #name

    def name() -> ::String

**Returns**

- (::String) --- The name of the index.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- The name of the index.
**Returns**

- (::String) --- The name of the index.

### #table_columns

    def table_columns() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

### #table_columns=

    def table_columns=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.
**Returns**

- (::Array\<::String\>) --- Table columns used as part of the Index, for example B-TREE index should list the columns which constitutes the index.

### #type

    def type() -> ::String

**Returns**

- (::String) --- Type of index, for example B-TREE.

### #type=

    def type=(value) -> ::String

**Parameter**

- **value** (::String) --- Type of index, for example B-TREE.
**Returns**

- (::String) --- Type of index, for example B-TREE.

### #unique

    def unique() -> ::Boolean

**Returns**

- (::Boolean) --- Boolean value indicating whether the index is unique.

### #unique=

    def unique=(value) -> ::Boolean

**Parameter**

- **value** (::Boolean) --- Boolean value indicating whether the index is unique.
**Returns**

- (::Boolean) --- Boolean value indicating whether the index is unique.