@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
@@ -1,5 +1,5 @@
1
1
  import type * as gax from 'google-gax';
2
- import type { Callback, CallOptions, Descriptors, ClientOptions, LocationsClient, LocationProtos } from 'google-gax';
2
+ import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, LocationsClient, LocationProtos } from 'google-gax';
3
3
  import * as protos from '../../protos/protos';
4
4
  /**
5
5
  * Service for Auto-Completion.
@@ -26,6 +26,7 @@ export declare class CompletionServiceClient {
26
26
  pathTemplates: {
27
27
  [name: string]: gax.PathTemplate;
28
28
  };
29
+ operationsClient: gax.OperationsClient;
29
30
  completionServiceStub?: Promise<{
30
31
  [name: string]: Function;
31
32
  }>;
@@ -127,8 +128,9 @@ export declare class CompletionServiceClient {
127
128
  * Required. The typeahead input used to fetch suggestions. Maximum length is
128
129
  * 128 characters.
129
130
  * @param {string} request.queryModel
130
- * Selects data model of query suggestions for serving. Currently supported
131
- * values:
131
+ * Specifies the autocomplete data model. This overrides any model specified
132
+ * in the Configuration > Autocomplete section of the Cloud console. Currently
133
+ * supported values:
132
134
  *
133
135
  * * `document` - Using suggestions generated from user-imported documents.
134
136
  * * `search-history` - Using suggestions generated from the past history of
@@ -179,6 +181,97 @@ export declare class CompletionServiceClient {
179
181
  ]>;
180
182
  completeQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest, options: CallOptions, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
181
183
  completeQuery(request: protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryResponse, protos.google.cloud.discoveryengine.v1alpha.ICompleteQueryRequest | null | undefined, {} | null | undefined>): void;
184
+ /**
185
+ * Imports all
186
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry|SuggestionDenyListEntry}
187
+ * for a DataStore.
188
+ *
189
+ * @param {Object} request
190
+ * The request object that will be sent.
191
+ * @param {google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesRequest.InlineSource} request.inlineSource
192
+ * The Inline source for the input content for suggestion deny list entries.
193
+ * @param {google.cloud.discoveryengine.v1alpha.GcsSource} request.gcsSource
194
+ * Cloud Storage location for the input content.
195
+ *
196
+ * Only 1 file can be specified that contains all entries to import.
197
+ * Supported values `gcs_source.schema` for autocomplete suggestion deny
198
+ * list entry imports:
199
+ *
200
+ * * `suggestion_deny_list` (default): One JSON [SuggestionDenyListEntry]
201
+ * per line.
202
+ * @param {string} request.parent
203
+ * Required. The parent data store resource name for which to import denylist
204
+ * entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
205
+ * @param {object} [options]
206
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
207
+ * @returns {Promise} - The promise which resolves to an array.
208
+ * The first element of the array is an object representing
209
+ * a long running operation. Its `promise()` method returns a promise
210
+ * you can `await` for.
211
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
212
+ * for more details and examples.
213
+ * @example <caption>include:samples/generated/v1alpha/completion_service.import_suggestion_deny_list_entries.js</caption>
214
+ * region_tag:discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_async
215
+ */
216
+ importSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
217
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata>,
218
+ protos.google.longrunning.IOperation | undefined,
219
+ {} | undefined
220
+ ]>;
221
+ importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
222
+ importSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IImportSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
223
+ /**
224
+ * Check the status of the long running operation returned by `importSuggestionDenyListEntries()`.
225
+ * @param {String} name
226
+ * The operation name that will be passed.
227
+ * @returns {Promise} - The promise which resolves to an object.
228
+ * The decoded operation object has result and metadata field to get information from.
229
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
230
+ * for more details and examples.
231
+ * @example <caption>include:samples/generated/v1alpha/completion_service.import_suggestion_deny_list_entries.js</caption>
232
+ * region_tag:discoveryengine_v1alpha_generated_CompletionService_ImportSuggestionDenyListEntries_async
233
+ */
234
+ checkImportSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.ImportSuggestionDenyListEntriesMetadata>>;
235
+ /**
236
+ * Permanently deletes all
237
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SuggestionDenyListEntry|SuggestionDenyListEntry}
238
+ * for a DataStore.
239
+ *
240
+ * @param {Object} request
241
+ * The request object that will be sent.
242
+ * @param {string} request.parent
243
+ * Required. The parent data store resource name for which to import denylist
244
+ * entries. Follows pattern projects/* /locations/* /collections/* /dataStores/*.
245
+ * @param {object} [options]
246
+ * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
247
+ * @returns {Promise} - The promise which resolves to an array.
248
+ * The first element of the array is an object representing
249
+ * a long running operation. Its `promise()` method returns a promise
250
+ * you can `await` for.
251
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
252
+ * for more details and examples.
253
+ * @example <caption>include:samples/generated/v1alpha/completion_service.purge_suggestion_deny_list_entries.js</caption>
254
+ * region_tag:discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_async
255
+ */
256
+ purgeSuggestionDenyListEntries(request?: protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesRequest, options?: CallOptions): Promise<[
257
+ LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesMetadata>,
258
+ protos.google.longrunning.IOperation | undefined,
259
+ {} | undefined
260
+ ]>;
261
+ purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
262
+ purgeSuggestionDenyListEntries(request: protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.IPurgeSuggestionDenyListEntriesMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
263
+ /**
264
+ * Check the status of the long running operation returned by `purgeSuggestionDenyListEntries()`.
265
+ * @param {String} name
266
+ * The operation name that will be passed.
267
+ * @returns {Promise} - The promise which resolves to an object.
268
+ * The decoded operation object has result and metadata field to get information from.
269
+ * Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
270
+ * for more details and examples.
271
+ * @example <caption>include:samples/generated/v1alpha/completion_service.purge_suggestion_deny_list_entries.js</caption>
272
+ * region_tag:discoveryengine_v1alpha_generated_CompletionService_PurgeSuggestionDenyListEntries_async
273
+ */
274
+ checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1alpha.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1alpha.PurgeSuggestionDenyListEntriesMetadata>>;
182
275
  /**
183
276
  * Gets information about a location.
184
277
  *
@@ -230,6 +323,150 @@ export declare class CompletionServiceClient {
230
323
  * ```
231
324
  */
232
325
  listLocationsAsync(request: LocationProtos.google.cloud.location.IListLocationsRequest, options?: CallOptions): AsyncIterable<LocationProtos.google.cloud.location.ILocation>;
326
+ /**
327
+ * Gets the latest state of a long-running operation. Clients can use this
328
+ * method to poll the operation result at intervals as recommended by the API
329
+ * service.
330
+ *
331
+ * @param {Object} request - The request object that will be sent.
332
+ * @param {string} request.name - The name of the operation resource.
333
+ * @param {Object=} options
334
+ * Optional parameters. You can override the default settings for this call,
335
+ * e.g, timeout, retries, paginations, etc. See {@link
336
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
337
+ * for the details.
338
+ * @param {function(?Error, ?Object)=} callback
339
+ * The function which will be called with the result of the API call.
340
+ *
341
+ * The second parameter to the callback is an object representing
342
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
343
+ * @return {Promise} - The promise which resolves to an array.
344
+ * The first element of the array is an object representing
345
+ * {@link google.longrunning.Operation | google.longrunning.Operation}.
346
+ * The promise has a method named "cancel" which cancels the ongoing API call.
347
+ *
348
+ * @example
349
+ * ```
350
+ * const client = longrunning.operationsClient();
351
+ * const name = '';
352
+ * const [response] = await client.getOperation({name});
353
+ * // doThingsWith(response)
354
+ * ```
355
+ */
356
+ getOperation(request: protos.google.longrunning.GetOperationRequest, options?: gax.CallOptions | Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.longrunning.Operation, protos.google.longrunning.GetOperationRequest, {} | null | undefined>): Promise<[protos.google.longrunning.Operation]>;
357
+ /**
358
+ * Lists operations that match the specified filter in the request. If the
359
+ * server doesn't support this method, it returns `UNIMPLEMENTED`. Returns an iterable object.
360
+ *
361
+ * For-await-of syntax is used with the iterable to recursively get response element on-demand.
362
+ *
363
+ * @param {Object} request - The request object that will be sent.
364
+ * @param {string} request.name - The name of the operation collection.
365
+ * @param {string} request.filter - The standard list filter.
366
+ * @param {number=} request.pageSize -
367
+ * The maximum number of resources contained in the underlying API
368
+ * response. If page streaming is performed per-resource, this
369
+ * parameter does not affect the return value. If page streaming is
370
+ * performed per-page, this determines the maximum number of
371
+ * resources in a page.
372
+ * @param {Object=} options
373
+ * Optional parameters. You can override the default settings for this call,
374
+ * e.g, timeout, retries, paginations, etc. See {@link
375
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
376
+ * details.
377
+ * @returns {Object}
378
+ * An iterable Object that conforms to {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols | iteration protocols}.
379
+ *
380
+ * @example
381
+ * ```
382
+ * const client = longrunning.operationsClient();
383
+ * for await (const response of client.listOperationsAsync(request));
384
+ * // doThingsWith(response)
385
+ * ```
386
+ */
387
+ listOperationsAsync(request: protos.google.longrunning.ListOperationsRequest, options?: gax.CallOptions): AsyncIterable<protos.google.longrunning.ListOperationsResponse>;
388
+ /**
389
+ * Starts asynchronous cancellation on a long-running operation. The server
390
+ * makes a best effort to cancel the operation, but success is not
391
+ * guaranteed. If the server doesn't support this method, it returns
392
+ * `google.rpc.Code.UNIMPLEMENTED`. Clients can use
393
+ * {@link Operations.GetOperation} or
394
+ * other methods to check whether the cancellation succeeded or whether the
395
+ * operation completed despite cancellation. On successful cancellation,
396
+ * the operation is not deleted; instead, it becomes an operation with
397
+ * an {@link Operation.error} value with a {@link google.rpc.Status.code} of
398
+ * 1, corresponding to `Code.CANCELLED`.
399
+ *
400
+ * @param {Object} request - The request object that will be sent.
401
+ * @param {string} request.name - The name of the operation resource to be cancelled.
402
+ * @param {Object=} options
403
+ * Optional parameters. You can override the default settings for this call,
404
+ * e.g, timeout, retries, paginations, etc. See {@link
405
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions} for the
406
+ * details.
407
+ * @param {function(?Error)=} callback
408
+ * The function which will be called with the result of the API call.
409
+ * @return {Promise} - The promise which resolves when API call finishes.
410
+ * The promise has a method named "cancel" which cancels the ongoing API
411
+ * call.
412
+ *
413
+ * @example
414
+ * ```
415
+ * const client = longrunning.operationsClient();
416
+ * await client.cancelOperation({name: ''});
417
+ * ```
418
+ */
419
+ cancelOperation(request: protos.google.longrunning.CancelOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.CancelOperationRequest, {} | undefined | null>, callback?: Callback<protos.google.longrunning.CancelOperationRequest, protos.google.protobuf.Empty, {} | undefined | null>): Promise<protos.google.protobuf.Empty>;
420
+ /**
421
+ * Deletes a long-running operation. This method indicates that the client is
422
+ * no longer interested in the operation result. It does not cancel the
423
+ * operation. If the server doesn't support this method, it returns
424
+ * `google.rpc.Code.UNIMPLEMENTED`.
425
+ *
426
+ * @param {Object} request - The request object that will be sent.
427
+ * @param {string} request.name - The name of the operation resource to be deleted.
428
+ * @param {Object=} options
429
+ * Optional parameters. You can override the default settings for this call,
430
+ * e.g, timeout, retries, paginations, etc. See {@link
431
+ * https://googleapis.github.io/gax-nodejs/global.html#CallOptions | gax.CallOptions}
432
+ * for the details.
433
+ * @param {function(?Error)=} callback
434
+ * The function which will be called with the result of the API call.
435
+ * @return {Promise} - The promise which resolves when API call finishes.
436
+ * The promise has a method named "cancel" which cancels the ongoing API
437
+ * call.
438
+ *
439
+ * @example
440
+ * ```
441
+ * const client = longrunning.operationsClient();
442
+ * await client.deleteOperation({name: ''});
443
+ * ```
444
+ */
445
+ deleteOperation(request: protos.google.longrunning.DeleteOperationRequest, options?: gax.CallOptions | Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>, callback?: Callback<protos.google.protobuf.Empty, protos.google.longrunning.DeleteOperationRequest, {} | null | undefined>): Promise<protos.google.protobuf.Empty>;
446
+ /**
447
+ * Return a fully-qualified aclConfig resource name string.
448
+ *
449
+ * @param {string} project
450
+ * @param {string} location
451
+ * @returns {string} Resource name string.
452
+ */
453
+ aclConfigPath(project: string, location: string): string;
454
+ /**
455
+ * Parse the project from AclConfig resource.
456
+ *
457
+ * @param {string} aclConfigName
458
+ * A fully-qualified path representing AclConfig resource.
459
+ * @returns {string} A string representing the project.
460
+ */
461
+ matchProjectFromAclConfigName(aclConfigName: string): string | number;
462
+ /**
463
+ * Parse the location from AclConfig resource.
464
+ *
465
+ * @param {string} aclConfigName
466
+ * A fully-qualified path representing AclConfig resource.
467
+ * @returns {string} A string representing the location.
468
+ */
469
+ matchLocationFromAclConfigName(aclConfigName: string): string | number;
233
470
  /**
234
471
  * Return a fully-qualified engine resource name string.
235
472
  *
@@ -374,6 +611,75 @@ export declare class CompletionServiceClient {
374
611
  * @returns {string} A string representing the document.
375
612
  */
376
613
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
614
+ /**
615
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
616
+ *
617
+ * @param {string} project
618
+ * @param {string} location
619
+ * @param {string} collection
620
+ * @param {string} data_store
621
+ * @param {string} branch
622
+ * @param {string} document
623
+ * @param {string} chunk
624
+ * @returns {string} Resource name string.
625
+ */
626
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
627
+ /**
628
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
629
+ *
630
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
631
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
632
+ * @returns {string} A string representing the project.
633
+ */
634
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
635
+ /**
636
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
637
+ *
638
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
639
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
640
+ * @returns {string} A string representing the location.
641
+ */
642
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
643
+ /**
644
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
645
+ *
646
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
647
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
648
+ * @returns {string} A string representing the collection.
649
+ */
650
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
651
+ /**
652
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
653
+ *
654
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
655
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
656
+ * @returns {string} A string representing the data_store.
657
+ */
658
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
659
+ /**
660
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
661
+ *
662
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
663
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
664
+ * @returns {string} A string representing the branch.
665
+ */
666
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
667
+ /**
668
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
669
+ *
670
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
671
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
672
+ * @returns {string} A string representing the document.
673
+ */
674
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
675
+ /**
676
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
677
+ *
678
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
679
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
680
+ * @returns {string} A string representing the chunk.
681
+ */
682
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
377
683
  /**
378
684
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
379
685
  *
@@ -425,6 +731,48 @@ export declare class CompletionServiceClient {
425
731
  * @returns {string} A string representing the conversation.
426
732
  */
427
733
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName: string): string | number;
734
+ /**
735
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
736
+ *
737
+ * @param {string} project
738
+ * @param {string} location
739
+ * @param {string} collection
740
+ * @param {string} data_store
741
+ * @returns {string} Resource name string.
742
+ */
743
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project: string, location: string, collection: string, dataStore: string): string;
744
+ /**
745
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
746
+ *
747
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
748
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
749
+ * @returns {string} A string representing the project.
750
+ */
751
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
752
+ /**
753
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
754
+ *
755
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
756
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
757
+ * @returns {string} A string representing the location.
758
+ */
759
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
760
+ /**
761
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
762
+ *
763
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
764
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
765
+ * @returns {string} A string representing the collection.
766
+ */
767
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
768
+ /**
769
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
770
+ *
771
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
772
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
773
+ * @returns {string} A string representing the data_store.
774
+ */
775
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName: string): string | number;
428
776
  /**
429
777
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
430
778
  *
@@ -476,6 +824,57 @@ export declare class CompletionServiceClient {
476
824
  * @returns {string} A string representing the schema.
477
825
  */
