@google-cloud/discoveryengine 1.9.0 → 1.10.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.
- package/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
- package/build/protos/protos.d.ts +3851 -1527
- package/build/protos/protos.js +14056 -8213
- package/build/protos/protos.json +548 -8
- package/build/src/v1/completion_service_client.d.ts +220 -0
- package/build/src/v1/completion_service_client.js +260 -0
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/control_service_client.d.ts +129 -1
- package/build/src/v1/control_service_client.js +176 -0
- package/build/src/v1/conversational_search_service_client.d.ts +147 -1
- package/build/src/v1/conversational_search_service_client.js +176 -0
- package/build/src/v1/data_store_service_client.d.ts +129 -1
- package/build/src/v1/data_store_service_client.js +176 -0
- package/build/src/v1/document_service_client.d.ts +131 -1
- package/build/src/v1/document_service_client.js +176 -0
- package/build/src/v1/engine_service_client.d.ts +129 -1
- package/build/src/v1/engine_service_client.js +176 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
- package/build/src/v1/grounded_generation_service_client.js +176 -0
- package/build/src/v1/project_service_client.d.ts +129 -0
- package/build/src/v1/project_service_client.js +176 -0
- package/build/src/v1/rank_service_client.d.ts +129 -0
- package/build/src/v1/rank_service_client.js +176 -0
- package/build/src/v1/recommendation_service_client.d.ts +129 -0
- package/build/src/v1/recommendation_service_client.js +176 -0
- package/build/src/v1/schema_service_client.d.ts +129 -1
- package/build/src/v1/schema_service_client.js +176 -0
- package/build/src/v1/search_service_client.d.ts +252 -1
- package/build/src/v1/search_service_client.js +258 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
- package/build/src/v1/site_search_engine_service_client.js +176 -0
- package/build/src/v1/user_event_service_client.d.ts +129 -0
- package/build/src/v1/user_event_service_client.js +176 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
- package/build/src/v1alpha/control_service_client.d.ts +0 -1
- package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
- package/build/src/v1alpha/document_service_client.d.ts +0 -1
- package/build/src/v1alpha/engine_service_client.d.ts +0 -1
- package/build/src/v1alpha/schema_service_client.d.ts +0 -1
- package/build/src/v1alpha/search_service_client.d.ts +0 -1
- package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
- package/build/src/v1beta/control_service_client.d.ts +0 -1
- package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1beta/data_store_service_client.d.ts +0 -1
- package/build/src/v1beta/document_service_client.d.ts +0 -1
- package/build/src/v1beta/engine_service_client.d.ts +0 -1
- package/build/src/v1beta/schema_service_client.d.ts +0 -1
- package/build/src/v1beta/search_service_client.d.ts +0 -1
- package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
- package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
- package/package.json +1 -1
@@ -272,6 +272,97 @@ export declare class CompletionServiceClient {
|
|
272
272
|
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeSuggestionDenyListEntries_async
|
273
273
|
*/
|
274
274
|
checkPurgeSuggestionDenyListEntriesProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse, protos.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesMetadata>>;
|
275
|
+
/**
|
276
|
+
* Imports
|
277
|
+
* {@link protos.google.cloud.discoveryengine.v1.CompletionSuggestion|CompletionSuggestion}s
|
278
|
+
* for a DataStore.
|
279
|
+
*
|
280
|
+
* @param {Object} request
|
281
|
+
* The request object that will be sent.
|
282
|
+
* @param {google.cloud.discoveryengine.v1.ImportCompletionSuggestionsRequest.InlineSource} request.inlineSource
|
283
|
+
* The Inline source for suggestion entries.
|
284
|
+
* @param {google.cloud.discoveryengine.v1.GcsSource} request.gcsSource
|
285
|
+
* Cloud Storage location for the input content.
|
286
|
+
* @param {google.cloud.discoveryengine.v1.BigQuerySource} request.bigquerySource
|
287
|
+
* BigQuery input source.
|
288
|
+
* @param {string} request.parent
|
289
|
+
* Required. The parent data store resource name for which to import customer
|
290
|
+
* autocomplete suggestions.
|
291
|
+
*
|
292
|
+
* Follows pattern `projects/* /locations/* /collections/* /dataStores/*`
|
293
|
+
* @param {google.cloud.discoveryengine.v1.ImportErrorConfig} request.errorConfig
|
294
|
+
* The desired location of errors incurred during the Import.
|
295
|
+
* @param {object} [options]
|
296
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
297
|
+
* @returns {Promise} - The promise which resolves to an array.
|
298
|
+
* The first element of the array is an object representing
|
299
|
+
* a long running operation. Its `promise()` method returns a promise
|
300
|
+
* you can `await` for.
|
301
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
302
|
+
* for more details and examples.
|
303
|
+
* @example <caption>include:samples/generated/v1/completion_service.import_completion_suggestions.js</caption>
|
304
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_async
|
305
|
+
*/
|
306
|
+
importCompletionSuggestions(request?: protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsRequest, options?: CallOptions): Promise<[
|
307
|
+
LROperation<protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsMetadata>,
|
308
|
+
protos.google.longrunning.IOperation | undefined,
|
309
|
+
{} | undefined
|
310
|
+
]>;
|
311
|
+
importCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
312
|
+
importCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IImportCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
313
|
+
/**
|
314
|
+
* Check the status of the long running operation returned by `importCompletionSuggestions()`.
|
315
|
+
* @param {String} name
|
316
|
+
* The operation name that will be passed.
|
317
|
+
* @returns {Promise} - The promise which resolves to an object.
|
318
|
+
* The decoded operation object has result and metadata field to get information from.
|
319
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
320
|
+
* for more details and examples.
|
321
|
+
* @example <caption>include:samples/generated/v1/completion_service.import_completion_suggestions.js</caption>
|
322
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_async
|
323
|
+
*/
|
324
|
+
checkImportCompletionSuggestionsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata>>;
|
325
|
+
/**
|
326
|
+
* Permanently deletes all
|
327
|
+
* {@link protos.google.cloud.discoveryengine.v1.CompletionSuggestion|CompletionSuggestion}s
|
328
|
+
* for a DataStore.
|
329
|
+
*
|
330
|
+
* @param {Object} request
|
331
|
+
* The request object that will be sent.
|
332
|
+
* @param {string} request.parent
|
333
|
+
* Required. The parent data store resource name for which to purge completion
|
334
|
+
* suggestions. Follows pattern
|
335
|
+
* projects/* /locations/* /collections/* /dataStores/*.
|
336
|
+
* @param {object} [options]
|
337
|
+
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
338
|
+
* @returns {Promise} - The promise which resolves to an array.
|
339
|
+
* The first element of the array is an object representing
|
340
|
+
* a long running operation. Its `promise()` method returns a promise
|
341
|
+
* you can `await` for.
|
342
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
343
|
+
* for more details and examples.
|
344
|
+
* @example <caption>include:samples/generated/v1/completion_service.purge_completion_suggestions.js</caption>
|
345
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_async
|
346
|
+
*/
|
347
|
+
purgeCompletionSuggestions(request?: protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsRequest, options?: CallOptions): Promise<[
|
348
|
+
LROperation<protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsMetadata>,
|
349
|
+
protos.google.longrunning.IOperation | undefined,
|
350
|
+
{} | undefined
|
351
|
+
]>;
|
352
|
+
purgeCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsRequest, options: CallOptions, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
353
|
+
purgeCompletionSuggestions(request: protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsRequest, callback: Callback<LROperation<protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.IPurgeCompletionSuggestionsMetadata>, protos.google.longrunning.IOperation | null | undefined, {} | null | undefined>): void;
|
354
|
+
/**
|
355
|
+
* Check the status of the long running operation returned by `purgeCompletionSuggestions()`.
|
356
|
+
* @param {String} name
|
357
|
+
* The operation name that will be passed.
|
358
|
+
* @returns {Promise} - The promise which resolves to an object.
|
359
|
+
* The decoded operation object has result and metadata field to get information from.
|
360
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
361
|
+
* for more details and examples.
|
362
|
+
* @example <caption>include:samples/generated/v1/completion_service.purge_completion_suggestions.js</caption>
|
363
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_async
|
364
|
+
*/
|
365
|
+
checkPurgeCompletionSuggestionsProgress(name: string): Promise<LROperation<protos.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse, protos.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata>>;
|
275
366
|
/**
|
276
367
|
* Gets information about a location.
|
277
368
|
*
|
@@ -602,6 +693,75 @@ export declare class CompletionServiceClient {
|
|
602
693
|
* @returns {string} A string representing the document.
|
603
694
|
*/
|
604
695
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
696
|
+
/**
|
697
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
698
|
+
*
|
699
|
+
* @param {string} project
|
700
|
+
* @param {string} location
|
701
|
+
* @param {string} collection
|
702
|
+
* @param {string} data_store
|
703
|
+
* @param {string} branch
|
704
|
+
* @param {string} document
|
705
|
+
* @param {string} chunk
|
706
|
+
* @returns {string} Resource name string.
|
707
|
+
*/
|
708
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
709
|
+
/**
|
710
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
711
|
+
*
|
712
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
713
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
714
|
+
* @returns {string} A string representing the project.
|
715
|
+
*/
|
716
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
717
|
+
/**
|
718
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
719
|
+
*
|
720
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
721
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
722
|
+
* @returns {string} A string representing the location.
|
723
|
+
*/
|
724
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
725
|
+
/**
|
726
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
727
|
+
*
|
728
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
729
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
730
|
+
* @returns {string} A string representing the collection.
|
731
|
+
*/
|
732
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
733
|
+
/**
|
734
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
735
|
+
*
|
736
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
737
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
738
|
+
* @returns {string} A string representing the data_store.
|
739
|
+
*/
|
740
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
741
|
+
/**
|
742
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
743
|
+
*
|
744
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
745
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
746
|
+
* @returns {string} A string representing the branch.
|
747
|
+
*/
|
748
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
749
|
+
/**
|
750
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
751
|
+
*
|
752
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
753
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
754
|
+
* @returns {string} A string representing the document.
|
755
|
+
*/
|
756
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
757
|
+
/**
|
758
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
759
|
+
*
|
760
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
761
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
762
|
+
* @returns {string} A string representing the chunk.
|
763
|
+
*/
|
764
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
605
765
|
/**
|
606
766
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
607
767
|
*
|
@@ -1298,6 +1458,66 @@ export declare class CompletionServiceClient {
|
|
1298
1458
|
* @returns {string} A string representing the document.
|
1299
1459
|
*/
|
1300
1460
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1461
|
+
/**
|
1462
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1463
|
+
*
|
1464
|
+
* @param {string} project
|
1465
|
+
* @param {string} location
|
1466
|
+
* @param {string} data_store
|
1467
|
+
* @param {string} branch
|
1468
|
+
* @param {string} document
|
1469
|
+
* @param {string} chunk
|
1470
|
+
* @returns {string} Resource name string.
|
1471
|
+
*/
|
1472
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1473
|
+
/**
|
1474
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1475
|
+
*
|
1476
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1477
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1478
|
+
* @returns {string} A string representing the project.
|
1479
|
+
*/
|
1480
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1481
|
+
/**
|
1482
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1483
|
+
*
|
1484
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1485
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1486
|
+
* @returns {string} A string representing the location.
|
1487
|
+
*/
|
1488
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1489
|
+
/**
|
1490
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1491
|
+
*
|
1492
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1493
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1494
|
+
* @returns {string} A string representing the data_store.
|
1495
|
+
*/
|
1496
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1497
|
+
/**
|
1498
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1499
|
+
*
|
1500
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1501
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1502
|
+
* @returns {string} A string representing the branch.
|
1503
|
+
*/
|
1504
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1505
|
+
/**
|
1506
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1507
|
+
*
|
1508
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1509
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1510
|
+
* @returns {string} A string representing the document.
|
1511
|
+
*/
|
1512
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1513
|
+
/**
|
1514
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1515
|
+
*
|
1516
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1517
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1518
|
+
* @returns {string} A string representing the chunk.
|
1519
|
+
*/
|
1520
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1301
1521
|
/**
|
1302
1522
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1303
1523
|
*
|
@@ -153,6 +153,7 @@ class CompletionServiceClient {
|
|
153
153
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
154
154
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
155
155
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
156
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
156
157
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
157
158
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
158
159
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
@@ -167,6 +168,7 @@ class CompletionServiceClient {
|
|
167
168
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
168
169
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
169
170
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
171
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
170
172
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
171
173
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
172
174
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
@@ -295,9 +297,15 @@ class CompletionServiceClient {
|
|
295
297
|
const importSuggestionDenyListEntriesMetadata = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.ImportSuggestionDenyListEntriesMetadata');
|
296
298
|
const purgeSuggestionDenyListEntriesResponse = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesResponse');
|
297
299
|
const purgeSuggestionDenyListEntriesMetadata = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.PurgeSuggestionDenyListEntriesMetadata');
|
300
|
+
const importCompletionSuggestionsResponse = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsResponse');
|
301
|
+
const importCompletionSuggestionsMetadata = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.ImportCompletionSuggestionsMetadata');
|
302
|
+
const purgeCompletionSuggestionsResponse = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsResponse');
|
303
|
+
const purgeCompletionSuggestionsMetadata = protoFilesRoot.lookup('.google.cloud.discoveryengine.v1.PurgeCompletionSuggestionsMetadata');
|
298
304
|
this.descriptors.longrunning = {
|
299
305
|
importSuggestionDenyListEntries: new this._gaxModule.LongrunningDescriptor(this.operationsClient, importSuggestionDenyListEntriesResponse.decode.bind(importSuggestionDenyListEntriesResponse), importSuggestionDenyListEntriesMetadata.decode.bind(importSuggestionDenyListEntriesMetadata)),
|
300
306
|
purgeSuggestionDenyListEntries: new this._gaxModule.LongrunningDescriptor(this.operationsClient, purgeSuggestionDenyListEntriesResponse.decode.bind(purgeSuggestionDenyListEntriesResponse), purgeSuggestionDenyListEntriesMetadata.decode.bind(purgeSuggestionDenyListEntriesMetadata)),
|
307
|
+
importCompletionSuggestions: new this._gaxModule.LongrunningDescriptor(this.operationsClient, importCompletionSuggestionsResponse.decode.bind(importCompletionSuggestionsResponse), importCompletionSuggestionsMetadata.decode.bind(importCompletionSuggestionsMetadata)),
|
308
|
+
purgeCompletionSuggestions: new this._gaxModule.LongrunningDescriptor(this.operationsClient, purgeCompletionSuggestionsResponse.decode.bind(purgeCompletionSuggestionsResponse), purgeCompletionSuggestionsMetadata.decode.bind(purgeCompletionSuggestionsMetadata)),
|
301
309
|
};
|
302
310
|
// Put together the default options sent with requests.
|
303
311
|
this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1.CompletionService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
@@ -337,6 +345,8 @@ class CompletionServiceClient {
|
|
337
345
|
'completeQuery',
|
338
346
|
'importSuggestionDenyListEntries',
|
339
347
|
'purgeSuggestionDenyListEntries',
|
348
|
+
'importCompletionSuggestions',
|
349
|
+
'purgeCompletionSuggestions',
|
340
350
|
];
|
341
351
|
for (const methodName of completionServiceStubMethods) {
|
342
352
|
const callPromise = this.completionServiceStub.then(stub => (...args) => {
|
@@ -511,6 +521,82 @@ class CompletionServiceClient {
|
|
511
521
|
const decodeOperation = new this._gaxModule.Operation(operation, this.descriptors.longrunning.purgeSuggestionDenyListEntries, this._gaxModule.createDefaultBackoffSettings());
|
512
522
|
return decodeOperation;
|
513
523
|
}
|
524
|
+
importCompletionSuggestions(request, optionsOrCallback, callback) {
|
525
|
+
var _a;
|
526
|
+
request = request || {};
|
527
|
+
let options;
|
528
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
529
|
+
callback = optionsOrCallback;
|
530
|
+
options = {};
|
531
|
+
}
|
532
|
+
else {
|
533
|
+
options = optionsOrCallback;
|
534
|
+
}
|
535
|
+
options = options || {};
|
536
|
+
options.otherArgs = options.otherArgs || {};
|
537
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
538
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
539
|
+
this._gaxModule.routingHeader.fromParams({
|
540
|
+
parent: (_a = request.parent) !== null && _a !== void 0 ? _a : '',
|
541
|
+
});
|
542
|
+
this.initialize();
|
543
|
+
return this.innerApiCalls.importCompletionSuggestions(request, options, callback);
|
544
|
+
}
|
545
|
+
/**
|
546
|
+
* Check the status of the long running operation returned by `importCompletionSuggestions()`.
|
547
|
+
* @param {String} name
|
548
|
+
* The operation name that will be passed.
|
549
|
+
* @returns {Promise} - The promise which resolves to an object.
|
550
|
+
* The decoded operation object has result and metadata field to get information from.
|
551
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
552
|
+
* for more details and examples.
|
553
|
+
* @example <caption>include:samples/generated/v1/completion_service.import_completion_suggestions.js</caption>
|
554
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_ImportCompletionSuggestions_async
|
555
|
+
*/
|
556
|
+
async checkImportCompletionSuggestionsProgress(name) {
|
557
|
+
const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({ name });
|
558
|
+
const [operation] = await this.operationsClient.getOperation(request);
|
559
|
+
const decodeOperation = new this._gaxModule.Operation(operation, this.descriptors.longrunning.importCompletionSuggestions, this._gaxModule.createDefaultBackoffSettings());
|
560
|
+
return decodeOperation;
|
561
|
+
}
|
562
|
+
purgeCompletionSuggestions(request, optionsOrCallback, callback) {
|
563
|
+
var _a;
|
564
|
+
request = request || {};
|
565
|
+
let options;
|
566
|
+
if (typeof optionsOrCallback === 'function' && callback === undefined) {
|
567
|
+
callback = optionsOrCallback;
|
568
|
+
options = {};
|
569
|
+
}
|
570
|
+
else {
|
571
|
+
options = optionsOrCallback;
|
572
|
+
}
|
573
|
+
options = options || {};
|
574
|
+
options.otherArgs = options.otherArgs || {};
|
575
|
+
options.otherArgs.headers = options.otherArgs.headers || {};
|
576
|
+
options.otherArgs.headers['x-goog-request-params'] =
|
577
|
+
this._gaxModule.routingHeader.fromParams({
|
578
|
+
parent: (_a = request.parent) !== null && _a !== void 0 ? _a : '',
|
579
|
+
});
|
580
|
+
this.initialize();
|
581
|
+
return this.innerApiCalls.purgeCompletionSuggestions(request, options, callback);
|
582
|
+
}
|
583
|
+
/**
|
584
|
+
* Check the status of the long running operation returned by `purgeCompletionSuggestions()`.
|
585
|
+
* @param {String} name
|
586
|
+
* The operation name that will be passed.
|
587
|
+
* @returns {Promise} - The promise which resolves to an object.
|
588
|
+
* The decoded operation object has result and metadata field to get information from.
|
589
|
+
* Please see the {@link https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#long-running-operations | documentation }
|
590
|
+
* for more details and examples.
|
591
|
+
* @example <caption>include:samples/generated/v1/completion_service.purge_completion_suggestions.js</caption>
|
592
|
+
* region_tag:discoveryengine_v1_generated_CompletionService_PurgeCompletionSuggestions_async
|
593
|
+
*/
|
594
|
+
async checkPurgeCompletionSuggestionsProgress(name) {
|
595
|
+
const request = new this._gaxModule.operationsProtos.google.longrunning.GetOperationRequest({ name });
|
596
|
+
const [operation] = await this.operationsClient.getOperation(request);
|
597
|
+
const decodeOperation = new this._gaxModule.Operation(operation, this.descriptors.longrunning.purgeCompletionSuggestions, this._gaxModule.createDefaultBackoffSettings());
|
598
|
+
return decodeOperation;
|
599
|
+
}
|
514
600
|
/**
|
515
601
|
* Gets information about a location.
|
516
602
|
*
|
@@ -913,6 +999,99 @@ class CompletionServiceClient {
|
|
913
999
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
914
1000
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
915
1001
|
}
|
1002
|
+
/**
|
1003
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1004
|
+
*
|
1005
|
+
* @param {string} project
|
1006
|
+
* @param {string} location
|
1007
|
+
* @param {string} collection
|
1008
|
+
* @param {string} data_store
|
1009
|
+
* @param {string} branch
|
1010
|
+
* @param {string} document
|
1011
|
+
* @param {string} chunk
|
1012
|
+
* @returns {string} Resource name string.
|
1013
|
+
*/
|
1014
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1015
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1016
|
+
project: project,
|
1017
|
+
location: location,
|
1018
|
+
collection: collection,
|
1019
|
+
data_store: dataStore,
|
1020
|
+
branch: branch,
|
1021
|
+
document: document,
|
1022
|
+
chunk: chunk,
|
1023
|
+
});
|
1024
|
+
}
|
1025
|
+
/**
|
1026
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1027
|
+
*
|
1028
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1029
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1030
|
+
* @returns {string} A string representing the project.
|
1031
|
+
*/
|
1032
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1033
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1034
|
+
}
|
1035
|
+
/**
|
1036
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1037
|
+
*
|
1038
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1039
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1040
|
+
* @returns {string} A string representing the location.
|
1041
|
+
*/
|
1042
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1043
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1044
|
+
}
|
1045
|
+
/**
|
1046
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1047
|
+
*
|
1048
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1049
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1050
|
+
* @returns {string} A string representing the collection.
|
1051
|
+
*/
|
1052
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1053
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1054
|
+
}
|
1055
|
+
/**
|
1056
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1057
|
+
*
|
1058
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1059
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1060
|
+
* @returns {string} A string representing the data_store.
|
1061
|
+
*/
|
1062
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1063
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1064
|
+
}
|
1065
|
+
/**
|
1066
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1067
|
+
*
|
1068
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1069
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1070
|
+
* @returns {string} A string representing the branch.
|
1071
|
+
*/
|
1072
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1073
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1074
|
+
}
|
1075
|
+
/**
|
1076
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1077
|
+
*
|
1078
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1079
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1080
|
+
* @returns {string} A string representing the document.
|
1081
|
+
*/
|
1082
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1083
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1084
|
+
}
|
1085
|
+
/**
|
1086
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1087
|
+
*
|
1088
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1089
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1090
|
+
* @returns {string} A string representing the chunk.
|
1091
|
+
*/
|
1092
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1093
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1094
|
+
}
|
916
1095
|
/**
|
917
1096
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
918
1097
|
*
|
@@ -1855,6 +2034,87 @@ class CompletionServiceClient {
|
|
1855
2034
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1856
2035
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1857
2036
|
}
|
2037
|
+
/**
|
2038
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2039
|
+
*
|
2040
|
+
* @param {string} project
|
2041
|
+
* @param {string} location
|
2042
|
+
* @param {string} data_store
|
2043
|
+
* @param {string} branch
|
2044
|
+
* @param {string} document
|
2045
|
+
* @param {string} chunk
|
2046
|
+
* @returns {string} Resource name string.
|
2047
|
+
*/
|
2048
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2049
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2050
|
+
project: project,
|
2051
|
+
location: location,
|
2052
|
+
data_store: dataStore,
|
2053
|
+
branch: branch,
|
2054
|
+
document: document,
|
2055
|
+
chunk: chunk,
|
2056
|
+
});
|
2057
|
+
}
|
2058
|
+
/**
|
2059
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2060
|
+
*
|
2061
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2062
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2063
|
+
* @returns {string} A string representing the project.
|
2064
|
+
*/
|
2065
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2066
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2067
|
+
}
|
2068
|
+
/**
|
2069
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2070
|
+
*
|
2071
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2072
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2073
|
+
* @returns {string} A string representing the location.
|
2074
|
+
*/
|
2075
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2076
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2077
|
+
}
|
2078
|
+
/**
|
2079
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2080
|
+
*
|
2081
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2082
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2083
|
+
* @returns {string} A string representing the data_store.
|
2084
|
+
*/
|
2085
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2086
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2087
|
+
}
|
2088
|
+
/**
|
2089
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2090
|
+
*
|
2091
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2092
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2093
|
+
* @returns {string} A string representing the branch.
|
2094
|
+
*/
|
2095
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2096
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2097
|
+
}
|
2098
|
+
/**
|
2099
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2100
|
+
*
|
2101
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2102
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2103
|
+
* @returns {string} A string representing the document.
|
2104
|
+
*/
|
2105
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2106
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2107
|
+
}
|
2108
|
+
/**
|
2109
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2110
|
+
*
|
2111
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2112
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2113
|
+
* @returns {string} A string representing the chunk.
|
2114
|
+
*/
|
2115
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2116
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2117
|
+
}
|
1858
2118
|
/**
|
1859
2119
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1860
2120
|
*
|
@@ -46,6 +46,16 @@
|
|
46
46
|
"timeout_millis": 5000,
|
47
47
|
"retry_codes_name": "unavailable",
|
48
48
|
"retry_params_name": "319f27672a8be83550d842a373549dd84649a57e"
|
49
|
+
},
|
50
|
+
"ImportCompletionSuggestions": {
|
51
|
+
"timeout_millis": 5000,
|
52
|
+
"retry_codes_name": "unavailable",
|
53
|
+
"retry_params_name": "319f27672a8be83550d842a373549dd84649a57e"
|
54
|
+
},
|
55
|
+
"PurgeCompletionSuggestions": {
|
56
|
+
"timeout_millis": 5000,
|
57
|
+
"retry_codes_name": "unavailable",
|
58
|
+
"retry_params_name": "319f27672a8be83550d842a373549dd84649a57e"
|
49
59
|
}
|
50
60
|
}
|
51
61
|
}
|