@google-cloud/discoveryengine 2.3.0 → 2.4.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 (228) hide show
  1. package/README.md +17 -0
  2. package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
  6. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
  7. package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
  8. package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
  14. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
  15. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
  16. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
  17. package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
  18. package/build/protos/protos.d.ts +15057 -10636
  19. package/build/protos/protos.js +45523 -34174
  20. package/build/protos/protos.json +4835 -3203
  21. package/build/src/index.d.ts +7 -1
  22. package/build/src/index.js +6 -2
  23. package/build/src/v1/assistant_service_client.d.ts +2058 -0
  24. package/build/src/v1/assistant_service_client.js +2957 -0
  25. package/build/src/v1/assistant_service_client_config.json +43 -0
  26. package/build/src/v1/assistant_service_proto_list.json +48 -0
  27. package/build/src/v1/cmek_config_service_client.d.ts +255 -144
  28. package/build/src/v1/cmek_config_service_client.js +348 -196
  29. package/build/src/v1/cmek_config_service_proto_list.json +4 -0
  30. package/build/src/v1/completion_service_client.d.ts +255 -144
  31. package/build/src/v1/completion_service_client.js +348 -196
  32. package/build/src/v1/completion_service_proto_list.json +4 -0
  33. package/build/src/v1/control_service_client.d.ts +255 -144
  34. package/build/src/v1/control_service_client.js +348 -196
  35. package/build/src/v1/control_service_proto_list.json +4 -0
  36. package/build/src/v1/conversational_search_service_client.d.ts +302 -155
  37. package/build/src/v1/conversational_search_service_client.js +380 -204
  38. package/build/src/v1/conversational_search_service_proto_list.json +4 -0
  39. package/build/src/v1/data_store_service_client.d.ts +255 -144
  40. package/build/src/v1/data_store_service_client.js +348 -196
  41. package/build/src/v1/data_store_service_proto_list.json +4 -0
  42. package/build/src/v1/document_service_client.d.ts +255 -144
  43. package/build/src/v1/document_service_client.js +348 -196
  44. package/build/src/v1/document_service_proto_list.json +4 -0
  45. package/build/src/v1/engine_service_client.d.ts +255 -144
  46. package/build/src/v1/engine_service_client.js +348 -196
  47. package/build/src/v1/engine_service_proto_list.json +4 -0
  48. package/build/src/v1/gapic_metadata.json +86 -0
  49. package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
  50. package/build/src/v1/grounded_generation_service_client.js +348 -196
  51. package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
  52. package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
  53. package/build/src/v1/identity_mapping_store_service_client.js +348 -196
  54. package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
  55. package/build/src/v1/index.d.ts +2 -0
  56. package/build/src/v1/index.js +5 -1
  57. package/build/src/v1/project_service_client.d.ts +255 -144
  58. package/build/src/v1/project_service_client.js +348 -196
  59. package/build/src/v1/project_service_proto_list.json +4 -0
  60. package/build/src/v1/rank_service_client.d.ts +255 -144
  61. package/build/src/v1/rank_service_client.js +348 -196
  62. package/build/src/v1/rank_service_proto_list.json +4 -0
  63. package/build/src/v1/recommendation_service_client.d.ts +255 -144
  64. package/build/src/v1/recommendation_service_client.js +348 -196
  65. package/build/src/v1/recommendation_service_proto_list.json +4 -0
  66. package/build/src/v1/schema_service_client.d.ts +255 -144
  67. package/build/src/v1/schema_service_client.js +348 -196
  68. package/build/src/v1/schema_service_proto_list.json +4 -0
  69. package/build/src/v1/search_service_client.d.ts +303 -228
  70. package/build/src/v1/search_service_client.js +380 -252
  71. package/build/src/v1/search_service_proto_list.json +4 -0
  72. package/build/src/v1/search_tuning_service_client.d.ts +255 -144
  73. package/build/src/v1/search_tuning_service_client.js +348 -196
  74. package/build/src/v1/search_tuning_service_proto_list.json +4 -0
  75. package/build/src/v1/serving_config_service_client.d.ts +255 -144
  76. package/build/src/v1/serving_config_service_client.js +348 -196
  77. package/build/src/v1/serving_config_service_proto_list.json +4 -0
  78. package/build/src/v1/session_service_client.d.ts +2326 -0
  79. package/build/src/v1/session_service_client.js +3218 -0
  80. package/build/src/v1/session_service_client_config.json +63 -0
  81. package/build/src/v1/session_service_proto_list.json +48 -0
  82. package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
  83. package/build/src/v1/site_search_engine_service_client.js +348 -196
  84. package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
  85. package/build/src/v1/user_event_service_client.d.ts +255 -144
  86. package/build/src/v1/user_event_service_client.js +348 -196
  87. package/build/src/v1/user_event_service_proto_list.json +4 -0
  88. package/build/src/v1/user_license_service_client.d.ts +255 -144
  89. package/build/src/v1/user_license_service_client.js +348 -196
  90. package/build/src/v1/user_license_service_proto_list.json +4 -0
  91. package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
  92. package/build/src/v1alpha/acl_config_service_client.js +196 -196
  93. package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
  94. package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
  95. package/build/src/v1alpha/chunk_service_client.js +196 -196
  96. package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
  97. package/build/src/v1alpha/completion_service_client.d.ts +144 -144
  98. package/build/src/v1alpha/completion_service_client.js +196 -196
  99. package/build/src/v1alpha/completion_service_proto_list.json +1 -0
  100. package/build/src/v1alpha/control_service_client.d.ts +144 -144
  101. package/build/src/v1alpha/control_service_client.js +196 -196
  102. package/build/src/v1alpha/control_service_proto_list.json +1 -0
  103. package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
  104. package/build/src/v1alpha/conversational_search_service_client.js +244 -210
  105. package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
  106. package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
  107. package/build/src/v1alpha/data_store_service_client.js +196 -196
  108. package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
  109. package/build/src/v1alpha/document_service_client.d.ts +144 -144
  110. package/build/src/v1alpha/document_service_client.js +196 -196
  111. package/build/src/v1alpha/document_service_proto_list.json +1 -0
  112. package/build/src/v1alpha/engine_service_client.d.ts +144 -144
  113. package/build/src/v1alpha/engine_service_client.js +196 -196
  114. package/build/src/v1alpha/engine_service_proto_list.json +1 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
  116. package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
  117. package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
  118. package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
  119. package/build/src/v1alpha/evaluation_service_client.js +196 -196
  120. package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
  121. package/build/src/v1alpha/gapic_metadata.json +82 -0
  122. package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
  123. package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
  124. package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
  125. package/build/src/v1alpha/index.d.ts +1 -0
  126. package/build/src/v1alpha/index.js +3 -1
  127. package/build/src/v1alpha/project_service_client.d.ts +144 -144
  128. package/build/src/v1alpha/project_service_client.js +196 -196
  129. package/build/src/v1alpha/project_service_proto_list.json +1 -0
  130. package/build/src/v1alpha/rank_service_client.d.ts +144 -144
  131. package/build/src/v1alpha/rank_service_client.js +196 -196
  132. package/build/src/v1alpha/rank_service_proto_list.json +1 -0
  133. package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
  134. package/build/src/v1alpha/recommendation_service_client.js +196 -196
  135. package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
  136. package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
  137. package/build/src/v1alpha/sample_query_service_client.js +196 -196
  138. package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
  139. package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
  140. package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
  141. package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
  142. package/build/src/v1alpha/schema_service_client.d.ts +144 -144
  143. package/build/src/v1alpha/schema_service_client.js +196 -196
  144. package/build/src/v1alpha/schema_service_proto_list.json +1 -0
  145. package/build/src/v1alpha/search_service_client.d.ts +168 -186
  146. package/build/src/v1alpha/search_service_client.js +212 -224
  147. package/build/src/v1alpha/search_service_proto_list.json +1 -0
  148. package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
  149. package/build/src/v1alpha/search_tuning_service_client.js +196 -196
  150. package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
  151. package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
  152. package/build/src/v1alpha/serving_config_service_client.js +196 -196
  153. package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
  154. package/build/src/v1alpha/session_service_client.d.ts +2331 -0
  155. package/build/src/v1alpha/session_service_client.js +3161 -0
  156. package/build/src/v1alpha/session_service_client_config.json +68 -0
  157. package/build/src/v1alpha/session_service_proto_list.json +49 -0
  158. package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
  159. package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
  160. package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
  161. package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
  162. package/build/src/v1alpha/user_event_service_client.js +196 -196
  163. package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
  164. package/build/src/v1beta/completion_service_client.d.ts +144 -144
  165. package/build/src/v1beta/completion_service_client.js +196 -196
  166. package/build/src/v1beta/completion_service_proto_list.json +1 -0
  167. package/build/src/v1beta/control_service_client.d.ts +144 -144
  168. package/build/src/v1beta/control_service_client.js +196 -196
  169. package/build/src/v1beta/control_service_proto_list.json +1 -0
  170. package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
  171. package/build/src/v1beta/conversational_search_service_client.js +242 -208
  172. package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
  173. package/build/src/v1beta/data_store_service_client.d.ts +144 -144
  174. package/build/src/v1beta/data_store_service_client.js +196 -196
  175. package/build/src/v1beta/data_store_service_proto_list.json +1 -0
  176. package/build/src/v1beta/document_service_client.d.ts +144 -144
  177. package/build/src/v1beta/document_service_client.js +196 -196
  178. package/build/src/v1beta/document_service_proto_list.json +1 -0
  179. package/build/src/v1beta/engine_service_client.d.ts +144 -144
  180. package/build/src/v1beta/engine_service_client.js +196 -196
  181. package/build/src/v1beta/engine_service_proto_list.json +1 -0
  182. package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
  183. package/build/src/v1beta/evaluation_service_client.js +196 -196
  184. package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
  185. package/build/src/v1beta/gapic_metadata.json +68 -0
  186. package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
  187. package/build/src/v1beta/grounded_generation_service_client.js +196 -196
  188. package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
  189. package/build/src/v1beta/index.d.ts +1 -0
  190. package/build/src/v1beta/index.js +3 -1
  191. package/build/src/v1beta/project_service_client.d.ts +144 -144
  192. package/build/src/v1beta/project_service_client.js +196 -196
  193. package/build/src/v1beta/project_service_proto_list.json +1 -0
  194. package/build/src/v1beta/rank_service_client.d.ts +144 -144
  195. package/build/src/v1beta/rank_service_client.js +196 -196
  196. package/build/src/v1beta/rank_service_proto_list.json +1 -0
  197. package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
  198. package/build/src/v1beta/recommendation_service_client.js +196 -196
  199. package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
  200. package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
  201. package/build/src/v1beta/sample_query_service_client.js +196 -196
  202. package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
  203. package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
  204. package/build/src/v1beta/sample_query_set_service_client.js +196 -196
  205. package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
  206. package/build/src/v1beta/schema_service_client.d.ts +144 -144
  207. package/build/src/v1beta/schema_service_client.js +196 -196
  208. package/build/src/v1beta/schema_service_proto_list.json +1 -0
  209. package/build/src/v1beta/search_service_client.d.ts +192 -228
  210. package/build/src/v1beta/search_service_client.js +228 -252
  211. package/build/src/v1beta/search_service_proto_list.json +1 -0
  212. package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
  213. package/build/src/v1beta/search_tuning_service_client.js +196 -196
  214. package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
  215. package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
  216. package/build/src/v1beta/serving_config_service_client.js +196 -196
  217. package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
  218. package/build/src/v1beta/session_service_client.d.ts +2266 -0
  219. package/build/src/v1beta/session_service_client.js +3136 -0
  220. package/build/src/v1beta/session_service_client_config.json +63 -0
  221. package/build/src/v1beta/session_service_proto_list.json +45 -0
  222. package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
  223. package/build/src/v1beta/site_search_engine_service_client.js +196 -196
  224. package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
  225. package/build/src/v1beta/user_event_service_client.d.ts +144 -144
  226. package/build/src/v1beta/user_event_service_client.js +196 -196
  227. package/build/src/v1beta/user_event_service_proto_list.json +1 -0
  228. package/package.json +1 -1
