@google-cloud/discoveryengine 1.4.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (121) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +15 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +106 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +97 -4
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +102 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +70 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +376 -21
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +115 -0
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +221 -30
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +27 -20
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +148 -0
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  30. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  31. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
  36. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
  37. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  38. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
  39. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
  40. package/build/protos/protos.d.ts +18160 -8292
  41. package/build/protos/protos.js +50325 -25400
  42. package/build/protos/protos.json +4864 -2447
  43. package/build/src/v1/completion_service_client.js +10 -7
  44. package/build/src/v1/conversational_search_service_client.js +10 -7
  45. package/build/src/v1/data_store_service_client.js +10 -7
  46. package/build/src/v1/document_service_client.js +10 -7
  47. package/build/src/v1/engine_service_client.js +10 -7
  48. package/build/src/v1/schema_service_client.js +10 -7
  49. package/build/src/v1/search_service_client.js +10 -7
  50. package/build/src/v1/site_search_engine_service_client.js +10 -7
  51. package/build/src/v1/user_event_service_client.js +10 -7
  52. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  53. package/build/src/v1alpha/acl_config_service_client.js +1768 -0
  54. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  55. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  56. package/build/src/v1alpha/chunk_service_client.js +1889 -0
  57. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  58. package/build/src/v1alpha/completion_service_client.d.ts +588 -3
  59. package/build/src/v1alpha/completion_service_client.js +844 -9
  60. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  61. package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
  62. package/build/src/v1alpha/conversational_search_service_client.js +326 -7
  63. package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
  64. package/build/src/v1alpha/data_store_service_client.js +575 -9
  65. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  66. package/build/src/v1alpha/document_service_client.d.ts +462 -21
  67. package/build/src/v1alpha/document_service_client.js +549 -7
  68. package/build/src/v1alpha/document_service_client_config.json +5 -0
  69. package/build/src/v1alpha/engine_service_client.d.ts +375 -2
  70. package/build/src/v1alpha/engine_service_client.js +527 -7
  71. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  72. package/build/src/v1alpha/estimate_billing_service_client.js +2034 -0
  73. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  74. package/build/src/v1alpha/index.d.ts +5 -0
  75. package/build/src/v1alpha/index.js +11 -1
  76. package/build/src/v1alpha/rank_service_client.d.ts +1254 -0
  77. package/build/src/v1alpha/rank_service_client.js +1796 -0
  78. package/build/src/v1alpha/rank_service_client_config.json +30 -0
  79. package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
  80. package/build/src/v1alpha/recommendation_service_client.js +326 -7
  81. package/build/src/v1alpha/schema_service_client.d.ts +372 -0
  82. package/build/src/v1alpha/schema_service_client.js +527 -7
  83. package/build/src/v1alpha/search_service_client.d.ts +288 -30
  84. package/build/src/v1alpha/search_service_client.js +366 -27
  85. package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
  86. package/build/src/v1alpha/search_tuning_service_client.js +527 -7
  87. package/build/src/v1alpha/serving_config_service_client.d.ts +1370 -0
  88. package/build/src/v1alpha/serving_config_service_client.js +1939 -0
  89. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  90. package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
  91. package/build/src/v1alpha/site_search_engine_service_client.js +527 -7
  92. package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
  93. package/build/src/v1alpha/user_event_service_client.js +527 -7
  94. package/build/src/v1beta/completion_service_client.d.ts +75 -0
  95. package/build/src/v1beta/completion_service_client.js +114 -7
  96. package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
  97. package/build/src/v1beta/conversational_search_service_client.js +114 -7
  98. package/build/src/v1beta/data_store_service_client.d.ts +75 -0
  99. package/build/src/v1beta/data_store_service_client.js +114 -7
  100. package/build/src/v1beta/document_service_client.d.ts +75 -0
  101. package/build/src/v1beta/document_service_client.js +114 -7
  102. package/build/src/v1beta/engine_service_client.d.ts +75 -0
  103. package/build/src/v1beta/engine_service_client.js +114 -7
  104. package/build/src/v1beta/index.d.ts +1 -0
  105. package/build/src/v1beta/index.js +3 -1
  106. package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
  107. package/build/src/v1beta/recommendation_service_client.js +114 -7
  108. package/build/src/v1beta/schema_service_client.d.ts +75 -0
  109. package/build/src/v1beta/schema_service_client.js +114 -7
  110. package/build/src/v1beta/search_service_client.d.ts +81 -0
  111. package/build/src/v1beta/search_service_client.js +118 -7
  112. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  113. package/build/src/v1beta/search_tuning_service_client.js +1784 -0
  114. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  115. package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
  116. package/build/src/v1beta/serving_config_service_client.js +176 -12
  117. package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
  118. package/build/src/v1beta/site_search_engine_service_client.js +114 -7
  119. package/build/src/v1beta/user_event_service_client.d.ts +75 -0
  120. package/build/src/v1beta/user_event_service_client.js +114 -7
  121. package/package.json +3 -3
