@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 EngineServiceClient {
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 EngineServiceClient {
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 EngineServiceClient {
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 EngineServiceClient {
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 EngineServiceClient {
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
  ],
@@ -346,7 +360,7 @@ class EngineServiceClient {
346
360
  * @returns {string} The DNS address for this service.
347
361
  */
348
362
  static get servicePath() {
349
- if (typeof process !== undefined &&
363
+ if (typeof process === 'object' &&
350
364
  typeof process.emitWarning === 'function') {
351
365
  process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
352
366
  }
@@ -358,7 +372,7 @@ class EngineServiceClient {
358
372
  * @returns {string} The DNS address for this service.
359
373
  */
360
374
  static get apiEndpoint() {
361
- if (typeof process !== undefined &&
375
+ if (typeof process === 'object' &&
362
376
  typeof process.emitWarning === 'function') {
363
377
  process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
364
378
  }
@@ -888,6 +902,41 @@ class EngineServiceClient {
888
902
  // --------------------
889
903
  // -- Path templates --
890
904
  // --------------------
905
+ /**
906
+ * Return a fully-qualified aclConfig resource name string.
907
+ *
908
+ * @param {string} project
909
+ * @param {string} location
910
+ * @returns {string} Resource name string.
911
+ */
912
+ aclConfigPath(project, location) {
913
+ return this.pathTemplates.aclConfigPathTemplate.render({
914
+ project: project,
915
+ location: location,
916
+ });
917
+ }
918
+ /**
919
+ * Parse the project from AclConfig resource.
920
+ *
921
+ * @param {string} aclConfigName
922
+ * A fully-qualified path representing AclConfig resource.
923
+ * @returns {string} A string representing the project.
924
+ */
925
+ matchProjectFromAclConfigName(aclConfigName) {
926
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
927
+ .project;
928
+ }
929
+ /**
930
+ * Parse the location from AclConfig resource.
931
+ *
932
+ * @param {string} aclConfigName
933
+ * A fully-qualified path representing AclConfig resource.
934
+ * @returns {string} A string representing the location.
935
+ */
936
+ matchLocationFromAclConfigName(aclConfigName) {
937
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
938
+ .location;
939
+ }
891
940
  /**
892
941
  * Return a fully-qualified collection resource name string.
893
942
  *
@@ -1131,6 +1180,99 @@ class EngineServiceClient {
1131
1180
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1132
1181
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1133
1182
  }
1183
+ /**
1184
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1185
+ *
1186
+ * @param {string} project
1187
+ * @param {string} location
1188
+ * @param {string} collection
1189
+ * @param {string} data_store
1190
+ * @param {string} branch
1191
+ * @param {string} document
1192
+ * @param {string} chunk
1193
+ * @returns {string} Resource name string.
1194
+ */
1195
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1196
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1197
+ project: project,
1198
+ location: location,
1199
+ collection: collection,
1200
+ data_store: dataStore,
1201
+ branch: branch,
1202
+ document: document,
1203
+ chunk: chunk,
1204
+ });
1205
+ }
1206
+ /**
1207
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1208
+ *
1209
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1210
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1211
+ * @returns {string} A string representing the project.
1212
+ */
1213
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1214
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1215
+ }
1216
+ /**
1217
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1218
+ *
1219
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1220
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1221
+ * @returns {string} A string representing the location.
1222
+ */
1223
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1224
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1225
+ }
1226
+ /**
1227
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1228
+ *
1229
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1230
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1231
+ * @returns {string} A string representing the collection.
1232
+ */
1233
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1234
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1235
+ }
1236
+ /**
1237
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1238
+ *
1239
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1240
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1241
+ * @returns {string} A string representing the data_store.
1242
+ */
1243
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1244
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1245
+ }
1246
+ /**
1247
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1248
+ *
1249
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1250
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1251
+ * @returns {string} A string representing the branch.
1252
+ */
1253
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1254
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1255
+ }
1256
+ /**
1257
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1258
+ *
1259
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1260
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1261
+ * @returns {string} A string representing the document.
1262
+ */
1263
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1264
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1265
+ }
1266
+ /**
1267
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1268
+ *
1269
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1270
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1271
+ * @returns {string} A string representing the chunk.
1272
+ */
1273
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1274
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1275
+ }
1134
1276
  /**
1135
1277
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
1136
1278
  *
@@ -1200,6 +1342,63 @@ class EngineServiceClient {
1200
1342
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
1201
1343
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
1202
1344
  }
1345
+ /**
1346
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1347
+ *
1348
+ * @param {string} project
1349
+ * @param {string} location
1350
+ * @param {string} collection
1351
+ * @param {string} data_store
1352
+ * @returns {string} Resource name string.
1353
+ */
1354
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1355
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1356
+ project: project,
1357
+ location: location,
1358
+ collection: collection,
1359
+ data_store: dataStore,
1360
+ });
1361
+ }
1362
+ /**
1363
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1364
+ *
1365
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1366
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1367
+ * @returns {string} A string representing the project.
1368
+ */
1369
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1370
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1371
+ }
1372
+ /**
1373
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1374
+ *
1375
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1376
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1377
+ * @returns {string} A string representing the location.
1378
+ */
1379
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1380
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1381
+ }
1382
+ /**
1383
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1384
+ *
1385
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1386
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1387
+ * @returns {string} A string representing the collection.
1388
+ */
1389
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1390
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1391
+ }
1392
+ /**
1393
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1394
+ *
1395
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1396
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1397
+ * @returns {string} A string representing the data_store.
1398
+ */
1399
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1400
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1401
+ }
1203
1402
  /**
1204
1403
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
1205
1404
  *
@@ -1269,6 +1468,75 @@ class EngineServiceClient {
1269
1468
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1270
1469
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1271
1470
  }
1471
+ /**
1472
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1473
+ *
1474
+ * @param {string} project
1475
+ * @param {string} location
1476
+ * @param {string} collection
1477
+ * @param {string} data_store
1478
+ * @param {string} serving_config
1479
+ * @returns {string} Resource name string.
1480
+ */
1481
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1482
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1483
+ project: project,
1484
+ location: location,
1485
+ collection: collection,
1486
+ data_store: dataStore,
1487
+ serving_config: servingConfig,
1488
+ });
1489
+ }
1490
+ /**
1491
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1492
+ *
1493
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1494
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1495
+ * @returns {string} A string representing the project.
1496
+ */
1497
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1498
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1499
+ }
1500
+ /**
1501
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1502
+ *
1503
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1504
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1505
+ * @returns {string} A string representing the location.
1506
+ */
1507
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1508
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1509
+ }
1510
+ /**
1511
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1512
+ *
1513
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1514
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1515
+ * @returns {string} A string representing the collection.
1516
+ */
1517
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1518
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1519
+ }
1520
+ /**
1521
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1522
+ *
1523
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1524
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1525
+ * @returns {string} A string representing the data_store.
1526
+ */
1527
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1528
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1529
+ }
1530
+ /**
1531
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1532
+ *
1533
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1534
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1535
+ * @returns {string} A string representing the serving_config.
1536
+ */
1537
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1538
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1539
+ }
1272
1540
  /**
1273
1541
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1274
1542
  *
@@ -1464,6 +1732,75 @@ class EngineServiceClient {
1464
1732
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1465
1733
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1466
1734
  }
1735
+ /**
1736
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1737
+ *
1738
+ * @param {string} project
1739
+ * @param {string} location
1740
+ * @param {string} collection
1741
+ * @param {string} engine
1742
+ * @param {string} serving_config
1743
+ * @returns {string} Resource name string.
1744
+ */
1745
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1746
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1747
+ project: project,
1748
+ location: location,
1749
+ collection: collection,
1750
+ engine: engine,
1751
+ serving_config: servingConfig,
1752
+ });
1753
+ }
1754
+ /**
1755
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1756
+ *
1757
+ * @param {string} projectLocationCollectionEngineServingConfigName
1758
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1759
+ * @returns {string} A string representing the project.
1760
+ */
1761
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1762
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1763
+ }
1764
+ /**
1765
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1766
+ *
1767
+ * @param {string} projectLocationCollectionEngineServingConfigName
1768
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1769
+ * @returns {string} A string representing the location.
1770
+ */
1771
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1772
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1773
+ }
1774
+ /**
1775
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1776
+ *
1777
+ * @param {string} projectLocationCollectionEngineServingConfigName
1778
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1779
+ * @returns {string} A string representing the collection.
1780
+ */
1781
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1782
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1783
+ }
1784
+ /**
1785
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1786
+ *
1787
+ * @param {string} projectLocationCollectionEngineServingConfigName
1788
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1789
+ * @returns {string} A string representing the engine.
1790
+ */
1791
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1792
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1793
+ }
1794
+ /**
1795
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1796
+ *
1797
+ * @param {string} projectLocationCollectionEngineServingConfigName
1798
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1799
+ * @returns {string} A string representing the serving_config.
1800
+ */
1801
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1802
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1803
+ }
1467
1804
  /**
1468
1805
  * Return a fully-qualified projectLocationDataStore resource name string.
1469
1806
  *
@@ -1578,6 +1915,87 @@ class EngineServiceClient {
1578
1915
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1579
1916
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1580
1917
  }
1918
+ /**
1919
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1920
+ *
1921
+ * @param {string} project
1922
+ * @param {string} location
1923
+ * @param {string} data_store
1924
+ * @param {string} branch
1925
+ * @param {string} document
1926
+ * @param {string} chunk
1927
+ * @returns {string} Resource name string.
1928
+ */
1929
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1930
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1931
+ project: project,
1932
+ location: location,
1933
+ data_store: dataStore,
1934
+ branch: branch,
1935
+ document: document,
1936
+ chunk: chunk,
1937
+ });
1938
+ }
1939
+ /**
1940
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1941
+ *
1942
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1943
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1944
+ * @returns {string} A string representing the project.
1945
+ */
1946
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1947
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1948
+ }
1949
+ /**
1950
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1951
+ *
1952
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1953
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1954
+ * @returns {string} A string representing the location.
1955
+ */
1956
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1957
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1958
+ }
1959
+ /**
1960
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1961
+ *
1962
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1963
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1964
+ * @returns {string} A string representing the data_store.
1965
+ */
1966
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1967
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1968
+ }
1969
+ /**
1970
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1971
+ *
1972
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1973
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1974
+ * @returns {string} A string representing the branch.
1975
+ */
1976
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1977
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1978
+ }
1979
+ /**
1980
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1981
+ *
1982
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1983
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1984
+ * @returns {string} A string representing the document.
1985
+ */
1986
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1987
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1988
+ }
1989
+ /**
1990
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1991
+ *
1992
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1993
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1994
+ * @returns {string} A string representing the chunk.
1995
+ */
1996
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1997
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1998
+ }
1581
1999
  /**
1582
2000
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1583
2001
  *
@@ -1635,6 +2053,51 @@ class EngineServiceClient {
1635
2053
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1636
2054
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1637
2055
  }
2056
+ /**
2057
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
2058
+ *
2059
+ * @param {string} project
2060
+ * @param {string} location
2061
+ * @param {string} data_store
2062
+ * @returns {string} Resource name string.
2063
+ */
2064
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
2065
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
2066
+ project: project,
2067
+ location: location,
2068
+ data_store: dataStore,
2069
+ });
2070
+ }
2071
+ /**
2072
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
2073
+ *
2074
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2075
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2076
+ * @returns {string} A string representing the project.
2077
+ */
2078
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2079
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
2080
+ }
2081
+ /**
2082
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
2083
+ *
2084
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2085
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2086
+ * @returns {string} A string representing the location.
2087
+ */
2088
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2089
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
2090
+ }
2091
+ /**
2092
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
2093
+ *
2094
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
2095
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
2096
+ * @returns {string} A string representing the data_store.
2097
+ */
2098
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
2099
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
2100
+ }
1638
2101
  /**
1639
2102
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1640
2103
  *
@@ -1692,6 +2155,63 @@ class EngineServiceClient {
1692
2155
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1693
2156
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1694
2157
  }
2158
+ /**
2159
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
2160
+ *
2161
+ * @param {string} project
2162
+ * @param {string} location
2163
+ * @param {string} data_store
2164
+ * @param {string} serving_config
2165
+ * @returns {string} Resource name string.
2166
+ */
2167
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
2168
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
2169
+ project: project,
2170
+ location: location,
2171
+ data_store: dataStore,
2172
+ serving_config: servingConfig,
2173
+ });
2174
+ }
2175
+ /**
2176
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
2177
+ *
2178
+ * @param {string} projectLocationDataStoreServingConfigName
2179
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2180
+ * @returns {string} A string representing the project.
2181
+ */
2182
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2183
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
2184
+ }
2185
+ /**
2186
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
2187
+ *
2188
+ * @param {string} projectLocationDataStoreServingConfigName
2189
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2190
+ * @returns {string} A string representing the location.
2191
+ */
2192
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2193
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
2194
+ }
2195
+ /**
2196
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
2197
+ *
2198
+ * @param {string} projectLocationDataStoreServingConfigName
2199
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2200
+ * @returns {string} A string representing the data_store.
2201
+ */
2202
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2203
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
2204
+ }
2205
+ /**
2206
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
2207
+ *
2208
+ * @param {string} projectLocationDataStoreServingConfigName
2209
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
2210
+ * @returns {string} A string representing the serving_config.
2211
+ */
2212
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
2213
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
2214
+ }
1695
2215
  /**
1696
2216
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1697
2217
  *