@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 SchemaServiceClient {
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
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
167
169
  identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
168
170
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
@@ -177,16 +179,16 @@ class SchemaServiceClient {
177
179
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
180
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
181
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
180
- projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
181
182
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
183
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
184
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
185
  projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
184
186
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
185
187
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
186
188
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
187
189
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
188
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
190
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
191
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
190
192
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
191
193
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
192
194
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -196,8 +198,8 @@ class SchemaServiceClient {
196
198
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
197
199
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
198
200
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
199
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
201
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
202
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
201
203
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
202
204
  projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
203
205
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
@@ -895,6 +897,156 @@ class SchemaServiceClient {
895
897
  // --------------------
896
898
  // -- Path templates --
897
899
  // --------------------
900
+ /**
901
+ * Return a fully-qualified assistAnswer resource name string.
902
+ *
903
+ * @param {string} project
904
+ * @param {string} location
905
+ * @param {string} collection
906
+ * @param {string} engine
907
+ * @param {string} session
908
+ * @param {string} assist_answer
909
+ * @returns {string} Resource name string.
910
+ */
911
+ assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
912
+ return this.pathTemplates.assistAnswerPathTemplate.render({
913
+ project: project,
914
+ location: location,
915
+ collection: collection,
916
+ engine: engine,
917
+ session: session,
918
+ assist_answer: assistAnswer,
919
+ });
920
+ }
921
+ /**
922
+ * Parse the project from AssistAnswer resource.
923
+ *
924
+ * @param {string} assistAnswerName
925
+ * A fully-qualified path representing AssistAnswer resource.
926
+ * @returns {string} A string representing the project.
927
+ */
928
+ matchProjectFromAssistAnswerName(assistAnswerName) {
929
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
930
+ }
931
+ /**
932
+ * Parse the location from AssistAnswer resource.
933
+ *
934
+ * @param {string} assistAnswerName
935
+ * A fully-qualified path representing AssistAnswer resource.
936
+ * @returns {string} A string representing the location.
937
+ */
938
+ matchLocationFromAssistAnswerName(assistAnswerName) {
939
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
940
+ }
941
+ /**
942
+ * Parse the collection from AssistAnswer resource.
943
+ *
944
+ * @param {string} assistAnswerName
945
+ * A fully-qualified path representing AssistAnswer resource.
946
+ * @returns {string} A string representing the collection.
947
+ */
948
+ matchCollectionFromAssistAnswerName(assistAnswerName) {
949
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
950
+ }
951
+ /**
952
+ * Parse the engine from AssistAnswer resource.
953
+ *
954
+ * @param {string} assistAnswerName
955
+ * A fully-qualified path representing AssistAnswer resource.
956
+ * @returns {string} A string representing the engine.
957
+ */
958
+ matchEngineFromAssistAnswerName(assistAnswerName) {
959
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
960
+ }
961
+ /**
962
+ * Parse the session from AssistAnswer resource.
963
+ *
964
+ * @param {string} assistAnswerName
965
+ * A fully-qualified path representing AssistAnswer resource.
966
+ * @returns {string} A string representing the session.
967
+ */
968
+ matchSessionFromAssistAnswerName(assistAnswerName) {
969
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
970
+ }
971
+ /**
972
+ * Parse the assist_answer from AssistAnswer resource.
973
+ *
974
+ * @param {string} assistAnswerName
975
+ * A fully-qualified path representing AssistAnswer resource.
976
+ * @returns {string} A string representing the assist_answer.
977
+ */
978
+ matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
979
+ return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
980
+ }
981
+ /**
982
+ * Return a fully-qualified assistant resource name string.
983
+ *
984
+ * @param {string} project
985
+ * @param {string} location
986
+ * @param {string} collection
987
+ * @param {string} engine
988
+ * @param {string} assistant
989
+ * @returns {string} Resource name string.
990
+ */
991
+ assistantPath(project, location, collection, engine, assistant) {
992
+ return this.pathTemplates.assistantPathTemplate.render({
993
+ project: project,
994
+ location: location,
995
+ collection: collection,
996
+ engine: engine,
997
+ assistant: assistant,
998
+ });
999
+ }
1000
+ /**
1001
+ * Parse the project from Assistant resource.
1002
+ *
1003
+ * @param {string} assistantName
1004
+ * A fully-qualified path representing Assistant resource.
1005
+ * @returns {string} A string representing the project.
1006
+ */
1007
+ matchProjectFromAssistantName(assistantName) {
1008
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
1009
+ }
1010
+ /**
1011
+ * Parse the location from Assistant resource.
1012
+ *
1013
+ * @param {string} assistantName
1014
+ * A fully-qualified path representing Assistant resource.
1015
+ * @returns {string} A string representing the location.
1016
+ */
1017
+ matchLocationFromAssistantName(assistantName) {
1018
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
1019
+ }
1020
+ /**
1021
+ * Parse the collection from Assistant resource.
1022
+ *
1023
+ * @param {string} assistantName
1024
+ * A fully-qualified path representing Assistant resource.
1025
+ * @returns {string} A string representing the collection.
1026
+ */
1027
+ matchCollectionFromAssistantName(assistantName) {
1028
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
1029
+ }
1030
+ /**
1031
+ * Parse the engine from Assistant resource.
1032
+ *
1033
+ * @param {string} assistantName
1034
+ * A fully-qualified path representing Assistant resource.
1035
+ * @returns {string} A string representing the engine.
1036
+ */
1037
+ matchEngineFromAssistantName(assistantName) {
1038
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
1039
+ }
1040
+ /**
1041
+ * Parse the assistant from Assistant resource.
1042
+ *
1043
+ * @param {string} assistantName
1044
+ * A fully-qualified path representing Assistant resource.
1045
+ * @returns {string} A string representing the assistant.
1046
+ */
1047
+ matchAssistantFromAssistantName(assistantName) {
1048
+ return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
1049
+ }
898
1050
  /**
899
1051
  * Return a fully-qualified engine resource name string.
900
1052
  *
@@ -1730,154 +1882,154 @@ class SchemaServiceClient {
1730
1882
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1731
1883
  }
1732
1884
  /**
1733
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1885
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1734
1886
  *
1735
1887
  * @param {string} project
1736
1888
  * @param {string} location
1737
1889
  * @param {string} collection
1738
1890
  * @param {string} data_store
1739
1891
  * @param {string} session
1892
+ * @param {string} answer
1740
1893
  * @returns {string} Resource name string.
1741
1894
  */
1742
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1743
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1895
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1896
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1744
1897
  project: project,
1745
1898
  location: location,
1746
1899
  collection: collection,
1747
1900
  data_store: dataStore,
1748
1901
  session: session,
1902
+ answer: answer,
1749
1903
  });
