@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
@@ -176,15 +176,15 @@ class SearchTuningServiceClient {
176
176
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
177
177
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
178
178
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
179
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
180
179
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
180
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
181
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
182
182
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
183
183
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
184
184
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
185
185
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
186
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
187
186
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
187
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
188
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
189
189
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
190
190
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -194,8 +194,8 @@ class SearchTuningServiceClient {
194
194
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
195
195
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
196
196
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
197
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
198
197
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
198
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
199
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
200
200
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
201
201
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1445,154 +1445,154 @@ class SearchTuningServiceClient {
1445
1445
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1446
1446
  }
1447
1447
  /**
1448
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1448
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1449
1449
  *
1450
1450
  * @param {string} project
1451
1451
  * @param {string} location
1452
1452
  * @param {string} collection
1453
1453
  * @param {string} data_store
1454
1454
  * @param {string} session
1455
+ * @param {string} answer
1455
1456
  * @returns {string} Resource name string.
1456
1457
  */
1457
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1458
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1458
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1459
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1459
1460
  project: project,
1460
1461
  location: location,
1461
1462
  collection: collection,
1462
1463
  data_store: dataStore,
1463
1464
  session: session,
1465
+ answer: answer,
1464
1466
  });
1465
1467
  }
1466
1468
  /**
1467
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1469
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1468
1470
  *
1469
- * @param {string} projectLocationCollectionDataStoreSessionName
1470
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1471
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1472
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1471
1473
  * @returns {string} A string representing the project.
1472
1474
  */
1473
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1474
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1475
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1476
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1475
1477
  }
1476
1478
  /**
1477
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1479
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1478
1480
  *
1479
- * @param {string} projectLocationCollectionDataStoreSessionName
1480
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1481
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1482
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1481
1483
  * @returns {string} A string representing the location.
1482
1484
  */
1483
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1484
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1485
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1486
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1485
1487
  }
1486
1488
  /**
1487
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1489
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1488
1490
  *
1489
- * @param {string} projectLocationCollectionDataStoreSessionName
1490
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1491
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1492
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1491
1493
  * @returns {string} A string representing the collection.
1492
1494
  */
1493
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1494
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1495
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1496
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1495
1497
  }
1496
1498
  /**
1497
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1499
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1498
1500
  *
1499
- * @param {string} projectLocationCollectionDataStoreSessionName
1500
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1501
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1502
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1501
1503
  * @returns {string} A string representing the data_store.
1502
1504
  */
1503
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1504
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1505
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1506
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1505
1507
  }
1506
1508
  /**
1507
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1509
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1508
1510
  *
1509
- * @param {string} projectLocationCollectionDataStoreSessionName
1510
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1511
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1512
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1511
1513
  * @returns {string} A string representing the session.
1512
1514
  */
1513
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1514
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1515
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1516
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1515
1517
  }
1516
1518
  /**
1517
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1519
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1520
+ *
1521
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1522
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1523
+ * @returns {string} A string representing the answer.
1524
+ */
1525
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1526
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1527
+ }
1528
+ /**
1529
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1518
1530
  *
1519
1531
  * @param {string} project
1520
1532
  * @param {string} location
1521
1533
  * @param {string} collection
1522
1534
  * @param {string} data_store
1523
1535
  * @param {string} session
1524
- * @param {string} answer
1525
1536
  * @returns {string} Resource name string.
1526
1537
  */
1527
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1528
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1538
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1539
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1529
1540
  project: project,
1530
1541
  location: location,
1531
1542
  collection: collection,
1532
1543
  data_store: dataStore,
1533
1544
  session: session,
1534
- answer: answer,
1535
1545
  });
1536
1546
  }
1537
1547
  /**
1538
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1548
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1539
1549
  *
1540
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1541
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1550
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1551
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1542
1552
  * @returns {string} A string representing the project.
1543
1553
  */
1544
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1545
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1554
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1555
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1546
1556
  }
1547
1557
  /**
1548
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1558
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1549
1559
  *
1550
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1551
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1560
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1561
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1552
1562
  * @returns {string} A string representing the location.
1553
1563
  */
1554
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1555
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1564
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1565
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1556
1566
  }
1557
1567
  /**
1558
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1568
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1559
1569
  *
1560
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1561
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1570
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1571
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1562
1572
  * @returns {string} A string representing the collection.
1563
1573
  */
1564
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1565
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1574
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1575
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1566
1576
  }
1567
1577
  /**
1568
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1578
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1569
1579
  *
1570
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1571
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1580
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1581
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1572
1582
  * @returns {string} A string representing the data_store.
1573
1583
  */
