@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
@@ -175,15 +175,15 @@ class RecommendationServiceClient {
175
175
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
176
176
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
177
177
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
178
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
179
178
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
179
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
180
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
181
181
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
182
182
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
183
183
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
184
184
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
185
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
186
185
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
187
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
188
188
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
189
189
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -193,8 +193,8 @@ class RecommendationServiceClient {
193
193
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
194
194
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
195
195
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
196
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
197
196
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
197
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
198
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
199
199
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
200
200
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1194,154 +1194,154 @@ class RecommendationServiceClient {
1194
1194
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1195
1195
  }
1196
1196
  /**
1197
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1197
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1198
1198
  *
1199
1199
  * @param {string} project
1200
1200
  * @param {string} location
1201
1201
  * @param {string} collection
1202
1202
  * @param {string} data_store
1203
1203
  * @param {string} session
1204
+ * @param {string} answer
1204
1205
  * @returns {string} Resource name string.
1205
1206
  */
1206
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1207
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1207
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1208
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1208
1209
  project: project,
1209
1210
  location: location,
1210
1211
  collection: collection,
1211
1212
  data_store: dataStore,
1212
1213
  session: session,
1214
+ answer: answer,
1213
1215
  });
1214
1216
  }
1215
1217
  /**
1216
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1218
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1217
1219
  *
1218
- * @param {string} projectLocationCollectionDataStoreSessionName
1219
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1220
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1221
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1220
1222
  * @returns {string} A string representing the project.
1221
1223
  */
1222
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1223
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1224
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1225
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1224
1226
  }
1225
1227
  /**
1226
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1228
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1227
1229
  *
1228
- * @param {string} projectLocationCollectionDataStoreSessionName
1229
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1230
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1231
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1230
1232
  * @returns {string} A string representing the location.
1231
1233
  */
1232
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1233
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1234
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1235
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1234
1236
  }
1235
1237
  /**
1236
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1238
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1237
1239
  *
1238
- * @param {string} projectLocationCollectionDataStoreSessionName
1239
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1240
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1241
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1240
1242
  * @returns {string} A string representing the collection.
1241
1243
  */
1242
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1243
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1244
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1245
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1244
1246
  }
1245
1247
  /**
1246
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1248
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1247
1249
  *
1248
- * @param {string} projectLocationCollectionDataStoreSessionName
1249
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1250
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1251
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1250
1252
  * @returns {string} A string representing the data_store.
1251
1253
  */
1252
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1253
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1254
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1255
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1254
1256
  }
1255
1257
  /**
1256
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1258
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1257
1259
  *
1258
- * @param {string} projectLocationCollectionDataStoreSessionName
1259
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1260
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1261
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1260
1262
  * @returns {string} A string representing the session.
1261
1263
  */
1262
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1263
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1264
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1265
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1264
1266
  }
1265
1267
  /**
1266
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1268
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1269
+ *
1270
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1271
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1272
+ * @returns {string} A string representing the answer.
1273
+ */
1274
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1275
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1276
+ }
1277
+ /**
1278
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1267
1279
  *
1268
1280
  * @param {string} project
1269
1281
  * @param {string} location
1270
1282
  * @param {string} collection
1271
1283
  * @param {string} data_store
1272
1284
  * @param {string} session
1273
- * @param {string} answer
1274
1285
  * @returns {string} Resource name string.
1275
1286
  */
1276
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1277
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1287
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1288
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1278
1289
  project: project,
1279
1290
  location: location,
1280
1291
  collection: collection,
1281
1292
  data_store: dataStore,
1282
1293
  session: session,
1283
- answer: answer,
1284
1294
  });
1285
1295
  }
1286
1296
  /**
1287
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1297
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1288
1298
  *
1289
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1290
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1299
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1300
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1291
1301
  * @returns {string} A string representing the project.
1292
1302
  */
1293
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1294
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1303
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1304
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1295
1305
  }
1296
1306
  /**
1297
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1307
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1298
1308
  *
1299
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1300
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1309
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1310
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1301
1311
  * @returns {string} A string representing the location.
1302
1312
  */
1303
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1304
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1313
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1314
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1305
1315
  }
1306
1316
  /**
1307
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1317
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1308
1318
  *
1309
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1310
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1319
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1320
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1311
1321
  * @returns {string} A string representing the collection.
1312
1322
  */
1313
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1314
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1323
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1324
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1315
1325
  }
1316
1326
  /**
1317
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1327
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1318
1328
  *
1319
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1320
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1329
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1330
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1321
1331
  * @returns {string} A string representing the data_store.
1322
1332
  */
