@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
@@ -167,7 +167,10 @@ export declare class SearchServiceClient {
|
|
167
167
|
*
|
168
168
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
169
169
|
* @param {number[]} request.dataStoreSpecs
|
170
|
-
*
|
170
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
171
|
+
* for those dataStores. This is only considered for engines with multiple
|
172
|
+
* dataStores use case. For single dataStore within an engine, they should
|
173
|
+
* use the specs at the top level.
|
171
174
|
* @param {string} request.filter
|
172
175
|
* The filter syntax consists of an expression language for constructing a
|
173
176
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -201,7 +204,9 @@ export declare class SearchServiceClient {
|
|
201
204
|
* The order in which documents are returned. Documents can be ordered by
|
202
205
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
203
206
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
204
|
-
* case-sensitive.
|
207
|
+
* case-sensitive.
|
208
|
+
*
|
209
|
+
* For more information on ordering for retail search, see
|
205
210
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
206
211
|
*
|
207
212
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -218,7 +223,7 @@ export declare class SearchServiceClient {
|
|
218
223
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
219
224
|
* Boost specification to boost certain documents.
|
220
225
|
* For more information on boosting, see
|
221
|
-
* [Boosting](https://cloud.google.com/
|
226
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
222
227
|
* @param {number[]} request.params
|
223
228
|
* Additional search parameters.
|
224
229
|
*
|
@@ -226,8 +231,7 @@ export declare class SearchServiceClient {
|
|
226
231
|
*
|
227
232
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
228
233
|
* are restricted or boosted based on the location provided.
|
229
|
-
*
|
230
|
-
* user_country_code: "au"
|
234
|
+
* For example, `user_country_code: "au"`
|
231
235
|
*
|
232
236
|
* For available codes see [Country
|
233
237
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -235,8 +239,7 @@ export declare class SearchServiceClient {
|
|
235
239
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
236
240
|
* depending on the value. The only valid non-default value is 1,
|
237
241
|
* which enables image searching.
|
238
|
-
*
|
239
|
-
* search_type: 1
|
242
|
+
* For example, `search_type: 1`
|
240
243
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
241
244
|
* The query expansion specification that specifies the conditions under which
|
242
245
|
* query expansion occurs.
|
@@ -382,7 +385,10 @@ export declare class SearchServiceClient {
|
|
382
385
|
*
|
383
386
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
384
387
|
* @param {number[]} request.dataStoreSpecs
|
385
|
-
*
|
388
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
389
|
+
* for those dataStores. This is only considered for engines with multiple
|
390
|
+
* dataStores use case. For single dataStore within an engine, they should
|
391
|
+
* use the specs at the top level.
|
386
392
|
* @param {string} request.filter
|
387
393
|
* The filter syntax consists of an expression language for constructing a
|
388
394
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -416,7 +422,9 @@ export declare class SearchServiceClient {
|
|
416
422
|
* The order in which documents are returned. Documents can be ordered by
|
417
423
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
418
424
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
419
|
-
* case-sensitive.
|
425
|
+
* case-sensitive.
|
426
|
+
*
|
427
|
+
* For more information on ordering for retail search, see
|
420
428
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
421
429
|
*
|
422
430
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -433,7 +441,7 @@ export declare class SearchServiceClient {
|
|
433
441
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
434
442
|
* Boost specification to boost certain documents.
|
435
443
|
* For more information on boosting, see
|
436
|
-
* [Boosting](https://cloud.google.com/
|
444
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
437
445
|
* @param {number[]} request.params
|
438
446
|
* Additional search parameters.
|
439
447
|
*
|
@@ -441,8 +449,7 @@ export declare class SearchServiceClient {
|
|
441
449
|
*
|
442
450
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
443
451
|
* are restricted or boosted based on the location provided.
|
444
|
-
*
|
445
|
-
* user_country_code: "au"
|
452
|
+
* For example, `user_country_code: "au"`
|
446
453
|
*
|
447
454
|
* For available codes see [Country
|
448
455
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -450,8 +457,7 @@ export declare class SearchServiceClient {
|
|
450
457
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
451
458
|
* depending on the value. The only valid non-default value is 1,
|
452
459
|
* which enables image searching.
|
453
|
-
*
|
454
|
-
* search_type: 1
|
460
|
+
* For example, `search_type: 1`
|
455
461
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
456
462
|
* The query expansion specification that specifies the conditions under which
|
457
463
|
* query expansion occurs.
|
@@ -592,7 +598,10 @@ export declare class SearchServiceClient {
|
|
592
598
|
*
|
593
599
|
* If this field is negative, an `INVALID_ARGUMENT` is returned.
|
594
600
|
* @param {number[]} request.dataStoreSpecs
|
595
|
-
*
|
601
|
+
* Specs defining dataStores to filter on in a search call and configurations
|
602
|
+
* for those dataStores. This is only considered for engines with multiple
|
603
|
+
* dataStores use case. For single dataStore within an engine, they should
|
604
|
+
* use the specs at the top level.
|
596
605
|
* @param {string} request.filter
|
597
606
|
* The filter syntax consists of an expression language for constructing a
|
598
607
|
* predicate from one or more fields of the documents being filtered. Filter
|
@@ -626,7 +635,9 @@ export declare class SearchServiceClient {
|
|
626
635
|
* The order in which documents are returned. Documents can be ordered by
|
627
636
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
628
637
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
629
|
-
* case-sensitive.
|
638
|
+
* case-sensitive.
|
639
|
+
*
|
640
|
+
* For more information on ordering for retail search, see
|
630
641
|
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
631
642
|
*
|
632
643
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
@@ -643,7 +654,7 @@ export declare class SearchServiceClient {
|
|
643
654
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
644
655
|
* Boost specification to boost certain documents.
|
645
656
|
* For more information on boosting, see
|
646
|
-
* [Boosting](https://cloud.google.com/
|
657
|
+
* [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
647
658
|
* @param {number[]} request.params
|
648
659
|
* Additional search parameters.
|
649
660
|
*
|
@@ -651,8 +662,7 @@ export declare class SearchServiceClient {
|
|
651
662
|
*
|
652
663
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
653
664
|
* are restricted or boosted based on the location provided.
|
654
|
-
*
|
655
|
-
* user_country_code: "au"
|
665
|
+
* For example, `user_country_code: "au"`
|
656
666
|
*
|
657
667
|
* For available codes see [Country
|
658
668
|
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
@@ -660,8 +670,7 @@ export declare class SearchServiceClient {
|
|
660
670
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
661
671
|
* depending on the value. The only valid non-default value is 1,
|
662
672
|
* which enables image searching.
|
663
|
-
*
|
664
|
-
* search_type: 1
|
673
|
+
* For example, `search_type: 1`
|
665
674
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
666
675
|
* The query expansion specification that specifies the conditions under which
|
667
676
|
* query expansion occurs.
|
@@ -844,6 +853,21 @@ export declare class SearchServiceClient {
|
|
844
853
|
* @returns {string} A string representing the engine.
|
845
854
|
*/
|
846
855
|
matchEngineFromEngineName(engineName: string): string | number;
|
856
|
+
/**
|
857
|
+
* Return a fully-qualified project resource name string.
|
858
|
+
*
|
859
|
+
* @param {string} project
|
860
|
+
* @returns {string} Resource name string.
|
861
|
+
*/
|
862
|
+
projectPath(project: string): string;
|
863
|
+
/**
|
864
|
+
* Parse the project from Project resource.
|
865
|
+
*
|
866
|
+
* @param {string} projectName
|
867
|
+
* A fully-qualified path representing Project resource.
|
868
|
+
* @returns {string} A string representing the project.
|
869
|
+
*/
|
870
|
+
matchProjectFromProjectName(projectName: string): string | number;
|
847
871
|
/**
|
848
872
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
849
873
|
*
|
@@ -997,6 +1021,57 @@ export declare class SearchServiceClient {
|
|
997
1021
|
* @returns {string} A string representing the document.
|
998
1022
|
*/
|
999
1023
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
1024
|
+
/**
|
1025
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1026
|
+
*
|
1027
|
+
* @param {string} project
|
1028
|
+
* @param {string} location
|
1029
|
+
* @param {string} collection
|
1030
|
+
* @param {string} data_store
|
1031
|
+
* @param {string} control
|
1032
|
+
* @returns {string} Resource name string.
|
1033
|
+
*/
|
1034
|
+
projectLocationCollectionDataStoreControlPath(project: string, location: string, collection: string, dataStore: string, control: string): string;
|
1035
|
+
/**
|
1036
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1037
|
+
*
|
1038
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1039
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1040
|
+
* @returns {string} A string representing the project.
|
1041
|
+
*/
|
1042
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1043
|
+
/**
|
1044
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1045
|
+
*
|
1046
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1047
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1048
|
+
* @returns {string} A string representing the location.
|
1049
|
+
*/
|
1050
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1051
|
+
/**
|
1052
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1053
|
+
*
|
1054
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1055
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1056
|
+
* @returns {string} A string representing the collection.
|
1057
|
+
*/
|
1058
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1059
|
+
/**
|
1060
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1061
|
+
*
|
1062
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1063
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1064
|
+
* @returns {string} A string representing the data_store.
|
1065
|
+
*/
|
1066
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1067
|
+
/**
|
1068
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1069
|
+
*
|
1070
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1071
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1072
|
+
* @returns {string} A string representing the control.
|
1073
|
+
*/
|
1074
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName: string): string | number;
|
1000
1075
|
/**
|
1001
1076
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1002
1077
|
*
|
@@ -1048,6 +1123,57 @@ export declare class SearchServiceClient {
|
|
1048
1123
|
* @returns {string} A string representing the conversation.
|
1049
1124
|
*/
|
1050
1125
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
1126
|
+
/**
|
1127
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1128
|
+
*
|
1129
|
+
* @param {string} project
|
1130
|
+
* @param {string} location
|
1131
|
+
* @param {string} collection
|
1132
|
+
* @param {string} data_store
|
1133
|
+
* @param {string} custom_tuning_model
|
1134
|
+
* @returns {string} Resource name string.
|
1135
|
+
*/
|
1136
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project: string, location: string, collection: string, dataStore: string, customTuningModel: string): string;
|
1137
|
+
/**
|
1138
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1139
|
+
*
|
1140
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1141
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1142
|
+
* @returns {string} A string representing the project.
|
1143
|
+
*/
|
1144
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1145
|
+
/**
|
1146
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1147
|
+
*
|
1148
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1149
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1150
|
+
* @returns {string} A string representing the location.
|
1151
|
+
*/
|
1152
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1153
|
+
/**
|
1154
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1155
|
+
*
|
1156
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1157
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1158
|
+
* @returns {string} A string representing the collection.
|
1159
|
+
*/
|
1160
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1161
|
+
/**
|
1162
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1163
|
+
*
|
1164
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1165
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1166
|
+
* @returns {string} A string representing the data_store.
|
1167
|
+
*/
|
1168
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1169
|
+
/**
|
1170
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1171
|
+
*
|
1172
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1173
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1174
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1175
|
+
*/
|
1176
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName: string): string | number;
|
1051
1177
|
/**
|
1052
1178
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1053
1179
|
*
|
@@ -1396,6 +1522,57 @@ export declare class SearchServiceClient {
|
|
1396
1522
|
* @returns {string} A string representing the target_site.
|
1397
1523
|
*/
|
1398
1524
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1525
|
+
/**
|
1526
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1527
|
+
*
|
1528
|
+
* @param {string} project
|
1529
|
+
* @param {string} location
|
1530
|
+
* @param {string} collection
|
1531
|
+
* @param {string} engine
|
1532
|
+
* @param {string} control
|
1533
|
+
* @returns {string} Resource name string.
|
1534
|
+
*/
|
1535
|
+
projectLocationCollectionEngineControlPath(project: string, location: string, collection: string, engine: string, control: string): string;
|
1536
|
+
/**
|
1537
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1538
|
+
*
|
1539
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1540
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1541
|
+
* @returns {string} A string representing the project.
|
1542
|
+
*/
|
1543
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1544
|
+
/**
|
1545
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1546
|
+
*
|
1547
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1548
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1549
|
+
* @returns {string} A string representing the location.
|
1550
|
+
*/
|
1551
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1552
|
+
/**
|
1553
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1554
|
+
*
|
1555
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1556
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1557
|
+
* @returns {string} A string representing the collection.
|
1558
|
+
*/
|
1559
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1560
|
+
/**
|
1561
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1562
|
+
*
|
1563
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1564
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1565
|
+
* @returns {string} A string representing the engine.
|
1566
|
+
*/
|
1567
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1568
|
+
/**
|
1569
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1570
|
+
*
|
1571
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1572
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1573
|
+
* @returns {string} A string representing the control.
|
1574
|
+
*/
|
1575
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName: string): string | number;
|
1399
1576
|
/**
|
1400
1577
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1401
1578
|
*
|
@@ -1735,6 +1912,48 @@ export declare class SearchServiceClient {
|
|
1735
1912
|
* @returns {string} A string representing the document.
|
1736
1913
|
*/
|
1737
1914
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1915
|
+
/**
|
1916
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1917
|
+
*
|
1918
|
+
* @param {string} project
|
1919
|
+
* @param {string} location
|
1920
|
+
* @param {string} data_store
|
1921
|
+
* @param {string} control
|
1922
|
+
* @returns {string} Resource name string.
|
1923
|
+
*/
|
1924
|
+
projectLocationDataStoreControlPath(project: string, location: string, dataStore: string, control: string): string;
|
1925
|
+
/**
|
1926
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
1927
|
+
*
|
1928
|
+
* @param {string} projectLocationDataStoreControlName
|
1929
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1930
|
+
* @returns {string} A string representing the project.
|
1931
|
+
*/
|
1932
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1933
|
+
/**
|
1934
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
1935
|
+
*
|
1936
|
+
* @param {string} projectLocationDataStoreControlName
|
1937
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1938
|
+
* @returns {string} A string representing the location.
|
1939
|
+
*/
|
1940
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1941
|
+
/**
|
1942
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
1943
|
+
*
|
1944
|
+
* @param {string} projectLocationDataStoreControlName
|
1945
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1946
|
+
* @returns {string} A string representing the data_store.
|
1947
|
+
*/
|
1948
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1949
|
+
/**
|
1950
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
1951
|
+
*
|
1952
|
+
* @param {string} projectLocationDataStoreControlName
|
1953
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
1954
|
+
* @returns {string} A string representing the control.
|
1955
|
+
*/
|
1956
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName: string): string | number;
|
1738
1957
|
/**
|
1739
1958
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
1740
1959
|
*
|
@@ -1777,6 +1996,48 @@ export declare class SearchServiceClient {
|
|
1777
1996
|
* @returns {string} A string representing the conversation.
|
1778
1997
|
*/
|
1779
1998
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1999
|
+
/**
|
2000
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2001
|
+
*
|
2002
|
+
* @param {string} project
|
2003
|
+
* @param {string} location
|
2004
|
+
* @param {string} data_store
|
2005
|
+
* @param {string} custom_tuning_model
|
2006
|
+
* @returns {string} Resource name string.
|
2007
|
+
*/
|
2008
|
+
projectLocationDataStoreCustomTuningModelPath(project: string, location: string, dataStore: string, customTuningModel: string): string;
|
2009
|
+
/**
|
2010
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2011
|
+
*
|
2012
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2013
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2014
|
+
* @returns {string} A string representing the project.
|
2015
|
+
*/
|
2016
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2017
|
+
/**
|
2018
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2019
|
+
*
|
2020
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2021
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2022
|
+
* @returns {string} A string representing the location.
|
2023
|
+
*/
|
2024
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2025
|
+
/**
|
2026
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2027
|
+
*
|
2028
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2029
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2030
|
+
* @returns {string} A string representing the data_store.
|
2031
|
+
*/
|
2032
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
2033
|
+
/**
|
2034
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2035
|
+
*
|
2036
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2037
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2038
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2039
|
+
*/
|
2040
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName: string): string | number;
|
1780
2041
|
/**
|
1781
2042
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1782
2043
|
*
|