@google-cloud/discoveryengine 1.4.0 → 1.4.1
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 +7 -0
- package/README.md +13 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
- package/build/protos/protos.d.ts +15133 -7787
- package/build/protos/protos.js +50444 -32043
- package/build/protos/protos.json +4132 -2305
- package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
- package/build/src/v1alpha/acl_config_service_client.js +1765 -0
- package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
- package/build/src/v1alpha/chunk_service_client.js +1886 -0
- package/build/src/v1alpha/chunk_service_client_config.json +34 -0
- package/build/src/v1alpha/completion_service_client.d.ts +588 -3
- package/build/src/v1alpha/completion_service_client.js +831 -2
- package/build/src/v1alpha/completion_service_client_config.json +10 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
- package/build/src/v1alpha/conversational_search_service_client.js +316 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
- package/build/src/v1alpha/data_store_service_client.js +562 -2
- package/build/src/v1alpha/data_store_service_client_config.json +8 -0
- package/build/src/v1alpha/document_service_client.d.ts +382 -0
- package/build/src/v1alpha/document_service_client.js +514 -0
- package/build/src/v1alpha/engine_service_client.d.ts +375 -2
- package/build/src/v1alpha/engine_service_client.js +514 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
- package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
- package/build/src/v1alpha/index.d.ts +4 -0
- package/build/src/v1alpha/index.js +9 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
- package/build/src/v1alpha/recommendation_service_client.js +316 -0
- package/build/src/v1alpha/schema_service_client.d.ts +372 -0
- package/build/src/v1alpha/schema_service_client.js +514 -0
- package/build/src/v1alpha/search_service_client.d.ts +258 -15
- package/build/src/v1alpha/search_service_client.js +336 -10
- package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
- package/build/src/v1alpha/search_tuning_service_client.js +514 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
- package/build/src/v1alpha/serving_config_service_client.js +1935 -0
- package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +514 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
- package/build/src/v1alpha/user_event_service_client.js +514 -0
- package/build/src/v1beta/completion_service_client.d.ts +75 -0
- package/build/src/v1beta/completion_service_client.js +104 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
- package/build/src/v1beta/conversational_search_service_client.js +104 -0
- package/build/src/v1beta/data_store_service_client.d.ts +75 -0
- package/build/src/v1beta/data_store_service_client.js +104 -0
- package/build/src/v1beta/document_service_client.d.ts +75 -0
- package/build/src/v1beta/document_service_client.js +104 -0
- package/build/src/v1beta/engine_service_client.d.ts +75 -0
- package/build/src/v1beta/engine_service_client.js +104 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
- package/build/src/v1beta/recommendation_service_client.js +104 -0
- package/build/src/v1beta/schema_service_client.d.ts +75 -0
- package/build/src/v1beta/schema_service_client.js +104 -0
- package/build/src/v1beta/search_service_client.d.ts +81 -0
- package/build/src/v1beta/search_service_client.js +108 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
- package/build/src/v1beta/search_tuning_service_client.js +1781 -0
- package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
- package/build/src/v1beta/serving_config_service_client.js +166 -5
- package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
- package/build/src/v1beta/site_search_engine_service_client.js +104 -0
- package/build/src/v1beta/user_event_service_client.d.ts +75 -0
- package/build/src/v1beta/user_event_service_client.js +104 -0
- package/package.json +3 -3
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"interfaces": {
|
|
3
|
+
"google.cloud.discoveryengine.v1beta.SearchTuningService": {
|
|
4
|
+
"retry_codes": {
|
|
5
|
+
"non_idempotent": [],
|
|
6
|
+
"idempotent": [
|
|
7
|
+
"DEADLINE_EXCEEDED",
|
|
8
|
+
"UNAVAILABLE"
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"retry_params": {
|
|
12
|
+
"default": {
|
|
13
|
+
"initial_retry_delay_millis": 100,
|
|
14
|
+
"retry_delay_multiplier": 1.3,
|
|
15
|
+
"max_retry_delay_millis": 60000,
|
|
16
|
+
"initial_rpc_timeout_millis": 60000,
|
|
17
|
+
"rpc_timeout_multiplier": 1,
|
|
18
|
+
"max_rpc_timeout_millis": 60000,
|
|
19
|
+
"total_timeout_millis": 600000
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
"methods": {
|
|
23
|
+
"TrainCustomModel": {
|
|
24
|
+
"retry_codes_name": "non_idempotent",
|
|
25
|
+
"retry_params_name": "default"
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -4,7 +4,8 @@ import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallb
|
|
|
4
4
|
import { Transform } from 'stream';
|
|
5
5
|
import * as protos from '../../protos/protos';
|
|
6
6
|
/**
|
|
7
|
-
* Service for
|
|
7
|
+
* Service for operations related to
|
|
8
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig|ServingConfig}.
|
|
8
9
|
* @class
|
|
9
10
|
* @memberof v1beta
|
|
10
11
|
*/
|
|
@@ -158,7 +159,7 @@ export declare class ServingConfigServiceClient {
|
|
|
158
159
|
* The request object that will be sent.
|
|
159
160
|
* @param {string} request.name
|
|
160
161
|
* Required. The resource name of the ServingConfig to get. Format:
|
|
161
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
162
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config_id}`
|
|
162
163
|
* @param {object} [options]
|
|
163
164
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
|
164
165
|
* @returns {Promise} - The promise which resolves to an array.
|
|
@@ -181,8 +182,8 @@ export declare class ServingConfigServiceClient {
|
|
|
181
182
|
* @param {Object} request
|
|
182
183
|
* The request object that will be sent.
|
|
183
184
|
* @param {string} request.parent
|
|
184
|
-
* Required.
|
|
185
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
185
|
+
* Required. Full resource name of the parent resource. Format:
|
|
186
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
186
187
|
* @param {number} [request.pageSize]
|
|
187
188
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
|
188
189
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
|
@@ -214,8 +215,8 @@ export declare class ServingConfigServiceClient {
|
|
|
214
215
|
* @param {Object} request
|
|
215
216
|
* The request object that will be sent.
|
|
216
217
|
* @param {string} request.parent
|
|
217
|
-
* Required.
|
|
218
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
218
|
+
* Required. Full resource name of the parent resource. Format:
|
|
219
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
219
220
|
* @param {number} [request.pageSize]
|
|
220
221
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
|
221
222
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
|
@@ -242,8 +243,8 @@ export declare class ServingConfigServiceClient {
|
|
|
242
243
|
* @param {Object} request
|
|
243
244
|
* The request object that will be sent.
|
|
244
245
|
* @param {string} request.parent
|
|
245
|
-
* Required.
|
|
246
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
246
|
+
* Required. Full resource name of the parent resource. Format:
|
|
247
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
247
248
|
* @param {number} [request.pageSize]
|
|
248
249
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
|
249
250
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
|
@@ -357,6 +358,45 @@ export declare class ServingConfigServiceClient {
|
|
|
357
358
|
* @returns {string} A string representing the engine.
|
|
358
359
|
*/
|
|
359
360
|
matchEngineFromEngineName(engineName: string): string | number;
|
|
361
|
+
/**
|
|
362
|
+
* Return a fully-qualified location resource name string.
|
|
363
|
+
*
|
|
364
|
+
* @param {string} project
|
|
365
|
+
* @param {string} location
|
|
366
|
+
* @returns {string} Resource name string.
|
|
367
|
+
*/
|
|
368
|
+
locationPath(project: string, location: string): string;
|
|
369
|
+
/**
|
|
370
|
+
* Parse the project from Location resource.
|
|
371
|
+
*
|
|
372
|
+
* @param {string} locationName
|
|
373
|
+
* A fully-qualified path representing Location resource.
|
|
374
|
+
* @returns {string} A string representing the project.
|
|
375
|
+
*/
|
|
376
|
+
matchProjectFromLocationName(locationName: string): string | number;
|
|
377
|
+
/**
|
|
378
|
+
* Parse the location from Location resource.
|
|
379
|
+
*
|
|
380
|
+
* @param {string} locationName
|
|
381
|
+
* A fully-qualified path representing Location resource.
|
|
382
|
+
* @returns {string} A string representing the location.
|
|
383
|
+
*/
|
|
384
|
+
matchLocationFromLocationName(locationName: string): string | number;
|
|
385
|
+
/**
|
|
386
|
+
* Return a fully-qualified project resource name string.
|
|
387
|
+
*
|
|
388
|
+
* @param {string} project
|
|
389
|
+
* @returns {string} Resource name string.
|
|
390
|
+
*/
|
|
391
|
+
projectPath(project: string): string;
|
|
392
|
+
/**
|
|
393
|
+
* Parse the project from Project resource.
|
|
394
|
+
*
|
|
395
|
+
* @param {string} projectName
|
|
396
|
+
* A fully-qualified path representing Project resource.
|
|
397
|
+
* @returns {string} A string representing the project.
|
|
398
|
+
*/
|
|
399
|
+
matchProjectFromProjectName(projectName: string): string | number;
|
|
360
400
|
/**
|
|
361
401
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
|
362
402
|
*
|
|
@@ -510,6 +550,48 @@ export declare class ServingConfigServiceClient {
|
|
|
510
550
|
* @returns {string} A string representing the conversation.
|
|
511
551
|
*/
|
|
512
552
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
|
553
|
+
/**
|
|
554
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
555
|
+
*
|
|
556
|
+
* @param {string} project
|
|
557
|
+
* @param {string} location
|
|
558
|
+
* @param {string} collection
|
|
559
|
+
* @param {string} data_store
|
|
560
|
+
* @returns {string} Resource name string.
|
|
561
|
+
*/
|
|
562
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
|
563
|
+
/**
|
|
564
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
565
|
+
*
|
|
566
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
567
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
568
|
+
* @returns {string} A string representing the project.
|
|
569
|
+
*/
|
|
570
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
571
|
+
/**
|
|
572
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
573
|
+
*
|
|
574
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
575
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
576
|
+
* @returns {string} A string representing the location.
|
|
577
|
+
*/
|
|
578
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
579
|
+
/**
|
|
580
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
581
|
+
*
|
|
582
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
583
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
584
|
+
* @returns {string} A string representing the collection.
|
|
585
|
+
*/
|
|
586
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
587
|
+
/**
|
|
588
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
589
|
+
*
|
|
590
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
591
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
592
|
+
* @returns {string} A string representing the data_store.
|
|
593
|
+
*/
|
|
594
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
513
595
|
/**
|
|
514
596
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
515
597
|
*
|
|
@@ -933,6 +1015,39 @@ export declare class ServingConfigServiceClient {
|
|
|
933
1015
|
* @returns {string} A string representing the conversation.
|
|
934
1016
|
*/
|
|
935
1017
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
|
1018
|
+
/**
|
|
1019
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1020
|
+
*
|
|
1021
|
+
* @param {string} project
|
|
1022
|
+
* @param {string} location
|
|
1023
|
+
* @param {string} data_store
|
|
1024
|
+
* @returns {string} Resource name string.
|
|
1025
|
+
*/
|
|
1026
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
|
1027
|
+
/**
|
|
1028
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1029
|
+
*
|
|
1030
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1031
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1032
|
+
* @returns {string} A string representing the project.
|
|
1033
|
+
*/
|
|
1034
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1035
|
+
/**
|
|
1036
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1037
|
+
*
|
|
1038
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1039
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1040
|
+
* @returns {string} A string representing the location.
|
|
1041
|
+
*/
|
|
1042
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1043
|
+
/**
|
|
1044
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1045
|
+
*
|
|
1046
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1047
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1048
|
+
* @returns {string} A string representing the data_store.
|
|
1049
|
+
*/
|
|
1050
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
936
1051
|
/**
|
|
937
1052
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
938
1053
|
*
|
|
@@ -27,7 +27,8 @@ const jsonProtos = require("../../protos/protos.json");
|
|
|
27
27
|
const gapicConfig = require("./serving_config_service_client_config.json");
|
|
28
28
|
const version = require('../../../package.json').version;
|
|
29
29
|
/**
|
|
30
|
-
* Service for
|
|
30
|
+
* Service for operations related to
|
|
31
|
+
* {@link protos.google.cloud.discoveryengine.v1beta.ServingConfig|ServingConfig}.
|
|
31
32
|
* @class
|
|
32
33
|
* @memberof v1beta
|
|
33
34
|
*/
|
|
@@ -147,9 +148,12 @@ class ServingConfigServiceClient {
|
|
|
147
148
|
// Create useful helper objects for these.
|
|
148
149
|
this.pathTemplates = {
|
|
149
150
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
|
151
|
+
locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
|
|
152
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
|
150
153
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
|
151
154
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
152
155
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
|
156
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
|
153
157
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
|
154
158
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
155
159
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
|
@@ -159,6 +163,7 @@ class ServingConfigServiceClient {
|
|
|
159
163
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
|
160
164
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
|
161
165
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
|
166
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
|
162
167
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
|
163
168
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
|
164
169
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
|
@@ -353,8 +358,8 @@ class ServingConfigServiceClient {
|
|
|
353
358
|
* @param {Object} request
|
|
354
359
|
* The request object that will be sent.
|
|
355
360
|
* @param {string} request.parent
|
|
356
|
-
* Required.
|
|
357
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
361
|
+
* Required. Full resource name of the parent resource. Format:
|
|
362
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
358
363
|
* @param {number} [request.pageSize]
|
|
359
364
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
|
360
365
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
|
@@ -395,8 +400,8 @@ class ServingConfigServiceClient {
|
|
|
395
400
|
* @param {Object} request
|
|
396
401
|
* The request object that will be sent.
|
|
397
402
|
* @param {string} request.parent
|
|
398
|
-
* Required.
|
|
399
|
-
* `projects/{project_number}/locations/{location}/collections/{collection}/
|
|
403
|
+
* Required. Full resource name of the parent resource. Format:
|
|
404
|
+
* `projects/{project_number}/locations/{location}/collections/{collection}/engines/{engine}`
|
|
400
405
|
* @param {number} [request.pageSize]
|
|
401
406
|
* Optional. Maximum number of results to return. If unspecified, defaults
|
|
402
407
|
* to 100. If a value greater than 100 is provided, at most 100 results are
|
|
@@ -546,6 +551,60 @@ class ServingConfigServiceClient {
|
|
|
546
551
|
matchEngineFromEngineName(engineName) {
|
|
547
552
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
|
548
553
|
}
|
|
554
|
+
/**
|
|
555
|
+
* Return a fully-qualified location resource name string.
|
|
556
|
+
*
|
|
557
|
+
* @param {string} project
|
|
558
|
+
* @param {string} location
|
|
559
|
+
* @returns {string} Resource name string.
|
|
560
|
+
*/
|
|
561
|
+
locationPath(project, location) {
|
|
562
|
+
return this.pathTemplates.locationPathTemplate.render({
|
|
563
|
+
project: project,
|
|
564
|
+
location: location,
|
|
565
|
+
});
|
|
566
|
+
}
|
|
567
|
+
/**
|
|
568
|
+
* Parse the project from Location resource.
|
|
569
|
+
*
|
|
570
|
+
* @param {string} locationName
|
|
571
|
+
* A fully-qualified path representing Location resource.
|
|
572
|
+
* @returns {string} A string representing the project.
|
|
573
|
+
*/
|
|
574
|
+
matchProjectFromLocationName(locationName) {
|
|
575
|
+
return this.pathTemplates.locationPathTemplate.match(locationName).project;
|
|
576
|
+
}
|
|
577
|
+
/**
|
|
578
|
+
* Parse the location from Location resource.
|
|
579
|
+
*
|
|
580
|
+
* @param {string} locationName
|
|
581
|
+
* A fully-qualified path representing Location resource.
|
|
582
|
+
* @returns {string} A string representing the location.
|
|
583
|
+
*/
|
|
584
|
+
matchLocationFromLocationName(locationName) {
|
|
585
|
+
return this.pathTemplates.locationPathTemplate.match(locationName).location;
|
|
586
|
+
}
|
|
587
|
+
/**
|
|
588
|
+
* Return a fully-qualified project resource name string.
|
|
589
|
+
*
|
|
590
|
+
* @param {string} project
|
|
591
|
+
* @returns {string} Resource name string.
|
|
592
|
+
*/
|
|
593
|
+
projectPath(project) {
|
|
594
|
+
return this.pathTemplates.projectPathTemplate.render({
|
|
595
|
+
project: project,
|
|
596
|
+
});
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* Parse the project from Project resource.
|
|
600
|
+
*
|
|
601
|
+
* @param {string} projectName
|
|
602
|
+
* A fully-qualified path representing Project resource.
|
|
603
|
+
* @returns {string} A string representing the project.
|
|
604
|
+
*/
|
|
605
|
+
matchProjectFromProjectName(projectName) {
|
|
606
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
|
607
|
+
}
|
|
549
608
|
/**
|
|
550
609
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
|
551
610
|
*
|
|
@@ -753,6 +812,63 @@ class ServingConfigServiceClient {
|
|
|
753
812
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
|
754
813
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
|
755
814
|
}
|
|
815
|
+
/**
|
|
816
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
817
|
+
*
|
|
818
|
+
* @param {string} project
|
|
819
|
+
* @param {string} location
|
|
820
|
+
* @param {string} collection
|
|
821
|
+
* @param {string} data_store
|
|
822
|
+
* @returns {string} Resource name string.
|
|
823
|
+
*/
|
|
824
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
|
825
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
826
|
+
project: project,
|
|
827
|
+
location: location,
|
|
828
|
+
collection: collection,
|
|
829
|
+
data_store: dataStore,
|
|
830
|
+
});
|
|
831
|
+
}
|
|
832
|
+
/**
|
|
833
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
834
|
+
*
|
|
835
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
836
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
837
|
+
* @returns {string} A string representing the project.
|
|
838
|
+
*/
|
|
839
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
840
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
844
|
+
*
|
|
845
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
846
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
847
|
+
* @returns {string} A string representing the location.
|
|
848
|
+
*/
|
|
849
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
850
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
|
851
|
+
}
|
|
852
|
+
/**
|
|
853
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
854
|
+
*
|
|
855
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
856
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
857
|
+
* @returns {string} A string representing the collection.
|
|
858
|
+
*/
|
|
859
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
860
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
|
861
|
+
}
|
|
862
|
+
/**
|
|
863
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
864
|
+
*
|
|
865
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
866
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
867
|
+
* @returns {string} A string representing the data_store.
|
|
868
|
+
*/
|
|
869
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
|
870
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
|
871
|
+
}
|
|
756
872
|
/**
|
|
757
873
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
758
874
|
*
|
|
@@ -1326,6 +1442,51 @@ class ServingConfigServiceClient {
|
|
|
1326
1442
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
|
1327
1443
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
|
1328
1444
|
}
|
|
1445
|
+
/**
|
|
1446
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1447
|
+
*
|
|
1448
|
+
* @param {string} project
|
|
1449
|
+
* @param {string} location
|
|
1450
|
+
* @param {string} data_store
|
|
1451
|
+
* @returns {string} Resource name string.
|
|
1452
|
+
*/
|
|
1453
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
|
1454
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
|
1455
|
+
project: project,
|
|
1456
|
+
location: location,
|
|
1457
|
+
data_store: dataStore,
|
|
1458
|
+
});
|
|
1459
|
+
}
|
|
1460
|
+
/**
|
|
1461
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1462
|
+
*
|
|
1463
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1464
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1465
|
+
* @returns {string} A string representing the project.
|
|
1466
|
+
*/
|
|
1467
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1468
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1472
|
+
*
|
|
1473
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1474
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1475
|
+
* @returns {string} A string representing the location.
|
|
1476
|
+
*/
|
|
1477
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1478
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
|
1479
|
+
}
|
|
1480
|
+
/**
|
|
1481
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1482
|
+
*
|
|
1483
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1484
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1485
|
+
* @returns {string} A string representing the data_store.
|
|
1486
|
+
*/
|
|
1487
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
|
1488
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
|
1489
|
+
}
|
|
1329
1490
|
/**
|
|
1330
1491
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1331
1492
|
*
|
|
@@ -1120,6 +1120,48 @@ export declare class SiteSearchEngineServiceClient {
|
|
|
1120
1120
|
* @returns {string} A string representing the conversation.
|
|
1121
1121
|
*/
|
|
1122
1122
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
|
1123
|
+
/**
|
|
1124
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
|
1125
|
+
*
|
|
1126
|
+
* @param {string} project
|
|
1127
|
+
* @param {string} location
|
|
1128
|
+
* @param {string} collection
|
|
1129
|
+
* @param {string} data_store
|
|
1130
|
+
* @returns {string} Resource name string.
|
|
1131
|
+
*/
|
|
1132
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1135
|
+
*
|
|
1136
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1137
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1138
|
+
* @returns {string} A string representing the project.
|
|
1139
|
+
*/
|
|
1140
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1141
|
+
/**
|
|
1142
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1143
|
+
*
|
|
1144
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1145
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1146
|
+
* @returns {string} A string representing the location.
|
|
1147
|
+
*/
|
|
1148
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1149
|
+
/**
|
|
1150
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1151
|
+
*
|
|
1152
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1153
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1154
|
+
* @returns {string} A string representing the collection.
|
|
1155
|
+
*/
|
|
1156
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1157
|
+
/**
|
|
1158
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
|
1159
|
+
*
|
|
1160
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
|
1161
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
|
1162
|
+
* @returns {string} A string representing the data_store.
|
|
1163
|
+
*/
|
|
1164
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1123
1165
|
/**
|
|
1124
1166
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
|
1125
1167
|
*
|
|
@@ -1543,6 +1585,39 @@ export declare class SiteSearchEngineServiceClient {
|
|
|
1543
1585
|
* @returns {string} A string representing the conversation.
|
|
1544
1586
|
*/
|
|
1545
1587
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
|
1588
|
+
/**
|
|
1589
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
|
1590
|
+
*
|
|
1591
|
+
* @param {string} project
|
|
1592
|
+
* @param {string} location
|
|
1593
|
+
* @param {string} data_store
|
|
1594
|
+
* @returns {string} Resource name string.
|
|
1595
|
+
*/
|
|
1596
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
|
1597
|
+
/**
|
|
1598
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1599
|
+
*
|
|
1600
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1601
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1602
|
+
* @returns {string} A string representing the project.
|
|
1603
|
+
*/
|
|
1604
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1605
|
+
/**
|
|
1606
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1607
|
+
*
|
|
1608
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1609
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1610
|
+
* @returns {string} A string representing the location.
|
|
1611
|
+
*/
|
|
1612
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1613
|
+
/**
|
|
1614
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
|
1615
|
+
*
|
|
1616
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
|
1617
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
|
1618
|
+
* @returns {string} A string representing the data_store.
|
|
1619
|
+
*/
|
|
1620
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
|
1546
1621
|
/**
|
|
1547
1622
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
|
1548
1623
|
*
|