1323
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1324
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1333
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1334
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1325
1335
  }
1326
1336
  /**
1327
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1337
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1328
1338
  *
1329
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1330
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1339
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1340
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1331
1341
  * @returns {string} A string representing the session.
1332
1342
  */
1333
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1334
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1335
- }
1336
- /**
1337
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1338
- *
1339
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1340
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1341
- * @returns {string} A string representing the answer.
1342
- */
1343
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1344
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1343
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1344
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1345
1345
  }
1346
1346
  /**
1347
1347
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1677,154 +1677,154 @@ class RecommendationServiceClient {
1677
1677
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1678
1678
  }
1679
1679
  /**
1680
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1680
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1681
1681
  *
1682
1682
  * @param {string} project
1683
1683
  * @param {string} location
1684
1684
  * @param {string} collection
1685
1685
  * @param {string} engine
1686
1686
  * @param {string} session
1687
+ * @param {string} answer
1687
1688
  * @returns {string} Resource name string.
1688
1689
  */
1689
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1690
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1690
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1691
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1691
1692
  project: project,
1692
1693
  location: location,
1693
1694
  collection: collection,
1694
1695
  engine: engine,
1695
1696
  session: session,
1697
+ answer: answer,
1696
1698
  });
1697
1699
  }
1698
1700
  /**
1699
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1701
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1700
1702
  *
1701
- * @param {string} projectLocationCollectionEngineSessionName
1702
- * A fully-qualified path representing project_location_collection_engine_session resource.
1703
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1704
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1703
1705
  * @returns {string} A string representing the project.
1704
1706
  */
1705
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1706
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1707
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1708
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1707
1709
  }
1708
1710
  /**
1709
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1711
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1710
1712
  *
1711
- * @param {string} projectLocationCollectionEngineSessionName
1712
- * A fully-qualified path representing project_location_collection_engine_session resource.
1713
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1714
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1713
1715
  * @returns {string} A string representing the location.
1714
1716
  */
1715
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1716
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1717
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1718
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1717
1719
  }
1718
1720
  /**
1719
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1721
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1720
1722
  *
1721
- * @param {string} projectLocationCollectionEngineSessionName
1722
- * A fully-qualified path representing project_location_collection_engine_session resource.
1723
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1724
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1723
1725
  * @returns {string} A string representing the collection.
1724
1726
  */
1725
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1726
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1727
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1728
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1727
1729
  }
1728
1730
  /**
1729
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1731
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1730
1732
  *
1731
- * @param {string} projectLocationCollectionEngineSessionName
1732
- * A fully-qualified path representing project_location_collection_engine_session resource.
1733
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1734
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1733
1735
  * @returns {string} A string representing the engine.
1734
1736
  */
1735
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1736
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1737
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1738
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1737
1739
  }
1738
1740
  /**
1739
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1741
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1740
1742
  *
1741
- * @param {string} projectLocationCollectionEngineSessionName
1742
- * A fully-qualified path representing project_location_collection_engine_session resource.
1743
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1744
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1743
1745
  * @returns {string} A string representing the session.
1744
1746
  */
1745
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1746
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1747
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1748
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1747
1749
  }
1748
1750
  /**
1749
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1751
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1752
+ *
1753
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1754
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1755
+ * @returns {string} A string representing the answer.
1756
+ */
1757
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1758
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1759
+ }
1760
+ /**
1761
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1750
1762
  *
1751
1763
  * @param {string} project
1752
1764
  * @param {string} location
1753
1765
  * @param {string} collection
1754
1766
  * @param {string} engine
1755
1767
  * @param {string} session
1756
- * @param {string} answer
1757
1768
  * @returns {string} Resource name string.
1758
1769
  */
1759
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1760
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1770
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1771
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1761
1772
  project: project,
1762
1773
  location: location,
1763
1774
  collection: collection,
1764
1775
  engine: engine,
1765
1776
  session: session,
1766
- answer: answer,
1767
1777
  });
1768
1778
  }
1769
1779
  /**
1770
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1780
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1771
1781
  *
1772
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1773
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1782
+ * @param {string} projectLocationCollectionEngineSessionsName
1783
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1774
1784
  * @returns {string} A string representing the project.
1775
1785
  */
1776
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1777
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1786
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1787
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1778
1788
  }
1779
1789
  /**
1780
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1790
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1781
1791
  *
1782
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1783
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1792
+ * @param {string} projectLocationCollectionEngineSessionsName
1793
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1784
1794
  * @returns {string} A string representing the location.
1785
1795
  */
1786
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1787
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1796
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1797
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1788
1798
  }
