@google-cloud/discoveryengine 1.4.0 → 1.4.1
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 +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
@@ -151,6 +151,7 @@ class SiteSearchEngineServiceClient {
|
|
151
151
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
152
152
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
153
153
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
154
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
154
155
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
155
156
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
156
157
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -160,6 +161,7 @@ class SiteSearchEngineServiceClient {
|
|
160
161
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
161
162
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
162
163
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
164
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
163
165
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
164
166
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
165
167
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -1460,6 +1462,63 @@ class SiteSearchEngineServiceClient {
|
|
1460
1462
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1461
1463
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1462
1464
|
}
|
1465
|
+
/**
|
1466
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1467
|
+
*
|
1468
|
+
* @param {string} project
|
1469
|
+
* @param {string} location
|
1470
|
+
* @param {string} collection
|
1471
|
+
* @param {string} data_store
|
1472
|
+
* @returns {string} Resource name string.
|
1473
|
+
*/
|
1474
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
1475
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
1476
|
+
project: project,
|
1477
|
+
location: location,
|
1478
|
+
collection: collection,
|
1479
|
+
data_store: dataStore,
|
1480
|
+
});
|
1481
|
+
}
|
1482
|
+
/**
|
1483
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1484
|
+
*
|
1485
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1486
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1487
|
+
* @returns {string} A string representing the project.
|
1488
|
+
*/
|
1489
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1490
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
1491
|
+
}
|
1492
|
+
/**
|
1493
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1494
|
+
*
|
1495
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1496
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1497
|
+
* @returns {string} A string representing the location.
|
1498
|
+
*/
|
1499
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1500
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
1501
|
+
}
|
1502
|
+
/**
|
1503
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1504
|
+
*
|
1505
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1506
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1507
|
+
* @returns {string} A string representing the collection.
|
1508
|
+
*/
|
1509
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1510
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
1511
|
+
}
|
1512
|
+
/**
|
1513
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
1514
|
+
*
|
1515
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
1516
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
1517
|
+
* @returns {string} A string representing the data_store.
|
1518
|
+
*/
|
1519
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
1520
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
1521
|
+
}
|
1463
1522
|
/**
|
1464
1523
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
1465
1524
|
*
|
@@ -2033,6 +2092,51 @@ class SiteSearchEngineServiceClient {
|
|
2033
2092
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2034
2093
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2035
2094
|
}
|
2095
|
+
/**
|
2096
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2097
|
+
*
|
2098
|
+
* @param {string} project
|
2099
|
+
* @param {string} location
|
2100
|
+
* @param {string} data_store
|
2101
|
+
* @returns {string} Resource name string.
|
2102
|
+
*/
|
2103
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
2104
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
2105
|
+
project: project,
|
2106
|
+
location: location,
|
2107
|
+
data_store: dataStore,
|
2108
|
+
});
|
2109
|
+
}
|
2110
|
+
/**
|
2111
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2112
|
+
*
|
2113
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2114
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2115
|
+
* @returns {string} A string representing the project.
|
2116
|
+
*/
|
2117
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2118
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
2119
|
+
}
|
2120
|
+
/**
|
2121
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2122
|
+
*
|
2123
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2124
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2125
|
+
* @returns {string} A string representing the location.
|
2126
|
+
*/
|
2127
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2128
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
2129
|
+
}
|
2130
|
+
/**
|
2131
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
2132
|
+
*
|
2133
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
2134
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
2135
|
+
* @returns {string} A string representing the data_store.
|
2136
|
+
*/
|
2137
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
2138
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
2139
|
+
}
|
2036
2140
|
/**
|
2037
2141
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
2038
2142
|
*
|
@@ -600,6 +600,48 @@ export declare class UserEventServiceClient {
|
|
600
600
|
* @returns {string} A string representing the conversation.
|
601
601
|
*/
|
602
602
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
|
603
|
+
/**
|
604
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
605
|
+
*
|
606
|
+
* @param {string} project
|
607
|
+
* @param {string} location
|
608
|
+
* @param {string} collection
|
609
|
+
* @param {string} data_store
|
610
|
+
* @returns {string} Resource name string.
|
611
|
+
*/
|
612
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
|
613
|
+
/**
|
614
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
615
|
+
*
|
616
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
617
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
618
|
+
* @returns {string} A string representing the project.
|
619
|
+
*/
|
620
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
621
|
+
/**
|
622
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
623
|
+
*
|
624
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
625
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
626
|
+
* @returns {string} A string representing the location.
|
627
|
+
*/
|
628
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
629
|
+
/**
|
630
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
631
|
+
*
|
632
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
633
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
634
|
+
* @returns {string} A string representing the collection.
|
635
|
+
*/
|
636
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
637
|
+
/**
|
638
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
639
|
+
*
|
640
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
641
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
642
|
+
* @returns {string} A string representing the data_store.
|
643
|
+
*/
|
644
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
|
603
645
|
/**
|
604
646
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
605
647
|
*
|
@@ -1023,6 +1065,39 @@ export declare class UserEventServiceClient {
|
|
1023
1065
|
* @returns {string} A string representing the conversation.
|
1024
1066
|
*/
|
1025
1067
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
|
1068
|
+
/**
|
1069
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1070
|
+
*
|
1071
|
+
* @param {string} project
|
1072
|
+
* @param {string} location
|
1073
|
+
* @param {string} data_store
|
1074
|
+
* @returns {string} Resource name string.
|
1075
|
+
*/
|
1076
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
|
1077
|
+
/**
|
1078
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1079
|
+
*
|
1080
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1081
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1082
|
+
* @returns {string} A string representing the project.
|
1083
|
+
*/
|
1084
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1085
|
+
/**
|
1086
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1087
|
+
*
|
1088
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1089
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1090
|
+
* @returns {string} A string representing the location.
|
1091
|
+
*/
|
1092
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1093
|
+
/**
|
1094
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1095
|
+
*
|
1096
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1097
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1098
|
+
* @returns {string} A string representing the data_store.
|
1099
|
+
*/
|
1100
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
|
1026
1101
|
/**
|
1027
1102
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1028
1103
|
*
|
@@ -150,6 +150,7 @@ class UserEventServiceClient {
|
|
150
150
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
151
151
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
152
152
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
153
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
153
154
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
154
155
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
155
156
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -159,6 +160,7 @@ class UserEventServiceClient {
|
|
159
160
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
160
161
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
161
162
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
163
|
+
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
162
164
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
163
165
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
166
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
@@ -912,6 +914,63 @@ class UserEventServiceClient {
|
|
912
914
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
913
915
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
914
916
|
}
|
917
|
+
/**
|
918
|
+
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
919
|
+
*
|
920
|
+
* @param {string} project
|
921
|
+
* @param {string} location
|
922
|
+
* @param {string} collection
|
923
|
+
* @param {string} data_store
|
924
|
+
* @returns {string} Resource name string.
|
925
|
+
*/
|
926
|
+
projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
|
927
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
|
928
|
+
project: project,
|
929
|
+
location: location,
|
930
|
+
collection: collection,
|
931
|
+
data_store: dataStore,
|
932
|
+
});
|
933
|
+
}
|
934
|
+
/**
|
935
|
+
* Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
936
|
+
*
|
937
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
938
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
939
|
+
* @returns {string} A string representing the project.
|
940
|
+
*/
|
941
|
+
matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
942
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
946
|
+
*
|
947
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
948
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
949
|
+
* @returns {string} A string representing the location.
|
950
|
+
*/
|
951
|
+
matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
952
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
|
953
|
+
}
|
954
|
+
/**
|
955
|
+
* Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
956
|
+
*
|
957
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
958
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
959
|
+
* @returns {string} A string representing the collection.
|
960
|
+
*/
|
961
|
+
matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
962
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
|
963
|
+
}
|
964
|
+
/**
|
965
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
|
966
|
+
*
|
967
|
+
* @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
|
968
|
+
* A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
|
969
|
+
* @returns {string} A string representing the data_store.
|
970
|
+
*/
|
971
|
+
matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
|
972
|
+
return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
|
973
|
+
}
|
915
974
|
/**
|
916
975
|
* Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
|
917
976
|
*
|
@@ -1485,6 +1544,51 @@ class UserEventServiceClient {
|
|
1485
1544
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
1486
1545
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
1487
1546
|
}
|
1547
|
+
/**
|
1548
|
+
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
1549
|
+
*
|
1550
|
+
* @param {string} project
|
1551
|
+
* @param {string} location
|
1552
|
+
* @param {string} data_store
|
1553
|
+
* @returns {string} Resource name string.
|
1554
|
+
*/
|
1555
|
+
projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
|
1556
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
|
1557
|
+
project: project,
|
1558
|
+
location: location,
|
1559
|
+
data_store: dataStore,
|
1560
|
+
});
|
1561
|
+
}
|
1562
|
+
/**
|
1563
|
+
* Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1564
|
+
*
|
1565
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1566
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1567
|
+
* @returns {string} A string representing the project.
|
1568
|
+
*/
|
1569
|
+
matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1570
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
|
1571
|
+
}
|
1572
|
+
/**
|
1573
|
+
* Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1574
|
+
*
|
1575
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1576
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1577
|
+
* @returns {string} A string representing the location.
|
1578
|
+
*/
|
1579
|
+
matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1580
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
|
1581
|
+
}
|
1582
|
+
/**
|
1583
|
+
* Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
|
1584
|
+
*
|
1585
|
+
* @param {string} projectLocationDataStoreDocumentProcessingConfigName
|
1586
|
+
* A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
|
1587
|
+
* @returns {string} A string representing the data_store.
|
1588
|
+
*/
|
1589
|
+
matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
|
1590
|
+
return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
|
1591
|
+
}
|
1488
1592
|
/**
|
1489
1593
|
* Return a fully-qualified projectLocationDataStoreSchema resource name string.
|
1490
1594
|
*
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@google-cloud/discoveryengine",
|
3
|
-
"version": "1.4.
|
3
|
+
"version": "1.4.1",
|
4
4
|
"description": "Discovery Engine API client for Node.js",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -52,8 +52,8 @@
|
|
52
52
|
"@types/mocha": "^9.0.0",
|
53
53
|
"@types/node": "^20.4.5",
|
54
54
|
"@types/sinon": "^17.0.0",
|
55
|
-
"c8": "^
|
56
|
-
"gapic-tools": "^0.
|
55
|
+
"c8": "^9.0.0",
|
56
|
+
"gapic-tools": "^0.4.0",
|
57
57
|
"gts": "^5.0.0",
|
58
58
|
"jsdoc": "^4.0.0",
|
59
59
|
"jsdoc-fresh": "^3.0.0",
|