@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
@@ -153,6 +153,7 @@ class RankServiceClient {
|
|
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 RankServiceClient {
|
|
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'),
|
@@ -582,6 +584,99 @@ class RankServiceClient {
|
|
582
584
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
583
585
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
584
586
|
}
|
587
|
+
/**
|
588
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
589
|
+
*
|
590
|
+
* @param {string} project
|
591
|
+
* @param {string} location
|
592
|
+
* @param {string} collection
|
593
|
+
* @param {string} data_store
|
594
|
+
* @param {string} branch
|
595
|
+
* @param {string} document
|
596
|
+
* @param {string} chunk
|
597
|
+
* @returns {string} Resource name string.
|
598
|
+
*/
|
599
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
600
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
601
|
+
project: project,
|
602
|
+
location: location,
|
603
|
+
collection: collection,
|
604
|
+
data_store: dataStore,
|
605
|
+
branch: branch,
|
606
|
+
document: document,
|
607
|
+
chunk: chunk,
|
608
|
+
});
|
609
|
+
}
|
610
|
+
/**
|
611
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
612
|
+
*
|
613
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
614
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
615
|
+
* @returns {string} A string representing the project.
|
616
|
+
*/
|
617
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
618
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
619
|
+
}
|
620
|
+
/**
|
621
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
622
|
+
*
|
623
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
624
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
625
|
+
* @returns {string} A string representing the location.
|
626
|
+
*/
|
627
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
628
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
629
|
+
}
|
630
|
+
/**
|
631
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
632
|
+
*
|
633
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
634
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
635
|
+
* @returns {string} A string representing the collection.
|
636
|
+
*/
|
637
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
638
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
639
|
+
}
|
640
|
+
/**
|
641
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
642
|
+
*
|
643
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
644
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
645
|
+
* @returns {string} A string representing the data_store.
|
646
|
+
*/
|
647
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
648
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
649
|
+
}
|
650
|
+
/**
|
651
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
652
|
+
*
|
653
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
654
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
655
|
+
* @returns {string} A string representing the branch.
|
656
|
+
*/
|
657
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
658
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
659
|
+
}
|
660
|
+
/**
|
661
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
662
|
+
*
|
663
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
664
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
665
|
+
* @returns {string} A string representing the document.
|
666
|
+
*/
|
667
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
668
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
669
|
+
}
|
670
|
+
/**
|
671
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
672
|
+
*
|
673
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
674
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
675
|
+
* @returns {string} A string representing the chunk.
|
676
|
+
*/
|
677
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
678
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
679
|
+
}
|
585
680
|
/**
|
586
681
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
587
682
|
*
|
@@ -1524,6 +1619,87 @@ class RankServiceClient {
|
|
1524
1619
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1525
1620
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1526
1621
|
}
|
1622
|
+
/**
|
1623
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1624
|
+
*
|
1625
|
+
* @param {string} project
|
1626
|
+
* @param {string} location
|
1627
|
+
* @param {string} data_store
|
1628
|
+
* @param {string} branch
|
1629
|
+
* @param {string} document
|
1630
|
+
* @param {string} chunk
|
1631
|
+
* @returns {string} Resource name string.
|
1632
|
+
*/
|
1633
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1634
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1635
|
+
project: project,
|
1636
|
+
location: location,
|
1637
|
+
data_store: dataStore,
|
1638
|
+
branch: branch,
|
1639
|
+
document: document,
|
1640
|
+
chunk: chunk,
|
1641
|
+
});
|
1642
|
+
}
|
1643
|
+
/**
|
1644
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1645
|
+
*
|
1646
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1647
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1648
|
+
* @returns {string} A string representing the project.
|
1649
|
+
*/
|
1650
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1651
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1652
|
+
}
|
1653
|
+
/**
|
1654
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1655
|
+
*
|
1656
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1657
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1658
|
+
* @returns {string} A string representing the location.
|
1659
|
+
*/
|
1660
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1661
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1662
|
+
}
|
1663
|
+
/**
|
1664
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1665
|
+
*
|
1666
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1667
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1668
|
+
* @returns {string} A string representing the data_store.
|
1669
|
+
*/
|
1670
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1671
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1672
|
+
}
|
1673
|
+
/**
|
1674
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1675
|
+
*
|
1676
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1677
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1678
|
+
* @returns {string} A string representing the branch.
|
1679
|
+
*/
|
1680
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1681
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1682
|
+
}
|
1683
|
+
/**
|
1684
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1685
|
+
*
|
1686
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1687
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1688
|
+
* @returns {string} A string representing the document.
|
1689
|
+
*/
|
1690
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1691
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
1692
|
+
}
|
1693
|
+
/**
|
1694
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1695
|
+
*
|
1696
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1697
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1698
|
+
* @returns {string} A string representing the chunk.
|
1699
|
+
*/
|
1700
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1701
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1702
|
+
}
|
1527
1703
|
/**
|
1528
1704
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1529
1705
|
*
|
@@ -460,6 +460,75 @@ export declare class RecommendationServiceClient {
|
|
460
460
|
* @returns {string} A string representing the document.
|
461
461
|
*/
|
462
462
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
463
|
+
/**
|
464
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
465
|
+
*
|
466
|
+
* @param {string} project
|
467
|
+
* @param {string} location
|
468
|
+
* @param {string} collection
|
469
|
+
* @param {string} data_store
|
470
|
+
* @param {string} branch
|
471
|
+
* @param {string} document
|
472
|
+
* @param {string} chunk
|
473
|
+
* @returns {string} Resource name string.
|
474
|
+
*/
|
475
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
476
|
+
/**
|
477
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
478
|
+
*
|
479
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
480
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
481
|
+
* @returns {string} A string representing the project.
|
482
|
+
*/
|
483
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
484
|
+
/**
|
485
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
486
|
+
*
|
487
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
488
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
489
|
+
* @returns {string} A string representing the location.
|
490
|
+
*/
|
491
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
492
|
+
/**
|
493
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
494
|
+
*
|
495
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
496
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
497
|
+
* @returns {string} A string representing the collection.
|
498
|
+
*/
|
499
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
500
|
+
/**
|
501
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
502
|
+
*
|
503
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
504
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
505
|
+
* @returns {string} A string representing the data_store.
|
506
|
+
*/
|
507
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
508
|
+
/**
|
509
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
510
|
+
*
|
511
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
512
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
513
|
+
* @returns {string} A string representing the branch.
|
514
|
+
*/
|
515
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
516
|
+
/**
|
517
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
518
|
+
*
|
519
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
520
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
521
|
+
* @returns {string} A string representing the document.
|
522
|
+
*/
|
523
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
524
|
+
/**
|
525
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
526
|
+
*
|
527
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
528
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
529
|
+
* @returns {string} A string representing the chunk.
|
530
|
+
*/
|
531
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
463
532
|
/**
|
464
533
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
465
534
|
*
|
@@ -1258,6 +1327,66 @@ export declare class RecommendationServiceClient {
|
|
1258
1327
|
* @returns {string} A string representing the document.
|
1259
1328
|
*/
|
1260
1329
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1330
|
+
/**
|
1331
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1332
|
+
*
|
1333
|
+
* @param {string} project
|
1334
|
+
* @param {string} location
|
1335
|
+
* @param {string} data_store
|
1336
|
+
* @param {string} branch
|
1337
|
+
* @param {string} document
|
1338
|
+
* @param {string} chunk
|
1339
|
+
* @returns {string} Resource name string.
|
1340
|
+
*/
|
1341
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1342
|
+
/**
|
1343
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1344
|
+
*
|
1345
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1346
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1347
|
+
* @returns {string} A string representing the project.
|
1348
|
+
*/
|
1349
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1350
|
+
/**
|
1351
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1352
|
+
*
|
1353
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1354
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1355
|
+
* @returns {string} A string representing the location.
|
1356
|
+
*/
|
1357
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1358
|
+
/**
|
1359
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1360
|
+
*
|
1361
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1362
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1363
|
+
* @returns {string} A string representing the data_store.
|
1364
|
+
*/
|
1365
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1366
|
+
/**
|
1367
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1368
|
+
*
|
1369
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1370
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1371
|
+
* @returns {string} A string representing the branch.
|
1372
|
+
*/
|
1373
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1374
|
+
/**
|
1375
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1376
|
+
*
|
1377
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1378
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1379
|
+
* @returns {string} A string representing the document.
|
1380
|
+
*/
|
1381
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1382
|
+
/**
|
1383
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1384
|
+
*
|
1385
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1386
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1387
|
+
* @returns {string} A string representing the chunk.
|
1388
|
+
*/
|
1389
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1261
1390
|
/**
|
1262
1391
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1263
1392
|
*
|
@@ -154,6 +154,7 @@ class RecommendationServiceClient {
|
|
154
154
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
155
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
156
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
157
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
157
158
|
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
158
159
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
159
160
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
@@ -170,6 +171,7 @@ class RecommendationServiceClient {
|
|
170
171
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
171
172
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
172
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
|
+
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
173
175
|
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
174
176
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
175
177
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
@@ -586,6 +588,99 @@ class RecommendationServiceClient {
|
|
586
588
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
587
589
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
588
590
|
}
|
591
|
+
/**
|
592
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
593
|
+
*
|
594
|
+
* @param {string} project
|
595
|
+
* @param {string} location
|
596
|
+
* @param {string} collection
|
597
|
+
* @param {string} data_store
|
598
|
+
* @param {string} branch
|
599
|
+
* @param {string} document
|
600
|
+
* @param {string} chunk
|
601
|
+
* @returns {string} Resource name string.
|
602
|
+
*/
|
603
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
604
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
605
|
+
project: project,
|
606
|
+
location: location,
|
607
|
+
collection: collection,
|
608
|
+
data_store: dataStore,
|
609
|
+
branch: branch,
|
610
|
+
document: document,
|
611
|
+
chunk: chunk,
|
612
|
+
});
|
613
|
+
}
|
614
|
+
/**
|
615
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
616
|
+
*
|
617
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
618
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
619
|
+
* @returns {string} A string representing the project.
|
620
|
+
*/
|
621
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
623
|
+
}
|
624
|
+
/**
|
625
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
626
|
+
*
|
627
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
628
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
629
|
+
* @returns {string} A string representing the location.
|
630
|
+
*/
|
631
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
632
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
633
|
+
}
|
634
|
+
/**
|
635
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
636
|
+
*
|
637
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
638
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
639
|
+
* @returns {string} A string representing the collection.
|
640
|
+
*/
|
641
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
642
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
643
|
+
}
|
644
|
+
/**
|
645
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
646
|
+
*
|
647
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
648
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
649
|
+
* @returns {string} A string representing the data_store.
|
650
|
+
*/
|
651
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
652
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
653
|
+
}
|
654
|
+
/**
|
655
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
656
|
+
*
|
657
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
658
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
659
|
+
* @returns {string} A string representing the branch.
|
660
|
+
*/
|
661
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
662
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
663
|
+
}
|
664
|
+
/**
|
665
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
666
|
+
*
|
667
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
668
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
669
|
+
* @returns {string} A string representing the document.
|
670
|
+
*/
|
671
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
672
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
673
|
+
}
|
674
|
+
/**
|
675
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
676
|
+
*
|
677
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
678
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
679
|
+
* @returns {string} A string representing the chunk.
|
680
|
+
*/
|
681
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
682
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
683
|
+
}
|
589
684
|
/**
|
590
685
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
591
686
|
*
|
@@ -1666,6 +1761,87 @@ class RecommendationServiceClient {
|
|
1666
1761
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1667
1762
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1668
1763
|
}
|
1764
|
+
/**
|
1765
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1766
|
+
*
|
1767
|
+
* @param {string} project
|
1768
|
+
* @param {string} location
|
1769
|
+
* @param {string} data_store
|
1770
|
+
* @param {string} branch
|
1771
|
+
* @param {string} document
|
1772
|
+
* @param {string} chunk
|
1773
|
+
* @returns {string} Resource name string.
|
1774
|
+
*/
|
1775
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1776
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1777
|
+
project: project,
|
1778
|
+
location: location,
|
1779
|
+
data_store: dataStore,
|
1780
|
+
branch: branch,
|
1781
|
+
document: document,
|
1782
|
+
chunk: chunk,
|
1783
|
+
});
|
1784
|
+
}
|
1785
|
+
/**
|
1786
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1787
|
+
*
|
1788
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1789
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1790
|
+
* @returns {string} A string representing the project.
|
1791
|
+
*/
|
1792
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1793
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1794
|
+
}
|
1795
|
+
/**
|
1796
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1797
|
+
*
|
1798
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1799
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1800
|
+
* @returns {string} A string representing the location.
|
1801
|
+
*/
|
1802
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1803
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1804
|
+
}
|
1805
|
+
/**
|
1806
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1807
|
+
*
|
1808
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1809
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1810
|
+
* @returns {string} A string representing the data_store.
|
1811
|
+
*/
|
1812
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1813
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1814
|
+
}
|
1815
|
+
/**
|
1816
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1817
|
+
*
|
1818
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1819
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1820
|
+
* @returns {string} A string representing the branch.
|
1821
|
+
*/
|
1822
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1823
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1824
|
+
}
|
1825
|
+
/**
|
1826
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1827
|
+
*
|
1828
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1829
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1830
|
+
* @returns {string} A string representing the document.
|
1831
|
+
*/
|
1832
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1833
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
1834
|
+
}
|
1835
|
+
/**
|
1836
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1837
|
+
*
|
1838
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1839
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1840
|
+
* @returns {string} A string representing the chunk.
|
1841
|
+
*/
|
1842
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1843
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1844
|
+
}
|
1669
1845
|
/**
|
1670
1846
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1671
1847
|
*
|