1789
1799
  /**
1790
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1800
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1791
1801
  *
1792
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1793
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1802
+ * @param {string} projectLocationCollectionEngineSessionsName
1803
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1794
1804
  * @returns {string} A string representing the collection.
1795
1805
  */
1796
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1797
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1806
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1807
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1798
1808
  }
1799
1809
  /**
1800
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1810
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1801
1811
  *
1802
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1803
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1812
+ * @param {string} projectLocationCollectionEngineSessionsName
1813
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1804
1814
  * @returns {string} A string representing the engine.
1805
1815
  */
1806
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1807
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1816
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1817
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1808
1818
  }
1809
1819
  /**
1810
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1820
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
1811
1821
  *
1812
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1813
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1822
+ * @param {string} projectLocationCollectionEngineSessionsName
1823
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1814
1824
  * @returns {string} A string representing the session.
1815
1825
  */
1816
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1817
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1818
- }
1819
- /**
1820
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1821
- *
1822
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1823
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1824
- * @returns {string} A string representing the answer.
1825
- */
1826
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1827
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1826
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1827
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
1828
1828
  }
1829
1829
  /**
1830
1830
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2351,63 +2351,6 @@ class RecommendationServiceClient {
2351
2351
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2352
2352
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2353
2353
  }
2354
- /**
2355
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2356
- *
2357
- * @param {string} project
2358
- * @param {string} location
2359
- * @param {string} data_store
2360
- * @param {string} session
2361
- * @returns {string} Resource name string.
2362
- */
2363
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2364
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2365
- project: project,
2366
- location: location,
2367
- data_store: dataStore,
2368
- session: session,
2369
- });
2370
- }
2371
- /**
2372
- * Parse the project from ProjectLocationDataStoreSession resource.
2373
- *
2374
- * @param {string} projectLocationDataStoreSessionName
2375
- * A fully-qualified path representing project_location_data_store_session resource.
2376
- * @returns {string} A string representing the project.
2377
- */
2378
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2379
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2380
- }
2381
- /**
2382
- * Parse the location from ProjectLocationDataStoreSession resource.
2383
- *
2384
- * @param {string} projectLocationDataStoreSessionName
2385
- * A fully-qualified path representing project_location_data_store_session resource.
2386
- * @returns {string} A string representing the location.
2387
- */
2388
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2389
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2390
- }
2391
- /**
2392
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2393
- *
2394
- * @param {string} projectLocationDataStoreSessionName
2395
- * A fully-qualified path representing project_location_data_store_session resource.
2396
- * @returns {string} A string representing the data_store.
2397
- */
2398
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2399
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2400
- }
2401
- /**
2402
- * Parse the session from ProjectLocationDataStoreSession resource.
2403
- *
2404
- * @param {string} projectLocationDataStoreSessionName
2405
- * A fully-qualified path representing project_location_data_store_session resource.
2406
- * @returns {string} A string representing the session.
2407
- */
2408
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2409
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2410
- }
2411
2354
  /**
2412
2355
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2413
2356
  *
@@ -2477,6 +2420,63 @@ class RecommendationServiceClient {
2477
2420
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2478
2421
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2479
2422
  }
2423
+ /**
2424
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2425
+ *
2426
+ * @param {string} project
2427
+ * @param {string} location
2428
+ * @param {string} data_store
2429
+ * @param {string} session
2430
+ * @returns {string} Resource name string.
2431
+ */
2432
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2433
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2434
+ project: project,
2435
+ location: location,
2436
+ data_store: dataStore,
2437
+ session: session,
2438
+ });
2439
+ }
2440
+ /**
2441
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2442
+ *
2443
+ * @param {string} projectLocationDataStoreSessionsName
2444
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2445
+ * @returns {string} A string representing the project.
2446
+ */
2447
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2448
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2449
+ }
2450
+ /**
2451
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2452
+ *
2453
+ * @param {string} projectLocationDataStoreSessionsName
2454
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2455
+ * @returns {string} A string representing the location.
2456
+ */
2457
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2458
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2459
+ }
2460
+ /**
2461
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2462
+ *
2463
+ * @param {string} projectLocationDataStoreSessionsName
2464
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2465
+ * @returns {string} A string representing the data_store.
2466
+ */
2467
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2468
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2469
+ }
2470
+ /**
2471
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2472
+ *
2473
+ * @param {string} projectLocationDataStoreSessionsName
2474
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2475
+ * @returns {string} A string representing the session.
2476
+ */
2477
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2478
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2479
+ }
2480
2480
  /**
2481
2481
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2482
2482
  *
@@ -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",