@google-cloud/discoveryengine 2.0.1 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +7 -2
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +35 -6
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +113 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +168 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +23 -4
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +7 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +16 -3
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +70 -9
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +20 -1
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +9 -5
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +3 -1
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/safety.proto +107 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +96 -8
- package/build/protos/google/cloud/discoveryengine/v1/serving_config.proto +271 -0
- package/build/protos/google/cloud/discoveryengine/v1/serving_config_service.proto +75 -0
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +27 -3
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +184 -5
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +34 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +16 -4
- package/build/protos/protos.d.ts +5356 -981
- package/build/protos/protos.js +32266 -20956
- package/build/protos/protos.json +1391 -74
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/completion_service_client.d.ts +237 -0
- package/build/src/v1/completion_service_client.js +326 -0
- package/build/src/v1/completion_service_proto_list.json +3 -0
- package/build/src/v1/control_service_client.d.ts +237 -0
- package/build/src/v1/control_service_client.js +326 -0
- package/build/src/v1/control_service_proto_list.json +3 -0
- package/build/src/v1/conversational_search_service_client.d.ts +213 -6
- package/build/src/v1/conversational_search_service_client.js +265 -5
- package/build/src/v1/conversational_search_service_client_config.json +5 -0
- package/build/src/v1/conversational_search_service_proto_list.json +3 -0
- package/build/src/v1/data_store_service_client.d.ts +237 -0
- package/build/src/v1/data_store_service_client.js +326 -0
- package/build/src/v1/data_store_service_proto_list.json +3 -0
- package/build/src/v1/document_service_client.d.ts +244 -1
- package/build/src/v1/document_service_client.js +326 -0
- package/build/src/v1/document_service_proto_list.json +3 -0
- package/build/src/v1/engine_service_client.d.ts +237 -0
- package/build/src/v1/engine_service_client.js +326 -0
- package/build/src/v1/engine_service_proto_list.json +3 -0
- package/build/src/v1/gapic_metadata.json +59 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +238 -3
- package/build/src/v1/grounded_generation_service_client.js +326 -0
- package/build/src/v1/grounded_generation_service_proto_list.json +3 -0
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/project_service_client.d.ts +237 -0
- package/build/src/v1/project_service_client.js +326 -0
- package/build/src/v1/project_service_proto_list.json +3 -0
- package/build/src/v1/rank_service_client.d.ts +238 -1
- package/build/src/v1/rank_service_client.js +326 -0
- package/build/src/v1/rank_service_proto_list.json +3 -0
- package/build/src/v1/recommendation_service_client.d.ts +95 -2
- package/build/src/v1/recommendation_service_client.js +128 -0
- package/build/src/v1/recommendation_service_proto_list.json +3 -0
- package/build/src/v1/schema_service_client.d.ts +237 -0
- package/build/src/v1/schema_service_client.js +326 -0
- package/build/src/v1/schema_service_proto_list.json +3 -0
- package/build/src/v1/search_service_client.d.ts +219 -30
- package/build/src/v1/search_service_client.js +212 -20
- package/build/src/v1/search_service_proto_list.json +3 -0
- package/build/src/v1/search_tuning_service_client.d.ts +237 -0
- package/build/src/v1/search_tuning_service_client.js +326 -0
- package/build/src/v1/search_tuning_service_proto_list.json +3 -0
- package/build/src/v1/serving_config_service_client.d.ts +1851 -0
- package/build/src/v1/serving_config_service_client.js +2653 -0
- package/build/src/v1/serving_config_service_client_config.json +30 -0
- package/build/src/v1/serving_config_service_proto_list.json +39 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +356 -3
- package/build/src/v1/site_search_engine_service_client.js +473 -0
- package/build/src/v1/site_search_engine_service_client_config.json +12 -0
- package/build/src/v1/site_search_engine_service_proto_list.json +3 -0
- package/build/src/v1/user_event_service_client.d.ts +258 -9
- package/build/src/v1/user_event_service_client.js +326 -0
- package/build/src/v1/user_event_service_proto_list.json +3 -0
- package/package.json +4 -4
@@ -181,12 +181,15 @@ class DataStoreServiceClient {
|
|
181
181
|
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
182
182
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
183
183
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
184
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
184
185
|
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
185
186
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
186
187
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
188
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
187
189
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
188
190
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
189
191
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
192
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
190
193
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
194
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
192
195
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
@@ -197,9 +200,11 @@ class DataStoreServiceClient {
|
|
197
200
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
198
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
203
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
204
|
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
205
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
207
|
+
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
204
209
|
};
|
205
210
|
// Some of the methods on this service return "paged" results,
|
@@ -1713,6 +1718,75 @@ class DataStoreServiceClient {
|
|
1713
1718
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1714
1719
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1715
1720
|
}
|
1721
|
+
/**
|
1722
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1723
|
+
*
|
1724
|
+
* @param {string} project
|
1725
|
+
* @param {string} location
|
1726
|
+
* @param {string} collection
|
1727
|
+
* @param {string} data_store
|
1728
|
+
* @param {string} serving_config
|
1729
|
+
* @returns {string} Resource name string.
|
1730
|
+
*/
|
1731
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1732
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1733
|
+
project: project,
|
1734
|
+
location: location,
|
1735
|
+
collection: collection,
|
1736
|
+
data_store: dataStore,
|
1737
|
+
serving_config: servingConfig,
|
1738
|
+
});
|
1739
|
+
}
|
1740
|
+
/**
|
1741
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1742
|
+
*
|
1743
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1744
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1745
|
+
* @returns {string} A string representing the project.
|
1746
|
+
*/
|
1747
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1748
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1749
|
+
}
|
1750
|
+
/**
|
1751
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1752
|
+
*
|
1753
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1754
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1755
|
+
* @returns {string} A string representing the location.
|
1756
|
+
*/
|
1757
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1758
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1759
|
+
}
|
1760
|
+
/**
|
1761
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1762
|
+
*
|
1763
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1764
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1765
|
+
* @returns {string} A string representing the collection.
|
1766
|
+
*/
|
1767
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1768
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1769
|
+
}
|
1770
|
+
/**
|
1771
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1772
|
+
*
|
1773
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1774
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1775
|
+
* @returns {string} A string representing the data_store.
|
1776
|
+
*/
|
1777
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1778
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1779
|
+
}
|
1780
|
+
/**
|
1781
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1782
|
+
*
|
1783
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1784
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1785
|
+
* @returns {string} A string representing the serving_config.
|
1786
|
+
*/
|
1787
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1788
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1789
|
+
}
|
1716
1790
|
/**
|
1717
1791
|
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1718
1792
|
*
|
@@ -1920,6 +1994,75 @@ class DataStoreServiceClient {
|
|
1920
1994
|
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1921
1995
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
1922
1996
|
}
|
1997
|
+
/**
|
1998
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
|
1999
|
+
*
|
2000
|
+
* @param {string} project
|
2001
|
+
* @param {string} location
|
2002
|
+
* @param {string} collection
|
2003
|
+
* @param {string} data_store
|
2004
|
+
* @param {string} sitemap
|
2005
|
+
* @returns {string} Resource name string.
|
2006
|
+
*/
|
2007
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project, location, collection, dataStore, sitemap) {
|
2008
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
2009
|
+
project: project,
|
2010
|
+
location: location,
|
2011
|
+
collection: collection,
|
2012
|
+
data_store: dataStore,
|
2013
|
+
sitemap: sitemap,
|
2014
|
+
});
|
2015
|
+
}
|
2016
|
+
/**
|
2017
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2018
|
+
*
|
2019
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2020
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2021
|
+
* @returns {string} A string representing the project.
|
2022
|
+
*/
|
2023
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2024
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).project;
|
2025
|
+
}
|
2026
|
+
/**
|
2027
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2028
|
+
*
|
2029
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2030
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2031
|
+
* @returns {string} A string representing the location.
|
2032
|
+
*/
|
2033
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2034
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).location;
|
2035
|
+
}
|
2036
|
+
/**
|
2037
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2038
|
+
*
|
2039
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2040
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2041
|
+
* @returns {string} A string representing the collection.
|
2042
|
+
*/
|
2043
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2044
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).collection;
|
2045
|
+
}
|
2046
|
+
/**
|
2047
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2048
|
+
*
|
2049
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2050
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2051
|
+
* @returns {string} A string representing the data_store.
|
2052
|
+
*/
|
2053
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2054
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).data_store;
|
2055
|
+
}
|
2056
|
+
/**
|
2057
|
+
* Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2058
|
+
*
|
2059
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2060
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2061
|
+
* @returns {string} A string representing the sitemap.
|
2062
|
+
*/
|
2063
|
+
matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2064
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).sitemap;
|
2065
|
+
}
|
1923
2066
|
/**
|
1924
2067
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
1925
2068
|
*
|
@@ -2127,6 +2270,75 @@ class DataStoreServiceClient {
|
|
2127
2270
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
2128
2271
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
2129
2272
|
}
|
2273
|
+
/**
|
2274
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
2275
|
+
*
|
2276
|
+
* @param {string} project
|
2277
|
+
* @param {string} location
|
2278
|
+
* @param {string} collection
|
2279
|
+
* @param {string} engine
|
2280
|
+
* @param {string} serving_config
|
2281
|
+
* @returns {string} Resource name string.
|
2282
|
+
*/
|
2283
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
2284
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
2285
|
+
project: project,
|
2286
|
+
location: location,
|
2287
|
+
collection: collection,
|
2288
|
+
engine: engine,
|
2289
|
+
serving_config: servingConfig,
|
2290
|
+
});
|
2291
|
+
}
|
2292
|
+
/**
|
2293
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
2294
|
+
*
|
2295
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2296
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2297
|
+
* @returns {string} A string representing the project.
|
2298
|
+
*/
|
2299
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2300
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
2301
|
+
}
|
2302
|
+
/**
|
2303
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
2304
|
+
*
|
2305
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2306
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2307
|
+
* @returns {string} A string representing the location.
|
2308
|
+
*/
|
2309
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2310
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
2311
|
+
}
|
2312
|
+
/**
|
2313
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
2314
|
+
*
|
2315
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2316
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2317
|
+
* @returns {string} A string representing the collection.
|
2318
|
+
*/
|
2319
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2320
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
2321
|
+
}
|
2322
|
+
/**
|
2323
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
2324
|
+
*
|
2325
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2326
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2327
|
+
* @returns {string} A string representing the engine.
|
2328
|
+
*/
|
2329
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2330
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
2331
|
+
}
|
2332
|
+
/**
|
2333
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
2334
|
+
*
|
2335
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2336
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2337
|
+
* @returns {string} A string representing the serving_config.
|
2338
|
+
*/
|
2339
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2340
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2341
|
+
}
|
2130
2342
|
/**
|
2131
2343
|
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
2132
2344
|
*
|
@@ -2745,6 +2957,63 @@ class DataStoreServiceClient {
|
|
2745
2957
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2746
2958
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
2747
2959
|
}
|
2960
|
+
/**
|
2961
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
2962
|
+
*
|
2963
|
+
* @param {string} project
|
2964
|
+
* @param {string} location
|
2965
|
+
* @param {string} data_store
|
2966
|
+
* @param {string} serving_config
|
2967
|
+
* @returns {string} Resource name string.
|
2968
|
+
*/
|
2969
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
2970
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
2971
|
+
project: project,
|
2972
|
+
location: location,
|
2973
|
+
data_store: dataStore,
|
2974
|
+
serving_config: servingConfig,
|
2975
|
+
});
|
2976
|
+
}
|
2977
|
+
/**
|
2978
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
2979
|
+
*
|
2980
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2981
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2982
|
+
* @returns {string} A string representing the project.
|
2983
|
+
*/
|
2984
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2985
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
2986
|
+
}
|
2987
|
+
/**
|
2988
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
2989
|
+
*
|
2990
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2991
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2992
|
+
* @returns {string} A string representing the location.
|
2993
|
+
*/
|
2994
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2995
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
2996
|
+
}
|
2997
|
+
/**
|
2998
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
2999
|
+
*
|
3000
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3001
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3002
|
+
* @returns {string} A string representing the data_store.
|
3003
|
+
*/
|
3004
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3005
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
3006
|
+
}
|
3007
|
+
/**
|
3008
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
3009
|
+
*
|
3010
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3011
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3012
|
+
* @returns {string} A string representing the serving_config.
|
3013
|
+
*/
|
3014
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3015
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3016
|
+
}
|
2748
3017
|
/**
|
2749
3018
|
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2750
3019
|
*
|
@@ -2916,6 +3185,63 @@ class DataStoreServiceClient {
|
|
2916
3185
|
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
2917
3186
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
2918
3187
|
}
|
3188
|
+
/**
|
3189
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
|
3190
|
+
*
|
3191
|
+
* @param {string} project
|
3192
|
+
* @param {string} location
|
3193
|
+
* @param {string} data_store
|
3194
|
+
* @param {string} sitemap
|
3195
|
+
* @returns {string} Resource name string.
|
3196
|
+
*/
|
3197
|
+
projectLocationDataStoreSiteSearchEngineSitemapPath(project, location, dataStore, sitemap) {
|
3198
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
3199
|
+
project: project,
|
3200
|
+
location: location,
|
3201
|
+
data_store: dataStore,
|
3202
|
+
sitemap: sitemap,
|
3203
|
+
});
|
3204
|
+
}
|
3205
|
+
/**
|
3206
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3207
|
+
*
|
3208
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3209
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3210
|
+
* @returns {string} A string representing the project.
|
3211
|
+
*/
|
3212
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3213
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).project;
|
3214
|
+
}
|
3215
|
+
/**
|
3216
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3217
|
+
*
|
3218
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3219
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3220
|
+
* @returns {string} A string representing the location.
|
3221
|
+
*/
|
3222
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3223
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).location;
|
3224
|
+
}
|
3225
|
+
/**
|
3226
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3227
|
+
*
|
3228
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3229
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3230
|
+
* @returns {string} A string representing the data_store.
|
3231
|
+
*/
|
3232
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3233
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).data_store;
|
3234
|
+
}
|
3235
|
+
/**
|
3236
|
+
* Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3237
|
+
*
|
3238
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3239
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3240
|
+
* @returns {string} A string representing the sitemap.
|
3241
|
+
*/
|
3242
|
+
matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3243
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).sitemap;
|
3244
|
+
}
|
2919
3245
|
/**
|
2920
3246
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
2921
3247
|
*
|
@@ -24,10 +24,13 @@
|
|
24
24
|
"../../protos/google/cloud/discoveryengine/v1/purge_config.proto",
|
25
25
|
"../../protos/google/cloud/discoveryengine/v1/rank_service.proto",
|
26
26
|
"../../protos/google/cloud/discoveryengine/v1/recommendation_service.proto",
|
27
|
+
"../../protos/google/cloud/discoveryengine/v1/safety.proto",
|
27
28
|
"../../protos/google/cloud/discoveryengine/v1/schema.proto",
|
28
29
|
"../../protos/google/cloud/discoveryengine/v1/schema_service.proto",
|
29
30
|
"../../protos/google/cloud/discoveryengine/v1/search_service.proto",
|
30
31
|
"../../protos/google/cloud/discoveryengine/v1/search_tuning_service.proto",
|
32
|
+
"../../protos/google/cloud/discoveryengine/v1/serving_config.proto",
|
33
|
+
"../../protos/google/cloud/discoveryengine/v1/serving_config_service.proto",
|
31
34
|
"../../protos/google/cloud/discoveryengine/v1/session.proto",
|
32
35
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine.proto",
|
33
36
|
"../../protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto",
|