@google-cloud/discoveryengine 1.3.1 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +7 -0
- package/README.md +51 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +40 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +150 -11
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +264 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
- package/build/protos/protos.d.ts +41157 -23655
- package/build/protos/protos.js +103188 -62466
- package/build/protos/protos.json +10400 -6075
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +10 -1
- package/build/src/v1/completion_service_client.d.ts +489 -7
- package/build/src/v1/completion_service_client.js +715 -11
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1/conversational_search_service_client.js +466 -9
- package/build/src/v1/data_store_service_client.d.ts +1286 -0
- package/build/src/v1/data_store_service_client.js +1768 -0
- package/build/src/v1/data_store_service_client_config.json +46 -0
- package/build/src/v1/document_service_client.d.ts +347 -2
- package/build/src/v1/document_service_client.js +506 -9
- package/build/src/v1/engine_service_client.d.ts +1211 -0
- package/build/src/v1/engine_service_client.js +1731 -0
- package/build/src/v1/engine_service_client_config.json +46 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/schema_service_client.d.ts +272 -2
- package/build/src/v1/schema_service_client.js +402 -9
- package/build/src/v1/search_service_client.d.ts +515 -11
- package/build/src/v1/search_service_client.js +648 -15
- package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
- package/build/src/v1/site_search_engine_service_client.js +2075 -0
- package/build/src/v1/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1/user_event_service_client.d.ts +272 -2
- package/build/src/v1/user_event_service_client.js +402 -9
- package/build/src/v1alpha/completion_service_client.d.ts +11 -2
- package/build/src/v1alpha/completion_service_client.js +37 -10
- package/build/src/v1alpha/conversational_search_service_client.d.ts +11 -2
- package/build/src/v1alpha/conversational_search_service_client.js +37 -10
- package/build/src/v1alpha/data_store_service_client.d.ts +11 -2
- package/build/src/v1alpha/data_store_service_client.js +37 -10
- package/build/src/v1alpha/document_service_client.d.ts +11 -2
- package/build/src/v1alpha/document_service_client.js +37 -10
- package/build/src/v1alpha/engine_service_client.d.ts +11 -2
- package/build/src/v1alpha/engine_service_client.js +37 -10
- package/build/src/v1alpha/index.js +1 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +11 -2
- package/build/src/v1alpha/recommendation_service_client.js +37 -10
- package/build/src/v1alpha/schema_service_client.d.ts +11 -2
- package/build/src/v1alpha/schema_service_client.js +37 -10
- package/build/src/v1alpha/search_service_client.d.ts +11 -2
- package/build/src/v1alpha/search_service_client.js +37 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +11 -2
- package/build/src/v1alpha/search_tuning_service_client.js +37 -10
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +11 -2
- package/build/src/v1alpha/site_search_engine_service_client.js +37 -10
- package/build/src/v1alpha/user_event_service_client.d.ts +11 -2
- package/build/src/v1alpha/user_event_service_client.js +37 -10
- package/build/src/v1beta/completion_service_client.d.ts +633 -7
- package/build/src/v1beta/completion_service_client.js +911 -11
- package/build/src/v1beta/completion_service_client_config.json +10 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +341 -3
- package/build/src/v1beta/conversational_search_service_client.js +466 -9
- package/build/src/v1beta/data_store_service_client.d.ts +1433 -0
- package/build/src/v1beta/data_store_service_client.js +1966 -0
- package/build/src/v1beta/data_store_service_client_config.json +46 -0
- package/build/src/v1beta/document_service_client.d.ts +491 -2
- package/build/src/v1beta/document_service_client.js +706 -11
- package/build/src/v1beta/engine_service_client.d.ts +1357 -0
- package/build/src/v1beta/engine_service_client.js +1928 -0
- package/build/src/v1beta/engine_service_client_config.json +46 -0
- package/build/src/v1beta/index.d.ts +4 -0
- package/build/src/v1beta/index.js +9 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +420 -5
- package/build/src/v1beta/recommendation_service_client.js +570 -9
- package/build/src/v1beta/schema_service_client.d.ts +416 -2
- package/build/src/v1beta/schema_service_client.js +602 -11
- package/build/src/v1beta/search_service_client.d.ts +539 -29
- package/build/src/v1beta/search_service_client.js +664 -27
- package/build/src/v1beta/serving_config_service_client.d.ts +1102 -0
- package/build/src/v1beta/serving_config_service_client.js +1563 -0
- package/build/src/v1beta/serving_config_service_client_config.json +38 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +1712 -0
- package/build/src/v1beta/site_search_engine_service_client.js +2271 -0
- package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
- package/build/src/v1beta/user_event_service_client.d.ts +416 -2
- package/build/src/v1beta/user_event_service_client.js +602 -11
- package/package.json +2 -2
@@ -16,6 +16,8 @@ export declare class SearchServiceClient {
|
|
16
16
|
private _gaxGrpc;
|
17
17
|
private _protos;
|
18
18
|
private _defaults;
|
19
|
+
private _universeDomain;
|
20
|
+
private _servicePath;
|
19
21
|
auth: gax.GoogleAuth;
|
20
22
|
descriptors: Descriptors;
|
21
23
|
warn: (code: string, message: string, warnType?: string) => void;
|
@@ -85,15 +87,22 @@ export declare class SearchServiceClient {
|
|
85
87
|
}>;
|
86
88
|
/**
|
87
89
|
* The DNS address for this API service.
|
90
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
88
91
|
* @returns {string} The DNS address for this service.
|
89
92
|
*/
|
90
93
|
static get servicePath(): string;
|
91
94
|
/**
|
92
|
-
* The DNS address for this API service - same as servicePath
|
93
|
-
*
|
95
|
+
* The DNS address for this API service - same as servicePath.
|
96
|
+
* @deprecated Use the apiEndpoint method of the client instance.
|
94
97
|
* @returns {string} The DNS address for this service.
|
95
98
|
*/
|
96
99
|
static get apiEndpoint(): string;
|
100
|
+
/**
|
101
|
+
* The DNS address for this API service.
|
102
|
+
* @returns {string} The DNS address for this service.
|
103
|
+
*/
|
104
|
+
get apiEndpoint(): string;
|
105
|
+
get universeDomain(): string;
|
97
106
|
/**
|
98
107
|
* The port for this API service.
|
99
108
|
* @returns {number} The default port for this service.
|
@@ -114,6 +123,8 @@ export declare class SearchServiceClient {
|
|
114
123
|
* The request object that will be sent.
|
115
124
|
* @param {string} request.servingConfig
|
116
125
|
* Required. The resource name of the Search serving config, such as
|
126
|
+
* `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
|
127
|
+
* or
|
117
128
|
* `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
|
118
129
|
* This field is used to identify the serving configuration name, set
|
119
130
|
* of models used to make the search.
|
@@ -157,11 +168,35 @@ export declare class SearchServiceClient {
|
|
157
168
|
* expression is case-sensitive.
|
158
169
|
*
|
159
170
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
171
|
+
*
|
172
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
173
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
174
|
+
* defined by the customer in their schema. For example a media customer might
|
175
|
+
* have a field 'name' in their schema. In this case the filter would look
|
176
|
+
* like this: filter --> name:'ANY("king kong")'
|
177
|
+
*
|
178
|
+
* For more information about filtering including syntax and filter
|
179
|
+
* operators, see
|
180
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
181
|
+
* @param {string} request.canonicalFilter
|
182
|
+
* The default filter that is applied when a user performs a search without
|
183
|
+
* checking any filters on the search page.
|
184
|
+
*
|
185
|
+
* The filter applied to every search request when quality improvement such as
|
186
|
+
* query expansion is needed. In the case a query does not have a sufficient
|
187
|
+
* amount of results this filter will be used to determine whether or not to
|
188
|
+
* enable the query expansion flow. The original filter will still be used for
|
189
|
+
* the query expanded search.
|
190
|
+
* This field is strongly recommended to achieve high search quality.
|
191
|
+
*
|
192
|
+
* For more information about filter syntax, see
|
193
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.filter|SearchRequest.filter}.
|
160
194
|
* @param {string} request.orderBy
|
161
195
|
* The order in which documents are returned. Documents can be ordered by
|
162
196
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
163
197
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
164
|
-
* case-sensitive.
|
198
|
+
* case-sensitive. For more information on ordering, see
|
199
|
+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
165
200
|
*
|
166
201
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
167
202
|
* @param {google.cloud.discoveryengine.v1beta.UserInfo} request.userInfo
|
@@ -176,6 +211,8 @@ export declare class SearchServiceClient {
|
|
176
211
|
* error is returned.
|
177
212
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
178
213
|
* Boost specification to boost certain documents.
|
214
|
+
* For more information on boosting, see
|
215
|
+
* [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
179
216
|
* @param {number[]} request.params
|
180
217
|
* Additional search parameters.
|
181
218
|
*
|
@@ -183,9 +220,17 @@ export declare class SearchServiceClient {
|
|
183
220
|
*
|
184
221
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
185
222
|
* are restricted or boosted based on the location provided.
|
223
|
+
* Example:
|
224
|
+
* user_country_code: "au"
|
225
|
+
*
|
226
|
+
* For available codes see [Country
|
227
|
+
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
228
|
+
*
|
186
229
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
187
|
-
*
|
188
|
-
*
|
230
|
+
* depending on the value. The only valid non-default value is 1,
|
231
|
+
* which enables image searching.
|
232
|
+
* Example:
|
233
|
+
* search_type: 1
|
189
234
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
190
235
|
* The query expansion specification that specifies the conditions under which
|
191
236
|
* query expansion occurs.
|
@@ -212,15 +257,17 @@ export declare class SearchServiceClient {
|
|
212
257
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec} request.embeddingSpec
|
213
258
|
* Uses the provided embedding to do additional semantic document retrieval.
|
214
259
|
* The retrieval is based on the dot product of
|
215
|
-
* {@link protos
|
216
|
-
* embedding that is provided in
|
217
|
-
* {@link protos
|
260
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector|SearchRequest.EmbeddingSpec.EmbeddingVector.vector}
|
261
|
+
* and the document embedding that is provided in
|
262
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}.
|
218
263
|
*
|
219
|
-
* If
|
220
|
-
*
|
264
|
+
* If
|
265
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
|
266
|
+
* is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
|
221
267
|
* @param {string} request.rankingExpression
|
222
268
|
* The ranking expression controls the customized ranking on retrieval
|
223
|
-
* documents. This overrides
|
269
|
+
* documents. This overrides
|
270
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
|
224
271
|
* The ranking expression is a single function or multiple functions that are
|
225
272
|
* joint by "+".
|
226
273
|
* * ranking_expression = function, { " + ", function };
|
@@ -284,6 +331,8 @@ export declare class SearchServiceClient {
|
|
284
331
|
* The request object that will be sent.
|
285
332
|
* @param {string} request.servingConfig
|
286
333
|
* Required. The resource name of the Search serving config, such as
|
334
|
+
* `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
|
335
|
+
* or
|
287
336
|
* `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
|
288
337
|
* This field is used to identify the serving configuration name, set
|
289
338
|
* of models used to make the search.
|
@@ -327,11 +376,35 @@ export declare class SearchServiceClient {
|
|
327
376
|
* expression is case-sensitive.
|
328
377
|
*
|
329
378
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
379
|
+
*
|
380
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
381
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
382
|
+
* defined by the customer in their schema. For example a media customer might
|
383
|
+
* have a field 'name' in their schema. In this case the filter would look
|
384
|
+
* like this: filter --> name:'ANY("king kong")'
|
385
|
+
*
|
386
|
+
* For more information about filtering including syntax and filter
|
387
|
+
* operators, see
|
388
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
389
|
+
* @param {string} request.canonicalFilter
|
390
|
+
* The default filter that is applied when a user performs a search without
|
391
|
+
* checking any filters on the search page.
|
392
|
+
*
|
393
|
+
* The filter applied to every search request when quality improvement such as
|
394
|
+
* query expansion is needed. In the case a query does not have a sufficient
|
395
|
+
* amount of results this filter will be used to determine whether or not to
|
396
|
+
* enable the query expansion flow. The original filter will still be used for
|
397
|
+
* the query expanded search.
|
398
|
+
* This field is strongly recommended to achieve high search quality.
|
399
|
+
*
|
400
|
+
* For more information about filter syntax, see
|
401
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.filter|SearchRequest.filter}.
|
330
402
|
* @param {string} request.orderBy
|
331
403
|
* The order in which documents are returned. Documents can be ordered by
|
332
404
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
333
405
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
334
|
-
* case-sensitive.
|
406
|
+
* case-sensitive. For more information on ordering, see
|
407
|
+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
335
408
|
*
|
336
409
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
337
410
|
* @param {google.cloud.discoveryengine.v1beta.UserInfo} request.userInfo
|
@@ -346,6 +419,8 @@ export declare class SearchServiceClient {
|
|
346
419
|
* error is returned.
|
347
420
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
348
421
|
* Boost specification to boost certain documents.
|
422
|
+
* For more information on boosting, see
|
423
|
+
* [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
349
424
|
* @param {number[]} request.params
|
350
425
|
* Additional search parameters.
|
351
426
|
*
|
@@ -353,9 +428,17 @@ export declare class SearchServiceClient {
|
|
353
428
|
*
|
354
429
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
355
430
|
* are restricted or boosted based on the location provided.
|
431
|
+
* Example:
|
432
|
+
* user_country_code: "au"
|
433
|
+
*
|
434
|
+
* For available codes see [Country
|
435
|
+
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
436
|
+
*
|
356
437
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
357
|
-
*
|
358
|
-
*
|
438
|
+
* depending on the value. The only valid non-default value is 1,
|
439
|
+
* which enables image searching.
|
440
|
+
* Example:
|
441
|
+
* search_type: 1
|
359
442
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
360
443
|
* The query expansion specification that specifies the conditions under which
|
361
444
|
* query expansion occurs.
|
@@ -382,15 +465,17 @@ export declare class SearchServiceClient {
|
|
382
465
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec} request.embeddingSpec
|
383
466
|
* Uses the provided embedding to do additional semantic document retrieval.
|
384
467
|
* The retrieval is based on the dot product of
|
385
|
-
* {@link protos
|
386
|
-
* embedding that is provided in
|
387
|
-
* {@link protos
|
468
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector|SearchRequest.EmbeddingSpec.EmbeddingVector.vector}
|
469
|
+
* and the document embedding that is provided in
|
470
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}.
|
388
471
|
*
|
389
|
-
* If
|
390
|
-
*
|
472
|
+
* If
|
473
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
|
474
|
+
* is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
|
391
475
|
* @param {string} request.rankingExpression
|
392
476
|
* The ranking expression controls the customized ranking on retrieval
|
393
|
-
* documents. This overrides
|
477
|
+
* documents. This overrides
|
478
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
|
394
479
|
* The ranking expression is a single function or multiple functions that are
|
395
480
|
* joint by "+".
|
396
481
|
* * ranking_expression = function, { " + ", function };
|
@@ -449,6 +534,8 @@ export declare class SearchServiceClient {
|
|
449
534
|
* The request object that will be sent.
|
450
535
|
* @param {string} request.servingConfig
|
451
536
|
* Required. The resource name of the Search serving config, such as
|
537
|
+
* `projects/* /locations/global/collections/default_collection/engines/* /servingConfigs/default_serving_config`,
|
538
|
+
* or
|
452
539
|
* `projects/* /locations/global/collections/default_collection/dataStores/default_data_store/servingConfigs/default_serving_config`.
|
453
540
|
* This field is used to identify the serving configuration name, set
|
454
541
|
* of models used to make the search.
|
@@ -492,11 +579,35 @@ export declare class SearchServiceClient {
|
|
492
579
|
* expression is case-sensitive.
|
493
580
|
*
|
494
581
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
582
|
+
*
|
583
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
584
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
585
|
+
* defined by the customer in their schema. For example a media customer might
|
586
|
+
* have a field 'name' in their schema. In this case the filter would look
|
587
|
+
* like this: filter --> name:'ANY("king kong")'
|
588
|
+
*
|
589
|
+
* For more information about filtering including syntax and filter
|
590
|
+
* operators, see
|
591
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
592
|
+
* @param {string} request.canonicalFilter
|
593
|
+
* The default filter that is applied when a user performs a search without
|
594
|
+
* checking any filters on the search page.
|
595
|
+
*
|
596
|
+
* The filter applied to every search request when quality improvement such as
|
597
|
+
* query expansion is needed. In the case a query does not have a sufficient
|
598
|
+
* amount of results this filter will be used to determine whether or not to
|
599
|
+
* enable the query expansion flow. The original filter will still be used for
|
600
|
+
* the query expanded search.
|
601
|
+
* This field is strongly recommended to achieve high search quality.
|
602
|
+
*
|
603
|
+
* For more information about filter syntax, see
|
604
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.filter|SearchRequest.filter}.
|
495
605
|
* @param {string} request.orderBy
|
496
606
|
* The order in which documents are returned. Documents can be ordered by
|
497
607
|
* a field in an {@link protos.google.cloud.discoveryengine.v1beta.Document|Document}
|
498
608
|
* object. Leave it unset if ordered by relevance. `order_by` expression is
|
499
|
-
* case-sensitive.
|
609
|
+
* case-sensitive. For more information on ordering, see
|
610
|
+
* [Ordering](https://cloud.google.com/retail/docs/filter-and-order#order)
|
500
611
|
*
|
501
612
|
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
502
613
|
* @param {google.cloud.discoveryengine.v1beta.UserInfo} request.userInfo
|
@@ -511,6 +622,8 @@ export declare class SearchServiceClient {
|
|
511
622
|
* error is returned.
|
512
623
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.BoostSpec} request.boostSpec
|
513
624
|
* Boost specification to boost certain documents.
|
625
|
+
* For more information on boosting, see
|
626
|
+
* [Boosting](https://cloud.google.com/retail/docs/boosting#boost)
|
514
627
|
* @param {number[]} request.params
|
515
628
|
* Additional search parameters.
|
516
629
|
*
|
@@ -518,9 +631,17 @@ export declare class SearchServiceClient {
|
|
518
631
|
*
|
519
632
|
* * `user_country_code`: string. Default empty. If set to non-empty, results
|
520
633
|
* are restricted or boosted based on the location provided.
|
634
|
+
* Example:
|
635
|
+
* user_country_code: "au"
|
636
|
+
*
|
637
|
+
* For available codes see [Country
|
638
|
+
* Codes](https://developers.google.com/custom-search/docs/json_api_reference#countryCodes)
|
639
|
+
*
|
521
640
|
* * `search_type`: double. Default empty. Enables non-webpage searching
|
522
|
-
*
|
523
|
-
*
|
641
|
+
* depending on the value. The only valid non-default value is 1,
|
642
|
+
* which enables image searching.
|
643
|
+
* Example:
|
644
|
+
* search_type: 1
|
524
645
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.QueryExpansionSpec} request.queryExpansionSpec
|
525
646
|
* The query expansion specification that specifies the conditions under which
|
526
647
|
* query expansion occurs.
|
@@ -547,15 +668,17 @@ export declare class SearchServiceClient {
|
|
547
668
|
* @param {google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec} request.embeddingSpec
|
548
669
|
* Uses the provided embedding to do additional semantic document retrieval.
|
549
670
|
* The retrieval is based on the dot product of
|
550
|
-
* {@link protos
|
551
|
-
* embedding that is provided in
|
552
|
-
* {@link protos
|
671
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.vector|SearchRequest.EmbeddingSpec.EmbeddingVector.vector}
|
672
|
+
* and the document embedding that is provided in
|
673
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}.
|
553
674
|
*
|
554
|
-
* If
|
555
|
-
*
|
675
|
+
* If
|
676
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.SearchRequest.EmbeddingSpec.EmbeddingVector.field_path|SearchRequest.EmbeddingSpec.EmbeddingVector.field_path}
|
677
|
+
* is not provided, it will use {@link protos.|ServingConfig.EmbeddingConfig.field_path}.
|
556
678
|
* @param {string} request.rankingExpression
|
557
679
|
* The ranking expression controls the customized ranking on retrieval
|
558
|
-
* documents. This overrides
|
680
|
+
* documents. This overrides
|
681
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig.ranking_expression|ServingConfig.ranking_expression}.
|
559
682
|
* The ranking expression is a single function or multiple functions that are
|
560
683
|
* joint by "+".
|
561
684
|
* * ranking_expression = function, { " + ", function };
|
@@ -658,6 +781,90 @@ export declare class SearchServiceClient {
|
|
658
781
|
* ```
|
659
782
|
*/
|
660
783
|
listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
|
784
|
+
/**
|
785
|
+
* Return a fully-qualified engine resource name string.
|
786
|
+
*
|
787
|
+
* @param {string} project
|
788
|
+
* @param {string} location
|
789
|
+
* @param {string} collection
|
790
|
+
* @param {string} engine
|
791
|
+
* @returns {string} Resource name string.
|
792
|
+
*/
|
793
|
+
enginePath(project: string, location: string, collection: string, engine: string): string;
|
794
|
+
/**
|
795
|
+
* Parse the project from Engine resource.
|
796
|
+
*
|
797
|
+
* @param {string} engineName
|
798
|
+
* A fully-qualified path representing Engine resource.
|
799
|
+
* @returns {string} A string representing the project.
|
800
|
+
*/
|
801
|
+
matchProjectFromEngineName(engineName: string): string | number;
|
802
|
+
/**
|
803
|
+
* Parse the location from Engine resource.
|
804
|
+
*
|
805
|
+
* @param {string} engineName
|
806
|
+
* A fully-qualified path representing Engine resource.
|
807
|
+
* @returns {string} A string representing the location.
|
808
|
+
*/
|
809
|
+
matchLocationFromEngineName(engineName: string): string | number;
|
810
|
+
/**
|
811
|
+
* Parse the collection from Engine resource.
|
812
|
+
*
|
813
|
+
* @param {string} engineName
|
814
|
+
* A fully-qualified path representing Engine resource.
|
815
|
+
* @returns {string} A string representing the collection.
|
816
|
+
*/
|
817
|
+
matchCollectionFromEngineName(engineName: string): string | number;
|
818
|
+
/**
|
819
|
+
* Parse the engine from Engine resource.
|
820
|
+
*
|
821
|
+
* @param {string} engineName
|
822
|
+
* A fully-qualified path representing Engine resource.
|
823
|
+
* @returns {string} A string representing the engine.
|
824
|
+
*/
|
825
|
+
matchEngineFromEngineName(engineName: string): string | number;
|
826
|
+
/**
|
827
|
+
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
828
|
+
*
|
829
|
+
* @param {string} project
|
830
|
+
* @param {string} location
|
831
|
+
* @param {string} collection
|
832
|
+
* @param {string} data_store
|
833
|
+
* @returns {string} Resource name string.
|
834
|
+
*/
|
835
|
+
projectLocationCollectionDataStorePath(project: string, location: string, collection: string, dataStore: string): string;
|
836
|
+
/**
|
837
|
+
* Parse the project from ProjectLocationCollectionDataStore resource.
|
838
|
+
*
|
839
|
+
* @param {string} projectLocationCollectionDataStoreName
|
840
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
841
|
+
* @returns {string} A string representing the project.
|
842
|
+
*/
|
843
|
+
matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
844
|
+
/**
|
845
|
+
* Parse the location from ProjectLocationCollectionDataStore resource.
|
846
|
+
*
|
847
|
+
* @param {string} projectLocationCollectionDataStoreName
|
848
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
849
|
+
* @returns {string} A string representing the location.
|
850
|
+
*/
|
851
|
+
matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
852
|
+
/**
|
853
|
+
* Parse the collection from ProjectLocationCollectionDataStore resource.
|
854
|
+
*
|
855
|
+
* @param {string} projectLocationCollectionDataStoreName
|
856
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
857
|
+
* @returns {string} A string representing the collection.
|
858
|
+
*/
|
859
|
+
matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
860
|
+
/**
|
861
|
+
* Parse the data_store from ProjectLocationCollectionDataStore resource.
|
862
|
+
*
|
863
|
+
* @param {string} projectLocationCollectionDataStoreName
|
864
|
+
* A fully-qualified path representing project_location_collection_data_store resource.
|
865
|
+
* @returns {string} A string representing the data_store.
|
866
|
+
*/
|
867
|
+
matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName: string): string | number;
|
661
868
|
/**
|
662
869
|
* Return a fully-qualified projectLocationCollectionDataStoreBranch resource name string.
|
663
870
|
*
|
@@ -922,6 +1129,234 @@ export declare class SearchServiceClient {
|
|
922
1129
|
* @returns {string} A string representing the serving_config.
|
923
1130
|
*/
|
924
1131
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
1132
|
+
/**
|
1133
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1134
|
+
*
|
1135
|
+
* @param {string} project
|
1136
|
+
* @param {string} location
|
1137
|
+
* @param {string} collection
|
1138
|
+
* @param {string} data_store
|
1139
|
+
* @returns {string} Resource name string.
|
1140
|
+
*/
|
1141
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
|
1142
|
+
/**
|
1143
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1144
|
+
*
|
1145
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1146
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1147
|
+
* @returns {string} A string representing the project.
|
1148
|
+
*/
|
1149
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
1150
|
+
/**
|
1151
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1152
|
+
*
|
1153
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1154
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1155
|
+
* @returns {string} A string representing the location.
|
1156
|
+
*/
|
1157
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
1158
|
+
/**
|
1159
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1160
|
+
*
|
1161
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1162
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1163
|
+
* @returns {string} A string representing the collection.
|
1164
|
+
*/
|
1165
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
1166
|
+
/**
|
1167
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
1168
|
+
*
|
1169
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
1170
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
1171
|
+
* @returns {string} A string representing the data_store.
|
1172
|
+
*/
|
1173
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
1174
|
+
/**
|
1175
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
1176
|
+
*
|
1177
|
+
* @param {string} project
|
1178
|
+
* @param {string} location
|
1179
|
+
* @param {string} collection
|
1180
|
+
* @param {string} data_store
|
1181
|
+
* @param {string} target_site
|
1182
|
+
* @returns {string} Resource name string.
|
1183
|
+
*/
|
1184
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
|
1185
|
+
/**
|
1186
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1187
|
+
*
|
1188
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1189
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1190
|
+
* @returns {string} A string representing the project.
|
1191
|
+
*/
|
1192
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1193
|
+
/**
|
1194
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1195
|
+
*
|
1196
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1197
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1198
|
+
* @returns {string} A string representing the location.
|
1199
|
+
*/
|
1200
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1201
|
+
/**
|
1202
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1203
|
+
*
|
1204
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1205
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1206
|
+
* @returns {string} A string representing the collection.
|
1207
|
+
*/
|
1208
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1209
|
+
/**
|
1210
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1211
|
+
*
|
1212
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1213
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1214
|
+
* @returns {string} A string representing the data_store.
|
1215
|
+
*/
|
1216
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1217
|
+
/**
|
1218
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
1219
|
+
*
|
1220
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
1221
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
1222
|
+
* @returns {string} A string representing the target_site.
|
1223
|
+
*/
|
1224
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1225
|
+
/**
|
1226
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1227
|
+
*
|
1228
|
+
* @param {string} project
|
1229
|
+
* @param {string} location
|
1230
|
+
* @param {string} collection
|
1231
|
+
* @param {string} engine
|
1232
|
+
* @param {string} conversation
|
1233
|
+
* @returns {string} Resource name string.
|
1234
|
+
*/
|
1235
|
+
projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
|
1236
|
+
/**
|
1237
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
1238
|
+
*
|
1239
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1240
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1241
|
+
* @returns {string} A string representing the project.
|
1242
|
+
*/
|
1243
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
1244
|
+
/**
|
1245
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
1246
|
+
*
|
1247
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1248
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1249
|
+
* @returns {string} A string representing the location.
|
1250
|
+
*/
|
1251
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
1252
|
+
/**
|
1253
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
1254
|
+
*
|
1255
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1256
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1257
|
+
* @returns {string} A string representing the collection.
|
1258
|
+
*/
|
1259
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
1260
|
+
/**
|
1261
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
1262
|
+
*
|
1263
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1264
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1265
|
+
* @returns {string} A string representing the engine.
|
1266
|
+
*/
|
1267
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
1268
|
+
/**
|
1269
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
1270
|
+
*
|
1271
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
1272
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
1273
|
+
* @returns {string} A string representing the conversation.
|
1274
|
+
*/
|
1275
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
1276
|
+
/**
|
1277
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
1278
|
+
*
|
1279
|
+
* @param {string} project
|
1280
|
+
* @param {string} location
|
1281
|
+
* @param {string} collection
|
1282
|
+
* @param {string} engine
|
1283
|
+
* @param {string} serving_config
|
1284
|
+
* @returns {string} Resource name string.
|
1285
|
+
*/
|
1286
|
+
projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
|
1287
|
+
/**
|
1288
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
1289
|
+
*
|
1290
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1291
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1292
|
+
* @returns {string} A string representing the project.
|
1293
|
+
*/
|
1294
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1295
|
+
/**
|
1296
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
1297
|
+
*
|
1298
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1299
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1300
|
+
* @returns {string} A string representing the location.
|
1301
|
+
*/
|
1302
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1303
|
+
/**
|
1304
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
1305
|
+
*
|
1306
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1307
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1308
|
+
* @returns {string} A string representing the collection.
|
1309
|
+
*/
|
1310
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1311
|
+
/**
|
1312
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
1313
|
+
*
|
1314
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1315
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1316
|
+
* @returns {string} A string representing the engine.
|
1317
|
+
*/
|
1318
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1319
|
+
/**
|
1320
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
1321
|
+
*
|
1322
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
1323
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
1324
|
+
* @returns {string} A string representing the serving_config.
|
1325
|
+
*/
|
1326
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
|
1327
|
+
/**
|
1328
|
+
* Return a fully-qualified projectLocationDataStore resource name string.
|
1329
|
+
*
|
1330
|
+
* @param {string} project
|
1331
|
+
* @param {string} location
|
1332
|
+
* @param {string} data_store
|
1333
|
+
* @returns {string} Resource name string.
|
1334
|
+
*/
|
1335
|
+
projectLocationDataStorePath(project: string, location: string, dataStore: string): string;
|
1336
|
+
/**
|
1337
|
+
* Parse the project from ProjectLocationDataStore resource.
|
1338
|
+
*
|
1339
|
+
* @param {string} projectLocationDataStoreName
|
1340
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1341
|
+
* @returns {string} A string representing the project.
|
1342
|
+
*/
|
1343
|
+
matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
1344
|
+
/**
|
1345
|
+
* Parse the location from ProjectLocationDataStore resource.
|
1346
|
+
*
|
1347
|
+
* @param {string} projectLocationDataStoreName
|
1348
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1349
|
+
* @returns {string} A string representing the location.
|
1350
|
+
*/
|
1351
|
+
matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
1352
|
+
/**
|
1353
|
+
* Parse the data_store from ProjectLocationDataStore resource.
|
1354
|
+
*
|
1355
|
+
* @param {string} projectLocationDataStoreName
|
1356
|
+
* A fully-qualified path representing project_location_data_store resource.
|
1357
|
+
* @returns {string} A string representing the data_store.
|
1358
|
+
*/
|
1359
|
+
matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName: string): string | number;
|
925
1360
|
/**
|
926
1361
|
* Return a fully-qualified projectLocationDataStoreBranch resource name string.
|
927
1362
|
*
|
@@ -1141,6 +1576,81 @@ export declare class SearchServiceClient {
|
|
1141
1576
|
* @returns {string} A string representing the serving_config.
|
1142
1577
|
*/
|
1143
1578
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1579
|
+
/**
|
1580
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1581
|
+
*
|
1582
|
+
* @param {string} project
|
1583
|
+
* @param {string} location
|
1584
|
+
* @param {string} data_store
|
1585
|
+
* @returns {string} Resource name string.
|
1586
|
+
*/
|
1587
|
+
projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
|
1588
|
+
/**
|
1589
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1590
|
+
*
|
1591
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1592
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1593
|
+
* @returns {string} A string representing the project.
|
1594
|
+
*/
|
1595
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1596
|
+
/**
|
1597
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1598
|
+
*
|
1599
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1600
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1601
|
+
* @returns {string} A string representing the location.
|
1602
|
+
*/
|
1603
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1604
|
+
/**
|
1605
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1606
|
+
*
|
1607
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1608
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1609
|
+
* @returns {string} A string representing the data_store.
|
1610
|
+
*/
|
1611
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1612
|
+
/**
|
1613
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1614
|
+
*
|
1615
|
+
* @param {string} project
|
1616
|
+
* @param {string} location
|
1617
|
+
* @param {string} data_store
|
1618
|
+
* @param {string} target_site
|
1619
|
+
* @returns {string} Resource name string.
|
1620
|
+
*/
|
1621
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
|
1622
|
+
/**
|
1623
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1624
|
+
*
|
1625
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1626
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1627
|
+
* @returns {string} A string representing the project.
|
1628
|
+
*/
|
1629
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1630
|
+
/**
|
1631
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1632
|
+
*
|
1633
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1634
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1635
|
+
* @returns {string} A string representing the location.
|
1636
|
+
*/
|
1637
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1638
|
+
/**
|
1639
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1640
|
+
*
|
1641
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1642
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1643
|
+
* @returns {string} A string representing the data_store.
|
1644
|
+
*/
|
1645
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1646
|
+
/**
|
1647
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1648
|
+
*
|
1649
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1650
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1651
|
+
* @returns {string} A string representing the target_site.
|
1652
|
+
*/
|
1653
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1144
1654
|
/**
|
1145
1655
|
* Terminate the gRPC channel and close the client.
|
1146
1656
|
*
|