@google-cloud/discoveryengine 1.6.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.
Files changed (142) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
  4. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
  6. package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
  9. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
  10. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
  11. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
  13. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
  35. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
  37. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
  39. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
  40. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  41. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  42. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
  43. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  44. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
  45. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
  46. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  47. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
  48. package/build/protos/protos.d.ts +44799 -26093
  49. package/build/protos/protos.js +120465 -74222
  50. package/build/protos/protos.json +8911 -4556
  51. package/build/src/index.d.ts +4 -1
  52. package/build/src/index.js +4 -1
  53. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  54. package/build/src/v1/document_service_client.d.ts +47 -19
  55. package/build/src/v1/index.d.ts +1 -0
  56. package/build/src/v1/index.js +3 -1
  57. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  58. package/build/src/v1/recommendation_service_client.js +1432 -0
  59. package/build/src/v1/recommendation_service_client_config.json +43 -0
  60. package/build/src/v1/search_service_client.d.ts +27 -9
  61. package/build/src/v1/search_service_client.js +18 -6
  62. package/build/src/v1/search_service_client_config.json +5 -5
  63. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  64. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  65. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  66. package/build/src/v1alpha/chunk_service_client.js +454 -0
  67. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  68. package/build/src/v1alpha/completion_service_client.js +457 -0
  69. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  70. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  71. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  72. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  73. package/build/src/v1alpha/data_store_service_client.js +457 -0
  74. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  75. package/build/src/v1alpha/document_service_client.js +479 -0
  76. package/build/src/v1alpha/document_service_client_config.json +5 -0
  77. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  78. package/build/src/v1alpha/engine_service_client.js +457 -0
  79. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  80. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  81. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  82. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  83. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  84. package/build/src/v1alpha/index.d.ts +3 -1
  85. package/build/src/v1alpha/index.js +7 -3
  86. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  87. package/build/src/v1alpha/project_service_client.js +2500 -0
  88. package/build/src/v1alpha/project_service_client_config.json +38 -0
  89. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  90. package/build/src/v1alpha/rank_service_client.js +454 -0
  91. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  92. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  93. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  94. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  95. package/build/src/v1alpha/schema_service_client.js +457 -0
  96. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  97. package/build/src/v1alpha/search_service_client.js +474 -10
  98. package/build/src/v1alpha/search_service_client_config.json +5 -5
  99. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  100. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  101. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  102. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  103. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  104. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  105. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  106. package/build/src/v1alpha/user_event_service_client.js +457 -0
  107. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  108. package/build/src/v1beta/completion_service_client.js +432 -0
  109. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  110. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  111. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  112. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  113. package/build/src/v1beta/data_store_service_client.js +432 -0
  114. package/build/src/v1beta/document_service_client.d.ts +361 -21
  115. package/build/src/v1beta/document_service_client.js +432 -0
  116. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  117. package/build/src/v1beta/engine_service_client.js +518 -0
  118. package/build/src/v1beta/engine_service_client_config.json +12 -0
  119. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  120. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  121. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  122. package/build/src/v1beta/index.d.ts +2 -0
  123. package/build/src/v1beta/index.js +5 -1
  124. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  125. package/build/src/v1beta/rank_service_client.js +2015 -0
  126. package/build/src/v1beta/rank_service_client_config.json +43 -0
  127. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  128. package/build/src/v1beta/recommendation_service_client.js +432 -0
  129. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  130. package/build/src/v1beta/schema_service_client.js +432 -0
  131. package/build/src/v1beta/search_service_client.d.ts +342 -12
  132. package/build/src/v1beta/search_service_client.js +450 -8
  133. package/build/src/v1beta/search_service_client_config.json +5 -5
  134. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  135. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  136. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  137. package/build/src/v1beta/serving_config_service_client.js +432 -0
  138. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  139. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  140. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  141. package/build/src/v1beta/user_event_service_client.js +432 -0
  142. package/package.json +1 -1
@@ -157,16 +157,22 @@ class SiteSearchEngineServiceClient {
157
157
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
158
158
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
159
159
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
160
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
161
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
160
162
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
161
163
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
162
164
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
163
165
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
166
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
167
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
164
168
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
165
169
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
166
170
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
167
171
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
168
172
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
169
173
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
174
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
175
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
170
176
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
171
177
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
172
178
  };
@@ -1660,6 +1666,156 @@ class SiteSearchEngineServiceClient {
1660
1666
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1661
1667
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1662
1668
  }
