@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
@@ -177,15 +177,15 @@ class ServingConfigServiceClient {
177
177
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
178
178
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
179
179
  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
180
  projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
181
+ projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
182
182
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
183
183
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
184
184
  projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
185
185
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
186
186
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
187
- projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
188
187
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
188
+ projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
189
189
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
190
190
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
191
191
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -195,8 +195,8 @@ class ServingConfigServiceClient {
195
195
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
196
196
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
197
197
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
198
- projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
199
198
  projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
199
+ projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
200
200
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
201
201
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
202
202
  sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
@@ -1384,154 +1384,154 @@ class ServingConfigServiceClient {
1384
1384
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1385
1385
  }
1386
1386
  /**
1387
- * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1387
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1388
1388
  *
1389
1389
  * @param {string} project
1390
1390
  * @param {string} location
1391
1391
  * @param {string} collection
1392
1392
  * @param {string} data_store
1393
1393
  * @param {string} session
1394
+ * @param {string} answer
1394
1395
  * @returns {string} Resource name string.
1395
1396
  */
1396
- projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1397
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1397
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1398
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1398
1399
  project: project,
1399
1400
  location: location,
1400
1401
  collection: collection,
1401
1402
  data_store: dataStore,
1402
1403
  session: session,
1404
+ answer: answer,
1403
1405
  });
1404
1406
  }
1405
1407
  /**
1406
- * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1408
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1407
1409
  *
1408
- * @param {string} projectLocationCollectionDataStoreSessionName
1409
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1410
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1411
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1410
1412
  * @returns {string} A string representing the project.
1411
1413
  */
1412
- matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1413
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1414
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1415
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1414
1416
  }
1415
1417
  /**
1416
- * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1418
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1417
1419
  *
1418
- * @param {string} projectLocationCollectionDataStoreSessionName
1419
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1420
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1421
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1420
1422
  * @returns {string} A string representing the location.
1421
1423
  */
1422
- matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1423
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1424
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1425
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1424
1426
  }
1425
1427
  /**
1426
- * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1428
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1427
1429
  *
1428
- * @param {string} projectLocationCollectionDataStoreSessionName
1429
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1430
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1431
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1430
1432
  * @returns {string} A string representing the collection.
1431
1433
  */
1432
- matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1433
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1434
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1435
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1434
1436
  }
1435
1437
  /**
1436
- * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1438
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1437
1439
  *
1438
- * @param {string} projectLocationCollectionDataStoreSessionName
1439
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1440
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1441
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1440
1442
  * @returns {string} A string representing the data_store.
1441
1443
  */
1442
- matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1443
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1444
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1445
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1444
1446
  }
1445
1447
  /**
1446
- * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1448
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1447
1449
  *
1448
- * @param {string} projectLocationCollectionDataStoreSessionName
1449
- * A fully-qualified path representing project_location_collection_data_store_session resource.
1450
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1451
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1450
1452
  * @returns {string} A string representing the session.
1451
1453
  */
1452
- matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1453
- return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1454
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1455
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1454
1456
  }
1455
1457
  /**
1456
- * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1458
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1459
+ *
1460
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1461
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1462
+ * @returns {string} A string representing the answer.
1463
+ */
1464
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1465
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1466
+ }
1467
+ /**
1468
+ * Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
1457
1469
  *
1458
1470
  * @param {string} project
1459
1471
  * @param {string} location
1460
1472
  * @param {string} collection
1461
1473
  * @param {string} data_store
1462
1474
  * @param {string} session
1463
- * @param {string} answer
1464
1475
  * @returns {string} Resource name string.
1465
1476
  */
1466
- projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1467
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1477
+ projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
1478
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
1468
1479
  project: project,
1469
1480
  location: location,
1470
1481
  collection: collection,
1471
1482
  data_store: dataStore,
1472
1483
  session: session,
1473
- answer: answer,
1474
1484
  });
1475
1485
  }
1476
1486
  /**
1477
- * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1487
+ * Parse the project from ProjectLocationCollectionDataStoreSessions resource.
1478
1488
  *
1479
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1480
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1489
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1490
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1481
1491
  * @returns {string} A string representing the project.
1482
1492
  */
