@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
@@ -146,18 +146,26 @@ class UserEventServiceClient {
146
146
  // identifiers to uniquely identify resources within the API.
147
147
  // Create useful helper objects for these.
148
148
  this.pathTemplates = {
149
+ aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
149
150
  enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
150
151
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
151
152
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
153
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
152
154
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
155
+ projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
153
156
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
157
+ projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
154
158
  projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
155
159
  projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
156
160
  projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
161
+ projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
157
162
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
158
163
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
164
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
159
165
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
166
+ projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
160
167
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
168
+ projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
161
169
  projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
162
170
  projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
163
171
  };
@@ -687,6 +695,41 @@ class UserEventServiceClient {
687
695
  // --------------------
688
696
  // -- Path templates --
689
697
  // --------------------
698
+ /**
699
+ * Return a fully-qualified aclConfig resource name string.
700
+ *
701
+ * @param {string} project
702
+ * @param {string} location
703
+ * @returns {string} Resource name string.
704
+ */
705
+ aclConfigPath(project, location) {
706
+ return this.pathTemplates.aclConfigPathTemplate.render({
707
+ project: project,
708
+ location: location,
709
+ });
710
+ }
711
+ /**
712
+ * Parse the project from AclConfig resource.
713
+ *
714
+ * @param {string} aclConfigName
715
+ * A fully-qualified path representing AclConfig resource.
716
+ * @returns {string} A string representing the project.
717
+ */
718
+ matchProjectFromAclConfigName(aclConfigName) {
719
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
720
+ .project;
721
+ }
722
+ /**
723
+ * Parse the location from AclConfig resource.
724
+ *
725
+ * @param {string} aclConfigName
726
+ * A fully-qualified path representing AclConfig resource.
727
+ * @returns {string} A string representing the location.
728
+ */
729
+ matchLocationFromAclConfigName(aclConfigName) {
730
+ return this.pathTemplates.aclConfigPathTemplate.match(aclConfigName)
731
+ .location;
732
+ }
690
733
  /**
691
734
  * Return a fully-qualified engine resource name string.
692
735
  *
@@ -882,6 +925,99 @@ class UserEventServiceClient {
882
925
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
883
926
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
884
927
  }
928
+ /**
929
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
930
+ *
931
+ * @param {string} project
932
+ * @param {string} location
933
+ * @param {string} collection
934
+ * @param {string} data_store
935
+ * @param {string} branch
936
+ * @param {string} document
937
+ * @param {string} chunk
938
+ * @returns {string} Resource name string.
939
+ */
940
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
941
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
942
+ project: project,
943
+ location: location,
944
+ collection: collection,
945
+ data_store: dataStore,
946
+ branch: branch,
947
+ document: document,
948
+ chunk: chunk,
949
+ });
950
+ }
951
+ /**
952
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
953
+ *
954
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
955
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
956
+ * @returns {string} A string representing the project.
957
+ */
958
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
959
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
960
+ }
961
+ /**
962
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
963
+ *
964
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
965
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
966
+ * @returns {string} A string representing the location.
967
+ */
968
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
969
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
970
+ }
971
+ /**
972
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
973
+ *
974
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
975
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
976
+ * @returns {string} A string representing the collection.
977
+ */
978
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
979
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
980
+ }
981
+ /**
982
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
983
+ *
984
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
985
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
986
+ * @returns {string} A string representing the data_store.
987
+ */
988
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
989
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
990
+ }
991
+ /**
992
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
993
+ *
994
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
995
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
996
+ * @returns {string} A string representing the branch.
997
+ */
998
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
999
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1000
+ }
1001
+ /**
1002
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1003
+ *
1004
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1005
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1006
+ * @returns {string} A string representing the document.
1007
+ */
1008
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1009
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1010
+ }
1011
+ /**
1012
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1013
+ *
1014
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1015
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1016
+ * @returns {string} A string representing the chunk.
1017
+ */
1018
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1019
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1020
+ }
885
1021
  /**
886
1022
  * Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
887
1023
  *
@@ -951,6 +1087,63 @@ class UserEventServiceClient {
951
1087
  matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
952
1088
  return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
953
1089
  }
1090
+ /**
1091
+ * Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
1092
+ *
1093
+ * @param {string} project
1094
+ * @param {string} location
1095
+ * @param {string} collection
1096
+ * @param {string} data_store
1097
+ * @returns {string} Resource name string.
1098
+ */
1099
+ projectLocationCollectionDataStoreDocumentProcessingConfigPath(project, location, collection, dataStore) {
1100
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.render({
1101
+ project: project,
1102
+ location: location,
1103
+ collection: collection,
1104
+ data_store: dataStore,
1105
+ });
1106
+ }
1107
+ /**
1108
+ * Parse the project from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1109
+ *
1110
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1111
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1112
+ * @returns {string} A string representing the project.
1113
+ */
1114
+ matchProjectFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1115
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).project;
1116
+ }
1117
+ /**
1118
+ * Parse the location from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1119
+ *
1120
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1121
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1122
+ * @returns {string} A string representing the location.
1123
+ */
1124
+ matchLocationFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1125
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).location;
1126
+ }
1127
+ /**
1128
+ * Parse the collection from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1131
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1132
+ * @returns {string} A string representing the collection.
1133
+ */
1134
+ matchCollectionFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1135
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).collection;
1136
+ }
1137
+ /**
1138
+ * Parse the data_store from ProjectLocationCollectionDataStoreDocumentProcessingConfig resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreDocumentProcessingConfigName
1141
+ * A fully-qualified path representing project_location_collection_data_store_documentProcessingConfig resource.
1142
+ * @returns {string} A string representing the data_store.
1143
+ */
1144
+ matchDataStoreFromProjectLocationCollectionDataStoreDocumentProcessingConfigName(projectLocationCollectionDataStoreDocumentProcessingConfigName) {
1145
+ return this.pathTemplates.projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationCollectionDataStoreDocumentProcessingConfigName).data_store;
1146
+ }
954
1147
  /**
955
1148
  * Return a fully-qualified projectLocationCollectionDataStoreSchema resource name string.
956
1149
  *
@@ -1020,6 +1213,75 @@ class UserEventServiceClient {
1020
1213
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1021
1214
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1022
1215
  }
1216
+ /**
1217
+ * Return a fully-qualified projectLocationCollectionDataStoreServingConfig resource name string.
1218
+ *
1219
+ * @param {string} project
1220
+ * @param {string} location
1221
+ * @param {string} collection
1222
+ * @param {string} data_store
1223
+ * @param {string} serving_config
1224
+ * @returns {string} Resource name string.
1225
+ */
1226
+ projectLocationCollectionDataStoreServingConfigPath(project, location, collection, dataStore, servingConfig) {
1227
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.render({
1228
+ project: project,
1229
+ location: location,
1230
+ collection: collection,
1231
+ data_store: dataStore,
1232
+ serving_config: servingConfig,
1233
+ });
1234
+ }
1235
+ /**
1236
+ * Parse the project from ProjectLocationCollectionDataStoreServingConfig resource.
1237
+ *
1238
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1239
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1240
+ * @returns {string} A string representing the project.
1241
+ */
1242
+ matchProjectFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1243
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).project;
1244
+ }
1245
+ /**
1246
+ * Parse the location from ProjectLocationCollectionDataStoreServingConfig resource.
1247
+ *
1248
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1249
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1250
+ * @returns {string} A string representing the location.
1251
+ */
1252
+ matchLocationFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1253
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).location;
1254
+ }
1255
+ /**
1256
+ * Parse the collection from ProjectLocationCollectionDataStoreServingConfig resource.
1257
+ *
1258
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1259
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1260
+ * @returns {string} A string representing the collection.
1261
+ */
1262
+ matchCollectionFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1263
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).collection;
1264
+ }
1265
+ /**
1266
+ * Parse the data_store from ProjectLocationCollectionDataStoreServingConfig resource.
1267
+ *
1268
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1269
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1270
+ * @returns {string} A string representing the data_store.
1271
+ */
1272
+ matchDataStoreFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1273
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).data_store;
1274
+ }
1275
+ /**
1276
+ * Parse the serving_config from ProjectLocationCollectionDataStoreServingConfig resource.
1277
+ *
1278
+ * @param {string} projectLocationCollectionDataStoreServingConfigName
1279
+ * A fully-qualified path representing project_location_collection_data_store_serving_config resource.
1280
+ * @returns {string} A string representing the serving_config.
1281
+ */
1282
+ matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
1283
+ return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
1284
+ }
1023
1285
  /**
1024
1286
  * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1025
1287
  *
@@ -1215,6 +1477,75 @@ class UserEventServiceClient {
1215
1477
  matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1216
1478
  return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1217
1479
  }
1480
+ /**
1481
+ * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
1482
+ *
1483
+ * @param {string} project
1484
+ * @param {string} location
1485
+ * @param {string} collection
1486
+ * @param {string} engine
1487
+ * @param {string} serving_config
1488
+ * @returns {string} Resource name string.
1489
+ */
1490
+ projectLocationCollectionEngineServingConfigPath(project, location, collection, engine, servingConfig) {
1491
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.render({
1492
+ project: project,
1493
+ location: location,
1494
+ collection: collection,
1495
+ engine: engine,
1496
+ serving_config: servingConfig,
1497
+ });
1498
+ }
1499
+ /**
1500
+ * Parse the project from ProjectLocationCollectionEngineServingConfig resource.
1501
+ *
1502
+ * @param {string} projectLocationCollectionEngineServingConfigName
1503
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1504
+ * @returns {string} A string representing the project.
1505
+ */
1506
+ matchProjectFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1507
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).project;
1508
+ }
1509
+ /**
1510
+ * Parse the location from ProjectLocationCollectionEngineServingConfig resource.
1511
+ *
1512
+ * @param {string} projectLocationCollectionEngineServingConfigName
1513
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1514
+ * @returns {string} A string representing the location.
1515
+ */
1516
+ matchLocationFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1517
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).location;
1518
+ }
1519
+ /**
1520
+ * Parse the collection from ProjectLocationCollectionEngineServingConfig resource.
1521
+ *
1522
+ * @param {string} projectLocationCollectionEngineServingConfigName
1523
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1524
+ * @returns {string} A string representing the collection.
1525
+ */
1526
+ matchCollectionFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1527
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).collection;
1528
+ }
1529
+ /**
1530
+ * Parse the engine from ProjectLocationCollectionEngineServingConfig resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionEngineServingConfigName
1533
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1534
+ * @returns {string} A string representing the engine.
1535
+ */
1536
+ matchEngineFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1537
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).engine;
1538
+ }
1539
+ /**
1540
+ * Parse the serving_config from ProjectLocationCollectionEngineServingConfig resource.
1541
+ *
1542
+ * @param {string} projectLocationCollectionEngineServingConfigName
1543
+ * A fully-qualified path representing project_location_collection_engine_serving_config resource.
1544
+ * @returns {string} A string representing the serving_config.
1545
+ */
1546
+ matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
1547
+ return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
1548
+ }
1218
1549
  /**
1219
1550
  * Return a fully-qualified projectLocationDataStore resource name string.
1220
1551
  *
@@ -1329,6 +1660,87 @@ class UserEventServiceClient {
1329
1660
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
1330
1661
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
1331
1662
  }
1663
+ /**
1664
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1665
+ *
1666
+ * @param {string} project
1667
+ * @param {string} location
1668
+ * @param {string} data_store
1669
+ * @param {string} branch
1670
+ * @param {string} document
1671
+ * @param {string} chunk
1672
+ * @returns {string} Resource name string.
1673
+ */
1674
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
1675
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
1676
+ project: project,
1677
+ location: location,
1678
+ data_store: dataStore,
1679
+ branch: branch,
1680
+ document: document,
1681
+ chunk: chunk,
1682
+ });
1683
+ }
1684
+ /**
1685
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1686
+ *
1687
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1688
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1689
+ * @returns {string} A string representing the project.
1690
+ */
1691
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1692
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
1693
+ }
1694
+ /**
1695
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1696
+ *
1697
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1698
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1699
+ * @returns {string} A string representing the location.
1700
+ */
1701
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1702
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
1703
+ }
1704
+ /**
1705
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1706
+ *
1707
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1708
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1709
+ * @returns {string} A string representing the data_store.
1710
+ */
1711
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1712
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
1713
+ }
1714
+ /**
1715
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1716
+ *
1717
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1718
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1719
+ * @returns {string} A string representing the branch.
1720
+ */
1721
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1722
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
1723
+ }
1724
+ /**
1725
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1726
+ *
1727
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1728
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1729
+ * @returns {string} A string representing the document.
1730
+ */
1731
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1732
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
1733
+ }
1734
+ /**
1735
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1736
+ *
1737
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1738
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1739
+ * @returns {string} A string representing the chunk.
1740
+ */
1741
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
1742
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
1743
+ }
1332
1744
  /**
1333
1745
  * Return a fully-qualified projectLocationDataStoreConversation resource name string.
1334
1746
  *
@@ -1386,6 +1798,51 @@ class UserEventServiceClient {
1386
1798
  matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
1387
1799
  return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
1388
1800
  }
1801
+ /**
1802
+ * Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
1803
+ *
1804
+ * @param {string} project
1805
+ * @param {string} location
1806
+ * @param {string} data_store
1807
+ * @returns {string} Resource name string.
1808
+ */
1809
+ projectLocationDataStoreDocumentProcessingConfigPath(project, location, dataStore) {
1810
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.render({
1811
+ project: project,
1812
+ location: location,
1813
+ data_store: dataStore,
1814
+ });
1815
+ }
1816
+ /**
1817
+ * Parse the project from ProjectLocationDataStoreDocumentProcessingConfig resource.
1818
+ *
1819
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1820
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1821
+ * @returns {string} A string representing the project.
1822
+ */
1823
+ matchProjectFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1824
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).project;
1825
+ }
1826
+ /**
1827
+ * Parse the location from ProjectLocationDataStoreDocumentProcessingConfig resource.
1828
+ *
1829
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1830
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1831
+ * @returns {string} A string representing the location.
1832
+ */
1833
+ matchLocationFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1834
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).location;
1835
+ }
1836
+ /**
1837
+ * Parse the data_store from ProjectLocationDataStoreDocumentProcessingConfig resource.
1838
+ *
1839
+ * @param {string} projectLocationDataStoreDocumentProcessingConfigName
1840
+ * A fully-qualified path representing project_location_data_store_documentProcessingConfig resource.
1841
+ * @returns {string} A string representing the data_store.
1842
+ */
1843
+ matchDataStoreFromProjectLocationDataStoreDocumentProcessingConfigName(projectLocationDataStoreDocumentProcessingConfigName) {
1844
+ return this.pathTemplates.projectLocationDataStoreDocumentProcessingConfigPathTemplate.match(projectLocationDataStoreDocumentProcessingConfigName).data_store;
1845
+ }
1389
1846
  /**
1390
1847
  * Return a fully-qualified projectLocationDataStoreSchema resource name string.
1391
1848
  *
@@ -1443,6 +1900,63 @@ class UserEventServiceClient {
1443
1900
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1444
1901
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1445
1902
  }
1903
+ /**
1904
+ * Return a fully-qualified projectLocationDataStoreServingConfig resource name string.
1905
+ *
1906
+ * @param {string} project
1907
+ * @param {string} location
1908
+ * @param {string} data_store
1909
+ * @param {string} serving_config
1910
+ * @returns {string} Resource name string.
1911
+ */
1912
+ projectLocationDataStoreServingConfigPath(project, location, dataStore, servingConfig) {
1913
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.render({
1914
+ project: project,
1915
+ location: location,
1916
+ data_store: dataStore,
1917
+ serving_config: servingConfig,
1918
+ });
1919
+ }
1920
+ /**
1921
+ * Parse the project from ProjectLocationDataStoreServingConfig resource.
1922
+ *
1923
+ * @param {string} projectLocationDataStoreServingConfigName
1924
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1925
+ * @returns {string} A string representing the project.
1926
+ */
1927
+ matchProjectFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1928
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).project;
1929
+ }
1930
+ /**
1931
+ * Parse the location from ProjectLocationDataStoreServingConfig resource.
1932
+ *
1933
+ * @param {string} projectLocationDataStoreServingConfigName
1934
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1935
+ * @returns {string} A string representing the location.
1936
+ */
1937
+ matchLocationFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1938
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).location;
1939
+ }
1940
+ /**
1941
+ * Parse the data_store from ProjectLocationDataStoreServingConfig resource.
1942
+ *
1943
+ * @param {string} projectLocationDataStoreServingConfigName
1944
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1945
+ * @returns {string} A string representing the data_store.
1946
+ */
1947
+ matchDataStoreFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1948
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).data_store;
1949
+ }
1950
+ /**
1951
+ * Parse the serving_config from ProjectLocationDataStoreServingConfig resource.
1952
+ *
1953
+ * @param {string} projectLocationDataStoreServingConfigName
1954
+ * A fully-qualified path representing project_location_data_store_serving_config resource.
1955
+ * @returns {string} A string representing the serving_config.
1956
+ */
1957
+ matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1958
+ return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1959
+ }
1446
1960
  /**
1447
1961
  * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1448
1962
  *