@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
@@ -163,6 +163,8 @@ class CmekConfigServiceClient {
163
163
  // identifiers to uniquely identify resources within the API.
164
164
  // Create useful helper objects for these.
165
165
  this.pathTemplates = {
166
+ assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
167
+ assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
166
168
  cryptoKeyVersionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}'),
167
169
  cryptoKeysPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}'),
168
170
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
@@ -180,16 +182,16 @@ class CmekConfigServiceClient {
180
182
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
181
183
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
182
184
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
183
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
184
185
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
186
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
185
187
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
186
188
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
187
189
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
188
190
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
189
191
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
190
192
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
191
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
192
193
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
194
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
193
195
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
194
196
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
195
197
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -199,8 +201,8 @@ class CmekConfigServiceClient {
199
201
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
200
202
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
201
203
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
202
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
203
204
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
205
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
204
206
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
205
207
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
206
208
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -746,6 +748,156 @@ class CmekConfigServiceClient {
746
748
  // --------------------
747
749
  // -- Path templates --
748
750
  // --------------------
751
+ /**
752
+ * Return a fully-qualified assistAnswer resource name string.
753
+ *
754
+ * @param {string} project
755
+ * @param {string} location
756
+ * @param {string} collection
757
+ * @param {string} engine
758
+ * @param {string} session
759
+ * @param {string} assist_answer
760
+ * @returns {string} Resource name string.
761
+ */
762
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
763
+ return this.pathTemplates.assistAnswerPathTemplate.render({
764
+ project: project,
765
+ location: location,
766
+ collection: collection,
767
+ engine: engine,
768
+ session: session,
769
+ assist_answer: assistAnswer,
770
+ });
771
+ }
772
+ /**
773
+ * Parse the project from AssistAnswer resource.
774
+ *
775
+ * @param {string} assistAnswerName
776
+ * A fully-qualified path representing AssistAnswer resource.
777
+ * @returns {string} A string representing the project.
778
+ */
779
+ matchProjectFromAssistAnswerName(assistAnswerName) {
780
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
781
+ }
782
+ /**
783
+ * Parse the location from AssistAnswer resource.
784
+ *
785
+ * @param {string} assistAnswerName
786
+ * A fully-qualified path representing AssistAnswer resource.
787
+ * @returns {string} A string representing the location.
788
+ */
789
+ matchLocationFromAssistAnswerName(assistAnswerName) {
790
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
791
+ }
792
+ /**
793
+ * Parse the collection from AssistAnswer resource.
794
+ *
795
+ * @param {string} assistAnswerName
796
+ * A fully-qualified path representing AssistAnswer resource.
797
+ * @returns {string} A string representing the collection.
798
+ */
799
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
800
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
801
+ }
802
+ /**
803
+ * Parse the engine from AssistAnswer resource.
804
+ *
805
+ * @param {string} assistAnswerName
806
+ * A fully-qualified path representing AssistAnswer resource.
807
+ * @returns {string} A string representing the engine.
808
+ */
809
+ matchEngineFromAssistAnswerName(assistAnswerName) {
810
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
811
+ }
812
+ /**
813
+ * Parse the session from AssistAnswer resource.
814
+ *
815
+ * @param {string} assistAnswerName
816
+ * A fully-qualified path representing AssistAnswer resource.
817
+ * @returns {string} A string representing the session.
818
+ */
819
+ matchSessionFromAssistAnswerName(assistAnswerName) {
820
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
821
+ }
822
+ /**
823
+ * Parse the assist_answer from AssistAnswer resource.
824
+ *
825
+ * @param {string} assistAnswerName
826
+ * A fully-qualified path representing AssistAnswer resource.
827
+ * @returns {string} A string representing the assist_answer.
828
+ */
829
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
830
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
831
+ }
832
+ /**
833
+ * Return a fully-qualified assistant resource name string.
834
+ *
835
+ * @param {string} project
836
+ * @param {string} location
837
+ * @param {string} collection
838
+ * @param {string} engine
839
+ * @param {string} assistant
840
+ * @returns {string} Resource name string.
841
+ */
842
+ assistantPath(project, location, collection, engine, assistant) {
843
+ return this.pathTemplates.assistantPathTemplate.render({
844
+ project: project,
845
+ location: location,
846
+ collection: collection,
847
+ engine: engine,
848
+ assistant: assistant,
849
+ });
850
+ }
851
+ /**
852
+ * Parse the project from Assistant resource.
853
+ *
854
+ * @param {string} assistantName
855
+ * A fully-qualified path representing Assistant resource.
856
+ * @returns {string} A string representing the project.
857
+ */
858
+ matchProjectFromAssistantName(assistantName) {
859
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
860
+ }
861
+ /**
862
+ * Parse the location from Assistant resource.
863
+ *
864
+ * @param {string} assistantName
865
+ * A fully-qualified path representing Assistant resource.
866
+ * @returns {string} A string representing the location.
867
+ */
868
+ matchLocationFromAssistantName(assistantName) {
869
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
870
+ }
871
+ /**
872
+ * Parse the collection from Assistant resource.
873
+ *
874
+ * @param {string} assistantName
875
+ * A fully-qualified path representing Assistant resource.
876
+ * @returns {string} A string representing the collection.
877
+ */
878
+ matchCollectionFromAssistantName(assistantName) {
879
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
880
+ }
881
+ /**
882
+ * Parse the engine from Assistant resource.
883
+ *
884
+ * @param {string} assistantName
885
+ * A fully-qualified path representing Assistant resource.
886
+ * @returns {string} A string representing the engine.
887
+ */
888
+ matchEngineFromAssistantName(assistantName) {
889
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
890
+ }
891
+ /**
892
+ * Parse the assistant from Assistant resource.
893
+ *
894
+ * @param {string} assistantName
895
+ * A fully-qualified path representing Assistant resource.
896
+ * @returns {string} A string representing the assistant.
897
+ */
898
+ matchAssistantFromAssistantName(assistantName) {
899
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
900
+ }
749
901
  /**
750
902
  * Return a fully-qualified cryptoKeyVersions resource name string.
751
903
  *
@@ -1740,154 +1892,154 @@ class CmekConfigServiceClient {
1740
1892
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1741
1893
  }
1742
1894
  /**
1743
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1895
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1744
1896
  *
1745
1897
  * @param {string} project
1746
1898
  * @param {string} location
1747
1899
  * @param {string} collection
1748
1900
  * @param {string} data_store
1749
1901
  * @param {string} session
1902
+ * @param {string} answer
1750
1903
  * @returns {string} Resource name string.
1751
1904
  */
