@google-cloud/discoveryengine 1.4.0 → 1.4.1

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 (107) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +13 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config.proto +49 -0
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/acl_config_service.proto +79 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +72 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/chunk_service.proto +137 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +77 -4
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/completion.proto +52 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/completion_service.proto +44 -2
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +6 -1
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store.proto +44 -0
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +80 -1
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +83 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +127 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +6 -0
  16. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +13 -8
  17. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +3 -2
  18. package/build/protos/google/cloud/discoveryengine/v1alpha/estimate_billing_service.proto +130 -0
  19. package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +64 -0
  20. package/build/protos/google/cloud/discoveryengine/v1alpha/purge_config.proto +66 -0
  21. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +3 -1
  22. package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +3 -0
  23. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +74 -13
  24. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +24 -20
  25. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config.proto +271 -0
  26. package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +147 -0
  27. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +9 -3
  28. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +7 -4
  29. package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +4 -3
  30. package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +5 -0
  31. package/build/protos/google/cloud/discoveryengine/v1beta/data_store.proto +22 -0
  32. package/build/protos/google/cloud/discoveryengine/v1beta/document.proto +9 -0
  33. package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +94 -0
  34. package/build/protos/google/cloud/discoveryengine/v1beta/purge_config.proto +3 -0
  35. package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +19 -4
  36. package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +151 -0
  37. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config.proto +4 -3
  38. package/build/protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto +6 -5
  39. package/build/protos/protos.d.ts +15133 -7787
  40. package/build/protos/protos.js +50444 -32043
  41. package/build/protos/protos.json +4132 -2305
  42. package/build/src/v1alpha/acl_config_service_client.d.ts +1233 -0
  43. package/build/src/v1alpha/acl_config_service_client.js +1765 -0
  44. package/build/src/v1alpha/acl_config_service_client_config.json +34 -0
  45. package/build/src/v1alpha/chunk_service_client.d.ts +1350 -0
  46. package/build/src/v1alpha/chunk_service_client.js +1886 -0
  47. package/build/src/v1alpha/chunk_service_client_config.json +34 -0
  48. package/build/src/v1alpha/completion_service_client.d.ts +588 -3
  49. package/build/src/v1alpha/completion_service_client.js +831 -2
  50. package/build/src/v1alpha/completion_service_client_config.json +10 -0
  51. package/build/src/v1alpha/conversational_search_service_client.d.ts +233 -1
  52. package/build/src/v1alpha/conversational_search_service_client.js +316 -0
  53. package/build/src/v1alpha/data_store_service_client.d.ts +451 -3
  54. package/build/src/v1alpha/data_store_service_client.js +562 -2
  55. package/build/src/v1alpha/data_store_service_client_config.json +8 -0
  56. package/build/src/v1alpha/document_service_client.d.ts +382 -0
  57. package/build/src/v1alpha/document_service_client.js +514 -0
  58. package/build/src/v1alpha/engine_service_client.d.ts +375 -2
  59. package/build/src/v1alpha/engine_service_client.js +514 -0
  60. package/build/src/v1alpha/estimate_billing_service_client.d.ts +1367 -0
  61. package/build/src/v1alpha/estimate_billing_service_client.js +2028 -0
  62. package/build/src/v1alpha/estimate_billing_service_client_config.json +30 -0
  63. package/build/src/v1alpha/index.d.ts +4 -0
  64. package/build/src/v1alpha/index.js +9 -1
  65. package/build/src/v1alpha/recommendation_service_client.d.ts +231 -1
  66. package/build/src/v1alpha/recommendation_service_client.js +316 -0
  67. package/build/src/v1alpha/schema_service_client.d.ts +372 -0
  68. package/build/src/v1alpha/schema_service_client.js +514 -0
  69. package/build/src/v1alpha/search_service_client.d.ts +258 -15
  70. package/build/src/v1alpha/search_service_client.js +336 -10
  71. package/build/src/v1alpha/search_tuning_service_client.d.ts +373 -1
  72. package/build/src/v1alpha/search_tuning_service_client.js +514 -0
  73. package/build/src/v1alpha/serving_config_service_client.d.ts +1369 -0
  74. package/build/src/v1alpha/serving_config_service_client.js +1935 -0
  75. package/build/src/v1alpha/serving_config_service_client_config.json +38 -0
  76. package/build/src/v1alpha/site_search_engine_service_client.d.ts +372 -0
  77. package/build/src/v1alpha/site_search_engine_service_client.js +514 -0
  78. package/build/src/v1alpha/user_event_service_client.d.ts +372 -0
  79. package/build/src/v1alpha/user_event_service_client.js +514 -0
  80. package/build/src/v1beta/completion_service_client.d.ts +75 -0
  81. package/build/src/v1beta/completion_service_client.js +104 -0
  82. package/build/src/v1beta/conversational_search_service_client.d.ts +79 -0
  83. package/build/src/v1beta/conversational_search_service_client.js +104 -0
  84. package/build/src/v1beta/data_store_service_client.d.ts +75 -0
  85. package/build/src/v1beta/data_store_service_client.js +104 -0
  86. package/build/src/v1beta/document_service_client.d.ts +75 -0
  87. package/build/src/v1beta/document_service_client.js +104 -0
  88. package/build/src/v1beta/engine_service_client.d.ts +75 -0
  89. package/build/src/v1beta/engine_service_client.js +104 -0
  90. package/build/src/v1beta/index.d.ts +1 -0
  91. package/build/src/v1beta/index.js +3 -1
  92. package/build/src/v1beta/recommendation_service_client.d.ts +75 -0
  93. package/build/src/v1beta/recommendation_service_client.js +104 -0
  94. package/build/src/v1beta/schema_service_client.d.ts +75 -0
  95. package/build/src/v1beta/schema_service_client.js +104 -0
  96. package/build/src/v1beta/search_service_client.d.ts +81 -0
  97. package/build/src/v1beta/search_service_client.js +108 -0
  98. package/build/src/v1beta/search_tuning_service_client.d.ts +1196 -0
  99. package/build/src/v1beta/search_tuning_service_client.js +1781 -0
  100. package/build/src/v1beta/search_tuning_service_client_config.json +30 -0
  101. package/build/src/v1beta/serving_config_service_client.d.ts +123 -8
  102. package/build/src/v1beta/serving_config_service_client.js +166 -5
  103. package/build/src/v1beta/site_search_engine_service_client.d.ts +75 -0
  104. package/build/src/v1beta/site_search_engine_service_client.js +104 -0
  105. package/build/src/v1beta/user_event_service_client.d.ts +75 -0
  106. package/build/src/v1beta/user_event_service_client.js +104 -0
  107. package/package.json +3 -3