1750
1904
  }
1751
1905
  /**
1752
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1906
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1753
1907
  *
1754
- * @param {string} projectLocationCollectionDataStoreSessionName
1755
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1908
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1909
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1756
1910
  * @returns {string} A string representing the project.
1757
1911
  */
1758
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1759
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1912
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1913
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1760
1914
  }
1761
1915
  /**
1762
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1916
+ * Parse the location 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 location.
1767
1921
  */
1768
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1769
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1922
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1923
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1770
1924
  }
1771
1925
  /**
1772
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1926
+ * Parse the collection 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 collection.
1777
1931
  */
1778
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1779
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1932
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1933
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1780
1934
  }
1781
1935
  /**
1782
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1936
+ * Parse the data_store 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 data_store.
1787
1941
  */
1788
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1789
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1942
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1943
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1790
1944
  }
1791
1945
  /**
1792
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1946
+ * Parse the session 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 session.
1797
1951
  */
1798
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1799
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1952
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1953
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1800
1954
  }
1801
1955
  /**
1802
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1956
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1957
+ *
1958
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1959
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1960
+ * @returns {string} A string representing the answer.
1961
+ */
1962
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1963
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1964
+ }
1965
+ /**
1966
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1803
1967
  *
1804
1968
  * @param {string} project
1805
1969
  * @param {string} location
1806
1970
  * @param {string} collection
1807
1971
  * @param {string} data_store
1808
1972
  * @param {string} session
1809
- * @param {string} answer
1810
1973
  * @returns {string} Resource name string.
1811
1974
  */