1574
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1575
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1584
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1585
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1576
1586
  }
1577
1587
  /**
1578
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1588
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1579
1589
  *
1580
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1581
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1590
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1591
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1582
1592
  * @returns {string} A string representing the session.
1583
1593
  */
1584
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1585
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1586
- }
1587
- /**
1588
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1589
- *
1590
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1591
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1592
- * @returns {string} A string representing the answer.
1593
- */
1594
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1595
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1594
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1595
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1596
1596
  }
1597
1597
  /**
1598
1598
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1928,154 +1928,154 @@ class SearchTuningServiceClient {
1928
1928
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1929
1929
  }
1930
1930
  /**
1931
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1931
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1932
1932
  *
1933
1933
  * @param {string} project
1934
1934
  * @param {string} location
1935
1935
  * @param {string} collection
1936
1936
  * @param {string} engine
1937
1937
  * @param {string} session
1938
+ * @param {string} answer
1938
1939
  * @returns {string} Resource name string.
1939
1940
  */
1940
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1941
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1941
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1942
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1942
1943
  project: project,
1943
1944
  location: location,
1944
1945
  collection: collection,
1945
1946
  engine: engine,
1946
1947
  session: session,
1948
+ answer: answer,
1947
1949
  });
1948
1950
  }
1949
1951
  /**
1950
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1952
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1951
1953
  *
1952
- * @param {string} projectLocationCollectionEngineSessionName
1953
- * A fully-qualified path representing project_location_collection_engine_session resource.
1954
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1955
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1954
1956
  * @returns {string} A string representing the project.
1955
1957
  */
1956
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1957
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1958
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1959
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1958
1960
  }
1959
1961
  /**
1960
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1962
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1961
1963
  *
1962
- * @param {string} projectLocationCollectionEngineSessionName
1963
- * A fully-qualified path representing project_location_collection_engine_session resource.
1964
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1965
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1964
1966
  * @returns {string} A string representing the location.
1965
1967
  */
1966
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1967
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1968
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1969
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1968
1970
  }
1969
1971
  /**
1970
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1972
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1971
1973
  *
1972
- * @param {string} projectLocationCollectionEngineSessionName
1973
- * A fully-qualified path representing project_location_collection_engine_session resource.
1974
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1975
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1974
1976
  * @returns {string} A string representing the collection.
1975
1977
  */
1976
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1977
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1978
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1979
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1978
1980
  }
1979
1981
  /**
1980
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1982
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1981
1983
  *
1982
- * @param {string} projectLocationCollectionEngineSessionName
1983
- * A fully-qualified path representing project_location_collection_engine_session resource.
1984
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1985
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1984
1986
  * @returns {string} A string representing the engine.
1985
1987
  */
1986
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1987
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1988
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1989
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1988
1990
  }
1989
1991
  /**
1990
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1992
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1991
1993
  *
1992
- * @param {string} projectLocationCollectionEngineSessionName
1993
- * A fully-qualified path representing project_location_collection_engine_session resource.
1994
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1995
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1994
1996
  * @returns {string} A string representing the session.
1995
1997
  */
1996
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1997
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1998
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1999
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1998
2000
  }
1999
2001
  /**
2000
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2002
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2003
+ *
2004
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2005
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2006
+ * @returns {string} A string representing the answer.
2007
+ */
2008
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2009
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2010
+ }
2011
+ /**
2012
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2001
2013
  *
2002
2014
  * @param {string} project
2003
2015
  * @param {string} location
2004
2016
  * @param {string} collection
2005
2017
  * @param {string} engine
2006
2018
  * @param {string} session
2007
- * @param {string} answer
2008
2019
  * @returns {string} Resource name string.
2009
2020
  */
2010
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2011
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2021
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2022
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2012
2023
  project: project,
2013
2024
  location: location,
2014
2025
  collection: collection,
2015
2026
  engine: engine,
2016
2027
  session: session,
2017
- answer: answer,
2018
2028
  });
2019
2029
  }
2020
2030
  /**
2021
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2031
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2022
2032
  *
2023
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2024
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2033
+ * @param {string} projectLocationCollectionEngineSessionsName
2034
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2025
2035
  * @returns {string} A string representing the project.
2026
2036
  */
2027
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2028
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2037
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2038
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2029
2039
  }
2030
2040
  /**
2031
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2041
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2032
2042
  *
2033
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2034
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2043
+ * @param {string} projectLocationCollectionEngineSessionsName
2044
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2035
2045
  * @returns {string} A string representing the location.
2036
2046
  */
2037
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2038
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2047
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2048
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2039
2049
  }