1752
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1753
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1905
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1906
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1754
1907
  project: project,
1755
1908
  location: location,
1756
1909
  collection: collection,
1757
1910
  data_store: dataStore,
1758
1911
  session: session,
1912
+ answer: answer,
1759
1913
  });
1760
1914
  }
1761
1915
  /**
1762
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1916
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1763
1917
  *
1764
- * @param {string} projectLocationCollectionDataStoreSessionName
1765
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1918
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1919
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1766
1920
  * @returns {string} A string representing the project.
1767
1921
  */
1768
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1769
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1922
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1923
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1770
1924
  }
1771
1925
  /**
1772
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1926
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1773
1927
  *
1774
- * @param {string} projectLocationCollectionDataStoreSessionName
1775
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1928
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1929
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1776
1930
  * @returns {string} A string representing the location.
1777
1931
  */
1778
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1779
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1932
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1933
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1780
1934
  }
1781
1935
  /**
1782
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1936
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1783
1937
  *
1784
- * @param {string} projectLocationCollectionDataStoreSessionName
1785
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1938
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1939
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1786
1940
  * @returns {string} A string representing the collection.
1787
1941
  */
1788
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1789
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1942
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1943
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1790
1944
  }
1791
1945
  /**
1792
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1946
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1793
1947
  *
1794
- * @param {string} projectLocationCollectionDataStoreSessionName
1795
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1948
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1949
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1796
1950
  * @returns {string} A string representing the data_store.
1797
1951
  */
