@google-cloud/discoveryengine 1.3.1 → 1.4.1

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 (166) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +64 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/common.proto +54 -3
  4. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +52 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +51 -4
  6. package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +3 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +40 -1
  8. package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +98 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +304 -0
  10. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  11. package/build/protos/google/cloud/discoveryengine/v1/engine.proto +215 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/engine_service.proto +242 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +64 -0
  14. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  15. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +137 -4
  16. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +170 -0
  17. package/build/protos/google/cloud/discoveryengine/v1/site_search_engine_service.proto +691 -0
  18. package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +3 -3
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  31. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
  32. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  33. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  34. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  35. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
  36. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  37. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  38. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  39. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
  40. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
  41. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  42. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
  43. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  44. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  45. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  46. package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +59 -8
  47. package/build/protos/google/cloud/discoveryengine/v1beta/completion.proto +52 -0
  48. package/build/protos/google/cloud/discoveryengine/v1beta/completion_service.proto +51 -4
  49. package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +3 -0
  50. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +45 -1
  51. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +120 -0
  52. package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +306 -0
  53. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +10 -1
  54. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  55. package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +220 -0
  56. package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +244 -0
  57. package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +64 -0
  58. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +41 -0
  59. package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +26 -3
  60. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +169 -15
  61. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  62. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +265 -0
  63. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +148 -0
  64. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +170 -0
  65. package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto +695 -0
  66. package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +4 -3
  67. package/build/protos/protos.d.ts +48530 -23682
  68. package/build/protos/protos.js +122429 -63306
  69. package/build/protos/protos.json +13438 -7286
  70. package/build/src/index.d.ts +10 -1
  71. package/build/src/index.js +10 -1
  72. package/build/src/v1/completion_service_client.d.ts +489 -7
  73. package/build/src/v1/completion_service_client.js +715 -11
  74. package/build/src/v1/completion_service_client_config.json +10 -0
  75. package/build/src/v1/conversational_search_service_client.d.ts +341 -3
  76. package/build/src/v1/conversational_search_service_client.js +466 -9
  77. package/build/src/v1/data_store_service_client.d.ts +1286 -0
  78. package/build/src/v1/data_store_service_client.js +1768 -0
  79. package/build/src/v1/data_store_service_client_config.json +46 -0
  80. package/build/src/v1/document_service_client.d.ts +347 -2
  81. package/build/src/v1/document_service_client.js +506 -9
  82. package/build/src/v1/engine_service_client.d.ts +1211 -0
  83. package/build/src/v1/engine_service_client.js +1731 -0
  84. package/build/src/v1/engine_service_client_config.json +46 -0
  85. package/build/src/v1/index.d.ts +3 -0
  86. package/build/src/v1/index.js +7 -1
  87. package/build/src/v1/schema_service_client.d.ts +272 -2
  88. package/build/src/v1/schema_service_client.js +402 -9
  89. package/build/src/v1/search_service_client.d.ts +515 -11
  90. package/build/src/v1/search_service_client.js +648 -15
  91. package/build/src/v1/site_search_engine_service_client.d.ts +1564 -0
  92. package/build/src/v1/site_search_engine_service_client.js +2075 -0
  93. package/build/src/v1/site_search_engine_service_client_config.json +74 -0
  94. package/build/src/v1/user_event_service_client.d.ts +272 -2
  95. package/build/src/v1/user_event_service_client.js +402 -9
  96. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  97. package/build/src/v1alpha/acl_config_service_client.js +1765 -0
  98. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  99. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  100. package/build/src/v1alpha/chunk_service_client.js +1886 -0
  101. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  102. package/build/src/v1alpha/completion_service_client.d.ts +599 -5
  103. package/build/src/v1alpha/completion_service_client.js +868 -12
  104. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  105. package/build/src/v1alpha/conversational_search_service_client.d.ts +244 -3
  106. package/build/src/v1alpha/conversational_search_service_client.js +353 -10
  107. package/build/src/v1alpha/data_store_service_client.d.ts +462 -5
  108. package/build/src/v1alpha/data_store_service_client.js +599 -12
  109. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  110. package/build/src/v1alpha/document_service_client.d.ts +393 -2
  111. package/build/src/v1alpha/document_service_client.js +551 -10
  112. package/build/src/v1alpha/engine_service_client.d.ts +386 -4
  113. package/build/src/v1alpha/engine_service_client.js +551 -10
  114. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  115. package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
  116. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  117. package/build/src/v1alpha/index.d.ts +4 -0
  118. package/build/src/v1alpha/index.js +10 -2
  119. package/build/src/v1alpha/recommendation_service_client.d.ts +242 -3
  120. package/build/src/v1alpha/recommendation_service_client.js +353 -10
  121. package/build/src/v1alpha/schema_service_client.d.ts +383 -2
  122. package/build/src/v1alpha/schema_service_client.js +551 -10
  123. package/build/src/v1alpha/search_service_client.d.ts +269 -17
  124. package/build/src/v1alpha/search_service_client.js +373 -20
  125. package/build/src/v1alpha/search_tuning_service_client.d.ts +384 -3
  126. package/build/src/v1alpha/search_tuning_service_client.js +551 -10
  127. package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
  128. package/build/src/v1alpha/serving_config_service_client.js +1935 -0
  129. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  130. package/build/src/v1alpha/site_search_engine_service_client.d.ts +383 -2
  131. package/build/src/v1alpha/site_search_engine_service_client.js +551 -10
  132. package/build/src/v1alpha/user_event_service_client.d.ts +383 -2
  133. package/build/src/v1alpha/user_event_service_client.js +551 -10
  134. package/build/src/v1beta/completion_service_client.d.ts +708 -7
  135. package/build/src/v1beta/completion_service_client.js +1015 -11
  136. package/build/src/v1beta/completion_service_client_config.json +10 -0
  137. package/build/src/v1beta/conversational_search_service_client.d.ts +420 -3
  138. package/build/src/v1beta/conversational_search_service_client.js +570 -9
  139. package/build/src/v1beta/data_store_service_client.d.ts +1508 -0
  140. package/build/src/v1beta/data_store_service_client.js +2070 -0
  141. package/build/src/v1beta/data_store_service_client_config.json +46 -0
  142. package/build/src/v1beta/document_service_client.d.ts +566 -2
  143. package/build/src/v1beta/document_service_client.js +810 -11
  144. package/build/src/v1beta/engine_service_client.d.ts +1432 -0
  145. package/build/src/v1beta/engine_service_client.js +2032 -0
  146. package/build/src/v1beta/engine_service_client_config.json +46 -0
  147. package/build/src/v1beta/index.d.ts +5 -0
  148. package/build/src/v1beta/index.js +11 -1
  149. package/build/src/v1beta/recommendation_service_client.d.ts +495 -5
  150. package/build/src/v1beta/recommendation_service_client.js +674 -9
  151. package/build/src/v1beta/schema_service_client.d.ts +491 -2
  152. package/build/src/v1beta/schema_service_client.js +706 -11
  153. package/build/src/v1beta/search_service_client.d.ts +620 -29
  154. package/build/src/v1beta/search_service_client.js +772 -27
  155. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  156. package/build/src/v1beta/search_tuning_service_client.js +1781 -0
  157. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  158. package/build/src/v1beta/serving_config_service_client.d.ts +1217 -0
  159. package/build/src/v1beta/serving_config_service_client.js +1724 -0
  160. package/build/src/v1beta/serving_config_service_client_config.json +38 -0
  161. package/build/src/v1beta/site_search_engine_service_client.d.ts +1787 -0
  162. package/build/src/v1beta/site_search_engine_service_client.js +2375 -0
  163. package/build/src/v1beta/site_search_engine_service_client_config.json +74 -0
  164. package/build/src/v1beta/user_event_service_client.d.ts +491 -2
  165. package/build/src/v1beta/user_event_service_client.js +706 -11
  166. package/package.json +3 -3
