Reference documentation and code samples for the Firestore in Datastore mode Admin V1 API class Google::Cloud::Datastore::Admin::V1::CreateIndexRequest.
The request for google.datastore.admin.v1.DatastoreAdmin.CreateIndex.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#index
def index() -> ::Google::Cloud::Datastore::Admin::V1::Index
Returns
- (::Google::Cloud::Datastore::Admin::V1::Index) — The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
#index=
def index=(value) -> ::Google::Cloud::Datastore::Admin::V1::Index
Parameter
- value (::Google::Cloud::Datastore::Admin::V1::Index) — The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
Returns
- (::Google::Cloud::Datastore::Admin::V1::Index) — The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
#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.