# Firestore in Datastore mode Admin V1 API - Class Google::Cloud::Datastore::Admin::V1::GetIndexRequest (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.0 1.2.1 1.1.0 1.0.1 0.12.0 0.11.2 0.10.0 0.9.1 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API class Google::Cloud::Datastore::Admin::V1::GetIndexRequest.

The request for
[google.datastore.admin.v1.DatastoreAdmin.GetIndex](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastore-admin-v1/latest/Google-Cloud-Datastore-Admin-V1-DatastoreAdmin-Client#Google__Cloud__Datastore__Admin__V1__DatastoreAdmin__Client_get_index_instance_ "Google::Cloud::Datastore::Admin::V1::DatastoreAdmin::Client#get_index (method)").

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #index_id

    def index_id() -> ::String

**Returns**

- (::String) --- The resource ID of the index to get.

### #index_id=

    def index_id=(value) -> ::String

**Parameter**

- **value** (::String) --- The resource ID of the index to get.
**Returns**

- (::String) --- The resource ID of the index to get.

### #project_id

    def project_id() -> ::String

**Returns**

- (::String) --- Project ID against which to make the request.

### #project_id=

    def project_id=(value) -> ::String

**Parameter**

- **value** (::String) --- Project ID against which to make the request.
**Returns**

- (::String) --- Project ID against which to make the request.