@@ -177,15 +177,15 @@ class SampleQueryServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class SampleQueryServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1705,154 +1705,154 @@ class SampleQueryServiceClient {
1705
1705
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1706
1706
  }
1707
1707
  /**
1708
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1708
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1709
1709
  *
1710
1710
  * @param {string} project
1711
1711
  * @param {string} location
1712
1712
  * @param {string} collection
1713
1713
  * @param {string} data_store
1714
1714
  * @param {string} session
1715
+ * @param {string} answer
1715
1716
  * @returns {string} Resource name string.
1716
1717
  */
1717
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1718
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1718
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1719
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1719
1720
  project: project,
1720
1721
  location: location,
1721
1722
  collection: collection,
1722
1723
  data_store: dataStore,
1723
1724
  session: session,
1725
+ answer: answer,
1724
1726
  });
1725
1727
  }
1726
1728
  /**
1727
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1729
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1728
1730
  *
1729
- * @param {string} projectLocationCollectionDataStoreSessionName
1730
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1731
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1732
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1731
1733
  * @returns {string} A string representing the project.
1732
1734
  */
1733
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1734
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1735
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1736
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1735
1737
  }
1736
1738
  /**
1737
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1739
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1738
1740
  *
1739
- * @param {string} projectLocationCollectionDataStoreSessionName
1740
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1741
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1742
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1741
1743
  * @returns {string} A string representing the location.
1742
1744
  */
