@google-cloud/discoveryengine 1.6.0 → 1.8.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 (185) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +24 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +14 -2
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +1 -1
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +1 -1
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +6 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +18 -1
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +10 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +7 -1
  12. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +3 -3
  13. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +1 -1
  14. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +285 -23
  15. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +4 -1
  16. package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/schema.proto +1 -1
  18. package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +1 -1
  19. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +126 -22
  20. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +1 -1
  21. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +1 -1
  22. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +17 -12
  23. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +1 -1
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +1 -1
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +1 -1
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +42 -2
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +1 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +22 -2
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +1 -1
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +1 -1
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +1 -1
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +575 -1
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +1 -1
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +1 -1
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +20 -1
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +4 -7
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +65 -1
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +3 -3
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +1 -1
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +284 -25
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
  46. package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
  47. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +1 -1
  48. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +1 -1
  49. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +1 -1
  50. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +22 -1
  51. package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +1 -1
  52. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +159 -25
  53. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +10 -4
  54. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +1 -1
  55. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +3 -2
  56. package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
  57. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +1 -1
  58. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +1 -1
  59. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +2 -2
  60. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +1 -1
  61. package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
  62. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +31 -2
  63. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +1 -1
  64. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +1 -1
  65. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +1 -1
  66. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +560 -1
  67. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +1 -1
  68. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +1 -1
  69. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +1 -1
  70. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +4 -7
  71. package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -1
  72. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +3 -3
  73. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +94 -1
  74. package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
  75. package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
  76. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +284 -25
  77. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +1 -1
  78. package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
  79. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +1 -1
  80. package/build/protos/google/cloud/discoveryengine/v1beta/schema.proto +1 -1
  81. package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +1 -1
  82. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +143 -23
  83. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +8 -2
  84. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +1 -1
  85. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +1 -1
  86. package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
  87. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +1 -1
  88. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +1 -1
  89. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +2 -2
  90. package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +1 -1
  91. package/build/protos/protos.d.ts +44799 -26093
  92. package/build/protos/protos.js +120465 -74222
  93. package/build/protos/protos.json +8911 -4556
  94. package/build/src/index.d.ts +4 -1
  95. package/build/src/index.js +4 -1
  96. package/build/src/v1/conversational_search_service_client.d.ts +4 -0
  97. package/build/src/v1/document_service_client.d.ts +47 -19
  98. package/build/src/v1/index.d.ts +1 -0
  99. package/build/src/v1/index.js +3 -1
  100. package/build/src/v1/recommendation_service_client.d.ts +1087 -0
  101. package/build/src/v1/recommendation_service_client.js +1432 -0
  102. package/build/src/v1/recommendation_service_client_config.json +43 -0
  103. package/build/src/v1/search_service_client.d.ts +27 -9
  104. package/build/src/v1/search_service_client.js +18 -6
  105. package/build/src/v1/search_service_client_config.json +5 -5
  106. package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
  107. package/build/src/v1alpha/acl_config_service_client.js +454 -0
  108. package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
  109. package/build/src/v1alpha/chunk_service_client.js +454 -0
  110. package/build/src/v1alpha/completion_service_client.d.ts +330 -0
  111. package/build/src/v1alpha/completion_service_client.js +457 -0
  112. package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
  113. package/build/src/v1alpha/conversational_search_service_client.js +724 -0
  114. package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
  115. package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
  116. package/build/src/v1alpha/data_store_service_client.js +457 -0
  117. package/build/src/v1alpha/document_service_client.d.ts +410 -21
  118. package/build/src/v1alpha/document_service_client.js +479 -0
  119. package/build/src/v1alpha/document_service_client_config.json +5 -0
  120. package/build/src/v1alpha/engine_service_client.d.ts +330 -0
  121. package/build/src/v1alpha/engine_service_client.js +457 -0
  122. package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
  123. package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
  124. package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
  125. package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
  126. package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
  127. package/build/src/v1alpha/index.d.ts +3 -1
  128. package/build/src/v1alpha/index.js +7 -3
  129. package/build/src/v1alpha/project_service_client.d.ts +1756 -0
  130. package/build/src/v1alpha/project_service_client.js +2500 -0
  131. package/build/src/v1alpha/project_service_client_config.json +38 -0
  132. package/build/src/v1alpha/rank_service_client.d.ts +330 -0
  133. package/build/src/v1alpha/rank_service_client.js +454 -0
  134. package/build/src/v1alpha/rank_service_client_config.json +15 -2
  135. package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
  136. package/build/src/v1alpha/recommendation_service_client.js +454 -0
  137. package/build/src/v1alpha/schema_service_client.d.ts +330 -0
  138. package/build/src/v1alpha/schema_service_client.js +457 -0
  139. package/build/src/v1alpha/search_service_client.d.ts +360 -15
  140. package/build/src/v1alpha/search_service_client.js +474 -10
  141. package/build/src/v1alpha/search_service_client_config.json +5 -5
  142. package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
  143. package/build/src/v1alpha/search_tuning_service_client.js +457 -0
  144. package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
  145. package/build/src/v1alpha/serving_config_service_client.js +434 -1
  146. package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
  147. package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
  148. package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
  149. package/build/src/v1alpha/user_event_service_client.js +457 -0
  150. package/build/src/v1beta/completion_service_client.d.ts +315 -0
  151. package/build/src/v1beta/completion_service_client.js +432 -0
  152. package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
  153. package/build/src/v1beta/conversational_search_service_client.js +702 -0
  154. package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
  155. package/build/src/v1beta/data_store_service_client.d.ts +315 -0
  156. package/build/src/v1beta/data_store_service_client.js +432 -0
  157. package/build/src/v1beta/document_service_client.d.ts +361 -21
  158. package/build/src/v1beta/document_service_client.js +432 -0
  159. package/build/src/v1beta/engine_service_client.d.ts +410 -0
  160. package/build/src/v1beta/engine_service_client.js +518 -0
  161. package/build/src/v1beta/engine_service_client_config.json +12 -0
  162. package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
  163. package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
  164. package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
  165. package/build/src/v1beta/index.d.ts +2 -0
  166. package/build/src/v1beta/index.js +5 -1
  167. package/build/src/v1beta/rank_service_client.d.ts +1416 -0
  168. package/build/src/v1beta/rank_service_client.js +2015 -0
  169. package/build/src/v1beta/rank_service_client_config.json +43 -0
  170. package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
  171. package/build/src/v1beta/recommendation_service_client.js +432 -0
  172. package/build/src/v1beta/schema_service_client.d.ts +315 -0
  173. package/build/src/v1beta/schema_service_client.js +432 -0
  174. package/build/src/v1beta/search_service_client.d.ts +342 -12
  175. package/build/src/v1beta/search_service_client.js +450 -8
  176. package/build/src/v1beta/search_service_client_config.json +5 -5
  177. package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
  178. package/build/src/v1beta/search_tuning_service_client.js +432 -0
  179. package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
  180. package/build/src/v1beta/serving_config_service_client.js +432 -0
  181. package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
  182. package/build/src/v1beta/site_search_engine_service_client.js +432 -0
  183. package/build/src/v1beta/user_event_service_client.d.ts +315 -0
  184. package/build/src/v1beta/user_event_service_client.js +432 -0
  185. package/package.json +1 -1
