@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.
Files changed (66) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +2 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
  6. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
  15. package/build/protos/protos.d.ts +3851 -1527
  16. package/build/protos/protos.js +14056 -8213
  17. package/build/protos/protos.json +548 -8
  18. package/build/src/v1/completion_service_client.d.ts +220 -0
  19. package/build/src/v1/completion_service_client.js +260 -0
  20. package/build/src/v1/completion_service_client_config.json +10 -0
  21. package/build/src/v1/control_service_client.d.ts +129 -1
  22. package/build/src/v1/control_service_client.js +176 -0
  23. package/build/src/v1/conversational_search_service_client.d.ts +147 -1
  24. package/build/src/v1/conversational_search_service_client.js +176 -0
  25. package/build/src/v1/data_store_service_client.d.ts +129 -1
  26. package/build/src/v1/data_store_service_client.js +176 -0
  27. package/build/src/v1/document_service_client.d.ts +131 -1
  28. package/build/src/v1/document_service_client.js +176 -0
  29. package/build/src/v1/engine_service_client.d.ts +129 -1
  30. package/build/src/v1/engine_service_client.js +176 -0
  31. package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
  32. package/build/src/v1/grounded_generation_service_client.js +176 -0
  33. package/build/src/v1/project_service_client.d.ts +129 -0
  34. package/build/src/v1/project_service_client.js +176 -0
  35. package/build/src/v1/rank_service_client.d.ts +129 -0
  36. package/build/src/v1/rank_service_client.js +176 -0
  37. package/build/src/v1/recommendation_service_client.d.ts +129 -0
  38. package/build/src/v1/recommendation_service_client.js +176 -0
  39. package/build/src/v1/schema_service_client.d.ts +129 -1
  40. package/build/src/v1/schema_service_client.js +176 -0
  41. package/build/src/v1/search_service_client.d.ts +252 -1
  42. package/build/src/v1/search_service_client.js +258 -0
  43. package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
  44. package/build/src/v1/site_search_engine_service_client.js +176 -0
  45. package/build/src/v1/user_event_service_client.d.ts +129 -0
  46. package/build/src/v1/user_event_service_client.js +176 -0
  47. package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
  48. package/build/src/v1alpha/control_service_client.d.ts +0 -1
  49. package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
  50. package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
  51. package/build/src/v1alpha/document_service_client.d.ts +0 -1
  52. package/build/src/v1alpha/engine_service_client.d.ts +0 -1
  53. package/build/src/v1alpha/schema_service_client.d.ts +0 -1
  54. package/build/src/v1alpha/search_service_client.d.ts +0 -1
  55. package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
  56. package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
  57. package/build/src/v1beta/control_service_client.d.ts +0 -1
  58. package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
  59. package/build/src/v1beta/data_store_service_client.d.ts +0 -1
  60. package/build/src/v1beta/document_service_client.d.ts +0 -1
  61. package/build/src/v1beta/engine_service_client.d.ts +0 -1
  62. package/build/src/v1beta/schema_service_client.d.ts +0 -1
  63. package/build/src/v1beta/search_service_client.d.ts +0 -1
  64. package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
  65. package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
  66. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -590,6 +589,75 @@ export declare class ControlServiceClient {
590
589
  * @returns {string} A string representing the document.
591
590
  */
592
591
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
592
+ /**
593
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
594
+ *
595
+ * @param {string} project
596
+ * @param {string} location
597
+ * @param {string} collection
598
+ * @param {string} data_store
599
+ * @param {string} branch
600
+ * @param {string} document
601
+ * @param {string} chunk
602
+ * @returns {string} Resource name string.
603
+ */
604
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
605
+ /**
606
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
607
+ *
608
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
609
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
610
+ * @returns {string} A string representing the project.
611
+ */
612
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
613
+ /**
614
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
615
+ *
616
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
617
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
618
+ * @returns {string} A string representing the location.
619
+ */
620
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
621
+ /**
622
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
623
+ *
624
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
625
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
626
+ * @returns {string} A string representing the collection.
627
+ */
628
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
629
+ /**
630
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
631
+ *
632
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
633
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
634
+ * @returns {string} A string representing the data_store.
635
+ */
636
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
637
+ /**
638
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
639
+ *
640
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
641
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
642
+ * @returns {string} A string representing the branch.
643
+ */
644
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
645
+ /**
646
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
647
+ *
648
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
649
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
650
+ * @returns {string} A string representing the document.
651
+ */
652
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
653
+ /**
654
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
655
+ *
656
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
657
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
658
+ * @returns {string} A string representing the chunk.
659
+ */
660
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
593
661
  /**
594
662
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
595
663
  *
@@ -1286,6 +1354,66 @@ export declare class ControlServiceClient {
1286
1354
  * @returns {string} A string representing the document.
1287
1355
  */
1288
1356
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1357
+ /**
1358
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1359
+ *
1360
+ * @param {string} project
1361
+ * @param {string} location
1362
+ * @param {string} data_store
1363
+ * @param {string} branch
1364
+ * @param {string} document
1365
+ * @param {string} chunk
1366
+ * @returns {string} Resource name string.
1367
+ */
1368
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1369
+ /**
1370
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1371
+ *
1372
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1373
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1374
+ * @returns {string} A string representing the project.
1375
+ */
1376
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1377
+ /**
1378
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1379
+ *
1380
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1381
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1382
+ * @returns {string} A string representing the location.
1383
+ */
1384
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1385
+ /**
1386
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1387
+ *
1388
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1389
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1390
+ * @returns {string} A string representing the data_store.
1391
+ */
1392
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1393
+ /**
1394
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1395
+ *
1396
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1397
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1398
+ * @returns {string} A string representing the branch.
1399
+ */
1400
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1401
+ /**
1402
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1403
+ *
1404
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1405
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1406
+ * @returns {string} A string representing the document.
1407
+ */
1408
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1409
+ /**
1410
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1411
+ *
1412
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1413
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1414
+ * @returns {string} A string representing the chunk.
1415
+ */
1416
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1289
1417
  /**
1290
1418
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1291
1419
  *
@@ -157,6 +157,7 @@ class ControlServiceClient {
157
157
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
158
158
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
159
159
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
160
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
160
161
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
161
162
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
162
163
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
@@ -171,6 +172,7 @@ class ControlServiceClient {
171
172
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
172
173
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
173
174
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
175
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
174
176
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
175
177
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
176
178
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
@@ -811,6 +813,99 @@ class ControlServiceClient {
811
813
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
812
814
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
813
815
  }
816
+ /**
817
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
818
+ *
819
+ * @param {string} project
820
+ * @param {string} location
821
+ * @param {string} collection
822
+ * @param {string} data_store
823
+ * @param {string} branch
824
+ * @param {string} document
825
+ * @param {string} chunk
826
+ * @returns {string} Resource name string.
827
+ */
828
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
829
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
830
+ project: project,
831
+ location: location,
832
+ collection: collection,
833
+ data_store: dataStore,
834
+ branch: branch,
835
+ document: document,
836
+ chunk: chunk,
837
+ });
838
+ }
839
+ /**
840
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
841
+ *
842
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
843
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
844
+ * @returns {string} A string representing the project.
845
+ */
846
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
847
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
848
+ }
849
+ /**
850
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
851
+ *
852
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
853
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
854
+ * @returns {string} A string representing the location.
855
+ */
856
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
857
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
858
+ }
859
+ /**
860
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
861
+ *
862
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
863
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
864
+ * @returns {string} A string representing the collection.
865
+ */
866
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
867
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
868
+ }
869
+ /**
870
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
871
+ *
872
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
873
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
874
+ * @returns {string} A string representing the data_store.
875
+ */
876
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
877
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
878
+ }
879
+ /**
880
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
881
+ *
882
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
883
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
884
+ * @returns {string} A string representing the branch.
885
+ */
886
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
887
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
888
+ }
889
+ /**
890
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
891
+ *
892
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
893
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
894
+ * @returns {string} A string representing the document.
895
+ */
896
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
897
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
898
+ }
899
+ /**
900
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
901
+ *
902
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
903
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
904
+ * @returns {string} A string representing the chunk.
905
+ */
906
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
907
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
908
+ }
814
909
  /**
815
910
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
816
911
  *
@@ -1753,6 +1848,87 @@ class ControlServiceClient {
1753
1848
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1754
1849
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1755
1850
  }
1851
+ /**
1852
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1853
+ *
1854
+ * @param {string} project
1855
+ * @param {string} location
1856
+ * @param {string} data_store
1857
+ * @param {string} branch
1858
+ * @param {string} document
1859
+ * @param {string} chunk
1860
+ * @returns {string} Resource name string.
1861
+ */
1862
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1863
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1864
+ project: project,
1865
+ location: location,
1866
+ data_store: dataStore,
1867
+ branch: branch,
1868
+ document: document,
1869
+ chunk: chunk,
1870
+ });
1871
+ }
1872
+ /**
1873
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1874
+ *
1875
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1876
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1877
+ * @returns {string} A string representing the project.
1878
+ */
1879
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1880
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1881
+ }
1882
+ /**
1883
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1884
+ *
1885
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1886
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1887
+ * @returns {string} A string representing the location.
1888
+ */
1889
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1890
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1891
+ }
1892
+ /**
1893
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1894
+ *
1895
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1896
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1897
+ * @returns {string} A string representing the data_store.
1898
+ */
1899
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1900
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1901
+ }
1902
+ /**
1903
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1904
+ *
1905
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1906
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1907
+ * @returns {string} A string representing the branch.
1908
+ */
1909
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1910
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1911
+ }
1912
+ /**
1913
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1914
+ *
1915
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1916
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1917
+ * @returns {string} A string representing the document.
1918
+ */
1919
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1920
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1921
+ }
1922
+ /**
1923
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1924
+ *
1925
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1926
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1927
+ * @returns {string} A string representing the chunk.
1928
+ */
1929
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1930
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1931
+ }
1756
1932
  /**
1757
1933
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1758
1934
  *
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -364,6 +363,24 @@ export declare class ConversationalSearchServiceClient {
364
363
  *
365
364
  * The field must be a UTF-8 encoded string with a length limit of 128
366
365
  * characters. Otherwise, an `INVALID_ARGUMENT` error is returned.
366
+ * @param {number[]} request.userLabels
367
+ * The user labels applied to a resource must meet the following requirements:
368
+ *
369
+ * * Each resource can have multiple labels, up to a maximum of 64.
370
+ * * Each label must be a key-value pair.
371
+ * * Keys have a minimum length of 1 character and a maximum length of 63
372
+ * characters and cannot be empty. Values can be empty and have a maximum
373
+ * length of 63 characters.
374
+ * * Keys and values can contain only lowercase letters, numeric characters,
375
+ * underscores, and dashes. All characters must use UTF-8 encoding, and
376
+ * international characters are allowed.
377
+ * * The key portion of a label must be unique. However, you can use the same
378
+ * key with multiple resources.
379
+ * * Keys must start with a lowercase letter or international character.
380
+ *
381
+ * See [Google Cloud
382
+ * Document](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements)
383
+ * for more details.
367
384
  * @param {object} [options]
368
385
  * Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
369
386
  * @returns {Promise} - The promise which resolves to an array.
@@ -1005,6 +1022,75 @@ export declare class ConversationalSearchServiceClient {
1005
1022
  * @returns {string} A string representing the document.
1006
1023
  */