@@ -147,10 +147,13 @@ class RecommendationServiceClient {
147
147
  // identifiers to uniquely identify resources within the API.
148
148
  // Create useful helper objects for these.
149
149
  this.pathTemplates = {
150
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
150
151
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
151
152
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
152
153
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
154
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
153
155
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
156
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
154
157
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
155
158
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
156
159
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
@@ -159,7 +162,9 @@ class RecommendationServiceClient {
159
162
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
160
163
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
161
164
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
165
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
162
166
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
167
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
163
168
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
164
169
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
165
170
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
@@ -355,6 +360,41 @@ class RecommendationServiceClient {
355
360
  // --------------------
356
361
  // -- Path templates --
357
362
  // --------------------
363
+ /**
364
+ * Return a fully-qualified aclConfig resource name string.
365
+ *
366
+ * @param {string} project
367
+ * @param {string} location
368
+ * @returns {string} Resource name string.
369
+ */
370
+ aclConfigPath(project, location) {
371
+ return this.pathTemplates.aclConfigPathTemplate.render({
372
+ project: project,
373
+ location: location,
374
+ });
375
+ }
376
+ /**
377
+ * Parse the project from AclConfig resource.
378
+ *
379
+ * @param {string} aclConfigName
380
+ * A fully-qualified path representing AclConfig resource.
381
+ * @returns {string} A string representing the project.
382
+ */
383
+ matchProjectFromAclConfigName(aclConfigName) {
384
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
385
+ .project;
386
+ }
387
+ /**
388
+ * Parse the location from AclConfig resource.
389
+ *
390
+ * @param {string} aclConfigName
391
+ * A fully-qualified path representing AclConfig resource.
392
+ * @returns {string} A string representing the location.
393
+ */
394
+ matchLocationFromAclConfigName(aclConfigName) {
395
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
396
+ .location;
397
+ }
358
398
  /**
359
399
  * Return a fully-qualified engine resource name string.
360
400
  *
@@ -550,6 +590,99 @@ class RecommendationServiceClient {
550
590
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
551
591
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
552
592
  }
593
+ /**
594
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
595
+ *
596
+ * @param {string} project
597
+ * @param {string} location
598
+ * @param {string} collection
599
+ * @param {string} data_store
600
+ * @param {string} branch
601
+ * @param {string} document
602
+ * @param {string} chunk
603
+ * @returns {string} Resource name string.
604
+ */
605
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
606
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
607
+ project: project,
608
+ location: location,
609
+ collection: collection,
610
+ data_store: dataStore,
611
+ branch: branch,
612
+ document: document,
613
+ chunk: chunk,
614
+ });
615
+ }
616
+ /**
617
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
618
+ *
619
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
620
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
621
+ * @returns {string} A string representing the project.
622
+ */
623
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
624
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
625
+ }
626
+ /**
627
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
628
+ *
629
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
630
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
631
+ * @returns {string} A string representing the location.
632
+ */
633
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
634
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
635
+ }
636
+ /**
637
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
638
+ *
639
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
640
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
641
+ * @returns {string} A string representing the collection.
642
+ */
643
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
644
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
645
+ }
646
+ /**
647
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
648
+ *
649
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
650
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
651
+ * @returns {string} A string representing the data_store.
652
+ */
653
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
654
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
655
+ }
656
+ /**
657
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
658
+ *
659
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
660
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
661
+ * @returns {string} A string representing the branch.
662
+ */
663
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
664
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
665
+ }
666
+ /**
667
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
668
+ *
669
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
670
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
671
+ * @returns {string} A string representing the document.
672
+ */
673
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
674
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
675
+ }
676
+ /**
677
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
678
+ *
679
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
680
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
681
+ * @returns {string} A string representing the chunk.
682
+ */
683
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
684
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
685
+ }
553
686
  /**
554
687
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
555
688
  *
@@ -619,6 +752,63 @@ class RecommendationServiceClient {
619
752
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
620
753
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
621
754
  }
755
+ /**
756
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
757
+ *
758
+ * @param {string} project
759
+ * @param {string} location
760
+ * @param {string} collection
761
+ * @param {string} data_store
762
+ * @returns {string} Resource name string.
763
+ */
764
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
765
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
766
+ project: project,
767
+ location: location,
768
+ collection: collection,
769
+ data_store: dataStore,
770
+ });
771
+ }
772
+ /**
773
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
774
+ *
775
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
776
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
777
+ * @returns {string} A string representing the project.
778
+ */
779
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
780
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
781
+ }
782
+ /**
783
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
784
+ *
785
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
786
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
787
+ * @returns {string} A string representing the location.
788
+ */
789
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
790
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
791
+ }
792
+ /**
793
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
794
+ *
795
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
796
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
797
+ * @returns {string} A string representing the collection.
798
+ */
799
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
800
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
801
+ }
802
+ /**
803
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
804
+ *
805
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
806
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
807
+ * @returns {string} A string representing the data_store.
808
+ */
809
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
810
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
811
+ }
622
812
  /**
623
813
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
624
814
  *
@@ -1135,6 +1325,87 @@ class RecommendationServiceClient {
1135
1325
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1136
1326
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1137
1327
  }
1328
+ /**
1329
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1330
+ *
1331
+ * @param {string} project
1332
+ * @param {string} location
1333
+ * @param {string} data_store
1334
+ * @param {string} branch
1335
+ * @param {string} document
1336
+ * @param {string} chunk
1337
+ * @returns {string} Resource name string.
1338
+ */
1339
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1340
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1341
+ project: project,
1342
+ location: location,
1343
+ data_store: dataStore,
1344
+ branch: branch,
1345
+ document: document,
1346
+ chunk: chunk,
1347
+ });
1348
+ }
1349
+ /**
1350
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1351
+ *
1352
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1353
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1354
+ * @returns {string} A string representing the project.
1355
+ */
1356
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1357
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1358
+ }
1359
+ /**
1360
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1361
+ *
1362
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1363
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1364
+ * @returns {string} A string representing the location.
1365
+ */
1366
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1367
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1368
+ }
1369
+ /**
1370
+ * Parse the data_store 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 data_store.
1375
+ */
1376
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1377
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1378
+ }
1379
+ /**
1380
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1381
+ *
1382
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1383
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1384
+ * @returns {string} A string representing the branch.
1385
+ */
1386
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1387
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1388
+ }
1389
+ /**
1390
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1391
+ *
1392
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1393
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1394
+ * @returns {string} A string representing the document.
1395
+ */
1396
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1397
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1398
+ }
1399
+ /**
1400
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1401
+ *
1402
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1403
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1404
+ * @returns {string} A string representing the chunk.
1405
+ */
1406
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1407
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1408
+ }
1138
1409
  /**
1139
1410
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1140
1411
  *
@@ -1192,6 +1463,51 @@ class RecommendationServiceClient {
1192
1463
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1193
1464
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1194
1465
  }
1466
+ /**
1467
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1468
+ *
1469
+ * @param {string} project
1470
+ * @param {string} location
1471
+ * @param {string} data_store
1472
+ * @returns {string} Resource name string.
1473
+ */
1474
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1475
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1476
+ project: project,
1477
+ location: location,
1478
+ data_store: dataStore,
1479
+ });
1480
+ }
1481
+ /**
1482
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1483
+ *
1484
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1485
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1486
+ * @returns {string} A string representing the project.
1487
+ */
1488
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1489
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1490
+ }
1491
+ /**
1492
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1493
+ *
1494
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1495
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1496
+ * @returns {string} A string representing the location.
1497
+ */
1498
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1499
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1500
+ }
1501
+ /**
1502
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1503
+ *
1504
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1505
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1506
+ * @returns {string} A string representing the data_store.
1507
+ */
1508
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1509
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1510
+ }
1195
1511
  /**
1196
1512
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1197
1513
  *