@@ -151,6 +151,7 @@ class AclConfigServiceClient {
151
151
  this.pathTemplates = {
152
152
  aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
153
153
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
154
+ projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
156
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
157
  projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -158,10 +159,14 @@ class AclConfigServiceClient {
158
159
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
159
160
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
160
161
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
162
+ projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
163
+ projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
161
164
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
162
165
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
166
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
164
167
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
168
+ projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
169
+ projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
165
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
166
171
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
167
172
  projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
@@ -169,6 +174,8 @@ class AclConfigServiceClient {
169
174
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
170
175
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
171
176
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
177
+ projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
178
+ projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
172
179
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
173
180
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
174
181
  };
@@ -475,6 +482,27 @@ class AclConfigServiceClient {
475
482
  matchEngineFromEngineName(engineName) {
476
483
  return this.pathTemplates.enginePathTemplate.match(engineName).engine;
477
484
  }
485
+ /**
486
+ * Return a fully-qualified project resource name string.
487
+ *
488
+ * @param {string} project
489
+ * @returns {string} Resource name string.
490
+ */
491
+ projectPath(project) {
492
+ return this.pathTemplates.projectPathTemplate.render({
493
+ project: project,
494
+ });
495
+ }
496
+ /**
497
+ * Parse the project from Project resource.
498
+ *
499
+ * @param {string} projectName
500
+ * A fully-qualified path representing Project resource.
501
+ * @returns {string} A string representing the project.
502
+ */
503
+ matchProjectFromProjectName(projectName) {
504
+ return this.pathTemplates.projectPathTemplate.match(projectName).project;
505
+ }
478
506
  /**
479
507
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
480
508
  *
@@ -970,6 +998,156 @@ class AclConfigServiceClient {
970
998
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
971
999
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
972
1000
  }
1001
+ /**
1002
+ * Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
1003
+ *
1004
+ * @param {string} project
1005
+ * @param {string} location
1006
+ * @param {string} collection
1007
+ * @param {string} data_store
1008
+ * @param {string} session
1009
+ * @returns {string} Resource name string.
1010
+ */
1011
+ projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
1012
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
1013
+ project: project,
1014
+ location: location,
1015
+ collection: collection,
1016
+ data_store: dataStore,
1017
+ session: session,
1018
+ });
1019
+ }
1020
+ /**
1021
+ * Parse the project from ProjectLocationCollectionDataStoreSession resource.
1022
+ *
1023
+ * @param {string} projectLocationCollectionDataStoreSessionName
1024
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1025
+ * @returns {string} A string representing the project.
1026
+ */
1027
+ matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1028
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
1029
+ }
1030
+ /**
1031
+ * Parse the location from ProjectLocationCollectionDataStoreSession resource.
1032
+ *
1033
+ * @param {string} projectLocationCollectionDataStoreSessionName
1034
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1035
+ * @returns {string} A string representing the location.
1036
+ */
1037
+ matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1038
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
1039
+ }
1040
+ /**
1041
+ * Parse the collection from ProjectLocationCollectionDataStoreSession resource.
1042
+ *
1043
+ * @param {string} projectLocationCollectionDataStoreSessionName
1044
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1045
+ * @returns {string} A string representing the collection.
1046
+ */
1047
+ matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1048
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
1049
+ }
1050
+ /**
1051
+ * Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
1052
+ *
1053
+ * @param {string} projectLocationCollectionDataStoreSessionName
1054
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1055
+ * @returns {string} A string representing the data_store.
1056
+ */
1057
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1058
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
1059
+ }
1060
+ /**
1061
+ * Parse the session from ProjectLocationCollectionDataStoreSession resource.
1062
+ *
1063
+ * @param {string} projectLocationCollectionDataStoreSessionName
1064
+ * A fully-qualified path representing project_location_collection_data_store_session resource.
1065
+ * @returns {string} A string representing the session.
1066
+ */
1067
+ matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
1068
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
1069
+ }
1070
+ /**
1071
+ * Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
1072
+ *
1073
+ * @param {string} project
1074
+ * @param {string} location
1075
+ * @param {string} collection
1076
+ * @param {string} data_store
1077
+ * @param {string} session
1078
+ * @param {string} answer
1079
+ * @returns {string} Resource name string.
1080
+ */
1081
+ projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
1082
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
1083
+ project: project,
1084
+ location: location,
1085
+ collection: collection,
1086
+ data_store: dataStore,
1087
+ session: session,
1088
+ answer: answer,
1089
+ });
1090
+ }
1091
+ /**
1092
+ * Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
1093
+ *
1094
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1095
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1096
+ * @returns {string} A string representing the project.
1097
+ */
1098
+ matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1099
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
1100
+ }
1101
+ /**
1102
+ * Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
1103
+ *
1104
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1105
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1106
+ * @returns {string} A string representing the location.
1107
+ */
1108
+ matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1109
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
1110
+ }
1111
+ /**
1112
+ * Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
1113
+ *
1114
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1115
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1116
+ * @returns {string} A string representing the collection.
1117
+ */
1118
+ matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1119
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
1120
+ }
1121
+ /**
1122
+ * Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
1123
+ *
1124
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1125
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1126
+ * @returns {string} A string representing the data_store.
1127
+ */
1128
+ matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1129
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
1130
+ }
1131
+ /**
1132
+ * Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
1133
+ *
1134
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1135
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1136
+ * @returns {string} A string representing the session.
1137
+ */
1138
+ matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1139
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
1140
+ }
1141
+ /**
1142
+ * Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
1143
+ *
1144
+ * @param {string} projectLocationCollectionDataStoreSessionAnswerName
1145
+ * A fully-qualified path representing project_location_collection_data_store_session_answer resource.
1146
+ * @returns {string} A string representing the answer.
1147
+ */
1148
+ matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
1149
+ return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
1150
+ }
973
1151
  /**
974
1152
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
975
1153
  *
@@ -1234,6 +1412,156 @@ class AclConfigServiceClient {
1234
1412
  matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1235
1413
  return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1236
1414
  }
1415
+ /**
1416
+ * Return a fully-qualified projectLocationCollectionEngineSession resource name string.
1417
+ *
1418
+ * @param {string} project
1419
+ * @param {string} location
1420
+ * @param {string} collection
1421
+ * @param {string} engine
1422
+ * @param {string} session
1423
+ * @returns {string} Resource name string.
1424
+ */
1425
+ projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
1426
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
1427
+ project: project,
1428
+ location: location,
1429
+ collection: collection,
1430
+ engine: engine,
1431
+ session: session,
1432
+ });
1433
+ }
1434
+ /**
1435
+ * Parse the project from ProjectLocationCollectionEngineSession resource.
1436
+ *
1437
+ * @param {string} projectLocationCollectionEngineSessionName
1438
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1439
+ * @returns {string} A string representing the project.
1440
+ */
1441
+ matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1442
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
1443
+ }
1444
+ /**
1445
+ * Parse the location from ProjectLocationCollectionEngineSession resource.
1446
+ *
1447
+ * @param {string} projectLocationCollectionEngineSessionName
1448
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1449
+ * @returns {string} A string representing the location.
1450
+ */
1451
+ matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1452
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
1453
+ }
1454
+ /**
1455
+ * Parse the collection from ProjectLocationCollectionEngineSession resource.
1456
+ *
1457
+ * @param {string} projectLocationCollectionEngineSessionName
1458
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1459
+ * @returns {string} A string representing the collection.
1460
+ */
1461
+ matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1462
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
1463
+ }
1464
+ /**
1465
+ * Parse the engine from ProjectLocationCollectionEngineSession resource.
1466
+ *
1467
+ * @param {string} projectLocationCollectionEngineSessionName
1468
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1469
+ * @returns {string} A string representing the engine.
1470
+ */
1471
+ matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1472
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
1473
+ }
1474
+ /**
1475
+ * Parse the session from ProjectLocationCollectionEngineSession resource.
1476
+ *
1477
+ * @param {string} projectLocationCollectionEngineSessionName
1478
+ * A fully-qualified path representing project_location_collection_engine_session resource.
1479
+ * @returns {string} A string representing the session.
1480
+ */
1481
+ matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
1482
+ return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
1483
+ }
1484
+ /**
1485
+ * Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
1486
+ *
1487
+ * @param {string} project
1488
+ * @param {string} location
1489
+ * @param {string} collection
1490
+ * @param {string} engine
1491
+ * @param {string} session
1492
+ * @param {string} answer
1493
+ * @returns {string} Resource name string.
1494
+ */
1495
+ projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
1496
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
1497
+ project: project,
1498
+ location: location,
1499
+ collection: collection,
1500
+ engine: engine,
1501
+ session: session,
1502
+ answer: answer,
1503
+ });
1504
+ }
1505
+ /**
1506
+ * Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
1507
+ *
1508
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1509
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1510
+ * @returns {string} A string representing the project.
1511
+ */
1512
+ matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1513
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
1514
+ }
1515
+ /**
1516
+ * Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
1517
+ *
1518
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1519
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1520
+ * @returns {string} A string representing the location.
1521
+ */
1522
+ matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1523
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
1524
+ }
1525
+ /**
1526
+ * Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
1527
+ *
1528
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1529
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1530
+ * @returns {string} A string representing the collection.
1531
+ */
1532
+ matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1533
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
1534
+ }
1535
+ /**
1536
+ * Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
1537
+ *
1538
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1539
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1540
+ * @returns {string} A string representing the engine.
1541
+ */
1542
+ matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1543
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
1544
+ }
1545
+ /**
1546
+ * Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
1547
+ *
1548
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1549
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1550
+ * @returns {string} A string representing the session.
1551
+ */
1552
+ matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1553
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
1554
+ }
1555
+ /**
1556
+ * Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
1557
+ *
1558
+ * @param {string} projectLocationCollectionEngineSessionAnswerName
1559
+ * A fully-qualified path representing project_location_collection_engine_session_answer resource.
1560
+ * @returns {string} A string representing the answer.
1561
+ */
1562
+ matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
1563
+ return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
1564
+ }
1237
1565
  /**
1238
1566
  * Return a fully-qualified projectLocationDataStore resource name string.
1239
1567
  *
@@ -1645,6 +1973,132 @@ class AclConfigServiceClient {
1645
1973
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1646
1974
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1647
1975
  }
1976
+ /**
1977
+ * Return a fully-qualified projectLocationDataStoreSession resource name string.
1978
+ *
1979
+ * @param {string} project
1980
+ * @param {string} location
1981
+ * @param {string} data_store
1982
+ * @param {string} session
1983
+ * @returns {string} Resource name string.
1984
+ */
1985
+ projectLocationDataStoreSessionPath(project, location, dataStore, session) {
1986
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
1987
+ project: project,
1988
+ location: location,
1989
+ data_store: dataStore,
1990
+ session: session,
1991
+ });
1992
+ }
1993
+ /**
1994
+ * Parse the project from ProjectLocationDataStoreSession resource.
1995
+ *
1996
+ * @param {string} projectLocationDataStoreSessionName
1997
+ * A fully-qualified path representing project_location_data_store_session resource.
1998
+ * @returns {string} A string representing the project.
1999
+ */
2000
+ matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2001
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
2002
+ }
2003
+ /**
2004
+ * Parse the location from ProjectLocationDataStoreSession resource.
2005
+ *
2006
+ * @param {string} projectLocationDataStoreSessionName
2007
+ * A fully-qualified path representing project_location_data_store_session resource.
2008
+ * @returns {string} A string representing the location.
2009
+ */
2010
+ matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2011
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
2012
+ }
2013
+ /**
2014
+ * Parse the data_store from ProjectLocationDataStoreSession resource.
2015
+ *
2016
+ * @param {string} projectLocationDataStoreSessionName
2017
+ * A fully-qualified path representing project_location_data_store_session resource.
2018
+ * @returns {string} A string representing the data_store.
2019
+ */
2020
+ matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2021
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
2022
+ }
2023
+ /**
2024
+ * Parse the session from ProjectLocationDataStoreSession resource.
2025
+ *
2026
+ * @param {string} projectLocationDataStoreSessionName
2027
+ * A fully-qualified path representing project_location_data_store_session resource.
2028
+ * @returns {string} A string representing the session.
2029
+ */
2030
+ matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
2031
+ return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
2032
+ }
2033
+ /**
2034
+ * Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
2035
+ *
2036
+ * @param {string} project
2037
+ * @param {string} location
2038
+ * @param {string} data_store
2039
+ * @param {string} session
2040
+ * @param {string} answer
2041
+ * @returns {string} Resource name string.
2042
+ */
2043
+ projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
2044
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
2045
+ project: project,
2046
+ location: location,
2047
+ data_store: dataStore,
2048
+ session: session,
2049
+ answer: answer,
2050
+ });
2051
+ }
2052
+ /**
2053
+ * Parse the project from ProjectLocationDataStoreSessionAnswer resource.
2054
+ *
2055
+ * @param {string} projectLocationDataStoreSessionAnswerName
2056
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2057
+ * @returns {string} A string representing the project.
2058
+ */
2059
+ matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2060
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
2061
+ }
2062
+ /**
2063
+ * Parse the location from ProjectLocationDataStoreSessionAnswer resource.
2064
+ *
2065
+ * @param {string} projectLocationDataStoreSessionAnswerName
2066
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2067
+ * @returns {string} A string representing the location.
2068
+ */
2069
+ matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2070
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
2071
+ }
2072
+ /**
2073
+ * Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
2074
+ *
2075
+ * @param {string} projectLocationDataStoreSessionAnswerName
2076
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2077
+ * @returns {string} A string representing the data_store.
2078
+ */
2079
+ matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2080
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
2081
+ }
2082
+ /**
2083
+ * Parse the session from ProjectLocationDataStoreSessionAnswer resource.
2084
+ *
2085
+ * @param {string} projectLocationDataStoreSessionAnswerName
2086
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2087
+ * @returns {string} A string representing the session.
2088
+ */
2089
+ matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2090
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
2091
+ }
2092
+ /**
2093
+ * Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
2094
+ *
2095
+ * @param {string} projectLocationDataStoreSessionAnswerName
2096
+ * A fully-qualified path representing project_location_data_store_session_answer resource.
2097
+ * @returns {string} A string representing the answer.
2098
+ */
2099
+ matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
2100
+ return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
2101
+ }
1648
2102
  /**
1649
2103
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1650
2104
  *