1743
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1744
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1745
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1746
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1745
1747
  }
1746
1748
  /**
1747
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1749
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1748
1750
  *
1749
- * @param {string} projectLocationCollectionDataStoreSessionName
1750
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1751
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1752
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1751
1753
  * @returns {string} A string representing the collection.
1752
1754
  */
1753
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1754
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1755
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1756
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1755
1757
  }
1756
1758
  /**
1757
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1759
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1758
1760
  *
1759
- * @param {string} projectLocationCollectionDataStoreSessionName
1760
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1761
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1762
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1761
1763
  * @returns {string} A string representing the data_store.
1762
1764
  */
1763
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1764
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1765
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1766
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1765
1767
  }
1766
1768
  /**
1767
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1769
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1768
1770
  *
1769
- * @param {string} projectLocationCollectionDataStoreSessionName
1770
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1771
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1772
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1771
1773
  * @returns {string} A string representing the session.
1772
1774
  */
1773
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1774
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1775
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1776
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1775
1777
  }
1776
1778
  /**
1777
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1779
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1780
+ *
1781
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1782
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1783
+ * @returns {string} A string representing the answer.
1784
+ */
1785
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1786
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1787
+ }
1788
+ /**
1789
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1778
1790
  *
1779
1791
  * @param {string} project
1780
1792
  * @param {string} location
1781
1793
  * @param {string} collection
1782
1794
  * @param {string} data_store
1783
1795
  * @param {string} session
1784
- * @param {string} answer
1785
1796
  * @returns {string} Resource name string.
1786
1797
  */