1483
- matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1484
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1493
+ matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1494
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
1485
1495
  }
1486
1496
  /**
1487
- * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1497
+ * Parse the location from ProjectLocationCollectionDataStoreSessions resource.
1488
1498
  *
1489
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1490
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1499
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1500
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1491
1501
  * @returns {string} A string representing the location.
1492
1502
  */
1493
- matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1494
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1503
+ matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1504
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
1495
1505
  }
1496
1506
  /**
1497
- * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1507
+ * Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
1498
1508
  *
1499
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1500
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1509
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1510
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1501
1511
  * @returns {string} A string representing the collection.
1502
1512
  */
1503
- matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1504
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1513
+ matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1514
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
1505
1515
  }
1506
1516
  /**
1507
- * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1517
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
1508
1518
  *
1509
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1510
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1519
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1520
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1511
1521
  * @returns {string} A string representing the data_store.
1512
1522
  */
1513
- matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1514
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1523
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1524
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
1515
1525
  }
1516
1526
  /**
1517
- * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1527
+ * Parse the session from ProjectLocationCollectionDataStoreSessions resource.
1518
1528
  *
1519
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1520
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1529
+ * @param {string} projectLocationCollectionDataStoreSessionsName
1530
+ * A fully-qualified path representing project_location_collection_data_store_sessions resource.
1521
1531
  * @returns {string} A string representing the session.
1522
1532
  */
1523
- matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1524
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1525
- }
1526
- /**
1527
- * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1528
- *
1529
- * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1530
- * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1531
- * @returns {string} A string representing the answer.
1532
- */
1533
- matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1534
- return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1533
+ matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
1534
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
1535
1535
  }
1536
1536
  /**
1537
1537
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
@@ -1867,154 +1867,154 @@ class ServingConfigServiceClient {
1867
1867
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1868
1868
  }
1869
1869
  /**
1870
- * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1870
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1871
1871
  *
1872
1872
  * @param {string} project
1873
1873
  * @param {string} location
1874
1874
  * @param {string} collection
1875
1875
  * @param {string} engine
1876
1876
  * @param {string} session
1877
+ * @param {string} answer
1877
1878
  * @returns {string} Resource name string.
1878
1879
  */
1879
- projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1880
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1880
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1881
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1881
1882
  project: project,
1882
1883
  location: location,
1883
1884
  collection: collection,
1884
1885
  engine: engine,
1885
1886
  session: session,
1887
+ answer: answer,
1886
1888
  });
1887
1889
  }
1888
1890
  /**
1889
- * Parse the project from ProjectLocationCollectionEngineSession resource.
1891
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1890
1892
  *
1891
- * @param {string} projectLocationCollectionEngineSessionName
1892
- * A fully-qualified path representing project_location_collection_engine_session resource.
1893
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1894
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1893
1895
  * @returns {string} A string representing the project.
1894
1896
  */
1895
- matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1896
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1897
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1898
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1897
1899
  }
1898
1900
  /**
1899
- * Parse the location from ProjectLocationCollectionEngineSession resource.
1901
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1900
1902
  *
1901
- * @param {string} projectLocationCollectionEngineSessionName
1902
- * A fully-qualified path representing project_location_collection_engine_session resource.
1903
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1904
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1903
1905
  * @returns {string} A string representing the location.
1904
1906
  */
1905
- matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1906
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1907
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1908
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1907
1909
  }
1908
1910
  /**
1909
- * Parse the collection from ProjectLocationCollectionEngineSession resource.
1911
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1910
1912
  *
1911
- * @param {string} projectLocationCollectionEngineSessionName
1912
- * A fully-qualified path representing project_location_collection_engine_session resource.
1913
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1914
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1913
1915
  * @returns {string} A string representing the collection.
1914
1916
  */
1915
- matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1916
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1917
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1918
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1917
1919
  }
1918
1920
  /**
1919
- * Parse the engine from ProjectLocationCollectionEngineSession resource.
1921
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1920
1922
  *
1921
- * @param {string} projectLocationCollectionEngineSessionName
1922
- * A fully-qualified path representing project_location_collection_engine_session resource.
1923
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1924
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1923
1925
  * @returns {string} A string representing the engine.
1924
1926
  */
