Reference documentation and code samples for the Cloud Firestore Admin V1 API class Google::Cloud::Firestore::Admin::V1::CreateIndexRequest.
The request for FirestoreAdmin.CreateIndex.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index
def index() -> ::Google::Cloud::Firestore::Admin::V1::Index
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index) — Required. The composite index to create.
#index=
def index=(value) -> ::Google::Cloud::Firestore::Admin::V1::Index
Parameter
- value (::Google::Cloud::Firestore::Admin::V1::Index) — Required. The composite index to create.
Returns
- (::Google::Cloud::Firestore::Admin::V1::Index) — Required. The composite index to create.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. A parent name of the form
projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. A parent name of the form
projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}
Returns
-
(::String) — Required. A parent name of the form
projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}