@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 DocumentServiceClient {
|
|
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}'),
|
@@ -198,9 +201,11 @@ class DocumentServiceClient {
|
|
198
201
|
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
199
202
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
203
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
204
|
+
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
205
|
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
206
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
203
207
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
208
|
+
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
209
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
205
210
|
};
|
206
211
|
// Some of the methods on this service return "paged" results,
|
@@ -1837,6 +1842,75 @@ class DocumentServiceClient {
|
|
1837
1842
|
matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
|
1838
1843
|
return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
|
1839
1844
|
}
|
1845
|
+
/**
|
1846
|
+
* Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
|
1847
|
+
*
|
1848
|
+
* @param {string} project
|
1849
|
+
* @param {string} location
|
1850
|
+
* @param {string} collection
|
1851
|
+
* @param {string} data_store
|
1852
|
+
* @param {string} serving_config
|
1853
|
+
* @returns {string} Resource name string.
|
1854
|
+
*/
|
1855
|
+
projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
|
1856
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
|
1857
|
+
project: project,
|
1858
|
+
location: location,
|
1859
|
+
collection: collection,
|
1860
|
+
data_store: dataStore,
|
1861
|
+
serving_config: servingConfig,
|
1862
|
+
});
|
1863
|
+
}
|
1864
|
+
/**
|
1865
|
+
* Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
|
1866
|
+
*
|
1867
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1868
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1869
|
+
* @returns {string} A string representing the project.
|
1870
|
+
*/
|
1871
|
+
matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1872
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
|
1873
|
+
}
|
1874
|
+
/**
|
1875
|
+
* Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
|
1876
|
+
*
|
1877
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1878
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1879
|
+
* @returns {string} A string representing the location.
|
1880
|
+
*/
|
1881
|
+
matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1882
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
|
1883
|
+
}
|
1884
|
+
/**
|
1885
|
+
* Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
|
1886
|
+
*
|
1887
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1888
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1889
|
+
* @returns {string} A string representing the collection.
|
1890
|
+
*/
|
1891
|
+
matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1892
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
|
1893
|
+
}
|
1894
|
+
/**
|
1895
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
|
1896
|
+
*
|
1897
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1898
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1899
|
+
* @returns {string} A string representing the data_store.
|
1900
|
+
*/
|
1901
|
+
matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1902
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
|
1903
|
+
}
|
1904
|
+
/**
|
1905
|
+
* Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
|
1906
|
+
*
|
1907
|
+
* @param {string} projectLocationCollectionDataStoreServingConfigName
|
1908
|
+
* A fully-qualified path representing project_location_collection_data_store_serving_config resource.
|
1909
|
+
* @returns {string} A string representing the serving_config.
|
1910
|
+
*/
|
1911
|
+
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1912
|
+
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1913
|
+
}
|
1840
1914
|
/**
|
1841
1915
|
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1842
1916
|
*
|
@@ -2044,6 +2118,75 @@ class DocumentServiceClient {
|
|
2044
2118
|
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
2045
2119
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
2046
2120
|
}
|
2121
|
+
/**
|
2122
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineSitemap resource name string.
|
2123
|
+
*
|
2124
|
+
* @param {string} project
|
2125
|
+
* @param {string} location
|
2126
|
+
* @param {string} collection
|
2127
|
+
* @param {string} data_store
|
2128
|
+
* @param {string} sitemap
|
2129
|
+
* @returns {string} Resource name string.
|
2130
|
+
*/
|
2131
|
+
projectLocationCollectionDataStoreSiteSearchEngineSitemapPath(project, location, collection, dataStore, sitemap) {
|
2132
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
2133
|
+
project: project,
|
2134
|
+
location: location,
|
2135
|
+
collection: collection,
|
2136
|
+
data_store: dataStore,
|
2137
|
+
sitemap: sitemap,
|
2138
|
+
});
|
2139
|
+
}
|
2140
|
+
/**
|
2141
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2142
|
+
*
|
2143
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2144
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2145
|
+
* @returns {string} A string representing the project.
|
2146
|
+
*/
|
2147
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).project;
|
2149
|
+
}
|
2150
|
+
/**
|
2151
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2152
|
+
*
|
2153
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2154
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2155
|
+
* @returns {string} A string representing the location.
|
2156
|
+
*/
|
2157
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2158
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).location;
|
2159
|
+
}
|
2160
|
+
/**
|
2161
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2162
|
+
*
|
2163
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2164
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2165
|
+
* @returns {string} A string representing the collection.
|
2166
|
+
*/
|
2167
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2168
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).collection;
|
2169
|
+
}
|
2170
|
+
/**
|
2171
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2172
|
+
*
|
2173
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2174
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2175
|
+
* @returns {string} A string representing the data_store.
|
2176
|
+
*/
|
2177
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2178
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).data_store;
|
2179
|
+
}
|
2180
|
+
/**
|
2181
|
+
* Parse the sitemap from ProjectLocationCollectionDataStoreSiteSearchEngineSitemap resource.
|
2182
|
+
*
|
2183
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineSitemapName
|
2184
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_sitemap resource.
|
2185
|
+
* @returns {string} A string representing the sitemap.
|
2186
|
+
*/
|
2187
|
+
matchSitemapFromProjectLocationCollectionDataStoreSiteSearchEngineSitemapName(projectLocationCollectionDataStoreSiteSearchEngineSitemapName) {
|
2188
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineSitemapName).sitemap;
|
2189
|
+
}
|
2047
2190
|
/**
|
2048
2191
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
2049
2192
|
*
|
@@ -2251,6 +2394,75 @@ class DocumentServiceClient {
|
|
2251
2394
|
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
2252
2395
|
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
2253
2396
|
}
|
2397
|
+
/**
|
2398
|
+
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
2399
|
+
*
|
2400
|
+
* @param {string} project
|
2401
|
+
* @param {string} location
|
2402
|
+
* @param {string} collection
|
2403
|
+
* @param {string} engine
|
2404
|
+
* @param {string} serving_config
|
2405
|
+
* @returns {string} Resource name string.
|
2406
|
+
*/
|
2407
|
+
projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
|
2408
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
|
2409
|
+
project: project,
|
2410
|
+
location: location,
|
2411
|
+
collection: collection,
|
2412
|
+
engine: engine,
|
2413
|
+
serving_config: servingConfig,
|
2414
|
+
});
|
2415
|
+
}
|
2416
|
+
/**
|
2417
|
+
* Parse the project from ProjectLocationCollectionEngineServingConfig resource.
|
2418
|
+
*
|
2419
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2420
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2421
|
+
* @returns {string} A string representing the project.
|
2422
|
+
*/
|
2423
|
+
matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2424
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
|
2425
|
+
}
|
2426
|
+
/**
|
2427
|
+
* Parse the location from ProjectLocationCollectionEngineServingConfig resource.
|
2428
|
+
*
|
2429
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2430
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2431
|
+
* @returns {string} A string representing the location.
|
2432
|
+
*/
|
2433
|
+
matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2434
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
|
2435
|
+
}
|
2436
|
+
/**
|
2437
|
+
* Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
|
2438
|
+
*
|
2439
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2440
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2441
|
+
* @returns {string} A string representing the collection.
|
2442
|
+
*/
|
2443
|
+
matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2444
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
|
2445
|
+
}
|
2446
|
+
/**
|
2447
|
+
* Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
|
2448
|
+
*
|
2449
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2450
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2451
|
+
* @returns {string} A string representing the engine.
|
2452
|
+
*/
|
2453
|
+
matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2454
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
|
2455
|
+
}
|
2456
|
+
/**
|
2457
|
+
* Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
|
2458
|
+
*
|
2459
|
+
* @param {string} projectLocationCollectionEngineServingConfigName
|
2460
|
+
* A fully-qualified path representing project_location_collection_engine_serving_config resource.
|
2461
|
+
* @returns {string} A string representing the serving_config.
|
2462
|
+
*/
|
2463
|
+
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2464
|
+
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2465
|
+
}
|
2254
2466
|
/**
|
2255
2467
|
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
2256
2468
|
*
|
@@ -2926,6 +3138,63 @@ class DocumentServiceClient {
|
|
2926
3138
|
matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
|
2927
3139
|
return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
|
2928
3140
|
}
|
3141
|
+
/**
|
3142
|
+
* Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
|
3143
|
+
*
|
3144
|
+
* @param {string} project
|
3145
|
+
* @param {string} location
|
3146
|
+
* @param {string} data_store
|
3147
|
+
* @param {string} serving_config
|
3148
|
+
* @returns {string} Resource name string.
|
3149
|
+
*/
|
3150
|
+
projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
|
3151
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
|
3152
|
+
project: project,
|
3153
|
+
location: location,
|
3154
|
+
data_store: dataStore,
|
3155
|
+
serving_config: servingConfig,
|
3156
|
+
});
|
3157
|
+
}
|
3158
|
+
/**
|
3159
|
+
* Parse the project from ProjectLocationDataStoreServingConfig resource.
|
3160
|
+
*
|
3161
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3162
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3163
|
+
* @returns {string} A string representing the project.
|
3164
|
+
*/
|
3165
|
+
matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3166
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
|
3167
|
+
}
|
3168
|
+
/**
|
3169
|
+
* Parse the location from ProjectLocationDataStoreServingConfig resource.
|
3170
|
+
*
|
3171
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3172
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3173
|
+
* @returns {string} A string representing the location.
|
3174
|
+
*/
|
3175
|
+
matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3176
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
|
3177
|
+
}
|
3178
|
+
/**
|
3179
|
+
* Parse the data_store from ProjectLocationDataStoreServingConfig resource.
|
3180
|
+
*
|
3181
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3182
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3183
|
+
* @returns {string} A string representing the data_store.
|
3184
|
+
*/
|
3185
|
+
matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3186
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
|
3187
|
+
}
|
3188
|
+
/**
|
3189
|
+
* Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
|
3190
|
+
*
|
3191
|
+
* @param {string} projectLocationDataStoreServingConfigName
|
3192
|
+
* A fully-qualified path representing project_location_data_store_serving_config resource.
|
3193
|
+
* @returns {string} A string representing the serving_config.
|
3194
|
+
*/
|
3195
|
+
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3196
|
+
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3197
|
+
}
|
2929
3198
|
/**
|
2930
3199
|
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2931
3200
|
*
|
@@ -3097,6 +3366,63 @@ class DocumentServiceClient {
|
|
3097
3366
|
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
3098
3367
|
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
3099
3368
|
}
|
3369
|
+
/**
|
3370
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineSitemap resource name string.
|
3371
|
+
*
|
3372
|
+
* @param {string} project
|
3373
|
+
* @param {string} location
|
3374
|
+
* @param {string} data_store
|
3375
|
+
* @param {string} sitemap
|
3376
|
+
* @returns {string} Resource name string.
|
3377
|
+
*/
|
3378
|
+
projectLocationDataStoreSiteSearchEngineSitemapPath(project, location, dataStore, sitemap) {
|
3379
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.render({
|
3380
|
+
project: project,
|
3381
|
+
location: location,
|
3382
|
+
data_store: dataStore,
|
3383
|
+
sitemap: sitemap,
|
3384
|
+
});
|
3385
|
+
}
|
3386
|
+
/**
|
3387
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3388
|
+
*
|
3389
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3390
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3391
|
+
* @returns {string} A string representing the project.
|
3392
|
+
*/
|
3393
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3394
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).project;
|
3395
|
+
}
|
3396
|
+
/**
|
3397
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3398
|
+
*
|
3399
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3400
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3401
|
+
* @returns {string} A string representing the location.
|
3402
|
+
*/
|
3403
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3404
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).location;
|
3405
|
+
}
|
3406
|
+
/**
|
3407
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3408
|
+
*
|
3409
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3410
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3411
|
+
* @returns {string} A string representing the data_store.
|
3412
|
+
*/
|
3413
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3414
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).data_store;
|
3415
|
+
}
|
3416
|
+
/**
|
3417
|
+
* Parse the sitemap from ProjectLocationDataStoreSiteSearchEngineSitemap resource.
|
3418
|
+
*
|
3419
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineSitemapName
|
3420
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_sitemap resource.
|
3421
|
+
* @returns {string} A string representing the sitemap.
|
3422
|
+
*/
|
3423
|
+
matchSitemapFromProjectLocationDataStoreSiteSearchEngineSitemapName(projectLocationDataStoreSiteSearchEngineSitemapName) {
|
3424
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineSitemapPathTemplate.match(projectLocationDataStoreSiteSearchEngineSitemapName).sitemap;
|
3425
|
+
}
|
3100
3426
|
/**
|
3101
3427
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
3102
3428
|
*
|
@@ -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",
|