478
826
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
827
+ /**
828
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
829
+ *
830
+ * @param {string} project
831
+ * @param {string} location
832
+ * @param {string} collection
833
+ * @param {string} data_store
834
+ * @param {string} serving_config
835
+ * @returns {string} Resource name string.
836
+ */
837
+ projectLocationCollectionDataStoreServingConfigPath(project: string, location: string, collection: string, dataStore: string, servingConfig: string): string;
838
+ /**
839
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
840
+ *
841
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
842
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
843
+ * @returns {string} A string representing the project.
844
+ */
845
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
846
+ /**
847
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
848
+ *
849
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
850
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
851
+ * @returns {string} A string representing the location.
852
+ */
853
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
854
+ /**
855
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
856
+ *
857
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
858
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
859
+ * @returns {string} A string representing the collection.
860
+ */
861
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
862
+ /**
863
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
864
+ *
865
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
866
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
867
+ * @returns {string} A string representing the data_store.
868
+ */
869
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
870
+ /**
871
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
872
+ *
873
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
874
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
875
+ * @returns {string} A string representing the serving_config.
876
+ */
877
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
479
878
  /**
480
879
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
481
880
  *
@@ -620,6 +1019,57 @@ export declare class CompletionServiceClient {
620
1019
  * @returns {string} A string representing the conversation.
621
1020
  */