1798
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1799
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1952
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1953
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1800
1954
  }
1801
1955
  /**
1802
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1956
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1803
1957
  *
1804
- * @param {string} projectLocationCollectionDataStoreSessionName
1805
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1958
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1959
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1806
1960
  * @returns {string} A string representing the session.
1807
1961
  */
1808
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1809
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1962
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1963
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1810
1964
  }
1811
1965
  /**
1812
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1966
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1967
+ *
1968
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1969
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1970
+ * @returns {string} A string representing the answer.
1971
+ */
1972
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1973
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1974
+ }
1975
+ /**
1976
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1813
1977
  *
1814
1978
  * @param {string} project
1815
1979
  * @param {string} location
1816
1980
  * @param {string} collection
1817
1981
  * @param {string} data_store
1818
1982
  * @param {string} session
1819
- * @param {string} answer
1820
1983
  * @returns {string} Resource name string.
1821
1984
  */
1822
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1823
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1985
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1986
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1824
1987
  project: project,
1825
1988
  location: location,
1826
1989
  collection: collection,
1827
1990
  data_store: dataStore,
1828
1991
  session: session,
1829
- answer: answer,
1830
1992
  });
1831
1993
  }
1832
1994
  /**
1833
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1995
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1834
1996
  *
1835
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1836
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1997
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1998
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1837
1999
  * @returns {string} A string representing the project.
1838
2000
  */
1839
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1840
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
2001
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2002
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1841
2003
  }
1842
2004
  /**
1843
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
2005
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1844
2006
  *
1845
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1846
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2007
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2008
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1847
2009
  * @returns {string} A string representing the location.
1848
2010
  */
1849
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1850
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2011
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2012
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1851
2013
  }
1852
2014
  /**
1853
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2015
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1854
2016
  *
1855
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1856
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2017
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2018
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1857
2019
  * @returns {string} A string representing the collection.
1858
2020
  */
1859
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1860
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2021
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2022
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1861
2023
  }
1862
2024
  /**
1863
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2025
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1864
2026
  *
1865
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1866
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2027
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2028
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1867
2029
  * @returns {string} A string representing the data_store.
1868
2030
  */
1869
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1870
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2031
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2032
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1871
2033
  }
1872
2034
  /**
1873
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2035
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1874
2036
  *
1875
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1876
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
2037
+ * @param {string} projectLocationCollectionDataStoreSessionsName
2038
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1877
2039
  * @returns {string} A string representing the session.
1878
2040
  */
1879
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1880
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1881
- }
1882
- /**
1883
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1884
- *
1885
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1886
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1887
- * @returns {string} A string representing the answer.
1888
- */
1889
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1890
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2041
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2042
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1891
2043
  }
1892
2044
  /**
1893
2045
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2292,154 +2444,154 @@ class CmekConfigServiceClient {
2292
2444
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2293
2445
  }
2294
2446
  /**
2295
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2447
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2296
2448
  *
2297
2449
  * @param {string} project
2298
2450
  * @param {string} location
2299
2451
  * @param {string} collection
2300
2452
  * @param {string} engine
2301
2453
  * @param {string} session
2454
+ * @param {string} answer
2302
2455
  * @returns {string} Resource name string.
2303
2456
  */
2304
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2305
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2457
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2458
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2306
2459
  project: project,
2307
2460
  location: location,
2308
2461
  collection: collection,
2309
2462
  engine: engine,
2310
2463
  session: session,
2464
+ answer: answer,
2311
2465
  });
2312
2466
  }
2313
2467
  /**
2314
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2468
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2315
2469
  *
2316
- * @param {string} projectLocationCollectionEngineSessionName
2317
- * A fully-qualified path representing project_location_collection_engine_session resource.
2470
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2471
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2318
2472
  * @returns {string} A string representing the project.
2319
2473
  */
