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) — 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) — Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
Returns
- (::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.