@google-cloud/discoveryengine 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
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 ConversationalSearchServiceClient {
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 ConversationalSearchServiceClient {
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'),
@@ -588,6 +593,41 @@ class ConversationalSearchServiceClient {
588
593
  // --------------------
589
594
  // -- Path templates --
590
595
  // --------------------
596
+ /**
597
+ * Return a fully-qualified aclConfig resource name string.
598
+ *
599
+ * @param {string} project
600
+ * @param {string} location
601
+ * @returns {string} Resource name string.
602
+ */
603
+ aclConfigPath(project, location) {
604
+ return this.pathTemplates.aclConfigPathTemplate.render({
605
+ project: project,
606
+ location: location,
607
+ });
608
+ }
609
+ /**
610
+ * Parse the project from AclConfig resource.
611
+ *
612
+ * @param {string} aclConfigName
613
+ * A fully-qualified path representing AclConfig resource.
614
+ * @returns {string} A string representing the project.
615
+ */
616
+ matchProjectFromAclConfigName(aclConfigName) {
617
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
618
+ .project;
619
+ }
620
+ /**
621
+ * Parse the location from AclConfig resource.
622
+ *
623
+ * @param {string} aclConfigName
624
+ * A fully-qualified path representing AclConfig resource.
625
+ * @returns {string} A string representing the location.
626
+ */
627
+ matchLocationFromAclConfigName(aclConfigName) {
628
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
629
+ .location;
630
+ }
591
631
  /**
592
632
  * Return a fully-qualified engine resource name string.
593
633
  *
@@ -783,6 +823,99 @@ class ConversationalSearchServiceClient {
783
823
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
784
824
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
785
825
  }
826
+ /**
827
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
828
+ *
829
+ * @param {string} project
830
+ * @param {string} location
831
+ * @param {string} collection
832
+ * @param {string} data_store
833
+ * @param {string} branch
834
+ * @param {string} document
835
+ * @param {string} chunk
836
+ * @returns {string} Resource name string.
837
+ */
838
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
839
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
840
+ project: project,
841
+ location: location,
842
+ collection: collection,
843
+ data_store: dataStore,
844
+ branch: branch,
845
+ document: document,
846
+ chunk: chunk,
847
+ });
848
+ }
849
+ /**
850
+ * Parse the project 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 project.
855
+ */
856
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
857
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
858
+ }
859
+ /**
860
+ * Parse the location 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 location.
865
+ */
866
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
867
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
868
+ }
869
+ /**
870
+ * Parse the collection 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 collection.
875
+ */
876
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
877
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
878
+ }
879
+ /**
880
+ * Parse the data_store 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 data_store.
885
+ */
886
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
887
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
888
+ }
889
+ /**
890
+ * Parse the branch 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 branch.
895
+ */
896
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
897
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
898
+ }
899
+ /**
900
+ * Parse the document 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 document.
905
+ */
906
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
907
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
908
+ }
909
+ /**
910
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
911
+ *
912
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
913
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
914
+ * @returns {string} A string representing the chunk.
915
+ */
916
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
917
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
918
+ }
786
919
  /**
787
920
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
788
921
  *
@@ -852,6 +985,63 @@ class ConversationalSearchServiceClient {
852
985
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
853
986
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
854
987
  }
988
+ /**
989
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
990
+ *
991
+ * @param {string} project
992
+ * @param {string} location
993
+ * @param {string} collection
994
+ * @param {string} data_store
995
+ * @returns {string} Resource name string.
996
+ */
997
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
998
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
999
+ project: project,
1000
+ location: location,
1001
+ collection: collection,
1002
+ data_store: dataStore,
1003
+ });
1004
+ }
1005
+ /**
1006
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1007
+ *
1008
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1009
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1010
+ * @returns {string} A string representing the project.
1011
+ */
1012
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1013
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1014
+ }
1015
+ /**
1016
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1017
+ *
1018
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1019
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1020
+ * @returns {string} A string representing the location.
1021
+ */
1022
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1023
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1024
+ }
1025
+ /**
1026
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1027
+ *
1028
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1029
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1030
+ * @returns {string} A string representing the collection.
1031
+ */
1032
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1033
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1034
+ }
1035
+ /**
1036
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1037
+ *
1038
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1039
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1040
+ * @returns {string} A string representing the data_store.
1041
+ */
1042
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1043
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1044
+ }
855
1045
  /**
856
1046
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
857
1047
  *
@@ -1368,6 +1558,87 @@ class ConversationalSearchServiceClient {
1368
1558
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1369
1559
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1370
1560
  }
1561
+ /**
1562
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1563
+ *
1564
+ * @param {string} project
1565
+ * @param {string} location
1566
+ * @param {string} data_store
1567
+ * @param {string} branch
1568
+ * @param {string} document
1569
+ * @param {string} chunk
1570
+ * @returns {string} Resource name string.
1571
+ */
1572
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1573
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1574
+ project: project,
1575
+ location: location,
1576
+ data_store: dataStore,
1577
+ branch: branch,
1578
+ document: document,
1579
+ chunk: chunk,
1580
+ });
1581
+ }
1582
+ /**
1583
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1584
+ *
1585
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1586
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1587
+ * @returns {string} A string representing the project.
1588
+ */
1589
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1590
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1591
+ }
1592
+ /**
1593
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1594
+ *
1595
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1596
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1597
+ * @returns {string} A string representing the location.
1598
+ */
1599
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1600
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1601
+ }
1602
+ /**
1603
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1604
+ *
1605
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1606
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1607
+ * @returns {string} A string representing the data_store.
1608
+ */
1609
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1610
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1611
+ }
1612
+ /**
1613
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1614
+ *
1615
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1616
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1617
+ * @returns {string} A string representing the branch.
1618
+ */
1619
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1620
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1621
+ }
1622
+ /**
1623
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1624
+ *
1625
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1626
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1627
+ * @returns {string} A string representing the document.
1628
+ */
1629
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1630
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1631
+ }
1632
+ /**
1633
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1634
+ *
1635
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1636
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1637
+ * @returns {string} A string representing the chunk.
1638
+ */
1639
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1640
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1641
+ }
1371
1642
  /**
1372
1643
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1373
1644
  *
@@ -1425,6 +1696,51 @@ class ConversationalSearchServiceClient {
1425
1696
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1426
1697
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1427
1698
  }
1699
+ /**
1700
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1701
+ *
1702
+ * @param {string} project
1703
+ * @param {string} location
1704
+ * @param {string} data_store
1705
+ * @returns {string} Resource name string.
1706
+ */
1707
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1708
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1709
+ project: project,
1710
+ location: location,
1711
+ data_store: dataStore,
1712
+ });
1713
+ }
1714
+ /**
1715
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1716
+ *
1717
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1718
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1719
+ * @returns {string} A string representing the project.
1720
+ */
1721
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1722
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1723
+ }
1724
+ /**
1725
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1726
+ *
1727
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1728
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1729
+ * @returns {string} A string representing the location.
1730
+ */
1731
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1732
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1733
+ }
1734
+ /**
1735
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1736
+ *
1737
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1738
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1739
+ * @returns {string} A string representing the data_store.
1740
+ */
1741
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1742
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1743
+ }
1428
1744
  /**
1429
1745
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1430
1746
  *