1812
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1813
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1975
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1976
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1814
1977
  project: project,
1815
1978
  location: location,
1816
1979
  collection: collection,
1817
1980
  data_store: dataStore,
1818
1981
  session: session,
1819
- answer: answer,
1820
1982
  });
1821
1983
  }
1822
1984
  /**
1823
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1985
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1824
1986
  *
1825
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1826
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1987
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1988
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1827
1989
  * @returns {string} A string representing the project.
1828
1990
  */
1829
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1830
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1991
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1992
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1831
1993
  }
1832
1994
  /**
1833
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1995
+ * Parse the location 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 location.
1838
2000
  */
1839
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1840
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
2001
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2002
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1841
2003
  }
1842
2004
  /**
1843
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
2005
+ * Parse the collection 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 collection.
1848
2010
  */
1849
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1850
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
2011
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2012
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1851
2013
  }
1852
2014
  /**
1853
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
2015
+ * Parse the data_store 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 data_store.
1858
2020
  */
1859
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1860
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
2021
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2022
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1861
2023
  }
1862
2024
  /**
1863
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
2025
+ * Parse the session 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 session.
1868
2030
  */
1869
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1870
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1871
- }
1872
- /**
1873
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1874
- *
1875
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1876
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1877
- * @returns {string} A string representing the answer.
1878
- */
1879
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1880
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
2031
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
2032
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1881
2033
  }
1882
2034
  /**
1883
2035
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -2282,154 +2434,154 @@ class SchemaServiceClient {
2282
2434
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2283
2435
  }
2284
2436
  /**
2285
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
2437
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2286
2438
  *
2287
2439
  * @param {string} project
2288
2440
  * @param {string} location
2289
2441
  * @param {string} collection
2290
2442
  * @param {string} engine
2291
2443
  * @param {string} session
2444
+ * @param {string} answer
2292
2445
  * @returns {string} Resource name string.
2293
2446
  */
2294
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
2295
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
2447
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2448
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2296
2449
  project: project,
2297
2450
  location: location,
2298
2451
  collection: collection,
2299
2452
  engine: engine,
2300
2453
  session: session,
2454
+ answer: answer,
2301
2455
  });
2302
2456
  }
2303
2457
  /**
2304
- * Parse the project from ProjectLocationCollectionEngineSession resource.
2458
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2305
2459
  *
2306
- * @param {string} projectLocationCollectionEngineSessionName
2307
- * A fully-qualified path representing project_location_collection_engine_session resource.
2460
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2461
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2308
2462
  * @returns {string} A string representing the project.
2309
2463
  */
2310
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2311
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
2464
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2465
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2312
2466
  }
2313
2467
  /**
2314
- * Parse the location from ProjectLocationCollectionEngineSession resource.
2468
+ * Parse the location 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 location.
2319
2473
  */
2320
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2321
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
2474
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2475
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2322
2476
  }
2323
2477
  /**
2324
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
2478
+ * Parse the collection 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 collection.
2329
2483
  */
2330
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2331
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
2484
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2485
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2332
2486
  }
2333
2487
  /**
2334
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
2488
+ * Parse the engine 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 engine.
2339
2493
  */
2340
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2341
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
2494
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2495
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2342
2496
  }
2343
2497
  /**
2344
- * Parse the session from ProjectLocationCollectionEngineSession resource.
2498
+ * Parse the session 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 session.
2349
2503
  */
2350
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
2351
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
2504
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2505
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2352
2506
  }
2353
2507
  /**
2354
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
2508
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2509
+ *
2510
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
2511
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2512
+ * @returns {string} A string representing the answer.
2513
+ */
2514
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2515
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2516
+ }
2517
+ /**
2518
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
2355
2519
  *
2356
2520
  * @param {string} project
2357
2521
  * @param {string} location
2358
2522
  * @param {string} collection
2359
2523
  * @param {string} engine
2360
2524
  * @param {string} session
2361
- * @param {string} answer
2362
2525
  * @returns {string} Resource name string.
2363
2526
  */
