@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 SiteSearchEngineServiceClient {
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 SiteSearchEngineServiceClient {
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 SiteSearchEngineServiceClient {
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,18 +147,26 @@ class SiteSearchEngineServiceClient {
139
147
  // identifiers to uniquely identify resources within the API.
140
148
  // Create useful helper objects for these.
141
149
  this.pathTemplates = {
150
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
142
151
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
143
152
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
144
153
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
154
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
145
155
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
156
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
146
157
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
158
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
147
159
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
148
160
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
149
161
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
162
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
150
163
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
151
164
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
165
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
152
166
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
167
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
153
168
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
169
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
154
170
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
155
171
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
156
172
  };
@@ -353,19 +369,38 @@ class SiteSearchEngineServiceClient {
353
369
  }
354
370
  /**
355
371
  * The DNS address for this API service.
372
+ * @deprecated Use the apiEndpoint method of the client instance.
356
373
  * @returns {string} The DNS address for this service.
357
374
  */
358
375
  static get servicePath() {
376
+ if (typeof process !== undefined &&
377
+ typeof process.emitWarning === 'function') {
378
+ process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
379
+ }
359
380
  return 'discoveryengine.googleapis.com';
360
381
  }
361
382
  /**
362
- * The DNS address for this API service - same as servicePath(),
363
- * exists for compatibility reasons.
383
+ * The DNS address for this API service - same as servicePath.
384
+ * @deprecated Use the apiEndpoint method of the client instance.
364
385
  * @returns {string} The DNS address for this service.
365
386
  */
366
387
  static get apiEndpoint() {
388
+ if (typeof process !== undefined &&
389
+ typeof process.emitWarning === 'function') {
390
+ process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
391
+ }
367
392
  return 'discoveryengine.googleapis.com';
368
393
  }
394
+ /**
395
+ * The DNS address for this API service.
396
+ * @returns {string} The DNS address for this service.
397
+ */
398
+ get apiEndpoint() {
399
+ return this._servicePath;
400
+ }
401
+ get universeDomain() {
402
+ return this._universeDomain;
403
+ }
369
404
  /**
370
405
  * The port for this API service.
371
406
  * @returns {number} The default port for this service.
@@ -1166,6 +1201,41 @@ class SiteSearchEngineServiceClient {
1166
1201
  // --------------------
1167
1202
  // -- Path templates --
1168
1203
  // --------------------
1204
+ /**
1205
+ * Return a fully-qualified aclConfig resource name string.
1206
+ *
1207
+ * @param {string} project
1208
+ * @param {string} location
1209
+ * @returns {string} Resource name string.
1210
+ */
1211
+ aclConfigPath(project, location) {
1212
+ return this.pathTemplates.aclConfigPathTemplate.render({
1213
+ project: project,
1214
+ location: location,
1215
+ });
1216
+ }
1217
+ /**
1218
+ * Parse the project from AclConfig resource.
1219
+ *
1220
+ * @param {string} aclConfigName
1221
+ * A fully-qualified path representing AclConfig resource.
1222
+ * @returns {string} A string representing the project.
1223
+ */
1224
+ matchProjectFromAclConfigName(aclConfigName) {
1225
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
1226
+ .project;
1227
+ }
1228
+ /**
1229
+ * Parse the location from AclConfig resource.
1230
+ *
1231
+ * @param {string} aclConfigName
1232
+ * A fully-qualified path representing AclConfig resource.
1233
+ * @returns {string} A string representing the location.
1234
+ */
1235
+ matchLocationFromAclConfigName(aclConfigName) {
1236
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
1237
+ .location;
1238
+ }
1169
1239
  /**
1170
1240
  * Return a fully-qualified engine resource name string.
1171
1241
  *
@@ -1361,6 +1431,99 @@ class SiteSearchEngineServiceClient {
1361
1431
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1362
1432
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1363
1433
  }
1434
+ /**
1435
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1436
+ *
1437
+ * @param {string} project
1438
+ * @param {string} location
1439
+ * @param {string} collection
1440
+ * @param {string} data_store
1441
+ * @param {string} branch
1442
+ * @param {string} document
1443
+ * @param {string} chunk
1444
+ * @returns {string} Resource name string.
1445
+ */
1446
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1447
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1448
+ project: project,
1449
+ location: location,
1450
+ collection: collection,
1451
+ data_store: dataStore,
1452
+ branch: branch,
1453
+ document: document,
1454
+ chunk: chunk,
1455
+ });
1456
+ }
1457
+ /**
1458
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1459
+ *
1460
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1461
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1462
+ * @returns {string} A string representing the project.
1463
+ */
1464
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1465
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1466
+ }
1467
+ /**
1468
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1469
+ *
1470
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1471
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1472
+ * @returns {string} A string representing the location.
1473
+ */
1474
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1475
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1476
+ }
1477
+ /**
1478
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1479
+ *
1480
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1481
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1482
+ * @returns {string} A string representing the collection.
1483
+ */
1484
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1485
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1486
+ }
1487
+ /**
1488
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1489
+ *
1490
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1491
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1492
+ * @returns {string} A string representing the data_store.
1493
+ */
1494
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1495
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1496
+ }
1497
+ /**
1498
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1499
+ *
1500
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1501
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1502
+ * @returns {string} A string representing the branch.
1503
+ */
1504
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1505
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1506
+ }
1507
+ /**
1508
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1509
+ *
1510
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1511
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1512
+ * @returns {string} A string representing the document.
1513
+ */
1514
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1515
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1516
+ }
1517
+ /**
1518
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1519
+ *
1520
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1521
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1522
+ * @returns {string} A string representing the chunk.
1523
+ */
1524
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1525
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1526
+ }
1364
1527
  /**
1365
1528
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1366
1529
  *
@@ -1430,6 +1593,63 @@ class SiteSearchEngineServiceClient {
1430
1593
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1431
1594
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1432
1595
  }
1596
+ /**
1597
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1598
+ *
1599
+ * @param {string} project
1600
+ * @param {string} location
1601
+ * @param {string} collection
1602
+ * @param {string} data_store
1603
+ * @returns {string} Resource name string.
1604
+ */
1605
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1606
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1607
+ project: project,
1608
+ location: location,
1609
+ collection: collection,
1610
+ data_store: dataStore,
1611
+ });
1612
+ }
1613
+ /**
1614
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1615
+ *
1616
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1617
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1618
+ * @returns {string} A string representing the project.
1619
+ */
1620
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1621
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1622
+ }
1623
+ /**
1624
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1625
+ *
1626
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1627
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1628
+ * @returns {string} A string representing the location.
1629
+ */
1630
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1631
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1632
+ }
1633
+ /**
1634
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1635
+ *
1636
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1637
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1638
+ * @returns {string} A string representing the collection.
1639
+ */
1640
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1641
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1642
+ }
1643
+ /**
1644
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1645
+ *
1646
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1647
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1648
+ * @returns {string} A string representing the data_store.
1649
+ */
1650
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1651
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1652
+ }
1433
1653
  /**
1434
1654
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1435
1655
  *
@@ -1499,6 +1719,75 @@ class SiteSearchEngineServiceClient {
1499
1719
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1500
1720
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1501
1721
  }
1722
+ /**
1723
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1724
+ *
1725
+ * @param {string} project
1726
+ * @param {string} location
1727
+ * @param {string} collection
1728
+ * @param {string} data_store
1729
+ * @param {string} serving_config
1730
+ * @returns {string} Resource name string.
1731
+ */
1732
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1733
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1734
+ project: project,
1735
+ location: location,
1736
+ collection: collection,
1737
+ data_store: dataStore,
1738
+ serving_config: servingConfig,
1739
+ });
1740
+ }
1741
+ /**
1742
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1743
+ *
1744
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1745
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1746
+ * @returns {string} A string representing the project.
1747
+ */
1748
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1749
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1750
+ }
1751
+ /**
1752
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1753
+ *
1754
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1755
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1756
+ * @returns {string} A string representing the location.
1757
+ */
1758
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1759
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1760
+ }
1761
+ /**
1762
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1763
+ *
1764
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1765
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1766
+ * @returns {string} A string representing the collection.
1767
+ */
1768
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1769
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1770
+ }
1771
+ /**
1772
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1773
+ *
1774
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1775
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1776
+ * @returns {string} A string representing the data_store.
1777
+ */
1778
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1779
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1780
+ }
1781
+ /**
1782
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1783
+ *
1784
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1785
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1786
+ * @returns {string} A string representing the serving_config.
1787
+ */
1788
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1789
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1790
+ }
1502
1791
  /**
1503
1792
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1504
1793
  *
@@ -1694,6 +1983,75 @@ class SiteSearchEngineServiceClient {
1694
1983
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1695
1984
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1696
1985
  }
1986
+ /**
1987
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1988
+ *
1989
+ * @param {string} project
1990
+ * @param {string} location
1991
+ * @param {string} collection
1992
+ * @param {string} engine
1993
+ * @param {string} serving_config
1994
+ * @returns {string} Resource name string.
1995
+ */
1996
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1997
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1998
+ project: project,
1999
+ location: location,
2000
+ collection: collection,
2001
+ engine: engine,
2002
+ serving_config: servingConfig,
2003
+ });
2004
+ }
2005
+ /**
2006
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
2007
+ *
2008
+ * @param {string} projectLocationCollectionEngineServingConfigName
2009
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
2010
+ * @returns {string} A string representing the project.
2011
+ */
2012
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
2013
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
2014
+ }
2015
+ /**
2016
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
2017
+ *
2018
+ * @param {string} projectLocationCollectionEngineServingConfigName
2019
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
2020
+ * @returns {string} A string representing the location.
2021
+ */
2022
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
2023
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
2024
+ }
2025
+ /**
2026
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
2027
+ *
2028
+ * @param {string} projectLocationCollectionEngineServingConfigName
2029
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
2030
+ * @returns {string} A string representing the collection.
2031
+ */
2032
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
2033
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
2034
+ }
2035
+ /**
2036
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
2037
+ *
2038
+ * @param {string} projectLocationCollectionEngineServingConfigName
2039
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
2040
+ * @returns {string} A string representing the engine.
2041
+ */
2042
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
2043
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
2044
+ }
2045
+ /**
2046
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
2047
+ *
2048
+ * @param {string} projectLocationCollectionEngineServingConfigName
2049
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
2050
+ * @returns {string} A string representing the serving_config.
2051
+ */
2052
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
2053
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
2054
+ }
1697
2055
  /**
1698
2056
  * Return a fully-qualified projectLocationDataStore resource name string.
1699
2057
  *
@@ -1808,6 +2166,87 @@ class SiteSearchEngineServiceClient {
1808
2166
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1809
2167
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1810
2168
  }
2169
+ /**
2170
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2171
+ *
2172
+ * @param {string} project
2173
+ * @param {string} location
2174
+ * @param {string} data_store
2175
+ * @param {string} branch
2176
+ * @param {string} document
2177
+ * @param {string} chunk
2178
+ * @returns {string} Resource name string.
2179
+ */
2180
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2181
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2182
+ project: project,
2183
+ location: location,
2184
+ data_store: dataStore,
2185
+ branch: branch,
2186
+ document: document,
2187
+ chunk: chunk,
2188
+ });
2189
+ }
2190
+ /**
2191
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2192
+ *
2193
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2194
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2195
+ * @returns {string} A string representing the project.
2196
+ */
2197
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2198
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2199
+ }
2200
+ /**
2201
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2202
+ *
2203
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2204
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2205
+ * @returns {string} A string representing the location.
2206
+ */
2207
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2208
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2209
+ }
2210
+ /**
2211
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2212
+ *
2213
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2214
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2215
+ * @returns {string} A string representing the data_store.
2216
+ */
2217
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2218
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2219
+ }
2220
+ /**
2221
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2222
+ *
2223
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2224
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2225
+ * @returns {string} A string representing the branch.
2226
+ */
2227
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2228
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2229
+ }
2230
+ /**
2231
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2232
+ *
2233
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2234
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2235
+ * @returns {string} A string representing the document.
2236
+ */
2237
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2238
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2239
+ }
2240
+ /**
2241
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2242
+ *
2243
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2244
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2245
+ * @returns {string} A string representing the chunk.
2246
+ */
2247
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2248
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2249
+ }
1811
2250
  /**
1812
2251
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1813
2252
  *
@@ -1865,6 +2304,51 @@ class SiteSearchEngineServiceClient {
1865
2304
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1866
2305
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1867
2306
  }
2307
+ /**
2308
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2309
+ *
2310
+ * @param {string} project
2311
+ * @param {string} location
2312
+ * @param {string} data_store
2313
+ * @returns {string} Resource name string.
2314
+ */
2315
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2316
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2317
+ project: project,
2318
+ location: location,
2319
+ data_store: dataStore,
2320
+ });
2321
+ }
2322
+ /**
2323
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2324
+ *
2325
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2326
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2327
+ * @returns {string} A string representing the project.
2328
+ */
2329
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2330
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2331
+ }
2332
+ /**
2333
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2334
+ *
2335
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2336
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2337
+ * @returns {string} A string representing the location.
2338
+ */
2339
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2340
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2341
+ }
2342
+ /**
2343
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2344
+ *
2345
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2346
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2347
+ * @returns {string} A string representing the data_store.
2348
+ */
2349
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2350
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2351
+ }
1868
2352
  /**
1869
2353
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1870
2354
  *
@@ -1922,6 +2406,63 @@ class SiteSearchEngineServiceClient {
1922
2406
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1923
2407
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1924
2408
  }
2409
+ /**
2410
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2411
+ *
2412
+ * @param {string} project
2413
+ * @param {string} location
2414
+ * @param {string} data_store
2415
+ * @param {string} serving_config
2416
+ * @returns {string} Resource name string.
2417
+ */
2418
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2419
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2420
+ project: project,
2421
+ location: location,
2422
+ data_store: dataStore,
2423
+ serving_config: servingConfig,
2424
+ });
2425
+ }
2426
+ /**
2427
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2428
+ *
2429
+ * @param {string} projectLocationDataStoreServingConfigName
2430
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2431
+ * @returns {string} A string representing the project.
2432
+ */
2433
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2434
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2435
+ }
2436
+ /**
2437
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2438
+ *
2439
+ * @param {string} projectLocationDataStoreServingConfigName
2440
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2441
+ * @returns {string} A string representing the location.
2442
+ */
2443
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2444
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2445
+ }
2446
+ /**
2447
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2448
+ *
2449
+ * @param {string} projectLocationDataStoreServingConfigName
2450
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2451
+ * @returns {string} A string representing the data_store.
2452
+ */
2453
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2454
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2455
+ }
2456
+ /**
2457
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2458
+ *
2459
+ * @param {string} projectLocationDataStoreServingConfigName
2460
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2461
+ * @returns {string} A string representing the serving_config.
2462
+ */
2463
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2464
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2465
+ }
1925
2466
  /**
1926
2467
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1927
2468
  *