622
1021
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1022
+ /**
1023
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1024
+ *
1025
+ * @param {string} project
1026
+ * @param {string} location
1027
+ * @param {string} collection
1028
+ * @param {string} engine
1029
+ * @param {string} serving_config
1030
+ * @returns {string} Resource name string.
1031
+ */
1032
+ projectLocationCollectionEngineServingConfigPath(project: string, location: string, collection: string, engine: string, servingConfig: string): string;
1033
+ /**
1034
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1035
+ *
1036
+ * @param {string} projectLocationCollectionEngineServingConfigName
1037
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1038
+ * @returns {string} A string representing the project.
1039
+ */
1040
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1041
+ /**
1042
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1043
+ *
1044
+ * @param {string} projectLocationCollectionEngineServingConfigName
1045
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1046
+ * @returns {string} A string representing the location.
1047
+ */
1048
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1049
+ /**
1050
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1051
+ *
1052
+ * @param {string} projectLocationCollectionEngineServingConfigName
1053
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1054
+ * @returns {string} A string representing the collection.
1055
+ */
1056
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1057
+ /**
1058
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1059
+ *
1060
+ * @param {string} projectLocationCollectionEngineServingConfigName
1061
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1062
+ * @returns {string} A string representing the engine.
1063
+ */
1064
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
1065
+ /**
1066
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1067
+ *
1068
+ * @param {string} projectLocationCollectionEngineServingConfigName
1069
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1070
+ * @returns {string} A string representing the serving_config.
1071
+ */
1072
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName: string): string | number;
623
1073
  /**
624
1074
  * Return a fully-qualified projectLocationDataStore resource name string.
625
1075
  *
@@ -704,6 +1154,66 @@ export declare class CompletionServiceClient {
704
1154
  * @returns {string} A string representing the document.
705
1155
  */