1787
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1788
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1798
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1799
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1789
1800
  project: project,
1790
1801
  location: location,
1791
1802
  collection: collection,
1792
1803
  data_store: dataStore,
1793
1804
  session: session,
1794
- answer: answer,
1795
1805
  });
1796
1806
  }
1797
1807
  /**
1798
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1808
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1799
1809
  *
1800
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1801
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1810
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1811
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1802
1812
  * @returns {string} A string representing the project.
1803
1813
  */
1804
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1805
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1814
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1815
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1806
1816
  }
1807
1817
  /**
1808
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1818
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1809
1819
  *
1810
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1811
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1820
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1821
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1812
1822
  * @returns {string} A string representing the location.
1813
1823
  */
1814
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1815
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1824
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1825
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1816
1826
  }
1817
1827
  /**
1818
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1828
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1819
1829
  *
1820
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1821
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1830
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1831
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1822
1832
  * @returns {string} A string representing the collection.
1823
1833
  */
1824
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1825
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1834
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1835
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1826
1836
  }
1827
1837
  /**
1828
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1838
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1829
1839
  *
1830
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1831
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1840
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1841
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1832
1842
  * @returns {string} A string representing the data_store.
1833
1843
  */
1834
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1835
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1844
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1845
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1836
1846
  }
1837
1847
  /**
1838
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1848
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1839
1849
  *
1840
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1841
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1850
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1851
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1842
1852
  * @returns {string} A string representing the session.
1843
1853
  */
1844
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1845
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1846
- }
1847
- /**
1848
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1849
- *
1850
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1851
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1852
- * @returns {string} A string representing the answer.
1853
- */
1854
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1855
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1854
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1855
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1856
1856
  }
