@google-cloud/discoveryengine 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -168,7 +168,10 @@ export declare class SearchServiceClient {
|
|
168
168
|
*
|
169
169
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
170
170
|
* @param {number[]} request.dataStoreSpecs
|
171
|
-
*
|
171
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
172
|
+
* for those dataStores. This is only considered for engines with multiple
|
173
|
+
* dataStores use case. For single dataStore within an engine, they should
|
174
|
+
* use the specs at the top level.
|
172
175
|
* @param {string} request.filter
|
173
176
|
* The filter syntax consists of an expression language for constructing a
|
174
177
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -202,7 +205,9 @@ export declare class SearchServiceClient {
|
|
202
205
|
* The order in which documents are returned. Documents can be ordered by
|
203
206
|
* a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
|
204
207
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
205
|
-
* case-sensitive.
|
208
|
+
* case-sensitive.
|
209
|
+
*
|
210
|
+
* For more information on ordering for retail search, see
|
206
211
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
207
212
|
*
|
208
213
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -219,7 +224,7 @@ export declare class SearchServiceClient {
|
|
219
224
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
|
220
225
|
* Boost specification to boost certain documents.
|
221
226
|
* For more information on boosting, see
|
222
|
-
* [Boosting](https://cloud.google.com/
|
227
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
223
228
|
* @param {number[]} request.params
|
224
229
|
* Additional search parameters.
|
225
230
|
*
|
@@ -227,8 +232,7 @@ export declare class SearchServiceClient {
|
|
227
232
|
*
|
228
233
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
229
234
|
* are restricted or boosted based on the location provided.
|
230
|
-
*
|
231
|
-
* user_country_code: "au"
|
235
|
+
* For example, `user_country_code: "au"`
|
232
236
|
*
|
233
237
|
* For available codes see [Country
|
234
238
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -236,8 +240,7 @@ export declare class SearchServiceClient {
|
|
236
240
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
237
241
|
* depending on the value. The only valid non-default value is 1,
|
238
242
|
* which enables image searching.
|
239
|
-
*
|
240
|
-
* search_type: 1
|
243
|
+
* For example, `search_type: 1`
|
241
244
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
242
245
|
* The query expansion specification that specifies the conditions under which
|
243
246
|
* query expansion occurs.
|
@@ -386,7 +389,10 @@ export declare class SearchServiceClient {
|
|
386
389
|
*
|
387
390
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
388
391
|
* @param {number[]} request.dataStoreSpecs
|
389
|
-
*
|
392
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
393
|
+
* for those dataStores. This is only considered for engines with multiple
|
394
|
+
* dataStores use case. For single dataStore within an engine, they should
|
395
|
+
* use the specs at the top level.
|
390
396
|
* @param {string} request.filter
|
391
397
|
* The filter syntax consists of an expression language for constructing a
|
392
398
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -420,7 +426,9 @@ export declare class SearchServiceClient {
|
|
420
426
|
* The order in which documents are returned. Documents can be ordered by
|
421
427
|
* a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
|
422
428
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
423
|
-
* case-sensitive.
|
429
|
+
* case-sensitive.
|
430
|
+
*
|
431
|
+
* For more information on ordering for retail search, see
|
424
432
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
425
433
|
*
|
426
434
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -437,7 +445,7 @@ export declare class SearchServiceClient {
|
|
437
445
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
|
438
446
|
* Boost specification to boost certain documents.
|
439
447
|
* For more information on boosting, see
|
440
|
-
* [Boosting](https://cloud.google.com/
|
448
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
441
449
|
* @param {number[]} request.params
|
442
450
|
* Additional search parameters.
|
443
451
|
*
|
@@ -445,8 +453,7 @@ export declare class SearchServiceClient {
|
|
445
453
|
*
|
446
454
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
447
455
|
* are restricted or boosted based on the location provided.
|
448
|
-
*
|
449
|
-
* user_country_code: "au"
|
456
|
+
* For example, `user_country_code: "au"`
|
450
457
|
*
|
451
458
|
* For available codes see [Country
|
452
459
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -454,8 +461,7 @@ export declare class SearchServiceClient {
|
|
454
461
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
455
462
|
* depending on the value. The only valid non-default value is 1,
|
456
463
|
* which enables image searching.
|
457
|
-
*
|
458
|
-
* search_type: 1
|
464
|
+
* For example, `search_type: 1`
|
459
465
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
460
466
|
* The query expansion specification that specifies the conditions under which
|
461
467
|
* query expansion occurs.
|
@@ -599,7 +605,10 @@ export declare class SearchServiceClient {
|
|
599
605
|
*
|
600
606
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
601
607
|
* @param {number[]} request.dataStoreSpecs
|
602
|
-
*
|
608
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
609
|
+
* for those dataStores. This is only considered for engines with multiple
|
610
|
+
* dataStores use case. For single dataStore within an engine, they should
|
611
|
+
* use the specs at the top level.
|
603
612
|
* @param {string} request.filter
|
604
613
|
* The filter syntax consists of an expression language for constructing a
|
605
614
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -633,7 +642,9 @@ export declare class SearchServiceClient {
|
|
633
642
|
* The order in which documents are returned. Documents can be ordered by
|
634
643
|
* a field in an {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}
|
635
644
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
636
|
-
* case-sensitive.
|
645
|
+
* case-sensitive.
|
646
|
+
*
|
647
|
+
* For more information on ordering for retail search, see
|
637
648
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
638
649
|
*
|
639
650
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -650,7 +661,7 @@ export declare class SearchServiceClient {
|
|
650
661
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.BoostSpec} request.boostSpec
|
651
662
|
* Boost specification to boost certain documents.
|
652
663
|
* For more information on boosting, see
|
653
|
-
* [Boosting](https://cloud.google.com/
|
664
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
654
665
|
* @param {number[]} request.params
|
655
666
|
* Additional search parameters.
|
656
667
|
*
|
@@ -658,8 +669,7 @@ export declare class SearchServiceClient {
|
|
658
669
|
*
|
659
670
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
660
671
|
* are restricted or boosted based on the location provided.
|
661
|
-
*
|
662
|
-
* user_country_code: "au"
|
672
|
+
* For example, `user_country_code: "au"`
|
663
673
|
*
|
664
674
|
* For available codes see [Country
|
665
675
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -667,8 +677,7 @@ export declare class SearchServiceClient {
|
|
667
677
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
668
678
|
* depending on the value. The only valid non-default value is 1,
|
669
679
|
* which enables image searching.
|
670
|
-
*
|
671
|
-
* search_type: 1
|
680
|
+
* For example, `search_type: 1`
|
672
681
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
673
682
|
* The query expansion specification that specifies the conditions under which
|
674
683
|
* query expansion occurs.
|
@@ -1114,6 +1123,57 @@ export declare class SearchServiceClient {
|
|
1114
1123
|
* @returns {string} A string representing the chunk.
|
1115
1124
|
*/
|
1116
1125
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
1126
|
+
/**
|
1127
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1128
|
+
*
|
1129
|
+
* @param {string} project
|
1130
|
+
* @param {string} location
|
1131
|
+
* @param {string} collection
|
1132
|
+
* @param {string} data_store
|
1133
|
+
* @param {string} control
|
1134
|
+
* @returns {string} Resource name string.
|
1135
|
+
*/
|
1136
|
+
projectLocationCollectionDataStoreControlPath(project: string, location: string, collection: string, dataStore: string, control: string): string;
|
1137
|
+
/**
|
1138
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1139
|
+
*
|
1140
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1141
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1142
|
+
* @returns {string} A string representing the project.
|
1143
|
+
*/
|
1144
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1145
|
+
/**
|
1146
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1147
|
+
*
|
1148
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1149
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1150
|
+
* @returns {string} A string representing the location.
|
1151
|
+
*/
|
1152
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1153
|
+
/**
|
1154
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1155
|
+
*
|
1156
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1157
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1158
|
+
* @returns {string} A string representing the collection.
|
1159
|
+
*/
|
1160
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1161
|
+
/**
|
1162
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1163
|
+
*
|
1164
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1165
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1166
|
+
* @returns {string} A string representing the data_store.
|
1167
|
+
*/
|
1168
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1169
|
+
/**
|
1170
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1171
|
+
*
|
1172
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1173
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1174
|
+
* @returns {string} A string representing the control.
|
1175
|
+
*/
|
1176
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1117
1177
|
/**
|
1118
1178
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1119
1179
|
*
|
@@ -1165,6 +1225,57 @@ export declare class SearchServiceClient {
|
|
1165
1225
|
* @returns {string} A string representing the conversation.
|
1166
1226
|
*/
|
1167
1227
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
1228
|
+
/**
|
1229
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1230
|
+
*
|
1231
|
+
* @param {string} project
|
1232
|
+
* @param {string} location
|
1233
|
+
* @param {string} collection
|
1234
|
+
* @param {string} data_store
|
1235
|
+
* @param {string} custom_tuning_model
|
1236
|
+
* @returns {string} Resource name string.
|
1237
|
+
*/
|
1238
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
|
1239
|
+
/**
|
1240
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1241
|
+
*
|
1242
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1243
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1244
|
+
* @returns {string} A string representing the project.
|
1245
|
+
*/
|
1246
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1247
|
+
/**
|
1248
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1249
|
+
*
|
1250
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1251
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1252
|
+
* @returns {string} A string representing the location.
|
1253
|
+
*/
|
1254
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1255
|
+
/**
|
1256
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1257
|
+
*
|
1258
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1259
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1260
|
+
* @returns {string} A string representing the collection.
|
1261
|
+
*/
|
1262
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1263
|
+
/**
|
1264
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1265
|
+
*
|
1266
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1267
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1268
|
+
* @returns {string} A string representing the data_store.
|
1269
|
+
*/
|
1270
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1271
|
+
/**
|
1272
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1273
|
+
*
|
1274
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1275
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1276
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1277
|
+
*/
|
1278
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1168
1279
|
/**
|
1169
1280
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1170
1281
|
*
|
@@ -1513,6 +1624,57 @@ export declare class SearchServiceClient {
|
|
1513
1624
|
* @returns {string} A string representing the target_site.
|
1514
1625
|
*/
|
1515
1626
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1627
|
+
/**
|
1628
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1629
|
+
*
|
1630
|
+
* @param {string} project
|
1631
|
+
* @param {string} location
|
1632
|
+
* @param {string} collection
|
1633
|
+
* @param {string} engine
|
1634
|
+
* @param {string} control
|
1635
|
+
* @returns {string} Resource name string.
|
1636
|
+
*/
|
1637
|
+
projectLocationCollectionEngineControlPath(project: string, location: string, collection: string, engine: string, control: string): string;
|
1638
|
+
/**
|
1639
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1640
|
+
*
|
1641
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1642
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1643
|
+
* @returns {string} A string representing the project.
|
1644
|
+
*/
|
1645
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1646
|
+
/**
|
1647
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1648
|
+
*
|
1649
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1650
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1651
|
+
* @returns {string} A string representing the location.
|
1652
|
+
*/
|
1653
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1654
|
+
/**
|
1655
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1656
|
+
*
|
1657
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1658
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1659
|
+
* @returns {string} A string representing the collection.
|
1660
|
+
*/
|
1661
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1662
|
+
/**
|
1663
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1664
|
+
*
|
1665
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1666
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1667
|
+
* @returns {string} A string representing the engine.
|
1668
|
+
*/
|
1669
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1670
|
+
/**
|
1671
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1672
|
+
*
|
1673
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1674
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1675
|
+
* @returns {string} A string representing the control.
|
1676
|
+
*/
|
1677
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1516
1678
|
/**
|
1517
1679
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1518
1680
|
*
|
@@ -1912,6 +2074,48 @@ export declare class SearchServiceClient {
|
|
1912
2074
|
* @returns {string} A string representing the chunk.
|
1913
2075
|
*/
|
1914
2076
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
2077
|
+
/**
|
2078
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2079
|
+
*
|
2080
|
+
* @param {string} project
|
2081
|
+
* @param {string} location
|
2082
|
+
* @param {string} data_store
|
2083
|
+
* @param {string} control
|
2084
|
+
* @returns {string} Resource name string.
|
2085
|
+
*/
|
2086
|
+
projectLocationDataStoreControlPath(project: string, location: string, dataStore: string, control: string): string;
|
2087
|
+
/**
|
2088
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2089
|
+
*
|
2090
|
+
* @param {string} projectLocationDataStoreControlName
|
2091
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2092
|
+
* @returns {string} A string representing the project.
|
2093
|
+
*/
|
2094
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
2095
|
+
/**
|
2096
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2097
|
+
*
|
2098
|
+
* @param {string} projectLocationDataStoreControlName
|
2099
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2100
|
+
* @returns {string} A string representing the location.
|
2101
|
+
*/
|
2102
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
2103
|
+
/**
|
2104
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2105
|
+
*
|
2106
|
+
* @param {string} projectLocationDataStoreControlName
|
2107
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2108
|
+
* @returns {string} A string representing the data_store.
|
2109
|
+
*/
|
2110
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
2111
|
+
/**
|
2112
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2113
|
+
*
|
2114
|
+
* @param {string} projectLocationDataStoreControlName
|
2115
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2116
|
+
* @returns {string} A string representing the control.
|
2117
|
+
*/
|
2118
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1915
2119
|
/**
|
1916
2120
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1917
2121
|
*
|
@@ -1954,6 +2158,48 @@ export declare class SearchServiceClient {
|
|
1954
2158
|
* @returns {string} A string representing the conversation.
|
1955
2159
|
*/
|
1956
2160
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
2161
|
+
/**
|
2162
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2163
|
+
*
|
2164
|
+
* @param {string} project
|
2165
|
+
* @param {string} location
|
2166
|
+
* @param {string} data_store
|
2167
|
+
* @param {string} custom_tuning_model
|
2168
|
+
* @returns {string} Resource name string.
|
2169
|
+
*/
|
2170
|
+
projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
|
2171
|
+
/**
|
2172
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2173
|
+
*
|
2174
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2175
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2176
|
+
* @returns {string} A string representing the project.
|
2177
|
+
*/
|
2178
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2179
|
+
/**
|
2180
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2181
|
+
*
|
2182
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2183
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2184
|
+
* @returns {string} A string representing the location.
|
2185
|
+
*/
|
2186
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2187
|
+
/**
|
2188
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2189
|
+
*
|
2190
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2191
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2192
|
+
* @returns {string} A string representing the data_store.
|
2193
|
+
*/
|
2194
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2195
|
+
/**
|
2196
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2197
|
+
*
|
2198
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2199
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2200
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2201
|
+
*/
|
2202
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1957
2203
|
/**
|
1958
2204
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1959
2205
|
*
|