1007
1024
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1025
+ /**
1026
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1027
+ *
1028
+ * @param {string} project
1029
+ * @param {string} location
1030
+ * @param {string} collection
1031
+ * @param {string} data_store
1032
+ * @param {string} branch
1033
+ * @param {string} document
1034
+ * @param {string} chunk
1035
+ * @returns {string} Resource name string.
1036
+ */
1037
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
1038
+ /**
1039
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1040
+ *
1041
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1042
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1043
+ * @returns {string} A string representing the project.
1044
+ */
1045
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1046
+ /**
1047
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1048
+ *
1049
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1050
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1051
+ * @returns {string} A string representing the location.
1052
+ */
1053
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1054
+ /**
1055
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1056
+ *
1057
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1058
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1059
+ * @returns {string} A string representing the collection.
1060
+ */
1061
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1062
+ /**
1063
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1064
+ *
1065
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1066
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1067
+ * @returns {string} A string representing the data_store.
1068
+ */
1069
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1070
+ /**
1071
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1072
+ *
1073
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1074
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1075
+ * @returns {string} A string representing the branch.
1076
+ */
1077
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1078
+ /**
1079
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1080
+ *
1081
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1082
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1083
+ * @returns {string} A string representing the document.
1084
+ */
1085
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1086
+ /**
1087
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1088
+ *
1089
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1090
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1091
+ * @returns {string} A string representing the chunk.
1092
+ */
1093
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1008
1094
  /**
1009
1095
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1010
1096
  *
@@ -1803,6 +1889,66 @@ export declare class ConversationalSearchServiceClient {
1803
1889
  * @returns {string} A string representing the document.
1804
1890
  */