2320
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2321
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2474
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2475
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2322
2476
  }
2323
2477
  /**
2324
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2478
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2325
2479
  *
2326
- * @param {string} projectLocationCollectionEngineSessionName
2327
- * A fully-qualified path representing project_location_collection_engine_session resource.
2480
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2481
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2328
2482
  * @returns {string} A string representing the location.
2329
2483
  */
2330
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2331
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2484
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2485
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2332
2486
  }
2333
2487
  /**
2334
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2488
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2335
2489
  *
2336
- * @param {string} projectLocationCollectionEngineSessionName
2337
- * A fully-qualified path representing project_location_collection_engine_session resource.
2490
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2491
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2338
2492
  * @returns {string} A string representing the collection.
2339
2493
  */
2340
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2341
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2494
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2495
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2342
2496
  }
2343
2497
  /**
2344
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2498
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2345
2499
  *
2346
- * @param {string} projectLocationCollectionEngineSessionName
2347
- * A fully-qualified path representing project_location_collection_engine_session resource.
2500
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2501
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2348
2502
  * @returns {string} A string representing the engine.
2349
2503
  */
2350
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2351
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2504
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2505
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2352
2506
  }
2353
2507
  /**
2354
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2508
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2355
2509
  *
2356
- * @param {string} projectLocationCollectionEngineSessionName
2357
- * A fully-qualified path representing project_location_collection_engine_session resource.
2510
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2511
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2358
2512
  * @returns {string} A string representing the session.
2359
2513
  */
2360
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2361
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2514
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2515
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2362
2516
  }
2363
2517
  /**
2364
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2518
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2519
+ *
2520
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2521
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2522
+ * @returns {string} A string representing the answer.
2523
+ */
2524
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2525
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2526
+ }
2527
+ /**
2528
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2365
2529
  *
2366
2530
  * @param {string} project
2367
2531
  * @param {string} location
2368
2532
  * @param {string} collection
2369
2533
  * @param {string} engine
2370
2534
  * @param {string} session
2371
- * @param {string} answer
2372
2535
  * @returns {string} Resource name string.
2373
2536
  */
2374
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2375
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2537
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2538
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2376
2539
  project: project,
2377
2540
  location: location,
2378
2541
  collection: collection,
2379
2542
  engine: engine,
2380
2543
  session: session,
2381
- answer: answer,
2382
2544
  });
2383
2545
  }
2384
2546
  /**
2385
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2547
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2386
2548
  *
2387
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2388
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2549
+ * @param {string} projectLocationCollectionEngineSessionsName
2550
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2389
2551
  * @returns {string} A string representing the project.
2390
2552
  */
2391
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2392
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2553
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2554
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2393
2555
  }
2394
2556
  /**
2395
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2557
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
2396
2558
  *
2397
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2398
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2559
+ * @param {string} projectLocationCollectionEngineSessionsName
2560
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2399
2561
  * @returns {string} A string representing the location.
2400
2562
  */
2401
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2402
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2563
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2564
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2403
2565
  }
2404
2566
  /**
2405
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2567
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
2406
2568
  *
2407
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2408
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2569
+ * @param {string} projectLocationCollectionEngineSessionsName
2570
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2409
2571
  * @returns {string} A string representing the collection.
2410
2572
  */
2411
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2412
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2573
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2574
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2413
2575
  }
2414
2576
  /**
2415
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2577
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
2416
2578
  *
2417
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2418
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2579
+ * @param {string} projectLocationCollectionEngineSessionsName
2580
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2419
2581
  * @returns {string} A string representing the engine.
2420
2582
  */
2421
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2422
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2583
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2584
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2423
2585
  }
2424
2586
  /**
2425
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2587
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2426
2588
  *
2427
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2428
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2589
+ * @param {string} projectLocationCollectionEngineSessionsName
2590
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2429
2591
  * @returns {string} A string representing the session.
2430
2592
  */