@@ -72,7 +72,7 @@ class RecommendationServiceClient {
72
72
  * ```
73
73
  */
74
74
  constructor(opts, gaxInstance) {
75
- var _a, _b;
75
+ var _a, _b, _c, _d;
76
76
  this._terminated = false;
77
77
  this.descriptors = {
78
78
  page: {},
@@ -83,16 +83,24 @@ class RecommendationServiceClient {
83
83
  // Ensure that options include all the required fields.
84
84
  const staticMembers = this
85
85
  .constructor;
86
- const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
86
+ if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
87
+ (opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
88
+ (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
89
+ throw new Error('Please set either universe_domain or universeDomain, but not both.');
90
+ }
91
+ this._universeDomain =
92
+ (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
93
+ this._servicePath = 'discoveryengine.' + this._universeDomain;
94
+ const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
87
95
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
88
96
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
89
- const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};
90
- const fallback = (_b = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _b !== void 0 ? _b : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
97
+ const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
98
+ const fallback = (_d = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _d !== void 0 ? _d : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
91
99
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
92
100
  // Request numeric enum values if REST transport is used.
93
101
  opts.numericEnums = true;
94
102
  // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
95
- if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
103
+ if (servicePath !== this._servicePath && !('scopes' in opts)) {
96
104
  opts['scopes'] = staticMembers.scopes;
97
105
  }
98
106
  // Load google-gax module synchronously if needed
@@ -110,9 +118,9 @@ class RecommendationServiceClient {
110
118
  // Set useJWTAccessWithScope on the auth object.
111
119
  this.auth.useJWTAccessWithScope = true;
112
120
  // Set defaultServicePath on the auth object.
113
- this.auth.defaultServicePath = staticMembers.servicePath;
121
+ this.auth.defaultServicePath = this._servicePath;
114
122
  // Set the default scopes in auth client if needed.
115
- if (servicePath === staticMembers.servicePath) {
123
+ if (servicePath === this._servicePath) {
116
124
  this.auth.defaultScopes = staticMembers.scopes;
117
125
  }
118
126
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
@@ -139,14 +147,25 @@ class RecommendationServiceClient {
139
147
  // identifiers to uniquely identify resources within the API.
140
148
  // Create useful helper objects for these.
141
149
  this.pathTemplates = {
150
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
151
+ projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
142
152
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
143
153
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
154
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
144
155
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
145
156
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
157
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
158
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
159
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
160
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
161
+ projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
146
162
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
147
163
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
164
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
148
165
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
149
166
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
167
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
168
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
150
169
  };
151
170
  // Put together the default options sent with requests.
152
171
  this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1beta.RecommendationService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -201,19 +220,38 @@ class RecommendationServiceClient {
201
220
  }
202
221
  /**
203
222
  * The DNS address for this API service.
223
+ * @deprecated Use the apiEndpoint method of the client instance.
204
224
  * @returns {string} The DNS address for this service.
205
225
  */
206
226
  static get servicePath() {
227
+ if (typeof process !== undefined &&
228
+ typeof process.emitWarning === 'function') {
229
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
230
+ }
207
231
  return 'discoveryengine.googleapis.com';
208
232
  }
209
233
  /**
210
- * The DNS address for this API service - same as servicePath(),
211
- * exists for compatibility reasons.
234
+ * The DNS address for this API service - same as servicePath.
235
+ * @deprecated Use the apiEndpoint method of the client instance.
212
236
  * @returns {string} The DNS address for this service.
213
237
  */
214
238
  static get apiEndpoint() {
239
+ if (typeof process !== undefined &&
240
+ typeof process.emitWarning === 'function') {
241
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
242
+ }
215
243
  return 'discoveryengine.googleapis.com';
216
244
  }
245
+ /**
246
+ * The DNS address for this API service.
247
+ * @returns {string} The DNS address for this service.
248
+ */
249
+ get apiEndpoint() {
250
+ return this._servicePath;
251
+ }
252
+ get universeDomain() {
253
+ return this._universeDomain;
254
+ }
217
255
  /**
218
256
  * The port for this API service.
219
257
  * @returns {number} The default port for this service.
@@ -319,6 +357,120 @@ class RecommendationServiceClient {
319
357
  // --------------------
320
358
  // -- Path templates --
321
359
  // --------------------
360
+ /**
361
+ * Return a fully-qualified engine resource name string.
362
+ *
363
+ * @param {string} project
364
+ * @param {string} location
365
+ * @param {string} collection
366
+ * @param {string} engine
367
+ * @returns {string} Resource name string.
368
+ */
369
+ enginePath(project, location, collection, engine) {
370
+ return this.pathTemplates.enginePathTemplate.render({
371
+ project: project,
372
+ location: location,
373
+ collection: collection,
374
+ engine: engine,
375
+ });
376
+ }
377
+ /**
378
+ * Parse the project from Engine resource.
379
+ *
380
+ * @param {string} engineName
381
+ * A fully-qualified path representing Engine resource.
382
+ * @returns {string} A string representing the project.
383
+ */
384
+ matchProjectFromEngineName(engineName) {
385
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
386
+ }
387
+ /**
388
+ * Parse the location from Engine resource.
389
+ *
390
+ * @param {string} engineName
391
+ * A fully-qualified path representing Engine resource.
392
+ * @returns {string} A string representing the location.
393
+ */
394
+ matchLocationFromEngineName(engineName) {
395
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
396
+ }
397
+ /**
398
+ * Parse the collection from Engine resource.
399
+ *
400
+ * @param {string} engineName
401
+ * A fully-qualified path representing Engine resource.
402
+ * @returns {string} A string representing the collection.
403
+ */
404
+ matchCollectionFromEngineName(engineName) {
405
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
406
+ }
407
+ /**
408
+ * Parse the engine from Engine resource.
409
+ *
410
+ * @param {string} engineName
411
+ * A fully-qualified path representing Engine resource.
412
+ * @returns {string} A string representing the engine.
413
+ */
414
+ matchEngineFromEngineName(engineName) {
415
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
416
+ }
417
+ /**
418
+ * Return a fully-qualified projectLocationCollectionDataStore resource name string.
419
+ *
420
+ * @param {string} project
421
+ * @param {string} location
422
+ * @param {string} collection
423
+ * @param {string} data_store
424
+ * @returns {string} Resource name string.
425
+ */
426
+ projectLocationCollectionDataStorePath(project, location, collection, dataStore) {
427
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.render({
428
+ project: project,
429
+ location: location,
430
+ collection: collection,
431
+ data_store: dataStore,
432
+ });
433
+ }
434
+ /**
435
+ * Parse the project from ProjectLocationCollectionDataStore resource.
436
+ *
437
+ * @param {string} projectLocationCollectionDataStoreName
438
+ * A fully-qualified path representing project_location_collection_data_store resource.
439
+ * @returns {string} A string representing the project.
440
+ */
441
+ matchProjectFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
442
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).project;
443
+ }
444
+ /**
445
+ * Parse the location from ProjectLocationCollectionDataStore resource.
446
+ *
447
+ * @param {string} projectLocationCollectionDataStoreName
448
+ * A fully-qualified path representing project_location_collection_data_store resource.
449
+ * @returns {string} A string representing the location.
450
+ */
451
+ matchLocationFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
452
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).location;
453
+ }
454
+ /**
455
+ * Parse the collection from ProjectLocationCollectionDataStore resource.
456
+ *
457
+ * @param {string} projectLocationCollectionDataStoreName
458
+ * A fully-qualified path representing project_location_collection_data_store resource.
459
+ * @returns {string} A string representing the collection.
460
+ */
461
+ matchCollectionFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
462
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).collection;
463
+ }
464
+ /**
465
+ * Parse the data_store from ProjectLocationCollectionDataStore resource.
466
+ *
467
+ * @param {string} projectLocationCollectionDataStoreName
468
+ * A fully-qualified path representing project_location_collection_data_store resource.
469
+ * @returns {string} A string representing the data_store.
470
+ */
471
+ matchDataStoreFromProjectLocationCollectionDataStoreName(projectLocationCollectionDataStoreName) {
472
+ return this.pathTemplates.projectLocationCollectionDataStorePathTemplate.match(projectLocationCollectionDataStoreName).data_store;
473
+ }
322
474
  /**
323
475
  * Return a fully-qualified projectLocationCollectionDataStoreBranchDocument resource name string.
324
476
  *
@@ -469,6 +621,63 @@ class RecommendationServiceClient {
469
621
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
470
622
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
471
623
  }
624
+ /**
625
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
626
+ *
627
+ * @param {string} project
628
+ * @param {string} location
629
+ * @param {string} collection
630
+ * @param {string} data_store
631
+ * @returns {string} Resource name string.
632
+ */
633
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
634
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
635
+ project: project,
636
+ location: location,
637
+ collection: collection,
638
+ data_store: dataStore,
639
+ });
640
+ }
641
+ /**
642
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
643
+ *
644
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
645
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
646
+ * @returns {string} A string representing the project.
647
+ */
648
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
649
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
650
+ }
651
+ /**
652
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
653
+ *
654
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
655
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
656
+ * @returns {string} A string representing the location.
657
+ */
658
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
659
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
660
+ }
661
+ /**
662
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
663
+ *
664
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
665
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
666
+ * @returns {string} A string representing the collection.
667
+ */
668
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
669
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
670
+ }
671
+ /**
672
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
673
+ *
674
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
675
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
676
+ * @returns {string} A string representing the data_store.
677
+ */
678
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
679
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
680
+ }
472
681
  /**
473
682
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
474
683
  *
@@ -607,6 +816,315 @@ class RecommendationServiceClient {
607
816
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
608
817
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
609
818
  }
819
+ /**
820
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
821
+ *
822
+ * @param {string} project
823
+ * @param {string} location
824
+ * @param {string} collection
825
+ * @param {string} data_store
826
+ * @returns {string} Resource name string.
827
+ */
828
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
829
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
830
+ project: project,
831
+ location: location,
832
+ collection: collection,
833
+ data_store: dataStore,
834
+ });
835
+ }
836
+ /**
837
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
838
+ *
839
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
840
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
841
+ * @returns {string} A string representing the project.
842
+ */
843
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
844
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
845
+ }
846
+ /**
847
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
848
+ *
849
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
850
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
851
+ * @returns {string} A string representing the location.
852
+ */
853
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
854
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
855
+ }
856
+ /**
857
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
858
+ *
859
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
860
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
861
+ * @returns {string} A string representing the collection.
862
+ */
863
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
864
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
865
+ }
866
+ /**
867
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
868
+ *
869
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
870
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
871
+ * @returns {string} A string representing the data_store.
872
+ */
873
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
874
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
875
+ }
876
+ /**
877
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
878
+ *
879
+ * @param {string} project
880
+ * @param {string} location
881
+ * @param {string} collection
882
+ * @param {string} data_store
883
+ * @param {string} target_site
884
+ * @returns {string} Resource name string.
885
+ */
886
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
887
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
888
+ project: project,
889
+ location: location,
890
+ collection: collection,
891
+ data_store: dataStore,
892
+ target_site: targetSite,
893
+ });
894
+ }
895
+ /**
896
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
897
+ *
898
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
899
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
900
+ * @returns {string} A string representing the project.
901
+ */
902
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
903
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
904
+ }
905
+ /**
906
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
907
+ *
908
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
909
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
910
+ * @returns {string} A string representing the location.
911
+ */
912
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
913
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
914
+ }
915
+ /**
916
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
917
+ *
918
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
919
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
920
+ * @returns {string} A string representing the collection.
921
+ */
922
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
923
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
924
+ }
925
+ /**
926
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
927
+ *
928
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
929
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
930
+ * @returns {string} A string representing the data_store.
931
+ */
932
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
933
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
934
+ }
935
+ /**
936
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
937
+ *
938
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
939
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
940
+ * @returns {string} A string representing the target_site.
941
+ */
942
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
943
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
944
+ }
945
+ /**
946
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
947
+ *
948
+ * @param {string} project
949
+ * @param {string} location
950
+ * @param {string} collection
951
+ * @param {string} engine
952
+ * @param {string} conversation
953
+ * @returns {string} Resource name string.
954
+ */
955
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
956
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
957
+ project: project,
958
+ location: location,
959
+ collection: collection,
960
+ engine: engine,
961
+ conversation: conversation,
962
+ });
963
+ }
964
+ /**
965
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
966
+ *
967
+ * @param {string} projectLocationCollectionEngineConversationName
968
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
969
+ * @returns {string} A string representing the project.
970
+ */
971
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
972
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
973
+ }
974
+ /**
975
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
976
+ *
977
+ * @param {string} projectLocationCollectionEngineConversationName
978
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
979
+ * @returns {string} A string representing the location.
980
+ */
981
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
982
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
983
+ }
984
+ /**
985
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
986
+ *
987
+ * @param {string} projectLocationCollectionEngineConversationName
988
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
989
+ * @returns {string} A string representing the collection.
990
+ */
991
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
992
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
993
+ }
994
+ /**
995
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
996
+ *
997
+ * @param {string} projectLocationCollectionEngineConversationName
998
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
999
+ * @returns {string} A string representing the engine.
1000
+ */
1001
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1002
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1003
+ }
1004
+ /**
1005
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1006
+ *
1007
+ * @param {string} projectLocationCollectionEngineConversationName
1008
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1009
+ * @returns {string} A string representing the conversation.
1010
+ */
1011
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1012
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1013
+ }
1014
+ /**
1015
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1016
+ *
1017
+ * @param {string} project
1018
+ * @param {string} location
1019
+ * @param {string} collection
1020
+ * @param {string} engine
1021
+ * @param {string} serving_config
1022
+ * @returns {string} Resource name string.
1023
+ */
1024
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1025
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1026
+ project: project,
1027
+ location: location,
1028
+ collection: collection,
1029
+ engine: engine,
1030
+ serving_config: servingConfig,
1031
+ });
1032
+ }
1033
+ /**
1034
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1035
+ *
1036
+ * @param {string} projectLocationCollectionEngineServingConfigName
1037
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1038
+ * @returns {string} A string representing the project.
1039
+ */
1040
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1041
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1042
+ }
1043
+ /**
1044
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1045
+ *
1046
+ * @param {string} projectLocationCollectionEngineServingConfigName
1047
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1048
+ * @returns {string} A string representing the location.
1049
+ */
1050
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1051
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1052
+ }
1053
+ /**
1054
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1055
+ *
1056
+ * @param {string} projectLocationCollectionEngineServingConfigName
1057
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1058
+ * @returns {string} A string representing the collection.
1059
+ */
1060
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1061
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1062
+ }
1063
+ /**
1064
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1065
+ *
1066
+ * @param {string} projectLocationCollectionEngineServingConfigName
1067
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1068
+ * @returns {string} A string representing the engine.
1069
+ */
1070
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1071
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1072
+ }
1073
+ /**
1074
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1075
+ *
1076
+ * @param {string} projectLocationCollectionEngineServingConfigName
1077
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1078
+ * @returns {string} A string representing the serving_config.
1079
+ */
1080
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1081
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1082
+ }
1083
+ /**
1084
+ * Return a fully-qualified projectLocationDataStore resource name string.
1085
+ *
1086
+ * @param {string} project
1087
+ * @param {string} location
1088
+ * @param {string} data_store
1089
+ * @returns {string} Resource name string.
1090
+ */
1091
+ projectLocationDataStorePath(project, location, dataStore) {
1092
+ return this.pathTemplates.projectLocationDataStorePathTemplate.render({
1093
+ project: project,
1094
+ location: location,
1095
+ data_store: dataStore,
1096
+ });
1097
+ }
1098
+ /**
1099
+ * Parse the project from ProjectLocationDataStore resource.
1100
+ *
1101
+ * @param {string} projectLocationDataStoreName
1102
+ * A fully-qualified path representing project_location_data_store resource.
1103
+ * @returns {string} A string representing the project.
1104
+ */
1105
+ matchProjectFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1106
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).project;
1107
+ }
1108
+ /**
1109
+ * Parse the location from ProjectLocationDataStore resource.
1110
+ *
1111
+ * @param {string} projectLocationDataStoreName
1112
+ * A fully-qualified path representing project_location_data_store resource.
1113
+ * @returns {string} A string representing the location.
1114
+ */
1115
+ matchLocationFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1116
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).location;
1117
+ }
1118
+ /**
1119
+ * Parse the data_store from ProjectLocationDataStore resource.
1120
+ *
1121
+ * @param {string} projectLocationDataStoreName
1122
+ * A fully-qualified path representing project_location_data_store resource.
1123
+ * @returns {string} A string representing the data_store.
1124
+ */
1125
+ matchDataStoreFromProjectLocationDataStoreName(projectLocationDataStoreName) {
1126
+ return this.pathTemplates.projectLocationDataStorePathTemplate.match(projectLocationDataStoreName).data_store;
1127
+ }
610
1128
  /**
611
1129
  * Return a fully-qualified projectLocationDataStoreBranchDocument resource name string.
612
1130
  *
@@ -733,6 +1251,51 @@ class RecommendationServiceClient {
733
1251
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
734
1252
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
735
1253
  }
1254
+ /**
1255
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1256
+ *
1257
+ * @param {string} project
1258
+ * @param {string} location
1259
+ * @param {string} data_store
1260
+ * @returns {string} Resource name string.
1261
+ */
1262
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1263
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1264
+ project: project,
1265
+ location: location,
1266
+ data_store: dataStore,
1267
+ });
1268
+ }
1269
+ /**
1270
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1271
+ *
1272
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1273
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1274
+ * @returns {string} A string representing the project.
1275
+ */
1276
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1277
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1278
+ }
1279
+ /**
1280
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1281
+ *
1282
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1283
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1284
+ * @returns {string} A string representing the location.
1285
+ */
1286
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1287
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1288
+ }
1289
+ /**
1290
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1291
+ *
1292
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1293
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1294
+ * @returns {string} A string representing the data_store.
1295
+ */
1296
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1297
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1298
+ }
736
1299
  /**
737
1300
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
738
1301
  *
@@ -847,6 +1410,108 @@ class RecommendationServiceClient {
847
1410
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
848
1411
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
849
1412
  }
1413
+ /**
1414
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1415
+ *
1416
+ * @param {string} project
1417
+ * @param {string} location
1418
+ * @param {string} data_store
1419
+ * @returns {string} Resource name string.
1420
+ */
1421
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1422
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1423
+ project: project,
1424
+ location: location,
1425
+ data_store: dataStore,
1426
+ });
1427
+ }
1428
+ /**
1429
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1430
+ *
1431
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1432
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1433
+ * @returns {string} A string representing the project.
1434
+ */
1435
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1436
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1437
+ }
1438
+ /**
1439
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1440
+ *
1441
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1442
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1443
+ * @returns {string} A string representing the location.
1444
+ */
1445
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1446
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1447
+ }
1448
+ /**
1449
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1450
+ *
1451
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1452
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1453
+ * @returns {string} A string representing the data_store.
1454
+ */
1455
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1456
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1457
+ }
1458
+ /**
1459
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1460
+ *
1461
+ * @param {string} project
1462
+ * @param {string} location
1463
+ * @param {string} data_store
1464
+ * @param {string} target_site
1465
+ * @returns {string} Resource name string.
1466
+ */
1467
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1468
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1469
+ project: project,
1470
+ location: location,
1471
+ data_store: dataStore,
1472
+ target_site: targetSite,
1473
+ });
1474
+ }
1475
+ /**
1476
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1477
+ *
1478
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1479
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1480
+ * @returns {string} A string representing the project.
1481
+ */
1482
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1483
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1484
+ }
1485
+ /**
1486
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1487
+ *
1488
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1489
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1490
+ * @returns {string} A string representing the location.
1491
+ */
1492
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1493
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1494
+ }
1495
+ /**
1496
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1497
+ *
1498
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1499
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1500
+ * @returns {string} A string representing the data_store.
1501
+ */
1502
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1503
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1504
+ }
1505
+ /**
1506
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1507
+ *
1508
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1509
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1510
+ * @returns {string} A string representing the target_site.
1511
+ */
1512
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1513
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1514
+ }
850
1515
  /**
851
1516
  * Terminate the gRPC channel and close the client.
852
1517
  *