1805
1891
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1892
+ /**
1893
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1894
+ *
1895
+ * @param {string} project
1896
+ * @param {string} location
1897
+ * @param {string} data_store
1898
+ * @param {string} branch
1899
+ * @param {string} document
1900
+ * @param {string} chunk
1901
+ * @returns {string} Resource name string.
1902
+ */
1903
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1904
+ /**
1905
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1906
+ *
1907
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1908
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1909
+ * @returns {string} A string representing the project.
1910
+ */
1911
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1912
+ /**
1913
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1914
+ *
1915
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1916
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1917
+ * @returns {string} A string representing the location.
1918
+ */
1919
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1920
+ /**
1921
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1922
+ *
1923
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1924
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1925
+ * @returns {string} A string representing the data_store.
1926
+ */
1927
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1928
+ /**
1929
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1930
+ *
1931
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1932
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1933
+ * @returns {string} A string representing the branch.
1934
+ */
1935
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1936
+ /**
1937
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1938
+ *
1939
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1940
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1941
+ * @returns {string} A string representing the document.
1942
+ */
1943
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1944
+ /**
1945
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1946
+ *
1947
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1948
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1949
+ * @returns {string} A string representing the chunk.
1950
+ */
1951
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1806
1952
  /**
1807
1953
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1808
1954
  *