2040
2050
  /**
2041
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2051
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2042
2052
  *
2043
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2044
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2053
+ * @param {string} projectLocationCollectionEngineSessionsName
2054
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2045
2055
  * @returns {string} A string representing the collection.
2046
2056
  */
2047
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2048
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2057
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2058
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2049
2059
  }
2050
2060
  /**
2051
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2061
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2052
2062
  *
2053
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2054
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2063
+ * @param {string} projectLocationCollectionEngineSessionsName
2064
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2055
2065
  * @returns {string} A string representing the engine.
2056
2066
  */
2057
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2058
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2067
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2068
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2059
2069
  }
2060
2070
  /**
2061
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2071
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2062
2072
  *
2063
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2064
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2073
+ * @param {string} projectLocationCollectionEngineSessionsName
2074
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2065
2075
  * @returns {string} A string representing the session.
2066
2076
  */
2067
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2068
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2069
- }
2070
- /**
2071
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2072
- *
2073
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2074
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2075
- * @returns {string} A string representing the answer.
2076
- */
2077
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2078
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2077
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2078
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2079
2079
  }
2080
2080
  /**
2081
2081
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2602,63 +2602,6 @@ class SearchTuningServiceClient {
2602
2602
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2603
2603
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2604
2604
  }
2605
- /**
2606
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2607
- *
2608
- * @param {string} project
2609
- * @param {string} location
2610
- * @param {string} data_store
2611
- * @param {string} session
2612
- * @returns {string} Resource name string.
2613
- */
2614
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2615
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2616
- project: project,
2617
- location: location,
2618
- data_store: dataStore,
2619
- session: session,
2620
- });
2621
- }
2622
- /**
2623
- * Parse the project from ProjectLocationDataStoreSession resource.
2624
- *
2625
- * @param {string} projectLocationDataStoreSessionName
2626
- * A fully-qualified path representing project_location_data_store_session resource.
2627
- * @returns {string} A string representing the project.
2628
- */
2629
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2630
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2631
- }
2632
- /**
2633
- * Parse the location from ProjectLocationDataStoreSession resource.
2634
- *
2635
- * @param {string} projectLocationDataStoreSessionName
2636
- * A fully-qualified path representing project_location_data_store_session resource.
2637
- * @returns {string} A string representing the location.
2638
- */
2639
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2640
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2641
- }
2642
- /**
2643
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2644
- *
2645
- * @param {string} projectLocationDataStoreSessionName
2646
- * A fully-qualified path representing project_location_data_store_session resource.
2647
- * @returns {string} A string representing the data_store.
2648
- */
2649
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2650
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2651
- }
2652
- /**
2653
- * Parse the session from ProjectLocationDataStoreSession resource.
2654
- *
2655
- * @param {string} projectLocationDataStoreSessionName
2656
- * A fully-qualified path representing project_location_data_store_session resource.
2657
- * @returns {string} A string representing the session.
2658
- */
2659
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2660
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2661
- }
2662
2605
  /**
2663
2606
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2664
2607
  *
@@ -2728,6 +2671,63 @@ class SearchTuningServiceClient {
2728
2671
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2729
2672
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2730
2673
  }
2674
+ /**
2675
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2676
+ *
2677
+ * @param {string} project
2678
+ * @param {string} location
2679
+ * @param {string} data_store
2680
+ * @param {string} session
2681
+ * @returns {string} Resource name string.
2682
+ */
2683
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2684
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2685
+ project: project,
2686
+ location: location,
2687
+ data_store: dataStore,
2688
+ session: session,
2689
+ });
2690
+ }
2691
+ /**
2692
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2693
+ *
2694
+ * @param {string} projectLocationDataStoreSessionsName
2695
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2696
+ * @returns {string} A string representing the project.
2697
+ */
2698
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2699
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2700
+ }
2701
+ /**
2702
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2703
+ *
2704
+ * @param {string} projectLocationDataStoreSessionsName
2705
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2706
+ * @returns {string} A string representing the location.
2707
+ */
2708
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2709
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2710
+ }
2711
+ /**
2712
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2713
+ *
2714
+ * @param {string} projectLocationDataStoreSessionsName
2715
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2716
+ * @returns {string} A string representing the data_store.
2717
+ */
2718
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2719
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2720
+ }
2721
+ /**
2722
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2723
+ *
2724
+ * @param {string} projectLocationDataStoreSessionsName
2725
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2726
+ * @returns {string} A string representing the session.
2727
+ */
2728
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2729
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2730
+ }
2731
2731
  /**
2732
2732
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2733
2733
  *
@@ -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",