1669
+ /**
1670
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1671
+ *
1672
+ * @param {string} project
1673
+ * @param {string} location
1674
+ * @param {string} collection
1675
+ * @param {string} data_store
1676
+ * @param {string} session
1677
+ * @returns {string} Resource name string.
1678
+ */
1679
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1680
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1681
+ project: project,
1682
+ location: location,
1683
+ collection: collection,
1684
+ data_store: dataStore,
1685
+ session: session,
1686
+ });
1687
+ }
1688
+ /**
1689
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1690
+ *
1691
+ * @param {string} projectLocationCollectionDataStoreSessionName
1692
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1693
+ * @returns {string} A string representing the project.
1694
+ */
1695
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1696
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1697
+ }
1698
+ /**
1699
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1700
+ *
1701
+ * @param {string} projectLocationCollectionDataStoreSessionName
1702
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1703
+ * @returns {string} A string representing the location.
1704
+ */
1705
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1706
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1707
+ }
1708
+ /**
1709
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1710
+ *
1711
+ * @param {string} projectLocationCollectionDataStoreSessionName
1712
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1713
+ * @returns {string} A string representing the collection.
1714
+ */
1715
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1716
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1717
+ }
1718
+ /**
1719
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1720
+ *
1721
+ * @param {string} projectLocationCollectionDataStoreSessionName
1722
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1723
+ * @returns {string} A string representing the data_store.
1724
+ */
1725
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1726
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1727
+ }
1728
+ /**
1729
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1730
+ *
1731
+ * @param {string} projectLocationCollectionDataStoreSessionName
1732
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1733
+ * @returns {string} A string representing the session.
1734
+ */
1735
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1736
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1737
+ }
1738
+ /**
1739
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1740
+ *
1741
+ * @param {string} project
1742
+ * @param {string} location
1743
+ * @param {string} collection
1744
+ * @param {string} data_store
1745
+ * @param {string} session
1746
+ * @param {string} answer
1747
+ * @returns {string} Resource name string.
1748
+ */
1749
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1750
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1751
+ project: project,
1752
+ location: location,
1753
+ collection: collection,
1754
+ data_store: dataStore,
1755
+ session: session,
1756
+ answer: answer,
1757
+ });
1758
+ }
1759
+ /**
1760
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1761
+ *
1762
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1763
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1764
+ * @returns {string} A string representing the project.
1765
+ */
1766
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1767
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1768
+ }
1769
+ /**
1770
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1771
+ *
1772
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1773
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1774
+ * @returns {string} A string representing the location.
1775
+ */
1776
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1777
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1778
+ }
1779
+ /**
1780
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1781
+ *
1782
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1783
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1784
+ * @returns {string} A string representing the collection.
1785
+ */
1786
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1787
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1788
+ }
1789
+ /**
1790
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1791
+ *
1792
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1793
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1794
+ * @returns {string} A string representing the data_store.
1795
+ */
1796
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1797
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1798
+ }
1799
+ /**
1800
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1801
+ *
1802
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1803
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1804
+ * @returns {string} A string representing the session.
1805
+ */
1806
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1807
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1808
+ }
1809
+ /**
1810
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1811
+ *
1812
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1813
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1814
+ * @returns {string} A string representing the answer.
1815
+ */
1816
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1817
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1818
+ }
1663
1819
  /**
1664
1820
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1665
1821
  *
@@ -1924,6 +2080,156 @@ class SiteSearchEngineServiceClient {
1924
2080
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1925
2081
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1926
2082
  }
2083
+ /**
2084
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2085
+ *
2086
+ * @param {string} project
2087
+ * @param {string} location
2088
+ * @param {string} collection
2089
+ * @param {string} engine
2090
+ * @param {string} session
2091
+ * @returns {string} Resource name string.
2092
+ */
2093
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2094
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2095
+ project: project,
2096
+ location: location,
2097
+ collection: collection,
2098
+ engine: engine,
2099
+ session: session,
2100
+ });
2101
+ }
2102
+ /**
2103
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
2104
+ *
2105
+ * @param {string} projectLocationCollectionEngineSessionName
2106
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2107
+ * @returns {string} A string representing the project.
2108
+ */
2109
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2110
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2111
+ }
2112
+ /**
2113
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
2114
+ *
2115
+ * @param {string} projectLocationCollectionEngineSessionName
2116
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2117
+ * @returns {string} A string representing the location.
2118
+ */
2119
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2120
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2121
+ }
2122
+ /**
2123
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
2124
+ *
2125
+ * @param {string} projectLocationCollectionEngineSessionName
2126
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2127
+ * @returns {string} A string representing the collection.
2128
+ */
2129
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2130
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2131
+ }
2132
+ /**
2133
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
2134
+ *
2135
+ * @param {string} projectLocationCollectionEngineSessionName
2136
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2137
+ * @returns {string} A string representing the engine.
2138
+ */
2139
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2140
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2141
+ }
2142
+ /**
2143
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
2144
+ *
2145
+ * @param {string} projectLocationCollectionEngineSessionName
2146
+ * A fully-qualified path representing project_location_collection_engine_session resource.
2147
+ * @returns {string} A string representing the session.
2148
+ */
2149
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2150
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2151
+ }
2152
+ /**
2153
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2154
+ *
2155
+ * @param {string} project
2156
+ * @param {string} location
2157
+ * @param {string} collection
2158
+ * @param {string} engine
2159
+ * @param {string} session
2160
+ * @param {string} answer
2161
+ * @returns {string} Resource name string.
2162
+ */
2163
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2164
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2165
+ project: project,
2166
+ location: location,
2167
+ collection: collection,
2168
+ engine: engine,
2169
+ session: session,
2170
+ answer: answer,
2171
+ });
2172
+ }
2173
+ /**
2174
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2175
+ *
2176
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2177
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2178
+ * @returns {string} A string representing the project.
2179
+ */
2180
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2181
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2182
+ }
2183
+ /**
2184
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2185
+ *
2186
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2187
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2188
+ * @returns {string} A string representing the location.
2189
+ */
2190
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2191
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2192
+ }
2193
+ /**
2194
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2195
+ *
2196
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2197
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2198
+ * @returns {string} A string representing the collection.
2199
+ */
2200
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2201
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2202
+ }
2203
+ /**
2204
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2205
+ *
2206
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2207
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2208
+ * @returns {string} A string representing the engine.
2209
+ */
2210
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2211
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2212
+ }
2213
+ /**
2214
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2215
+ *
2216
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2217
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2218
+ * @returns {string} A string representing the session.
2219
+ */
2220
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2221
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2222
+ }
2223
+ /**
2224
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2225
+ *
2226
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2227
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2228
+ * @returns {string} A string representing the answer.
2229
+ */
2230
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2231
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2232
+ }
1927
2233
  /**
1928
2234
  * Return a fully-qualified projectLocationDataStore resource name string.
1929
2235
  *
@@ -2254,6 +2560,132 @@ class SiteSearchEngineServiceClient {
2254
2560
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2255
2561
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2256
2562
  }
2563
+ /**
2564
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
2565
+ *
2566
+ * @param {string} project
2567
+ * @param {string} location
2568
+ * @param {string} data_store
2569
+ * @param {string} session
2570
+ * @returns {string} Resource name string.
2571
+ */
2572
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2573
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2574
+ project: project,
2575
+ location: location,
2576
+ data_store: dataStore,
2577
+ session: session,
2578
+ });
2579
+ }
2580
+ /**
2581
+ * Parse the project from ProjectLocationDataStoreSession resource.
2582
+ *
2583
+ * @param {string} projectLocationDataStoreSessionName
2584
+ * A fully-qualified path representing project_location_data_store_session resource.
2585
+ * @returns {string} A string representing the project.
2586
+ */
2587
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2588
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2589
+ }
2590
+ /**
2591
+ * Parse the location from ProjectLocationDataStoreSession resource.
2592
+ *
2593
+ * @param {string} projectLocationDataStoreSessionName
2594
+ * A fully-qualified path representing project_location_data_store_session resource.
2595
+ * @returns {string} A string representing the location.
2596
+ */
2597
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2598
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2599
+ }
2600
+ /**
2601
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2602
+ *
2603
+ * @param {string} projectLocationDataStoreSessionName
2604
+ * A fully-qualified path representing project_location_data_store_session resource.
2605
+ * @returns {string} A string representing the data_store.
2606
+ */
2607
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2608
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2609
+ }
2610
+ /**
2611
+ * Parse the session from ProjectLocationDataStoreSession resource.
2612
+ *
2613
+ * @param {string} projectLocationDataStoreSessionName
2614
+ * A fully-qualified path representing project_location_data_store_session resource.
2615
+ * @returns {string} A string representing the session.
2616
+ */
2617
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2618
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2619
+ }
2620
+ /**
2621
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2622
+ *
2623
+ * @param {string} project
2624
+ * @param {string} location
2625
+ * @param {string} data_store
2626
+ * @param {string} session
2627
+ * @param {string} answer
2628
+ * @returns {string} Resource name string.
2629
+ */
2630
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2631
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2632
+ project: project,
2633
+ location: location,
2634
+ data_store: dataStore,
2635
+ session: session,
2636
+ answer: answer,
2637
+ });
2638
+ }
2639
+ /**
2640
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2641
+ *
2642
+ * @param {string} projectLocationDataStoreSessionAnswerName
2643
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2644
+ * @returns {string} A string representing the project.
2645
+ */
2646
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2647
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2648
+ }
2649
+ /**
2650
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2651
+ *
2652
+ * @param {string} projectLocationDataStoreSessionAnswerName
2653
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2654
+ * @returns {string} A string representing the location.
2655
+ */
2656
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2657
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2658
+ }
2659
+ /**
2660
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2661
+ *
2662
+ * @param {string} projectLocationDataStoreSessionAnswerName
2663
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2664
+ * @returns {string} A string representing the data_store.
2665
+ */
2666
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2667
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2668
+ }
2669
+ /**
2670
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2671
+ *
2672
+ * @param {string} projectLocationDataStoreSessionAnswerName
2673
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2674
+ * @returns {string} A string representing the session.
2675
+ */
2676
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2677
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2678
+ }
2679
+ /**
2680
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2681
+ *
2682
+ * @param {string} projectLocationDataStoreSessionAnswerName
2683
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2684
+ * @returns {string} A string representing the answer.
2685
+ */
2686
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2687
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2688
+ }
2257
2689
  /**
2258
2690
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2259
2691
  *