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