@@ -50,6 +50,10 @@ service ConversationalSearchService {
5050 post : "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse"
5151 body : "*"
5252 }
53+ additional_bindings {
54+ post : "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse"
55+ body : "*"
56+ }
5357 };
5458 option (google.api.method_signature ) = "name,query" ;
5559 }
@@ -66,6 +70,10 @@ service ConversationalSearchService {
6670 post : "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
6771 body : "conversation"
6872 }
73+ additional_bindings {
74+ post : "/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations"
75+ body : "conversation"
76+ }
6977 };
7078 option (google.api.method_signature ) = "parent,conversation" ;
7179 }
@@ -81,6 +89,9 @@ service ConversationalSearchService {
8189 additional_bindings {
8290 delete : "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
8391 }
92+ additional_bindings {
93+ delete : "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
94+ }
8495 };
8596 option (google.api.method_signature ) = "name" ;
8697 }
@@ -99,6 +110,10 @@ service ConversationalSearchService {
99110 patch : "/v1/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
100111 body : "conversation"
101112 }
113+ additional_bindings {
114+ patch : "/v1/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
115+ body : "conversation"
116+ }
102117 };
103118 option (google.api.method_signature ) = "conversation,update_mask" ;
104119 }
@@ -110,6 +125,9 @@ service ConversationalSearchService {
110125 additional_bindings {
111126 get : "/v1/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
112127 }
128+ additional_bindings {
129+ get : "/v1/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
130+ }
113131 };
114132 option (google.api.method_signature ) = "name" ;
115133 }
@@ -123,6 +141,9 @@ service ConversationalSearchService {
123141 additional_bindings {
124142 get : "/v1/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
125143 }
144+ additional_bindings {
145+ get : "/v1/{parent=projects/*/locations/*/collections/*/engines/*}/conversations"
146+ }
126147 };
127148 option (google.api.method_signature ) = "parent" ;
128149 }
@@ -184,6 +205,24 @@ message ConverseConversationRequest {
184205
185206 // A specification for configuring the summary returned in the response.
186207 SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8 ;
208+
209+ // The filter syntax consists of an expression language for constructing a
210+ // predicate from one or more fields of the documents being filtered. Filter
211+ // expression is case-sensitive. This will be used to filter search results
212+ // which may affect the summary response.
213+ //
214+ // If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
215+ //
216+ // Filtering in Vertex AI Search is done by mapping the LHS filter key to a
217+ // key property defined in the Vertex AI Search backend -- this mapping is
218+ // defined by the customer in their schema. For example a media customer might
219+ // have a field 'name' in their schema. In this case the filter would look
220+ // like this: filter --> name:'ANY("king kong")'
221+ //
222+ // For more information about filtering including syntax and filter
223+ // operators, see
224+ // [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
225+ string filter = 9 ;
187226}
188227
189228// Response message for
@@ -224,7 +263,7 @@ message UpdateConversationRequest {
224263 // [Conversation][google.cloud.discoveryengine.v1.Conversation] to update. The
225264 // following are NOT supported:
226265 //
227- // * [conversation .name][]
266+ // * [Conversation .name][google.cloud.discoveryengine.v1.Conversation.name ]
228267 //
229268 // If not set or empty, all supported fields are updated.
230269 google.protobuf.FieldMask update_mask = 2 ;
0 commit comments