@@ -73,7 +73,7 @@ class DataStoreServiceClient {
73
73
  * ```
74
74
  */
75
75
  constructor(opts, gaxInstance) {
76
- var _a, _b, _c, _d;
76
+ var _a, _b, _c, _d, _e;
77
77
  this._terminated = false;
78
78
  this.descriptors = {
79
79
  page: {},
@@ -88,14 +88,17 @@ class DataStoreServiceClient {
88
88
  (opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
89
89
  throw new Error('Please set either universe_domain or universeDomain, but not both.');
90
90
  }
91
+ const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
92
+ ? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
93
+ : undefined;
91
94
  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';
95
+ (_c = (_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 : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
93
96
  this._servicePath = 'discoveryengine.' + this._universeDomain;
94
97
  const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
95
98
  this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
96
99
  const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
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');
100
+ const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
101
+ const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
99
102
  opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
100
103
  // Request numeric enum values if REST transport is used.
101
104
  opts.numericEnums = true;
@@ -126,7 +129,7 @@ class DataStoreServiceClient {
126
129
  this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
127
130
  // Determine the client header string.
128
131
  const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
129
- if (typeof process !== 'undefined' && 'versions' in process) {
132
+ if (typeof process === 'object' && 'versions' in process) {
130
133
  clientHeader.push(`gl-node/${process.versions.node}`);
131
134
  }
132
135
  else {
@@ -147,19 +150,27 @@ class DataStoreServiceClient {
147
150
  // identifiers to uniquely identify resources within the API.
148
151
  // Create useful helper objects for these.
149
152
  this.pathTemplates = {
153
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
150
154
  collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
151
155
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
152
156
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
153
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
154
159
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
160
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
155
161
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
162
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
156
163
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
157
164
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
158
165
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
166
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
159
167
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
160
168
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
169
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
161
170
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
171
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
162
172
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
173
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
163
174
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
164
175
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
165
176
  };
@@ -217,6 +228,9 @@ class DataStoreServiceClient {
217
228
  {
218
229
  get: '/v1alpha/{name=projects/*/locations/*/dataStores/*/operations/*}',
219
230
  },
231
+ {
232
+ get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
233
+ },
220
234
  { get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
221
235
  { get: '/v1alpha/{name=projects/*/operations/*}' },
222
236
  ],
@@ -315,6 +329,8 @@ class DataStoreServiceClient {
315
329
  'listDataStores',
316
330
  'deleteDataStore',
317
331
  'updateDataStore',
332
+ 'getDocumentProcessingConfig',
333
+ 'updateDocumentProcessingConfig',
318
334
  ];
319
335
  for (const methodName of dataStoreServiceStubMethods) {
320
336
  const callPromise = this.dataStoreServiceStub.then(stub => (...args) => {
@@ -340,7 +356,7 @@ class DataStoreServiceClient {
340
356
  * @returns {string} The DNS address for this service.
341
357
  */
342
358
  static get servicePath() {
343
- if (typeof process !== undefined &&
359
+ if (typeof process === 'object' &&
344
360
  typeof process.emitWarning === 'function') {
345
361
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
346
362
  }
@@ -352,7 +368,7 @@ class DataStoreServiceClient {
352
368
  * @returns {string} The DNS address for this service.
353
369
  */
354
370
  static get apiEndpoint() {
355
- if (typeof process !== undefined &&
371
+ if (typeof process === 'object' &&
356
372
  typeof process.emitWarning === 'function') {
357
373
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
358
374
  }
@@ -436,6 +452,48 @@ class DataStoreServiceClient {
436
452
  this.initialize();
437
453
  return this.innerApiCalls.updateDataStore(request, options, callback);
438
454
  }
455
+ getDocumentProcessingConfig(request, optionsOrCallback, callback) {
456
+ var _a;
457
+ request = request || {};
458
+ let options;
459
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
460
+ callback = optionsOrCallback;
461
+ options = {};
462
+ }
463
+ else {
464
+ options = optionsOrCallback;
465
+ }
466
+ options = options || {};
467
+ options.otherArgs = options.otherArgs || {};
468
+ options.otherArgs.headers = options.otherArgs.headers || {};
469
+ options.otherArgs.headers['x-goog-request-params'] =
470
+ this._gaxModule.routingHeader.fromParams({
471
+ name: (_a = request.name) !== null && _a !== void 0 ? _a : '',
472
+ });
473
+ this.initialize();
474
+ return this.innerApiCalls.getDocumentProcessingConfig(request, options, callback);
475
+ }
476
+ updateDocumentProcessingConfig(request, optionsOrCallback, callback) {
477
+ var _a;
478
+ request = request || {};
479
+ let options;
480
+ if (typeof optionsOrCallback === 'function' && callback === undefined) {
481
+ callback = optionsOrCallback;
482
+ options = {};
483
+ }
484
+ else {
485
+ options = optionsOrCallback;
486
+ }
487
+ options = options || {};
488
+ options.otherArgs = options.otherArgs || {};
489
+ options.otherArgs.headers = options.otherArgs.headers || {};
490
+ options.otherArgs.headers['x-goog-request-params'] =
491
+ this._gaxModule.routingHeader.fromParams({
492
+ 'document_processing_config.name': (_a = request.documentProcessingConfig.name) !== null && _a !== void 0 ? _a : '',
493
+ });
494
+ this.initialize();
495
+ return this.innerApiCalls.updateDocumentProcessingConfig(request, options, callback);
496
+ }
439
497
  createDataStore(request, optionsOrCallback, callback) {
440
498
  var _a;
441
499
  request = request || {};
@@ -541,7 +599,8 @@ class DataStoreServiceClient {
541
599
  * Required. The parent branch resource name, such as
542
600
  * `projects/{project}/locations/{location}/collections/{collection_id}`.
543
601
  *
544
- * If the caller does not have permission to list {@link protos.|DataStores}s under this
602
+ * If the caller does not have permission to list
603
+ * {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}s under this
545
604
  * location, regardless of whether or not this data store exists, a
546
605
  * PERMISSION_DENIED error is returned.
547
606
  * @param {number} request.pageSize
@@ -601,7 +660,8 @@ class DataStoreServiceClient {
601
660
  * Required. The parent branch resource name, such as
602
661
  * `projects/{project}/locations/{location}/collections/{collection_id}`.
603
662
  *
604
- * If the caller does not have permission to list {@link protos.|DataStores}s under this
663
+ * If the caller does not have permission to list
664
+ * {@link protos.google.cloud.discoveryengine.v1alpha.DataStore|DataStore}s under this
605
665
  * location, regardless of whether or not this data store exists, a
606
666
  * PERMISSION_DENIED error is returned.
607
667
  * @param {number} request.pageSize
@@ -838,6 +898,41 @@ class DataStoreServiceClient {
838
898
  // --------------------
839
899
  // -- Path templates --
840
900
  // --------------------
901
+ /**
902
+ * Return a fully-qualified aclConfig resource name string.
903
+ *
904
+ * @param {string} project
905
+ * @param {string} location
906
+ * @returns {string} Resource name string.
907
+ */
908
+ aclConfigPath(project, location) {
909
+ return this.pathTemplates.aclConfigPathTemplate.render({
910
+ project: project,
911
+ location: location,
912
+ });
913
+ }
914
+ /**
915
+ * Parse the project from AclConfig resource.
916
+ *
917
+ * @param {string} aclConfigName
918
+ * A fully-qualified path representing AclConfig resource.
919
+ * @returns {string} A string representing the project.
920
+ */
921
+ matchProjectFromAclConfigName(aclConfigName) {
922
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
923
+ .project;
924
+ }
925
+ /**
926
+ * Parse the location from AclConfig resource.
927
+ *
928
+ * @param {string} aclConfigName
929
+ * A fully-qualified path representing AclConfig resource.
930
+ * @returns {string} A string representing the location.
931
+ */
932
+ matchLocationFromAclConfigName(aclConfigName) {
933
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
934
+ .location;
935
+ }
841
936
  /**
842
937
  * Return a fully-qualified collection resource name string.
843
938
  *
@@ -1081,6 +1176,99 @@ class DataStoreServiceClient {
1081
1176
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1082
1177
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1083
1178
  }
1179
+ /**
1180
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1181
+ *
1182
+ * @param {string} project
1183
+ * @param {string} location
1184
+ * @param {string} collection
1185
+ * @param {string} data_store
1186
+ * @param {string} branch
1187
+ * @param {string} document
1188
+ * @param {string} chunk
1189
+ * @returns {string} Resource name string.
1190
+ */
1191
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1192
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1193
+ project: project,
1194
+ location: location,
1195
+ collection: collection,
1196
+ data_store: dataStore,
1197
+ branch: branch,
1198
+ document: document,
1199
+ chunk: chunk,
1200
+ });
1201
+ }
1202
+ /**
1203
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1204
+ *
1205
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1206
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1207
+ * @returns {string} A string representing the project.
1208
+ */
1209
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1210
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1211
+ }
1212
+ /**
1213
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1214
+ *
1215
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1216
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1217
+ * @returns {string} A string representing the location.
1218
+ */
1219
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1220
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1221
+ }
1222
+ /**
1223
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1224
+ *
1225
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1226
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1227
+ * @returns {string} A string representing the collection.
1228
+ */
1229
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1230
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1231
+ }
1232
+ /**
1233
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1234
+ *
1235
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1236
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1237
+ * @returns {string} A string representing the data_store.
1238
+ */
1239
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1240
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1241
+ }
1242
+ /**
1243
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1244
+ *
1245
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1246
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1247
+ * @returns {string} A string representing the branch.
1248
+ */
1249
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1250
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1251
+ }
1252
+ /**
1253
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1254
+ *
1255
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1256
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1257
+ * @returns {string} A string representing the document.
1258
+ */
1259
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1260
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1261
+ }
1262
+ /**
1263
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1264
+ *
1265
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1266
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1267
+ * @returns {string} A string representing the chunk.
1268
+ */
1269
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1270
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1271
+ }
1084
1272
  /**
1085
1273
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1086
1274
  *
@@ -1150,6 +1338,63 @@ class DataStoreServiceClient {
1150
1338
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1151
1339
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1152
1340
  }
1341
+ /**
1342
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1343
+ *
1344
+ * @param {string} project
1345
+ * @param {string} location
1346
+ * @param {string} collection
1347
+ * @param {string} data_store
1348
+ * @returns {string} Resource name string.
1349
+ */
1350
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1351
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1352
+ project: project,
1353
+ location: location,
1354
+ collection: collection,
1355
+ data_store: dataStore,
1356
+ });
1357
+ }
1358
+ /**
1359
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1360
+ *
1361
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1362
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1363
+ * @returns {string} A string representing the project.
1364
+ */
1365
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1366
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1367
+ }
1368
+ /**
1369
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1370
+ *
1371
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1372
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1373
+ * @returns {string} A string representing the location.
1374
+ */
1375
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1376
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1377
+ }
1378
+ /**
1379
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1380
+ *
1381
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1382
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1383
+ * @returns {string} A string representing the collection.
1384
+ */
1385
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1386
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1387
+ }
1388
+ /**
1389
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1390
+ *
1391
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1392
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1393
+ * @returns {string} A string representing the data_store.
1394
+ */
1395
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1396
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1397
+ }
1153
1398
  /**
1154
1399
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1155
1400
  *
@@ -1219,6 +1464,75 @@ class DataStoreServiceClient {
1219
1464
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1220
1465
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1221
1466
  }
1467
+ /**
1468
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1469
+ *
1470
+ * @param {string} project
1471
+ * @param {string} location
1472
+ * @param {string} collection
1473
+ * @param {string} data_store
1474
+ * @param {string} serving_config
1475
+ * @returns {string} Resource name string.
1476
+ */
1477
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1478
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1479
+ project: project,
1480
+ location: location,
1481
+ collection: collection,
1482
+ data_store: dataStore,
1483
+ serving_config: servingConfig,
1484
+ });
1485
+ }
1486
+ /**
1487
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1488
+ *
1489
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1490
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1491
+ * @returns {string} A string representing the project.
1492
+ */
1493
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1494
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1495
+ }
1496
+ /**
1497
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1498
+ *
1499
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1500
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1501
+ * @returns {string} A string representing the location.
1502
+ */
1503
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1504
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1505
+ }
1506
+ /**
1507
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1508
+ *
1509
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1510
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1511
+ * @returns {string} A string representing the collection.
1512
+ */
1513
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1514
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1515
+ }
1516
+ /**
1517
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1518
+ *
1519
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1520
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1521
+ * @returns {string} A string representing the data_store.
1522
+ */
1523
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1524
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1525
+ }
1526
+ /**
1527
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1528
+ *
1529
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1530
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1531
+ * @returns {string} A string representing the serving_config.
1532
+ */
1533
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1534
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1535
+ }
1222
1536
  /**
1223
1537
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1224
1538
  *
@@ -1414,6 +1728,75 @@ class DataStoreServiceClient {
1414
1728
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1415
1729
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1416
1730
  }
1731
+ /**
1732
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1733
+ *
1734
+ * @param {string} project
1735
+ * @param {string} location
1736
+ * @param {string} collection
1737
+ * @param {string} engine
1738
+ * @param {string} serving_config
1739
+ * @returns {string} Resource name string.
1740
+ */
1741
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1742
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1743
+ project: project,
1744
+ location: location,
1745
+ collection: collection,
1746
+ engine: engine,
1747
+ serving_config: servingConfig,
1748
+ });
1749
+ }
1750
+ /**
1751
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1752
+ *
1753
+ * @param {string} projectLocationCollectionEngineServingConfigName
1754
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1755
+ * @returns {string} A string representing the project.
1756
+ */
1757
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1758
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1759
+ }
1760
+ /**
1761
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1762
+ *
1763
+ * @param {string} projectLocationCollectionEngineServingConfigName
1764
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1765
+ * @returns {string} A string representing the location.
1766
+ */
1767
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1768
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1769
+ }
1770
+ /**
1771
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1772
+ *
1773
+ * @param {string} projectLocationCollectionEngineServingConfigName
1774
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1775
+ * @returns {string} A string representing the collection.
1776
+ */
1777
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1778
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1779
+ }
1780
+ /**
1781
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1782
+ *
1783
+ * @param {string} projectLocationCollectionEngineServingConfigName
1784
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1785
+ * @returns {string} A string representing the engine.
1786
+ */
1787
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1788
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1789
+ }
1790
+ /**
1791
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1792
+ *
1793
+ * @param {string} projectLocationCollectionEngineServingConfigName
1794
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1795
+ * @returns {string} A string representing the serving_config.
1796
+ */
1797
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1798
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1799
+ }
1417
1800
  /**
1418
1801
  * Return a fully-qualified projectLocationDataStore resource name string.
1419
1802
  *
@@ -1528,6 +1911,87 @@ class DataStoreServiceClient {
1528
1911
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1529
1912
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1530
1913
  }
1914
+ /**
1915
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1916
+ *
1917
+ * @param {string} project
1918
+ * @param {string} location
1919
+ * @param {string} data_store
1920
+ * @param {string} branch
1921
+ * @param {string} document
1922
+ * @param {string} chunk
1923
+ * @returns {string} Resource name string.
1924
+ */
1925
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1926
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1927
+ project: project,
1928
+ location: location,
1929
+ data_store: dataStore,
1930
+ branch: branch,
1931
+ document: document,
1932
+ chunk: chunk,
1933
+ });
1934
+ }
1935
+ /**
1936
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1937
+ *
1938
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1939
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1940
+ * @returns {string} A string representing the project.
1941
+ */
1942
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1943
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1944
+ }
1945
+ /**
1946
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1947
+ *
1948
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1949
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1950
+ * @returns {string} A string representing the location.
1951
+ */
1952
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1953
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1954
+ }
1955
+ /**
1956
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1957
+ *
1958
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1959
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1960
+ * @returns {string} A string representing the data_store.
1961
+ */
1962
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1963
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1964
+ }
1965
+ /**
1966
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1967
+ *
1968
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1969
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1970
+ * @returns {string} A string representing the branch.
1971
+ */
1972
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1973
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1974
+ }
1975
+ /**
1976
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1977
+ *
1978
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1979
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1980
+ * @returns {string} A string representing the document.
1981
+ */
1982
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1983
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1984
+ }
1985
+ /**
1986
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1987
+ *
1988
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1989
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1990
+ * @returns {string} A string representing the chunk.
1991
+ */
1992
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1993
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1994
+ }
1531
1995
  /**
1532
1996
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1533
1997
  *
@@ -1585,6 +2049,51 @@ class DataStoreServiceClient {
1585
2049
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1586
2050
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1587
2051
  }
2052
+ /**
2053
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2054
+ *
2055
+ * @param {string} project
2056
+ * @param {string} location
2057
+ * @param {string} data_store
2058
+ * @returns {string} Resource name string.
2059
+ */
2060
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2061
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2062
+ project: project,
2063
+ location: location,
2064
+ data_store: dataStore,
2065
+ });
2066
+ }
2067
+ /**
2068
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2069
+ *
2070
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2071
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2072
+ * @returns {string} A string representing the project.
2073
+ */
2074
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2075
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2076
+ }
2077
+ /**
2078
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2079
+ *
2080
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2081
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2082
+ * @returns {string} A string representing the location.
2083
+ */
2084
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2085
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2086
+ }
2087
+ /**
2088
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2089
+ *
2090
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2091
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2092
+ * @returns {string} A string representing the data_store.
2093
+ */
2094
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2095
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2096
+ }
1588
2097
  /**
1589
2098
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1590
2099
  *
@@ -1642,6 +2151,63 @@ class DataStoreServiceClient {
1642
2151
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1643
2152
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1644
2153
  }
2154
+ /**
2155
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2156
+ *
2157
+ * @param {string} project
2158
+ * @param {string} location
2159
+ * @param {string} data_store
2160
+ * @param {string} serving_config
2161
+ * @returns {string} Resource name string.
2162
+ */
2163
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2164
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2165
+ project: project,
2166
+ location: location,
2167
+ data_store: dataStore,
2168
+ serving_config: servingConfig,
2169
+ });
2170
+ }
2171
+ /**
2172
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2173
+ *
2174
+ * @param {string} projectLocationDataStoreServingConfigName
2175
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2176
+ * @returns {string} A string representing the project.
2177
+ */
2178
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2179
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2180
+ }
2181
+ /**
2182
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2183
+ *
2184
+ * @param {string} projectLocationDataStoreServingConfigName
2185
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2186
+ * @returns {string} A string representing the location.
2187
+ */
2188
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2189
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2190
+ }
2191
+ /**
2192
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2193
+ *
2194
+ * @param {string} projectLocationDataStoreServingConfigName
2195
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2196
+ * @returns {string} A string representing the data_store.
2197
+ */
2198
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2199
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2200
+ }
2201
+ /**
2202
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2203
+ *
2204
+ * @param {string} projectLocationDataStoreServingConfigName
2205
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2206
+ * @returns {string} A string representing the serving_config.
2207
+ */
2208
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2209
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2210
+ }
1645
2211
  /**
1646
2212
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1647
2213
  *