1857
1857
  /**
1858
1858
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2188,154 +2188,154 @@ class SampleQueryServiceClient {
2188
2188
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2189
2189
  }
2190
2190
  /**
2191
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2191
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2192
2192
  *
2193
2193
  * @param {string} project
2194
2194
  * @param {string} location
2195
2195
  * @param {string} collection
2196
2196
  * @param {string} engine
2197
2197
  * @param {string} session
2198
+ * @param {string} answer
2198
2199
  * @returns {string} Resource name string.
2199
2200
  */
2200
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2201
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2201
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2202
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2202
2203
  project: project,
2203
2204
  location: location,
2204
2205
  collection: collection,
2205
2206
  engine: engine,
2206
2207
  session: session,
2208
+ answer: answer,
2207
2209
  });
2208
2210
  }
2209
2211
  /**
2210
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2212
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2211
2213
  *
2212
- * @param {string} projectLocationCollectionEngineSessionName
2213
- * A fully-qualified path representing project_location_collection_engine_session resource.
2214
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2215
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2214
2216
  * @returns {string} A string representing the project.
2215
2217
  */
2216
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2217
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2218
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2219
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2218
2220
  }
2219
2221
  /**
2220
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2222
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2221
2223
  *
2222
- * @param {string} projectLocationCollectionEngineSessionName
2223
- * A fully-qualified path representing project_location_collection_engine_session resource.
2224
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2225
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2224
2226
  * @returns {string} A string representing the location.
2225
2227
  */
2226
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2227
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2228
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2229
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2228
2230
  }
2229
2231
  /**
2230
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2232
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2231
2233
  *
2232
- * @param {string} projectLocationCollectionEngineSessionName
2233
- * A fully-qualified path representing project_location_collection_engine_session resource.
2234
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2235
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2234
2236
  * @returns {string} A string representing the collection.
2235
2237
  */
2236
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2237
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2238
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2239
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2238
2240
  }
2239
2241
  /**
2240
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2242
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2241
2243
  *
2242
- * @param {string} projectLocationCollectionEngineSessionName
2243
- * A fully-qualified path representing project_location_collection_engine_session resource.
2244
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2245
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2244
2246
  * @returns {string} A string representing the engine.
2245
2247
  */
2246
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2247
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2248
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2249
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2248
2250
  }
2249
2251
  /**
2250
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2252
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2251
2253
  *
2252
- * @param {string} projectLocationCollectionEngineSessionName
2253
- * A fully-qualified path representing project_location_collection_engine_session resource.
2254
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2255
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2254
2256
  * @returns {string} A string representing the session.
2255
2257
  */
2256
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2257
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2258
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2259
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2258
2260
  }
2259
2261
  /**
2260
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2262
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2263
+ *
2264
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2265
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2266
+ * @returns {string} A string representing the answer.
2267
+ */
2268
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2269
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2270
+ }
2271
+ /**
2272
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2261
2273
  *
2262
2274
  * @param {string} project
2263
2275
  * @param {string} location
2264
2276
  * @param {string} collection
2265
2277
  * @param {string} engine
2266
2278
  * @param {string} session
2267
- * @param {string} answer
2268
2279
  * @returns {string} Resource name string.
2269
2280
  */
2270
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2271
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2281
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2282
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2272
2283
  project: project,
2273
2284
  location: location,
2274
2285
  collection: collection,
2275
2286
  engine: engine,
2276
2287
  session: session,
2277
- answer: answer,
2278
2288
  });
2279
2289
  }
2280
2290
  /**
2281
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2291
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2282
2292
  *
2283
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2284
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2293
+ * @param {string} projectLocationCollectionEngineSessionsName
2294
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2285
2295
  * @returns {string} A string representing the project.
2286
2296
  */
2287
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2288
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2297
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2298
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2289
2299
  }
2290
2300
  /**
2291
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2301
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2292
2302
  *
2293
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2294
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2303
+ * @param {string} projectLocationCollectionEngineSessionsName
2304
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2295
2305
  * @returns {string} A string representing the location.
2296
2306
  */
2297
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2298
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2307
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2308
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2299
2309
  }
2300
2310
  /**
2301
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2311
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2302
2312
  *
2303
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2304
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2313
+ * @param {string} projectLocationCollectionEngineSessionsName
2314
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2305
2315
  * @returns {string} A string representing the collection.
2306
2316
  */
2307
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2308
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2317
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2318
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2309
2319
  }
