@google-cloud/discoveryengine 1.3.1 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- // Copyright 2023 Google LLC
2
+ // Copyright 2024 Google LLC
3
3
  //
4
4
  // Licensed under the Apache License, Version 2.0 (the "License");
5
5
  // you may not use this file except in compliance with the License.
@@ -72,7 +72,7 @@ class UserEventServiceClient {
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: {},
@@ -82,16 +82,24 @@ class UserEventServiceClient {
82
82
  };
83
83
  // Ensure that options include all the required fields.
84
84
  const staticMembers = this.constructor;
85
- const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || staticMembers.servicePath;
85
+ if ((opts === null || opts === void 0 ? void 0 : opts.universe_domain) &&
86
+ (opts === null || opts === void 0 ? void 0 : opts.universeDomain) &&
87
+ (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
88
+ throw new Error('Please set either universe_domain or universeDomain, but not both.');
89
+ }
90
+ this._universeDomain =
91
+ (_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';
92
+ this._servicePath = 'discoveryengine.' + this._universeDomain;
93
+ const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
86
94
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
87
95
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
88
- const clientConfig = (_a = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _a !== void 0 ? _a : {};
89
- 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');
96
+ const clientConfig = (_c = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _c !== void 0 ? _c : {};
97
+ 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');
90
98
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
91
99
  // Request numeric enum values if REST transport is used.
92
100
  opts.numericEnums = true;
93
101
  // If scopes are unset in options and we're connecting to a non-default endpoint, set scopes just in case.
94
- if (servicePath !== staticMembers.servicePath && !('scopes' in opts)) {
102
+ if (servicePath !== this._servicePath && !('scopes' in opts)) {
95
103
  opts['scopes'] = staticMembers.scopes;
96
104
  }
97
105
  // Load google-gax module synchronously if needed
@@ -109,9 +117,9 @@ class UserEventServiceClient {
109
117
  // Set useJWTAccessWithScope on the auth object.
110
118
  this.auth.useJWTAccessWithScope = true;
111
119
  // Set defaultServicePath on the auth object.
112
- this.auth.defaultServicePath = staticMembers.servicePath;
120
+ this.auth.defaultServicePath = this._servicePath;
113
121
  // Set the default scopes in auth client if needed.
114
- if (servicePath === staticMembers.servicePath) {
122
+ if (servicePath === this._servicePath) {
115
123
  this.auth.defaultScopes = staticMembers.scopes;
116
124
  }
117
125
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
@@ -138,18 +146,26 @@ class UserEventServiceClient {
138
146
  // identifiers to uniquely identify resources within the API.
139
147
  // Create useful helper objects for these.
140
148
  this.pathTemplates = {
149
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
141
150
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
142
151
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
143
152
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
153
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
144
154
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
155
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
145
156
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
157
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
146
158
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
147
159
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
148
160
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
161
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
149
162
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
150
163
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
164
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
151
165
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
166
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
152
167
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
168
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
153
169
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
154
170
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
155
171
  };
@@ -317,19 +333,38 @@ class UserEventServiceClient {
317
333
  }
318
334
  /**
319
335
  * The DNS address for this API service.
336
+ * @deprecated Use the apiEndpoint method of the client instance.
320
337
  * @returns {string} The DNS address for this service.
321
338
  */
322
339
  static get servicePath() {
340
+ if (typeof process !== undefined &&
341
+ typeof process.emitWarning === 'function') {
342
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
343
+ }
323
344
  return 'discoveryengine.googleapis.com';
324
345
  }
325
346
  /**
326
- * The DNS address for this API service - same as servicePath(),
327
- * exists for compatibility reasons.
347
+ * The DNS address for this API service - same as servicePath.
348
+ * @deprecated Use the apiEndpoint method of the client instance.
328
349
  * @returns {string} The DNS address for this service.
329
350
  */
330
351
  static get apiEndpoint() {
352
+ if (typeof process !== undefined &&
353
+ typeof process.emitWarning === 'function') {
354
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
355
+ }
331
356
  return 'discoveryengine.googleapis.com';
332
357
  }
358
+ /**
359
+ * The DNS address for this API service.
360
+ * @returns {string} The DNS address for this service.
361
+ */
362
+ get apiEndpoint() {
363
+ return this._servicePath;
364
+ }
365
+ get universeDomain() {
366
+ return this._universeDomain;
367
+ }
333
368
  /**
334
369
  * The port for this API service.
335
370
  * @returns {number} The default port for this service.
@@ -660,6 +695,41 @@ class UserEventServiceClient {
660
695
  // --------------------
661
696
  // -- Path templates --
662
697
  // --------------------
698
+ /**
699
+ * Return a fully-qualified aclConfig resource name string.
700
+ *
701
+ * @param {string} project
702
+ * @param {string} location
703
+ * @returns {string} Resource name string.
704
+ */
705
+ aclConfigPath(project, location) {
706
+ return this.pathTemplates.aclConfigPathTemplate.render({
707
+ project: project,
708
+ location: location,
709
+ });
710
+ }
711
+ /**
712
+ * Parse the project from AclConfig resource.
713
+ *
714
+ * @param {string} aclConfigName
715
+ * A fully-qualified path representing AclConfig resource.
716
+ * @returns {string} A string representing the project.
717
+ */
718
+ matchProjectFromAclConfigName(aclConfigName) {
719
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
720
+ .project;
721
+ }
722
+ /**
723
+ * Parse the location from AclConfig resource.
724
+ *
725
+ * @param {string} aclConfigName
726
+ * A fully-qualified path representing AclConfig resource.
727
+ * @returns {string} A string representing the location.
728
+ */
729
+ matchLocationFromAclConfigName(aclConfigName) {
730
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
731
+ .location;
732
+ }
663
733
  /**
664
734
  * Return a fully-qualified engine resource name string.
665
735
  *
@@ -855,6 +925,99 @@ class UserEventServiceClient {
855
925
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
856
926
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
857
927
  }
928
+ /**
929
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
930
+ *
931
+ * @param {string} project
932
+ * @param {string} location
933
+ * @param {string} collection
934
+ * @param {string} data_store
935
+ * @param {string} branch
936
+ * @param {string} document
937
+ * @param {string} chunk
938
+ * @returns {string} Resource name string.
939
+ */
940
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
941
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
942
+ project: project,
943
+ location: location,
944
+ collection: collection,
945
+ data_store: dataStore,
946
+ branch: branch,
947
+ document: document,
948
+ chunk: chunk,
949
+ });
950
+ }
951
+ /**
952
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
953
+ *
954
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
955
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
956
+ * @returns {string} A string representing the project.
957
+ */
958
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
959
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
960
+ }
961
+ /**
962
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
963
+ *
964
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
965
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
966
+ * @returns {string} A string representing the location.
967
+ */
968
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
969
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
970
+ }
971
+ /**
972
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
973
+ *
974
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
975
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
976
+ * @returns {string} A string representing the collection.
977
+ */
978
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
979
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
980
+ }
981
+ /**
982
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
983
+ *
984
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
985
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
986
+ * @returns {string} A string representing the data_store.
987
+ */
988
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
989
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
990
+ }
991
+ /**
992
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
993
+ *
994
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
995
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
996
+ * @returns {string} A string representing the branch.
997
+ */
998
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
999
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1000
+ }
1001
+ /**
1002
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1003
+ *
1004
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1005
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1006
+ * @returns {string} A string representing the document.
1007
+ */
1008
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1009
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1010
+ }
1011
+ /**
1012
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1013
+ *
1014
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1015
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1016
+ * @returns {string} A string representing the chunk.
1017
+ */
1018
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1019
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1020
+ }
858
1021
  /**
859
1022
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
860
1023
  *
@@ -924,6 +1087,63 @@ class UserEventServiceClient {
924
1087
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
925
1088
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
926
1089
  }
1090
+ /**
1091
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1092
+ *
1093
+ * @param {string} project
1094
+ * @param {string} location
1095
+ * @param {string} collection
1096
+ * @param {string} data_store
1097
+ * @returns {string} Resource name string.
1098
+ */
1099
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1100
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1101
+ project: project,
1102
+ location: location,
1103
+ collection: collection,
1104
+ data_store: dataStore,
1105
+ });
1106
+ }
1107
+ /**
1108
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1109
+ *
1110
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1111
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1112
+ * @returns {string} A string representing the project.
1113
+ */
1114
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1115
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1116
+ }
1117
+ /**
1118
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1119
+ *
1120
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1121
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1122
+ * @returns {string} A string representing the location.
1123
+ */
1124
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1125
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1126
+ }
1127
+ /**
1128
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1131
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1132
+ * @returns {string} A string representing the collection.
1133
+ */
1134
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1135
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1136
+ }
1137
+ /**
1138
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1141
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1142
+ * @returns {string} A string representing the data_store.
1143
+ */
1144
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1145
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1146
+ }
927
1147
  /**
928
1148
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
929
1149
  *
@@ -993,6 +1213,75 @@ class UserEventServiceClient {
993
1213
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
994
1214
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
995
1215
  }
1216
+ /**
1217
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1218
+ *
1219
+ * @param {string} project
1220
+ * @param {string} location
1221
+ * @param {string} collection
1222
+ * @param {string} data_store
1223
+ * @param {string} serving_config
1224
+ * @returns {string} Resource name string.
1225
+ */
1226
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1227
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1228
+ project: project,
1229
+ location: location,
1230
+ collection: collection,
1231
+ data_store: dataStore,
1232
+ serving_config: servingConfig,
1233
+ });
1234
+ }
1235
+ /**
1236
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1237
+ *
1238
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1239
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1240
+ * @returns {string} A string representing the project.
1241
+ */
1242
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1243
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1244
+ }
1245
+ /**
1246
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1247
+ *
1248
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1249
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1250
+ * @returns {string} A string representing the location.
1251
+ */
1252
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1253
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1254
+ }
1255
+ /**
1256
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1257
+ *
1258
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1259
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1260
+ * @returns {string} A string representing the collection.
1261
+ */
1262
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1263
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1264
+ }
1265
+ /**
1266
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1267
+ *
1268
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1269
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1270
+ * @returns {string} A string representing the data_store.
1271
+ */
1272
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1273
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1274
+ }
1275
+ /**
1276
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1277
+ *
1278
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1279
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1280
+ * @returns {string} A string representing the serving_config.
1281
+ */
1282
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1283
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1284
+ }
996
1285
  /**
997
1286
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
998
1287
  *
@@ -1188,6 +1477,75 @@ class UserEventServiceClient {
1188
1477
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1189
1478
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1190
1479
  }
1480
+ /**
1481
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1482
+ *
1483
+ * @param {string} project
1484
+ * @param {string} location
1485
+ * @param {string} collection
1486
+ * @param {string} engine
1487
+ * @param {string} serving_config
1488
+ * @returns {string} Resource name string.
1489
+ */
1490
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1491
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1492
+ project: project,
1493
+ location: location,
1494
+ collection: collection,
1495
+ engine: engine,
1496
+ serving_config: servingConfig,
1497
+ });
1498
+ }
1499
+ /**
1500
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1501
+ *
1502
+ * @param {string} projectLocationCollectionEngineServingConfigName
1503
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1504
+ * @returns {string} A string representing the project.
1505
+ */
1506
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1507
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1508
+ }
1509
+ /**
1510
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1511
+ *
1512
+ * @param {string} projectLocationCollectionEngineServingConfigName
1513
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1514
+ * @returns {string} A string representing the location.
1515
+ */
1516
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1517
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1518
+ }
1519
+ /**
1520
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1521
+ *
1522
+ * @param {string} projectLocationCollectionEngineServingConfigName
1523
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1524
+ * @returns {string} A string representing the collection.
1525
+ */
1526
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1527
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1528
+ }
1529
+ /**
1530
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionEngineServingConfigName
1533
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1534
+ * @returns {string} A string representing the engine.
1535
+ */
1536
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1537
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1538
+ }
1539
+ /**
1540
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1541
+ *
1542
+ * @param {string} projectLocationCollectionEngineServingConfigName
1543
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1544
+ * @returns {string} A string representing the serving_config.
1545
+ */
1546
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1547
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1548
+ }
1191
1549
  /**
1192
1550
  * Return a fully-qualified projectLocationDataStore resource name string.
1193
1551
  *
@@ -1302,6 +1660,87 @@ class UserEventServiceClient {
1302
1660
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1303
1661
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1304
1662
  }
1663
+ /**
1664
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1665
+ *
1666
+ * @param {string} project
1667
+ * @param {string} location
1668
+ * @param {string} data_store
1669
+ * @param {string} branch
1670
+ * @param {string} document
1671
+ * @param {string} chunk
1672
+ * @returns {string} Resource name string.
1673
+ */
1674
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1675
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1676
+ project: project,
1677
+ location: location,
1678
+ data_store: dataStore,
1679
+ branch: branch,
1680
+ document: document,
1681
+ chunk: chunk,
1682
+ });
1683
+ }
1684
+ /**
1685
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1686
+ *
1687
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1688
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1689
+ * @returns {string} A string representing the project.
1690
+ */
1691
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1692
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1693
+ }
1694
+ /**
1695
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1696
+ *
1697
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1698
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1699
+ * @returns {string} A string representing the location.
1700
+ */
1701
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1702
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1703
+ }
1704
+ /**
1705
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1706
+ *
1707
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1708
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1709
+ * @returns {string} A string representing the data_store.
1710
+ */
1711
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1712
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1713
+ }
1714
+ /**
1715
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1716
+ *
1717
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1718
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1719
+ * @returns {string} A string representing the branch.
1720
+ */
1721
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1722
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1723
+ }
1724
+ /**
1725
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1726
+ *
1727
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1728
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1729
+ * @returns {string} A string representing the document.
1730
+ */
1731
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1732
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1733
+ }
1734
+ /**
1735
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1736
+ *
1737
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1738
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1739
+ * @returns {string} A string representing the chunk.
1740
+ */
1741
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1742
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1743
+ }
1305
1744
  /**
1306
1745
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1307
1746
  *
@@ -1359,6 +1798,51 @@ class UserEventServiceClient {
1359
1798
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1360
1799
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1361
1800
  }
1801
+ /**
1802
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1803
+ *
1804
+ * @param {string} project
1805
+ * @param {string} location
1806
+ * @param {string} data_store
1807
+ * @returns {string} Resource name string.
1808
+ */
1809
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1810
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1811
+ project: project,
1812
+ location: location,
1813
+ data_store: dataStore,
1814
+ });
1815
+ }
1816
+ /**
1817
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1818
+ *
1819
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1820
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1821
+ * @returns {string} A string representing the project.
1822
+ */
1823
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1824
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1825
+ }
1826
+ /**
1827
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1828
+ *
1829
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1830
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1831
+ * @returns {string} A string representing the location.
1832
+ */
1833
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1834
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1835
+ }
1836
+ /**
1837
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1838
+ *
1839
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1840
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1841
+ * @returns {string} A string representing the data_store.
1842
+ */
1843
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1844
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1845
+ }
1362
1846
  /**
1363
1847
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1364
1848
  *
@@ -1416,6 +1900,63 @@ class UserEventServiceClient {
1416
1900
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1417
1901
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1418
1902
  }
1903
+ /**
1904
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1905
+ *
1906
+ * @param {string} project
1907
+ * @param {string} location
1908
+ * @param {string} data_store
1909
+ * @param {string} serving_config
1910
+ * @returns {string} Resource name string.
1911
+ */
1912
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
1913
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
1914
+ project: project,
1915
+ location: location,
1916
+ data_store: dataStore,
1917
+ serving_config: servingConfig,
1918
+ });
1919
+ }
1920
+ /**
1921
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1922
+ *
1923
+ * @param {string} projectLocationDataStoreServingConfigName
1924
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1925
+ * @returns {string} A string representing the project.
1926
+ */
1927
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1928
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
1929
+ }
1930
+ /**
1931
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1932
+ *
1933
+ * @param {string} projectLocationDataStoreServingConfigName
1934
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1935
+ * @returns {string} A string representing the location.
1936
+ */
1937
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1938
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
1939
+ }
1940
+ /**
1941
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1942
+ *
1943
+ * @param {string} projectLocationDataStoreServingConfigName
1944
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1945
+ * @returns {string} A string representing the data_store.
1946
+ */
1947
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1948
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
1949
+ }
1950
+ /**
1951
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1952
+ *
1953
+ * @param {string} projectLocationDataStoreServingConfigName
1954
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1955
+ * @returns {string} A string representing the serving_config.
1956
+ */
1957
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1958
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1959
+ }
1419
1960
  /**
1420
1961
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1421
1962
  *