@google-cloud/discoveryengine 1.5.0 → 1.7.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 +14 -0
- package/README.md +24 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +7 -39
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +7 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
- package/build/protos/protos.d.ts +41126 -24558
- package/build/protos/protos.js +134286 -93661
- package/build/protos/protos.json +7598 -3744
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/conversational_search_service_client.d.ts +4 -0
- package/build/src/v1/document_service_client.d.ts +47 -19
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/recommendation_service_client.d.ts +1087 -0
- package/build/src/v1/recommendation_service_client.js +1432 -0
- package/build/src/v1/recommendation_service_client_config.json +43 -0
- package/build/src/v1/search_service_client.d.ts +27 -9
- package/build/src/v1/search_service_client.js +18 -6
- package/build/src/v1/search_service_client_config.json +5 -5
- package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
- package/build/src/v1alpha/acl_config_service_client.js +454 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
- package/build/src/v1alpha/chunk_service_client.js +454 -0
- package/build/src/v1alpha/completion_service_client.d.ts +330 -0
- package/build/src/v1alpha/completion_service_client.js +454 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
- package/build/src/v1alpha/conversational_search_service_client.js +724 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
- package/build/src/v1alpha/data_store_service_client.js +454 -0
- package/build/src/v1alpha/document_service_client.d.ts +330 -0
- package/build/src/v1alpha/document_service_client.js +454 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +454 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +454 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
- package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1alpha/index.d.ts +2 -0
- package/build/src/v1alpha/index.js +5 -1
- package/build/src/v1alpha/project_service_client.d.ts +1756 -0
- package/build/src/v1alpha/project_service_client.js +2500 -0
- package/build/src/v1alpha/project_service_client_config.json +38 -0
- package/build/src/v1alpha/rank_service_client.d.ts +330 -0
- package/build/src/v1alpha/rank_service_client.js +454 -0
- package/build/src/v1alpha/rank_service_client_config.json +15 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
- package/build/src/v1alpha/recommendation_service_client.js +454 -0
- package/build/src/v1alpha/schema_service_client.d.ts +330 -0
- package/build/src/v1alpha/schema_service_client.js +454 -0
- package/build/src/v1alpha/search_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_service_client.js +454 -0
- package/build/src/v1alpha/search_service_client_config.json +5 -5
- package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_tuning_service_client.js +454 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +315 -0
- package/build/src/v1alpha/serving_config_service_client.js +432 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +454 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +454 -0
- package/build/src/v1beta/completion_service_client.d.ts +315 -0
- package/build/src/v1beta/completion_service_client.js +432 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
- package/build/src/v1beta/conversational_search_service_client.js +702 -0
- package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
- package/build/src/v1beta/data_store_service_client.d.ts +315 -0
- package/build/src/v1beta/data_store_service_client.js +432 -0
- package/build/src/v1beta/document_service_client.d.ts +361 -21
- package/build/src/v1beta/document_service_client.js +432 -0
- package/build/src/v1beta/engine_service_client.d.ts +410 -0
- package/build/src/v1beta/engine_service_client.js +518 -0
- package/build/src/v1beta/engine_service_client_config.json +12 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
- package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
- package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/rank_service_client.d.ts +1416 -0
- package/build/src/v1beta/rank_service_client.js +2015 -0
- package/build/src/v1beta/rank_service_client_config.json +43 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
- package/build/src/v1beta/recommendation_service_client.js +432 -0
- package/build/src/v1beta/schema_service_client.d.ts +315 -0
- package/build/src/v1beta/schema_service_client.js +432 -0
- package/build/src/v1beta/search_service_client.d.ts +342 -12
- package/build/src/v1beta/search_service_client.js +450 -8
- package/build/src/v1beta/search_service_client_config.json +5 -5
- package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
- package/build/src/v1beta/search_tuning_service_client.js +432 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
- package/build/src/v1beta/serving_config_service_client.js +432 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
- package/build/src/v1beta/site_search_engine_service_client.js +432 -0
- package/build/src/v1beta/user_event_service_client.d.ts +315 -0
- package/build/src/v1beta/user_event_service_client.js +432 -0
- package/package.json +1 -1
@@ -152,6 +152,7 @@ class SiteSearchEngineServiceClient {
|
|
152
152
|
this.pathTemplates = {
|
153
153
|
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
154
154
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
155
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
156
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
157
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -159,10 +160,14 @@ class SiteSearchEngineServiceClient {
|
|
159
160
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
160
161
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
161
162
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
163
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
164
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
162
165
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
164
167
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
165
168
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
169
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
170
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
166
171
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
167
172
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
168
173
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -170,6 +175,8 @@ class SiteSearchEngineServiceClient {
|
|
170
175
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
171
176
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
172
177
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
179
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
173
180
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
174
181
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
175
182
|
};
|
@@ -1299,6 +1306,27 @@ class SiteSearchEngineServiceClient {
|
|
1299
1306
|
matchEngineFromEngineName(engineName) {
|
1300
1307
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1301
1308
|
}
|
1309
|
+
/**
|
1310
|
+
* Return a fully-qualified project resource name string.
|
1311
|
+
*
|
1312
|
+
* @param {string} project
|
1313
|
+
* @returns {string} Resource name string.
|
1314
|
+
*/
|
1315
|
+
projectPath(project) {
|
1316
|
+
return this.pathTemplates.projectPathTemplate.render({
|
1317
|
+
project: project,
|
1318
|
+
});
|
1319
|
+
}
|
1320
|
+
/**
|
1321
|
+
* Parse the project from Project resource.
|
1322
|
+
*
|
1323
|
+
* @param {string} projectName
|
1324
|
+
* A fully-qualified path representing Project resource.
|
1325
|
+
* @returns {string} A string representing the project.
|
1326
|
+
*/
|
1327
|
+
matchProjectFromProjectName(projectName) {
|
1328
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1329
|
+
}
|
1302
1330
|
/**
|
1303
1331
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1304
1332
|
*
|
@@ -1794,6 +1822,156 @@ class SiteSearchEngineServiceClient {
|
|
1794
1822
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1795
1823
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1796
1824
|
}
|
1825
|
+
/**
|
1826
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1827
|
+
*
|
1828
|
+
* @param {string} project
|
1829
|
+
* @param {string} location
|
1830
|
+
* @param {string} collection
|
1831
|
+
* @param {string} data_store
|
1832
|
+
* @param {string} session
|
1833
|
+
* @returns {string} Resource name string.
|
1834
|
+
*/
|
1835
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1836
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1837
|
+
project: project,
|
1838
|
+
location: location,
|
1839
|
+
collection: collection,
|
1840
|
+
data_store: dataStore,
|
1841
|
+
session: session,
|
1842
|
+
});
|
1843
|
+
}
|
1844
|
+
/**
|
1845
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1846
|
+
*
|
1847
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1848
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1849
|
+
* @returns {string} A string representing the project.
|
1850
|
+
*/
|
1851
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1852
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1853
|
+
}
|
1854
|
+
/**
|
1855
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1856
|
+
*
|
1857
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1858
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1859
|
+
* @returns {string} A string representing the location.
|
1860
|
+
*/
|
1861
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1862
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1863
|
+
}
|
1864
|
+
/**
|
1865
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1866
|
+
*
|
1867
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1868
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1869
|
+
* @returns {string} A string representing the collection.
|
1870
|
+
*/
|
1871
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1872
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1873
|
+
}
|
1874
|
+
/**
|
1875
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1876
|
+
*
|
1877
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1878
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1879
|
+
* @returns {string} A string representing the data_store.
|
1880
|
+
*/
|
1881
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1882
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1883
|
+
}
|
1884
|
+
/**
|
1885
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1886
|
+
*
|
1887
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1888
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1889
|
+
* @returns {string} A string representing the session.
|
1890
|
+
*/
|
1891
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1892
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1893
|
+
}
|
1894
|
+
/**
|
1895
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1896
|
+
*
|
1897
|
+
* @param {string} project
|
1898
|
+
* @param {string} location
|
1899
|
+
* @param {string} collection
|
1900
|
+
* @param {string} data_store
|
1901
|
+
* @param {string} session
|
1902
|
+
* @param {string} answer
|
1903
|
+
* @returns {string} Resource name string.
|
1904
|
+
*/
|
1905
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1907
|
+
project: project,
|
1908
|
+
location: location,
|
1909
|
+
collection: collection,
|
1910
|
+
data_store: dataStore,
|
1911
|
+
session: session,
|
1912
|
+
answer: answer,
|
1913
|
+
});
|
1914
|
+
}
|
1915
|
+
/**
|
1916
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1917
|
+
*
|
1918
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1919
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1920
|
+
* @returns {string} A string representing the project.
|
1921
|
+
*/
|
1922
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1923
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1924
|
+
}
|
1925
|
+
/**
|
1926
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1927
|
+
*
|
1928
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1929
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1930
|
+
* @returns {string} A string representing the location.
|
1931
|
+
*/
|
1932
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1933
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1934
|
+
}
|
1935
|
+
/**
|
1936
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1937
|
+
*
|
1938
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1939
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1940
|
+
* @returns {string} A string representing the collection.
|
1941
|
+
*/
|
1942
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1943
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1944
|
+
}
|
1945
|
+
/**
|
1946
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1947
|
+
*
|
1948
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1949
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1950
|
+
* @returns {string} A string representing the data_store.
|
1951
|
+
*/
|
1952
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1953
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1954
|
+
}
|
1955
|
+
/**
|
1956
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1957
|
+
*
|
1958
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1959
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1960
|
+
* @returns {string} A string representing the session.
|
1961
|
+
*/
|
1962
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1963
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1964
|
+
}
|
1965
|
+
/**
|
1966
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1967
|
+
*
|
1968
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1969
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1970
|
+
* @returns {string} A string representing the answer.
|
1971
|
+
*/
|
1972
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1973
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1974
|
+
}
|
1797
1975
|
/**
|
1798
1976
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1799
1977
|
*
|
@@ -2058,6 +2236,156 @@ class SiteSearchEngineServiceClient {
|
|
2058
2236
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
2059
2237
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2060
2238
|
}
|
2239
|
+
/**
|
2240
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
2241
|
+
*
|
2242
|
+
* @param {string} project
|
2243
|
+
* @param {string} location
|
2244
|
+
* @param {string} collection
|
2245
|
+
* @param {string} engine
|
2246
|
+
* @param {string} session
|
2247
|
+
* @returns {string} Resource name string.
|
2248
|
+
*/
|
2249
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
2250
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
2251
|
+
project: project,
|
2252
|
+
location: location,
|
2253
|
+
collection: collection,
|
2254
|
+
engine: engine,
|
2255
|
+
session: session,
|
2256
|
+
});
|
2257
|
+
}
|
2258
|
+
/**
|
2259
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
2260
|
+
*
|
2261
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2262
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2263
|
+
* @returns {string} A string representing the project.
|
2264
|
+
*/
|
2265
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2266
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
2267
|
+
}
|
2268
|
+
/**
|
2269
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
2270
|
+
*
|
2271
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2272
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2273
|
+
* @returns {string} A string representing the location.
|
2274
|
+
*/
|
2275
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2276
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
2277
|
+
}
|
2278
|
+
/**
|
2279
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
2280
|
+
*
|
2281
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2282
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2283
|
+
* @returns {string} A string representing the collection.
|
2284
|
+
*/
|
2285
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2286
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
2287
|
+
}
|
2288
|
+
/**
|
2289
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
2290
|
+
*
|
2291
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2292
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2293
|
+
* @returns {string} A string representing the engine.
|
2294
|
+
*/
|
2295
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2296
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
2297
|
+
}
|
2298
|
+
/**
|
2299
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
2300
|
+
*
|
2301
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2302
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2303
|
+
* @returns {string} A string representing the session.
|
2304
|
+
*/
|
2305
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2306
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
2307
|
+
}
|
2308
|
+
/**
|
2309
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2310
|
+
*
|
2311
|
+
* @param {string} project
|
2312
|
+
* @param {string} location
|
2313
|
+
* @param {string} collection
|
2314
|
+
* @param {string} engine
|
2315
|
+
* @param {string} session
|
2316
|
+
* @param {string} answer
|
2317
|
+
* @returns {string} Resource name string.
|
2318
|
+
*/
|
2319
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2320
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2321
|
+
project: project,
|
2322
|
+
location: location,
|
2323
|
+
collection: collection,
|
2324
|
+
engine: engine,
|
2325
|
+
session: session,
|
2326
|
+
answer: answer,
|
2327
|
+
});
|
2328
|
+
}
|
2329
|
+
/**
|
2330
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2331
|
+
*
|
2332
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2333
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2334
|
+
* @returns {string} A string representing the project.
|
2335
|
+
*/
|
2336
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2337
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2338
|
+
}
|
2339
|
+
/**
|
2340
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2341
|
+
*
|
2342
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2343
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2344
|
+
* @returns {string} A string representing the location.
|
2345
|
+
*/
|
2346
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2347
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2348
|
+
}
|
2349
|
+
/**
|
2350
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2351
|
+
*
|
2352
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2353
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2354
|
+
* @returns {string} A string representing the collection.
|
2355
|
+
*/
|
2356
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2357
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2358
|
+
}
|
2359
|
+
/**
|
2360
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2361
|
+
*
|
2362
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2363
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2364
|
+
* @returns {string} A string representing the engine.
|
2365
|
+
*/
|
2366
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2367
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2368
|
+
}
|
2369
|
+
/**
|
2370
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2371
|
+
*
|
2372
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2373
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2374
|
+
* @returns {string} A string representing the session.
|
2375
|
+
*/
|
2376
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2377
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2378
|
+
}
|
2379
|
+
/**
|
2380
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2381
|
+
*
|
2382
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2383
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2384
|
+
* @returns {string} A string representing the answer.
|
2385
|
+
*/
|
2386
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2387
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2388
|
+
}
|
2061
2389
|
/**
|
2062
2390
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
2063
2391
|
*
|
@@ -2469,6 +2797,132 @@ class SiteSearchEngineServiceClient {
|
|
2469
2797
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2470
2798
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2471
2799
|
}
|
2800
|
+
/**
|
2801
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2802
|
+
*
|
2803
|
+
* @param {string} project
|
2804
|
+
* @param {string} location
|
2805
|
+
* @param {string} data_store
|
2806
|
+
* @param {string} session
|
2807
|
+
* @returns {string} Resource name string.
|
2808
|
+
*/
|
2809
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2810
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2811
|
+
project: project,
|
2812
|
+
location: location,
|
2813
|
+
data_store: dataStore,
|
2814
|
+
session: session,
|
2815
|
+
});
|
2816
|
+
}
|
2817
|
+
/**
|
2818
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2819
|
+
*
|
2820
|
+
* @param {string} projectLocationDataStoreSessionName
|
2821
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2822
|
+
* @returns {string} A string representing the project.
|
2823
|
+
*/
|
2824
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2825
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2826
|
+
}
|
2827
|
+
/**
|
2828
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2829
|
+
*
|
2830
|
+
* @param {string} projectLocationDataStoreSessionName
|
2831
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2832
|
+
* @returns {string} A string representing the location.
|
2833
|
+
*/
|
2834
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2835
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2836
|
+
}
|
2837
|
+
/**
|
2838
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2839
|
+
*
|
2840
|
+
* @param {string} projectLocationDataStoreSessionName
|
2841
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2842
|
+
* @returns {string} A string representing the data_store.
|
2843
|
+
*/
|
2844
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2845
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2846
|
+
}
|
2847
|
+
/**
|
2848
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2849
|
+
*
|
2850
|
+
* @param {string} projectLocationDataStoreSessionName
|
2851
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2852
|
+
* @returns {string} A string representing the session.
|
2853
|
+
*/
|
2854
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2855
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2856
|
+
}
|
2857
|
+
/**
|
2858
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2859
|
+
*
|
2860
|
+
* @param {string} project
|
2861
|
+
* @param {string} location
|
2862
|
+
* @param {string} data_store
|
2863
|
+
* @param {string} session
|
2864
|
+
* @param {string} answer
|
2865
|
+
* @returns {string} Resource name string.
|
2866
|
+
*/
|
2867
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2868
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2869
|
+
project: project,
|
2870
|
+
location: location,
|
2871
|
+
data_store: dataStore,
|
2872
|
+
session: session,
|
2873
|
+
answer: answer,
|
2874
|
+
});
|
2875
|
+
}
|
2876
|
+
/**
|
2877
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2878
|
+
*
|
2879
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2880
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2881
|
+
* @returns {string} A string representing the project.
|
2882
|
+
*/
|
2883
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2884
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2885
|
+
}
|
2886
|
+
/**
|
2887
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2888
|
+
*
|
2889
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2890
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2891
|
+
* @returns {string} A string representing the location.
|
2892
|
+
*/
|
2893
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2894
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2895
|
+
}
|
2896
|
+
/**
|
2897
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2898
|
+
*
|
2899
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2900
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2901
|
+
* @returns {string} A string representing the data_store.
|
2902
|
+
*/
|
2903
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2904
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2905
|
+
}
|
2906
|
+
/**
|
2907
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2908
|
+
*
|
2909
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2910
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2911
|
+
* @returns {string} A string representing the session.
|
2912
|
+
*/
|
2913
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2914
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2915
|
+
}
|
2916
|
+
/**
|
2917
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2918
|
+
*
|
2919
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2920
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2921
|
+
* @returns {string} A string representing the answer.
|
2922
|
+
*/
|
2923
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2924
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2925
|
+
}
|
2472
2926
|
/**
|
2473
2927
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2474
2928
|
*
|