2364
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
2365
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
2527
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
2528
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
2366
2529
  project: project,
2367
2530
  location: location,
2368
2531
  collection: collection,
2369
2532
  engine: engine,
2370
2533
  session: session,
2371
- answer: answer,
2372
2534
  });
2373
2535
  }
2374
2536
  /**
2375
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
2537
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
2376
2538
  *
2377
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2378
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2539
+ * @param {string} projectLocationCollectionEngineSessionsName
2540
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2379
2541
  * @returns {string} A string representing the project.
2380
2542
  */
2381
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2382
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
2543
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2544
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
2383
2545
  }
2384
2546
  /**
2385
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
2547
+ * Parse the location 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 location.
2390
2552
  */
2391
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2392
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
2553
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2554
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
2393
2555
  }
2394
2556
  /**
2395
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
2557
+ * Parse the collection 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 collection.
2400
2562
  */
2401
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2402
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
2563
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2564
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
2403
2565
  }
2404
2566
  /**
2405
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2567
+ * Parse the engine 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 engine.
2410
2572
  */
2411
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2412
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2573
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2574
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
2413
2575
  }
2414
2576
  /**
2415
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2577
+ * Parse the session 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 session.
2420
2582
  */
2421
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2422
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2423
- }
2424
- /**
2425
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2426
- *
2427
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2428
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2429
- * @returns {string} A string representing the answer.
2430
- */
2431
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2432
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2583
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2584
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2433
2585
  }
2434
2586
  /**
2435
2587
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2956,63 +3108,6 @@ class SchemaServiceClient {
2956
3108
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2957
3109
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2958
3110
  }
2959
- /**
2960
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2961
- *
2962
- * @param {string} project
2963
- * @param {string} location
2964
- * @param {string} data_store
2965
- * @param {string} session
2966
- * @returns {string} Resource name string.
2967
- */
2968
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2969
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2970
- project: project,
2971
- location: location,
2972
- data_store: dataStore,
2973
- session: session,
2974
- });
2975
- }
2976
- /**
2977
- * Parse the project from ProjectLocationDataStoreSession resource.
2978
- *
2979
- * @param {string} projectLocationDataStoreSessionName
2980
- * A fully-qualified path representing project_location_data_store_session resource.
2981
- * @returns {string} A string representing the project.
2982
- */
2983
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2984
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2985
- }
2986
- /**
2987
- * Parse the location 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 location.
2992
- */
2993
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2994
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2995
- }
2996
- /**
2997
- * Parse the data_store 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 data_store.
3002
- */
3003
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3004
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
3005
- }
3006
- /**
3007
- * Parse the session 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 session.
3012
- */
3013
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
3014
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
3015
- }
3016
3111
  /**
3017
3112
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
3018
3113
  *
@@ -3082,6 +3177,63 @@ class SchemaServiceClient {
3082
3177
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
3083
3178
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
3084
3179
  }
3180
+ /**
3181
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
3182
+ *
3183
+ * @param {string} project
3184
+ * @param {string} location
3185
+ * @param {string} data_store
3186
+ * @param {string} session
3187
+ * @returns {string} Resource name string.
3188
+ */
3189
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
3190
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
3191
+ project: project,
3192
+ location: location,
3193
+ data_store: dataStore,
3194
+ session: session,
3195
+ });
3196
+ }
3197
+ /**
3198
+ * Parse the project from ProjectLocationDataStoreSessions resource.
3199
+ *
3200
+ * @param {string} projectLocationDataStoreSessionsName
3201
+ * A fully-qualified path representing project_location_data_store_sessions resource.
3202
+ * @returns {string} A string representing the project.
3203
+ */
3204
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3205
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
3206
+ }
3207
+ /**
3208
+ * Parse the location 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 location.
3213
+ */
3214
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3215
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
3216
+ }
3217
+ /**
3218
+ * Parse the data_store 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 data_store.
3223
+ */
3224
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3225
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
3226
+ }
3227
+ /**
3228
+ * Parse the session 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 session.
3233
+ */
3234
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
3235
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
3236
+ }
3085
3237
  /**
3086
3238
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
3087
3239
  *