1925
- matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1926
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1927
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1928
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1927
1929
  }
1928
1930
  /**
1929
- * Parse the session from ProjectLocationCollectionEngineSession resource.
1931
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1930
1932
  *
1931
- * @param {string} projectLocationCollectionEngineSessionName
1932
- * A fully-qualified path representing project_location_collection_engine_session resource.
1933
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1934
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1933
1935
  * @returns {string} A string representing the session.
1934
1936
  */
1935
- matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1936
- return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1937
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1938
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1937
1939
  }
1938
1940
  /**
1939
- * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1941
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1942
+ *
1943
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1944
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1945
+ * @returns {string} A string representing the answer.
1946
+ */
1947
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1948
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1949
+ }
1950
+ /**
1951
+ * Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
1940
1952
  *
1941
1953
  * @param {string} project
1942
1954
  * @param {string} location
1943
1955
  * @param {string} collection
1944
1956
  * @param {string} engine
1945
1957
  * @param {string} session
1946
- * @param {string} answer
1947
1958
  * @returns {string} Resource name string.
1948
1959
  */
1949
- projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1950
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1960
+ projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
1961
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
1951
1962
  project: project,
1952
1963
  location: location,
1953
1964
  collection: collection,
1954
1965
  engine: engine,
1955
1966
  session: session,
1956
- answer: answer,
1957
1967
  });
1958
1968
  }
1959
1969
  /**
1960
- * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1970
+ * Parse the project from ProjectLocationCollectionEngineSessions resource.
1961
1971
  *
1962
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1963
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1972
+ * @param {string} projectLocationCollectionEngineSessionsName
1973
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1964
1974
  * @returns {string} A string representing the project.
1965
1975
  */
1966
- matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1967
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1976
+ matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1977
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
1968
1978
  }
1969
1979
  /**
1970
- * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1980
+ * Parse the location from ProjectLocationCollectionEngineSessions resource.
1971
1981
  *
1972
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1973
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1982
+ * @param {string} projectLocationCollectionEngineSessionsName
1983
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1974
1984
  * @returns {string} A string representing the location.
1975
1985
  */
1976
- matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1977
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1986
+ matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1987
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
1978
1988
  }
1979
1989
  /**
1980
- * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1990
+ * Parse the collection from ProjectLocationCollectionEngineSessions resource.
1981
1991
  *
1982
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1983
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1992
+ * @param {string} projectLocationCollectionEngineSessionsName
1993
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1984
1994
  * @returns {string} A string representing the collection.
1985
1995
  */
1986
- matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1987
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1996
+ matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
1997
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
1988
1998
  }
1989
1999
  /**
1990
- * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
2000
+ * Parse the engine from ProjectLocationCollectionEngineSessions resource.
1991
2001
  *
1992
- * @param {string} projectLocationCollectionEngineSessionAnswerName
1993
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2002
+ * @param {string} projectLocationCollectionEngineSessionsName
2003
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
1994
2004
  * @returns {string} A string representing the engine.
1995
2005
  */
1996
- matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1997
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
2006
+ matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2007
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
1998
2008
  }
1999
2009
  /**
2000
- * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
2010
+ * Parse the session from ProjectLocationCollectionEngineSessions resource.
2001
2011
  *
2002
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2003
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2012
+ * @param {string} projectLocationCollectionEngineSessionsName
2013
+ * A fully-qualified path representing project_location_collection_engine_sessions resource.
2004
2014
  * @returns {string} A string representing the session.
2005
2015
  */
2006
- matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2007
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
2008
- }
2009
- /**
2010
- * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
2011
- *
2012
- * @param {string} projectLocationCollectionEngineSessionAnswerName
2013
- * A fully-qualified path representing project_location_collection_engine_session_answer resource.
2014
- * @returns {string} A string representing the answer.
2015
- */
2016
- matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
2017
- return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
2016
+ matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
2017
+ return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
2018
2018
  }