2310
2320
  /**
2311
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2321
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2312
2322
  *
2313
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2314
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2323
+ * @param {string} projectLocationCollectionEngineSessionsName
2324
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2315
2325
  * @returns {string} A string representing the engine.
2316
2326
  */
2317
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2318
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2327
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2328
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2319
2329
  }
2320
2330
  /**
2321
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2331
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2322
2332
  *
2323
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2324
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2333
+ * @param {string} projectLocationCollectionEngineSessionsName
2334
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2325
2335
  * @returns {string} A string representing the session.
2326
2336
  */
2327
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2328
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2329
- }
2330
- /**
2331
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2332
- *
2333
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2334
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2335
- * @returns {string} A string representing the answer.
2336
- */
2337
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2338
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2337
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2338
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2339
2339
  }
2340
2340
  /**
2341
2341
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2862,63 +2862,6 @@ class SampleQueryServiceClient {
2862
2862
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2863
2863
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2864
2864
  }
2865
- /**
2866
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2867
- *
2868
- * @param {string} project
2869
- * @param {string} location
2870
- * @param {string} data_store
2871
- * @param {string} session
2872
- * @returns {string} Resource name string.
2873
- */
2874
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2875
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2876
- project: project,
2877
- location: location,
2878
- data_store: dataStore,
2879
- session: session,
2880
- });
2881
- }
2882
- /**
2883
- * Parse the project from ProjectLocationDataStoreSession resource.
2884
- *
2885
- * @param {string} projectLocationDataStoreSessionName
2886
- * A fully-qualified path representing project_location_data_store_session resource.
2887
- * @returns {string} A string representing the project.
2888
- */
2889
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2890
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2891
- }
2892
- /**
2893
- * Parse the location from ProjectLocationDataStoreSession resource.
2894
- *
2895
- * @param {string} projectLocationDataStoreSessionName
2896
- * A fully-qualified path representing project_location_data_store_session resource.
2897
- * @returns {string} A string representing the location.
2898
- */
2899
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2900
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2901
- }
2902
- /**
2903
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2904
- *
2905
- * @param {string} projectLocationDataStoreSessionName
2906
- * A fully-qualified path representing project_location_data_store_session resource.
2907
- * @returns {string} A string representing the data_store.
2908
- */
2909
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2910
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2911
- }
2912
- /**
2913
- * Parse the session from ProjectLocationDataStoreSession resource.
2914
- *
2915
- * @param {string} projectLocationDataStoreSessionName
2916
- * A fully-qualified path representing project_location_data_store_session resource.
2917
- * @returns {string} A string representing the session.
2918
- */
2919
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2920
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2921
- }
2922
2865
  /**
2923
2866
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2924
2867
  *
@@ -2988,6 +2931,63 @@ class SampleQueryServiceClient {
2988
2931
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2989
2932
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2990
2933
  }
2934
+ /**
2935
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2936
+ *
2937
+ * @param {string} project
2938
+ * @param {string} location
2939
+ * @param {string} data_store
2940
+ * @param {string} session
2941
+ * @returns {string} Resource name string.
2942
+ */
2943
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2944
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2945
+ project: project,
2946
+ location: location,
2947
+ data_store: dataStore,
2948
+ session: session,
2949
+ });
2950
+ }
2951
+ /**
2952
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2953
+ *
2954
+ * @param {string} projectLocationDataStoreSessionsName
2955
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2956
+ * @returns {string} A string representing the project.
2957
+ */
2958
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2959
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2960
+ }
2961
+ /**
2962
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2963
+ *
2964
+ * @param {string} projectLocationDataStoreSessionsName
2965
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2966
+ * @returns {string} A string representing the location.
2967
+ */
2968
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2969
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2970
+ }
2971
+ /**
2972
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2973
+ *
2974
+ * @param {string} projectLocationDataStoreSessionsName
2975
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2976
+ * @returns {string} A string representing the data_store.
2977
+ */
2978
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2979
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2980
+ }
2981
+ /**
2982
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2983
+ *
2984
+ * @param {string} projectLocationDataStoreSessionsName
2985
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2986
+ * @returns {string} A string representing the session.
2987
+ */
2988
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2989
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2990
+ }
2991
2991
  /**
2992
2992
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2993
2993
  *
@@ -41,6 +41,7 @@
41
41
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
42
42
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
43
43
  "../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
44
+ "../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
44
45
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
45
46
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
46
47
  "../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",