706
1156
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1157
+ /**
1158
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1159
+ *
1160
+ * @param {string} project
1161
+ * @param {string} location
1162
+ * @param {string} data_store
1163
+ * @param {string} branch
1164
+ * @param {string} document
1165
+ * @param {string} chunk
1166
+ * @returns {string} Resource name string.
1167
+ */
1168
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1169
+ /**
1170
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1171
+ *
1172
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1173
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1174
+ * @returns {string} A string representing the project.
1175
+ */
1176
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1177
+ /**
1178
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1179
+ *
1180
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1181
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1182
+ * @returns {string} A string representing the location.
1183
+ */
1184
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1185
+ /**
1186
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1187
+ *
1188
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1189
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1190
+ * @returns {string} A string representing the data_store.
1191
+ */
1192
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1193
+ /**
1194
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1195
+ *
1196
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1197
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1198
+ * @returns {string} A string representing the branch.
1199
+ */
1200
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1201
+ /**
1202
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1203
+ *
1204
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1205
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1206
+ * @returns {string} A string representing the document.
1207
+ */
1208
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1209
+ /**
1210
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1211
+ *
1212
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1213
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1214
+ * @returns {string} A string representing the chunk.
1215
+ */
1216
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
707
1217
  /**
708
1218
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
709
1219
  *
@@ -746,6 +1256,39 @@ export declare class CompletionServiceClient {
746
1256
  * @returns {string} A string representing the conversation.
747
1257
  */
