Skip to content

Commit 7439b69

Browse files
Google APIscopybara-github
authored andcommitted
feat: Update DataStoreSpec and add BoostSpec to SearchService
docs: Clarify project number requirement for data_store field PiperOrigin-RevId: 886697454
1 parent cba8415 commit 7439b69

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

google/cloud/discoveryengine/v1beta/search_service.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ message SearchRequest {
105105
// Required. Full resource name of
106106
// [DataStore][google.cloud.discoveryengine.v1beta.DataStore], such as
107107
// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
108+
// The path must include the project number, project id is not supported for
109+
// this field.
108110
string data_store = 1 [
109111
(google.api.field_behavior) = REQUIRED,
110112
(google.api.resource_reference) = {
@@ -116,6 +118,11 @@ message SearchRequest {
116118
// specified by data_store field. For more information on filtering, see
117119
// [Filtering](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
118120
string filter = 5 [(google.api.field_behavior) = OPTIONAL];
121+
122+
// Optional. Boost specification to boost certain documents.
123+
// For more information on boosting, see
124+
// [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
125+
BoostSpec boost_spec = 6 [(google.api.field_behavior) = OPTIONAL];
119126
}
120127

121128
// A facet specification to perform faceted search.

0 commit comments

Comments
 (0)