# Firestore in Datastore mode Admin V1 API - Class Google::Cloud::Datastore::Admin::V1::Index::IndexedProperty (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::Index::IndexedProperty.

A property of an index.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #direction

    def direction() -> ::Google::Cloud::Datastore::Admin::V1::Index::Direction

**Returns**

- ([::Google::Cloud::Datastore::Admin::V1::Index::Direction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastore-admin-v1/latest/Google-Cloud-Datastore-Admin-V1-Index-Direction)) --- Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

### #direction=

    def direction=(value) -> ::Google::Cloud::Datastore::Admin::V1::Index::Direction

**Parameter**

- **value** ([::Google::Cloud::Datastore::Admin::V1::Index::Direction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastore-admin-v1/latest/Google-Cloud-Datastore-Admin-V1-Index-Direction)) --- Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
**Returns**

- ([::Google::Cloud::Datastore::Admin::V1::Index::Direction](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-datastore-admin-v1/latest/Google-Cloud-Datastore-Admin-V1-Index-Direction)) --- Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Required. The property name to index.

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The property name to index.
**Returns**

- (::String) --- Required. The property name to index.