748
1258
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName: string): string | number;
1259
+ /**
1260
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1261
+ *
1262
+ * @param {string} project
1263
+ * @param {string} location
1264
+ * @param {string} data_store
1265
+ * @returns {string} Resource name string.
1266
+ */
1267
+ projectLocationDataStoreDocumentProcessingConfigPath(project: string, location: string, dataStore: string): string;
1268
+ /**
1269
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1270
+ *
1271
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1272
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1273
+ * @returns {string} A string representing the project.
1274
+ */
1275
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1276
+ /**
1277
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1278
+ *
1279
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1280
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1281
+ * @returns {string} A string representing the location.
1282
+ */
1283
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
1284
+ /**
1285
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1286
+ *
1287
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1288
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1289
+ * @returns {string} A string representing the data_store.
1290
+ */
1291
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName: string): string | number;
749
1292
  /**
750
1293
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
751
1294
  *
@@ -788,6 +1331,48 @@ export declare class CompletionServiceClient {
788
1331
  * @returns {string} A string representing the schema.
789
1332
  */
790
1333
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1334
+ /**
1335
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1336
+ *
1337
+ * @param {string} project
1338
+ * @param {string} location
1339
+ * @param {string} data_store
1340
+ * @param {string} serving_config
1341
+ * @returns {string} Resource name string.
1342
+ */
1343
+ projectLocationDataStoreServingConfigPath(project: string, location: string, dataStore: string, servingConfig: string): string;
1344
+ /**
1345
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1346
+ *
1347
+ * @param {string} projectLocationDataStoreServingConfigName
1348
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1349
+ * @returns {string} A string representing the project.
1350
+ */
1351
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1352
+ /**
1353
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1354
+ *
1355
+ * @param {string} projectLocationDataStoreServingConfigName
1356
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1357
+ * @returns {string} A string representing the location.
1358
+ */
1359
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1360
+ /**
1361
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1362
+ *
1363
+ * @param {string} projectLocationDataStoreServingConfigName
1364
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1365
+ * @returns {string} A string representing the data_store.
1366
+ */
1367
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
1368
+ /**
1369
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1370
+ *
1371
+ * @param {string} projectLocationDataStoreServingConfigName
1372
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1373
+ * @returns {string} A string representing the serving_config.
1374
+ */
1375
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
791
1376
  /**
792
1377
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
793
1378
  *