2019
2019
  /**
2020
2020
  * Return a fully-qualified projectLocationDataStore resource name string.
@@ -2541,63 +2541,6 @@ class ServingConfigServiceClient {
2541
2541
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2542
2542
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2543
2543
  }
2544
- /**
2545
- * Return a fully-qualified projectLocationDataStoreSession resource name string.
2546
- *
2547
- * @param {string} project
2548
- * @param {string} location
2549
- * @param {string} data_store
2550
- * @param {string} session
2551
- * @returns {string} Resource name string.
2552
- */
2553
- projectLocationDataStoreSessionPath(project, location, dataStore, session) {
2554
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
2555
- project: project,
2556
- location: location,
2557
- data_store: dataStore,
2558
- session: session,
2559
- });
2560
- }
2561
- /**
2562
- * Parse the project from ProjectLocationDataStoreSession resource.
2563
- *
2564
- * @param {string} projectLocationDataStoreSessionName
2565
- * A fully-qualified path representing project_location_data_store_session resource.
2566
- * @returns {string} A string representing the project.
2567
- */
2568
- matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2569
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2570
- }
2571
- /**
2572
- * Parse the location from ProjectLocationDataStoreSession resource.
2573
- *
2574
- * @param {string} projectLocationDataStoreSessionName
2575
- * A fully-qualified path representing project_location_data_store_session resource.
2576
- * @returns {string} A string representing the location.
2577
- */
2578
- matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2579
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2580
- }
2581
- /**
2582
- * Parse the data_store from ProjectLocationDataStoreSession resource.
2583
- *
2584
- * @param {string} projectLocationDataStoreSessionName
2585
- * A fully-qualified path representing project_location_data_store_session resource.
2586
- * @returns {string} A string representing the data_store.
2587
- */
2588
- matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2589
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2590
- }
2591
- /**
2592
- * Parse the session from ProjectLocationDataStoreSession resource.
2593
- *
2594
- * @param {string} projectLocationDataStoreSessionName
2595
- * A fully-qualified path representing project_location_data_store_session resource.
2596
- * @returns {string} A string representing the session.
2597
- */
2598
- matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2599
- return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2600
- }
2601
2544
  /**
2602
2545
  * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2603
2546
  *
@@ -2667,6 +2610,63 @@ class ServingConfigServiceClient {
2667
2610
  matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2668
2611
  return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2669
2612
  }
2613
+ /**
2614
+ * Return a fully-qualified projectLocationDataStoreSessions resource name string.
2615
+ *
2616
+ * @param {string} project
2617
+ * @param {string} location
2618
+ * @param {string} data_store
2619
+ * @param {string} session
2620
+ * @returns {string} Resource name string.
2621
+ */
2622
+ projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
2623
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
2624
+ project: project,
2625
+ location: location,
2626
+ data_store: dataStore,
2627
+ session: session,
2628
+ });
2629
+ }
2630
+ /**
2631
+ * Parse the project from ProjectLocationDataStoreSessions resource.
2632
+ *
2633
+ * @param {string} projectLocationDataStoreSessionsName
2634
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2635
+ * @returns {string} A string representing the project.
2636
+ */
2637
+ matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2638
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
2639
+ }
2640
+ /**
2641
+ * Parse the location from ProjectLocationDataStoreSessions resource.
2642
+ *
2643
+ * @param {string} projectLocationDataStoreSessionsName
2644
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2645
+ * @returns {string} A string representing the location.
2646
+ */
2647
+ matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2648
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
2649
+ }
2650
+ /**
2651
+ * Parse the data_store from ProjectLocationDataStoreSessions resource.
2652
+ *
2653
+ * @param {string} projectLocationDataStoreSessionsName
2654
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2655
+ * @returns {string} A string representing the data_store.
2656
+ */
2657
+ matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2658
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
2659
+ }
2660
+ /**
2661
+ * Parse the session from ProjectLocationDataStoreSessions resource.
2662
+ *
2663
+ * @param {string} projectLocationDataStoreSessionsName
2664
+ * A fully-qualified path representing project_location_data_store_sessions resource.
2665
+ * @returns {string} A string representing the session.
2666
+ */
2667
+ matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
2668
+ return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
2669
+ }
2670
2670
  /**
2671
2671
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
2672
2672
  *
@@ -41,6 +41,7 @@
41
41
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
42
42
  "../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
43
43
  "../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
44
+ "../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
44
45
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
45
46
  "../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
46
47
  "../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",