@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
@@ -179,12 +179,15 @@ class SchemaServiceClient {
|
|
179
179
|
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
180
180
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
181
181
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
182
|
+
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
183
|
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
184
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
184
185
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
186
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
187
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
188
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
189
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
190
|
+
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
191
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
192
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
193
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
@@ -195,9 +198,11 @@ class SchemaServiceClient {
|
|
195
198
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
196
199
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
200
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
202
|
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
203
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
204
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
|
+
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
206
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
202
207
|
};
|
203
208
|
// Some of the methods on this service return "paged" results,
|
@@ -1665,6 +1670,75 @@ class SchemaServiceClient {
|
|
1665
1670
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1666
1671
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1667
1672
|
}
|
1673
|
+
/**
|
1674
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1675
|
+
*
|
1676
|
+
* @param {string} project
|
1677
|
+
* @param {string} location
|
1678
|
+
* @param {string} collection
|
1679
|
+
* @param {string} data_store
|
1680
|
+
* @param {string} serving_config
|
1681
|
+
* @returns {string} Resource name string.
|
1682
|
+
*/
|
1683
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1684
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1685
|
+
project: project,
|
1686
|
+
location: location,
|
1687
|
+
collection: collection,
|
1688
|
+
data_store: dataStore,
|
1689
|
+
serving_config: servingConfig,
|
1690
|
+
});
|
1691
|
+
}
|
1692
|
+
/**
|
1693
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1694
|
+
*
|
1695
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1696
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1697
|
+
* @returns {string} A string representing the project.
|
1698
|
+
*/
|
1699
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1700
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1701
|
+
}
|
1702
|
+
/**
|
1703
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1704
|
+
*
|
1705
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1706
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1707
|
+
* @returns {string} A string representing the location.
|
1708
|
+
*/
|
1709
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1710
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1711
|
+
}
|
1712
|
+
/**
|
1713
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1714
|
+
*
|
1715
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1716
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1717
|
+
* @returns {string} A string representing the collection.
|
1718
|
+
*/
|
1719
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1720
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1721
|
+
}
|
1722
|
+
/**
|
1723
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1724
|
+
*
|
1725
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1726
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1727
|
+
* @returns {string} A string representing the data_store.
|
1728
|
+
*/
|
1729
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1730
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1731
|
+
}
|
1732
|
+
/**
|
1733
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1734
|
+
*
|
1735
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1736
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1737
|
+
* @returns {string} A string representing the serving_config.
|
1738
|
+
*/
|
1739
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1740
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1741
|
+
}
|
1668
1742
|
/**
|
1669
1743
|
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1670
1744
|
*
|
@@ -1872,6 +1946,75 @@ class SchemaServiceClient {
|
|
1872
1946
|
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
1873
1947
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
1874
1948
|
}
|
1949
|
+
/**
|
1950
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
|
1951
|
+
*
|
1952
|
+
* @param {string} project
|
1953
|
+
* @param {string} location
|
1954
|
+
* @param {string} collection
|
1955
|
+
* @param {string} data_store
|
1956
|
+
* @param {string} sitemap
|
1957
|
+
* @returns {string} Resource name string.
|
1958
|
+
*/
|
1959
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project, location, collection, dataStore, sitemap) {
|
1960
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
1961
|
+
project: project,
|
1962
|
+
location: location,
|
1963
|
+
collection: collection,
|
1964
|
+
data_store: dataStore,
|
1965
|
+
sitemap: sitemap,
|
1966
|
+
});
|
1967
|
+
}
|
1968
|
+
/**
|
1969
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1970
|
+
*
|
1971
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1972
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1973
|
+
* @returns {string} A string representing the project.
|
1974
|
+
*/
|
1975
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1976
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).project;
|
1977
|
+
}
|
1978
|
+
/**
|
1979
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1980
|
+
*
|
1981
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1982
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1983
|
+
* @returns {string} A string representing the location.
|
1984
|
+
*/
|
1985
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1986
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).location;
|
1987
|
+
}
|
1988
|
+
/**
|
1989
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
1990
|
+
*
|
1991
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
1992
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
1993
|
+
* @returns {string} A string representing the collection.
|
1994
|
+
*/
|
1995
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
1996
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).collection;
|
1997
|
+
}
|
1998
|
+
/**
|
1999
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2000
|
+
*
|
2001
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2002
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2003
|
+
* @returns {string} A string representing the data_store.
|
2004
|
+
*/
|
2005
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2006
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).data_store;
|
2007
|
+
}
|
2008
|
+
/**
|
2009
|
+
* Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2010
|
+
*
|
2011
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2012
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2013
|
+
* @returns {string} A string representing the sitemap.
|
2014
|
+
*/
|
2015
|
+
matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2016
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).sitemap;
|
2017
|
+
}
|
1875
2018
|
/**
|
1876
2019
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
1877
2020
|
*
|
@@ -2079,6 +2222,75 @@ class SchemaServiceClient {
|
|
2079
2222
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
2080
2223
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
2081
2224
|
}
|
2225
|
+
/**
|
2226
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
2227
|
+
*
|
2228
|
+
* @param {string} project
|
2229
|
+
* @param {string} location
|
2230
|
+
* @param {string} collection
|
2231
|
+
* @param {string} engine
|
2232
|
+
* @param {string} serving_config
|
2233
|
+
* @returns {string} Resource name string.
|
2234
|
+
*/
|
2235
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
2236
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
2237
|
+
project: project,
|
2238
|
+
location: location,
|
2239
|
+
collection: collection,
|
2240
|
+
engine: engine,
|
2241
|
+
serving_config: servingConfig,
|
2242
|
+
});
|
2243
|
+
}
|
2244
|
+
/**
|
2245
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
2246
|
+
*
|
2247
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2248
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2249
|
+
* @returns {string} A string representing the project.
|
2250
|
+
*/
|
2251
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2252
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
2253
|
+
}
|
2254
|
+
/**
|
2255
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
2256
|
+
*
|
2257
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2258
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2259
|
+
* @returns {string} A string representing the location.
|
2260
|
+
*/
|
2261
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2262
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
2263
|
+
}
|
2264
|
+
/**
|
2265
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
2266
|
+
*
|
2267
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2268
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2269
|
+
* @returns {string} A string representing the collection.
|
2270
|
+
*/
|
2271
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2272
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
2273
|
+
}
|
2274
|
+
/**
|
2275
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
2276
|
+
*
|
2277
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2278
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2279
|
+
* @returns {string} A string representing the engine.
|
2280
|
+
*/
|
2281
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2282
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
2283
|
+
}
|
2284
|
+
/**
|
2285
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
2286
|
+
*
|
2287
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2288
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2289
|
+
* @returns {string} A string representing the serving_config.
|
2290
|
+
*/
|
2291
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2292
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2293
|
+
}
|
2082
2294
|
/**
|
2083
2295
|
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
2084
2296
|
*
|
@@ -2697,6 +2909,63 @@ class SchemaServiceClient {
|
|
2697
2909
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2698
2910
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
2699
2911
|
}
|
2912
|
+
/**
|
2913
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
2914
|
+
*
|
2915
|
+
* @param {string} project
|
2916
|
+
* @param {string} location
|
2917
|
+
* @param {string} data_store
|
2918
|
+
* @param {string} serving_config
|
2919
|
+
* @returns {string} Resource name string.
|
2920
|
+
*/
|
2921
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
2922
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
2923
|
+
project: project,
|
2924
|
+
location: location,
|
2925
|
+
data_store: dataStore,
|
2926
|
+
serving_config: servingConfig,
|
2927
|
+
});
|
2928
|
+
}
|
2929
|
+
/**
|
2930
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
2931
|
+
*
|
2932
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2933
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2934
|
+
* @returns {string} A string representing the project.
|
2935
|
+
*/
|
2936
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2937
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
2938
|
+
}
|
2939
|
+
/**
|
2940
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
2941
|
+
*
|
2942
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2943
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2944
|
+
* @returns {string} A string representing the location.
|
2945
|
+
*/
|
2946
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2947
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
2948
|
+
}
|
2949
|
+
/**
|
2950
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
2951
|
+
*
|
2952
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2953
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2954
|
+
* @returns {string} A string representing the data_store.
|
2955
|
+
*/
|
2956
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2957
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
2958
|
+
}
|
2959
|
+
/**
|
2960
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
2961
|
+
*
|
2962
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
2963
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
2964
|
+
* @returns {string} A string representing the serving_config.
|
2965
|
+
*/
|
2966
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2967
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2968
|
+
}
|
2700
2969
|
/**
|
2701
2970
|
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2702
2971
|
*
|
@@ -2868,6 +3137,63 @@ class SchemaServiceClient {
|
|
2868
3137
|
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
2869
3138
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
2870
3139
|
}
|
3140
|
+
/**
|
3141
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
|
3142
|
+
*
|
3143
|
+
* @param {string} project
|
3144
|
+
* @param {string} location
|
3145
|
+
* @param {string} data_store
|
3146
|
+
* @param {string} sitemap
|
3147
|
+
* @returns {string} Resource name string.
|
3148
|
+
*/
|
3149
|
+
projectLocationDataStoreSiteSearchEngineSitemapPath(project, location, dataStore, sitemap) {
|
3150
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
3151
|
+
project: project,
|
3152
|
+
location: location,
|
3153
|
+
data_store: dataStore,
|
3154
|
+
sitemap: sitemap,
|
3155
|
+
});
|
3156
|
+
}
|
3157
|
+
/**
|
3158
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3159
|
+
*
|
3160
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3161
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3162
|
+
* @returns {string} A string representing the project.
|
3163
|
+
*/
|
3164
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3165
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).project;
|
3166
|
+
}
|
3167
|
+
/**
|
3168
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3169
|
+
*
|
3170
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3171
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3172
|
+
* @returns {string} A string representing the location.
|
3173
|
+
*/
|
3174
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3175
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).location;
|
3176
|
+
}
|
3177
|
+
/**
|
3178
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3179
|
+
*
|
3180
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3181
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3182
|
+
* @returns {string} A string representing the data_store.
|
3183
|
+
*/
|
3184
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3185
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).data_store;
|
3186
|
+
}
|
3187
|
+
/**
|
3188
|
+
* Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3189
|
+
*
|
3190
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3191
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3192
|
+
* @returns {string} A string representing the sitemap.
|
3193
|
+
*/
|
3194
|
+
matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3195
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).sitemap;
|
3196
|
+
}
|
2871
3197
|
/**
|
2872
3198
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
2873
3199
|
*
|
@@ -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",
|