2431
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2432
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2433
- }
2434
- /**
2435
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2436
- *
2437
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2438
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2439
- * @returns {string} A string representing the answer.
2440
- */
2441
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2442
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2593
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2594
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2443
2595
  }
2444
2596
  /**
2445
2597
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2966,63 +3118,6 @@ class CmekConfigServiceClient {
2966
3118
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2967
3119
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2968
3120
  }
2969
- /**
2970
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2971
- *
2972
- * @param {string} project
2973
- * @param {string} location
2974
- * @param {string} data_store
2975
- * @param {string} session
2976
- * @returns {string} Resource name string.
2977
- */
2978
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2979
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2980
- project: project,
2981
- location: location,
2982
- data_store: dataStore,
2983
- session: session,
2984
- });
2985
- }
2986
- /**
2987
- * Parse the project from ProjectLocationDataStoreSession resource.
2988
- *
2989
- * @param {string} projectLocationDataStoreSessionName
2990
- * A fully-qualified path representing project_location_data_store_session resource.
2991
- * @returns {string} A string representing the project.
2992
- */
2993
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2994
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2995
- }
2996
- /**
2997
- * Parse the location from ProjectLocationDataStoreSession resource.
2998
- *
2999
- * @param {string} projectLocationDataStoreSessionName
3000
- * A fully-qualified path representing project_location_data_store_session resource.
3001
- * @returns {string} A string representing the location.
3002
- */
3003
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3004
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
3005
- }
3006
- /**
3007
- * Parse the data_store from ProjectLocationDataStoreSession resource.
3008
- *
3009
- * @param {string} projectLocationDataStoreSessionName
3010
- * A fully-qualified path representing project_location_data_store_session resource.
3011
- * @returns {string} A string representing the data_store.
3012
- */
3013
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3014
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3015
- }
3016
- /**
3017
- * Parse the session from ProjectLocationDataStoreSession resource.
3018
- *
3019
- * @param {string} projectLocationDataStoreSessionName
3020
- * A fully-qualified path representing project_location_data_store_session resource.
3021
- * @returns {string} A string representing the session.
3022
- */
3023
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3024
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3025
- }
3026
3121
  /**
3027
3122
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3028
3123
  *
@@ -3092,6 +3187,63 @@ class CmekConfigServiceClient {
3092
3187
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3093
3188
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3094
3189
  }
3190
+ /**
3191
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3192
+ *
3193
+ * @param {string} project
3194
+ * @param {string} location
3195
+ * @param {string} data_store
3196
+ * @param {string} session
3197
+ * @returns {string} Resource name string.
3198
+ */
3199
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3200
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3201
+ project: project,
3202
+ location: location,
3203
+ data_store: dataStore,
3204
+ session: session,
3205
+ });
3206
+ }
3207
+ /**
3208
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3209
+ *
3210
+ * @param {string} projectLocationDataStoreSessionsName
3211
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3212
+ * @returns {string} A string representing the project.
3213
+ */
3214
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3215
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3216
+ }
3217
+ /**
3218
+ * Parse the location from ProjectLocationDataStoreSessions resource.
3219
+ *
3220
+ * @param {string} projectLocationDataStoreSessionsName
3221
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3222
+ * @returns {string} A string representing the location.
3223
+ */
3224
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3225
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3226
+ }
3227
+ /**
3228
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
3229
+ *
3230
+ * @param {string} projectLocationDataStoreSessionsName
3231
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3232
+ * @returns {string} A string representing the data_store.
3233
+ */
3234
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3235
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3236
+ }
3237
+ /**
3238
+ * Parse the session from ProjectLocationDataStoreSessions resource.
3239
+ *
3240
+ * @param {string} projectLocationDataStoreSessionsName
3241
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3242
+ * @returns {string} A string representing the session.
3243
+ */
3244
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3245
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3246
+ }
3095
3247
  /**
3096
3248
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3097
3249
  *