Firestore in Datastore mode Admin V1 API - Class Google::Cloud::Datastore::Admin::V1::Index (v1.1.0)

Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API class Google::Cloud::Datastore::Admin::V1::Index.

Datastore composite index definition.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#ancestor

def ancestor() -> ::Google::Cloud::Datastore::Admin::V1::Index::AncestorMode
Returns

#ancestor=

def ancestor=(value) -> ::Google::Cloud::Datastore::Admin::V1::Index::AncestorMode
Parameter
Returns

#index_id

def index_id() -> ::String
Returns
  • (::String) — Output only. The resource ID of the index.

#kind

def kind() -> ::String
Returns
  • (::String) — Required. The entity kind to which this index applies.

#kind=

def kind=(value) -> ::String
Parameter
  • value (::String) — Required. The entity kind to which this index applies.
Returns
  • (::String) — Required. The entity kind to which this index applies.

#project_id

def project_id() -> ::String
Returns
  • (::String) — Output only. Project ID.

#properties

def properties() -> ::Array<::Google::Cloud::Datastore::Admin::V1::Index::IndexedProperty>
Returns

#properties=

def properties=(value) -> ::Array<::Google::Cloud::Datastore::Admin::V1::Index::IndexedProperty>
Parameter
Returns

#state

def state() -> ::Google::Cloud::Datastore::Admin::V1::Index::State
Returns