@google-cloud/discoveryengine 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +2 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
  6. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
  15. package/build/protos/protos.d.ts +3851 -1527
  16. package/build/protos/protos.js +14056 -8213
  17. package/build/protos/protos.json +548 -8
  18. package/build/src/v1/completion_service_client.d.ts +220 -0
  19. package/build/src/v1/completion_service_client.js +260 -0
  20. package/build/src/v1/completion_service_client_config.json +10 -0
  21. package/build/src/v1/control_service_client.d.ts +129 -1
  22. package/build/src/v1/control_service_client.js +176 -0
  23. package/build/src/v1/conversational_search_service_client.d.ts +147 -1
  24. package/build/src/v1/conversational_search_service_client.js +176 -0
  25. package/build/src/v1/data_store_service_client.d.ts +129 -1
  26. package/build/src/v1/data_store_service_client.js +176 -0
  27. package/build/src/v1/document_service_client.d.ts +131 -1
  28. package/build/src/v1/document_service_client.js +176 -0
  29. package/build/src/v1/engine_service_client.d.ts +129 -1
  30. package/build/src/v1/engine_service_client.js +176 -0
  31. package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
  32. package/build/src/v1/grounded_generation_service_client.js +176 -0
  33. package/build/src/v1/project_service_client.d.ts +129 -0
  34. package/build/src/v1/project_service_client.js +176 -0
  35. package/build/src/v1/rank_service_client.d.ts +129 -0
  36. package/build/src/v1/rank_service_client.js +176 -0
  37. package/build/src/v1/recommendation_service_client.d.ts +129 -0
  38. package/build/src/v1/recommendation_service_client.js +176 -0
  39. package/build/src/v1/schema_service_client.d.ts +129 -1
  40. package/build/src/v1/schema_service_client.js +176 -0
  41. package/build/src/v1/search_service_client.d.ts +252 -1
  42. package/build/src/v1/search_service_client.js +258 -0
  43. package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
  44. package/build/src/v1/site_search_engine_service_client.js +176 -0
  45. package/build/src/v1/user_event_service_client.d.ts +129 -0
  46. package/build/src/v1/user_event_service_client.js +176 -0
  47. package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
  48. package/build/src/v1alpha/control_service_client.d.ts +0 -1
  49. package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
  50. package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
  51. package/build/src/v1alpha/document_service_client.d.ts +0 -1
  52. package/build/src/v1alpha/engine_service_client.d.ts +0 -1
  53. package/build/src/v1alpha/schema_service_client.d.ts +0 -1
  54. package/build/src/v1alpha/search_service_client.d.ts +0 -1
  55. package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
  56. package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
  57. package/build/src/v1beta/control_service_client.d.ts +0 -1
  58. package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
  59. package/build/src/v1beta/data_store_service_client.d.ts +0 -1
  60. package/build/src/v1beta/document_service_client.d.ts +0 -1
  61. package/build/src/v1beta/engine_service_client.d.ts +0 -1
  62. package/build/src/v1beta/schema_service_client.d.ts +0 -1
  63. package/build/src/v1beta/search_service_client.d.ts +0 -1
  64. package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
  65. package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
  66. package/package.json +1 -1
@@ -154,6 +154,7 @@ class ConversationalSearchServiceClient {
154
154
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
155
155
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
156
156
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
157
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
157
158
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
158
159
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
159
160
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
@@ -170,6 +171,7 @@ class ConversationalSearchServiceClient {
170
171
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
171
172
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
172
173
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
174
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
173
175
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
174
176
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
175
177
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
@@ -1089,6 +1091,99 @@ class ConversationalSearchServiceClient {
1089
1091
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1090
1092
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1091
1093
  }
1094
+ /**
1095
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1096
+ *
1097
+ * @param {string} project
1098
+ * @param {string} location
1099
+ * @param {string} collection
1100
+ * @param {string} data_store
1101
+ * @param {string} branch
1102
+ * @param {string} document
1103
+ * @param {string} chunk
1104
+ * @returns {string} Resource name string.
1105
+ */
1106
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1107
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1108
+ project: project,
1109
+ location: location,
1110
+ collection: collection,
1111
+ data_store: dataStore,
1112
+ branch: branch,
1113
+ document: document,
1114
+ chunk: chunk,
1115
+ });
1116
+ }
1117
+ /**
1118
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1119
+ *
1120
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1121
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1122
+ * @returns {string} A string representing the project.
1123
+ */
1124
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1125
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1126
+ }
1127
+ /**
1128
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1129
+ *
1130
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1131
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1132
+ * @returns {string} A string representing the location.
1133
+ */
1134
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1135
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1136
+ }
1137
+ /**
1138
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1139
+ *
1140
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1141
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1142
+ * @returns {string} A string representing the collection.
1143
+ */
1144
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1145
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1146
+ }
1147
+ /**
1148
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1149
+ *
1150
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1151
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1152
+ * @returns {string} A string representing the data_store.
1153
+ */
1154
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1155
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1156
+ }
1157
+ /**
1158
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1159
+ *
1160
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1161
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1162
+ * @returns {string} A string representing the branch.
1163
+ */
1164
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1165
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1166
+ }
1167
+ /**
1168
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1169
+ *
1170
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1171
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1172
+ * @returns {string} A string representing the document.
1173
+ */
1174
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1175
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1176
+ }
1177
+ /**
1178
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1179
+ *
1180
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1181
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1182
+ * @returns {string} A string representing the chunk.
1183
+ */
1184
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1185
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1186
+ }
1092
1187
  /**
1093
1188
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1094
1189
  *
@@ -2169,6 +2264,87 @@ class ConversationalSearchServiceClient {
2169
2264
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2170
2265
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2171
2266
  }
2267
+ /**
2268
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2269
+ *
2270
+ * @param {string} project
2271
+ * @param {string} location
2272
+ * @param {string} data_store
2273
+ * @param {string} branch
2274
+ * @param {string} document
2275
+ * @param {string} chunk
2276
+ * @returns {string} Resource name string.
2277
+ */
2278
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2279
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2280
+ project: project,
2281
+ location: location,
2282
+ data_store: dataStore,
2283
+ branch: branch,
2284
+ document: document,
2285
+ chunk: chunk,
2286
+ });
2287
+ }
2288
+ /**
2289
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2290
+ *
2291
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2292
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2293
+ * @returns {string} A string representing the project.
2294
+ */
2295
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2296
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2297
+ }
2298
+ /**
2299
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2300
+ *
2301
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2302
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2303
+ * @returns {string} A string representing the location.
2304
+ */
2305
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2306
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2307
+ }
2308
+ /**
2309
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2310
+ *
2311
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2312
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2313
+ * @returns {string} A string representing the data_store.
2314
+ */
2315
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2316
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2317
+ }
2318
+ /**
2319
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2320
+ *
2321
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2322
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2323
+ * @returns {string} A string representing the branch.
2324
+ */
2325
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2326
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2327
+ }
2328
+ /**
2329
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2330
+ *
2331
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2332
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2333
+ * @returns {string} A string representing the document.
2334
+ */
2335
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2336
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2337
+ }
2338
+ /**
2339
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2340
+ *
2341
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2342
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2343
+ * @returns {string} A string representing the chunk.
2344
+ */
2345
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2346
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2347
+ }
2172
2348
  /**
2173
2349
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2174
2350
  *
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -802,6 +801,75 @@ export declare class DataStoreServiceClient {
802
801
  * @returns {string} A string representing the document.
803
802
  */
804
803
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
804
+ /**
805
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
806
+ *
807
+ * @param {string} project
808
+ * @param {string} location
809
+ * @param {string} collection
810
+ * @param {string} data_store
811
+ * @param {string} branch
812
+ * @param {string} document
813
+ * @param {string} chunk
814
+ * @returns {string} Resource name string.
815
+ */
816
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
817
+ /**
818
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
819
+ *
820
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
821
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
822
+ * @returns {string} A string representing the project.
823
+ */
824
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
825
+ /**
826
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
827
+ *
828
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
829
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
830
+ * @returns {string} A string representing the location.
831
+ */
832
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
833
+ /**
834
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
835
+ *
836
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
837
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
838
+ * @returns {string} A string representing the collection.
839
+ */
840
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
841
+ /**
842
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
843
+ *
844
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
845
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
846
+ * @returns {string} A string representing the data_store.
847
+ */
848
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
849
+ /**
850
+ * Parse the branch 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 branch.
855
+ */
856
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
857
+ /**
858
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
859
+ *
860
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
861
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
862
+ * @returns {string} A string representing the document.
863
+ */
864
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
865
+ /**
866
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
867
+ *
868
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
869
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
870
+ * @returns {string} A string representing the chunk.
871
+ */
872
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
805
873
  /**
806
874
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
807
875
  *
@@ -1498,6 +1566,66 @@ export declare class DataStoreServiceClient {
1498
1566
  * @returns {string} A string representing the document.
1499
1567
  */
1500
1568
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1569
+ /**
1570
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1571
+ *
1572
+ * @param {string} project
1573
+ * @param {string} location
1574
+ * @param {string} data_store
1575
+ * @param {string} branch
1576
+ * @param {string} document
1577
+ * @param {string} chunk
1578
+ * @returns {string} Resource name string.
1579
+ */
1580
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1581
+ /**
1582
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1583
+ *
1584
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1585
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1586
+ * @returns {string} A string representing the project.
1587
+ */
1588
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1589
+ /**
1590
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1591
+ *
1592
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1593
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1594
+ * @returns {string} A string representing the location.
1595
+ */
1596
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1597
+ /**
1598
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1599
+ *
1600
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1601
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1602
+ * @returns {string} A string representing the data_store.
1603
+ */
1604
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1605
+ /**
1606
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1607
+ *
1608
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1609
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1610
+ * @returns {string} A string representing the branch.
1611
+ */
1612
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1613
+ /**
1614
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1615
+ *
1616
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1617
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1618
+ * @returns {string} A string representing the document.
1619
+ */
1620
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1621
+ /**
1622
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1623
+ *
1624
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1625
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1626
+ * @returns {string} A string representing the chunk.
1627
+ */
1628
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1501
1629
  /**
1502
1630
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1503
1631
  *
@@ -155,6 +155,7 @@ class DataStoreServiceClient {
155
155
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
156
156
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
157
157
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
158
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
158
159
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
159
160
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
160
161
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
@@ -169,6 +170,7 @@ class DataStoreServiceClient {
169
170
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
170
171
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
171
172
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
173
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
172
174
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
173
175
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
174
176
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
@@ -1134,6 +1136,99 @@ class DataStoreServiceClient {
1134
1136
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1135
1137
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1136
1138
  }
1139
+ /**
1140
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1141
+ *
1142
+ * @param {string} project
1143
+ * @param {string} location
1144
+ * @param {string} collection
1145
+ * @param {string} data_store
1146
+ * @param {string} branch
1147
+ * @param {string} document
1148
+ * @param {string} chunk
1149
+ * @returns {string} Resource name string.
1150
+ */
1151
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1152
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1153
+ project: project,
1154
+ location: location,
1155
+ collection: collection,
1156
+ data_store: dataStore,
1157
+ branch: branch,
1158
+ document: document,
1159
+ chunk: chunk,
1160
+ });
1161
+ }
1162
+ /**
1163
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1164
+ *
1165
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1166
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1167
+ * @returns {string} A string representing the project.
1168
+ */
1169
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1170
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1171
+ }
1172
+ /**
1173
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1174
+ *
1175
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1176
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1177
+ * @returns {string} A string representing the location.
1178
+ */
1179
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1180
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1181
+ }
1182
+ /**
1183
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1184
+ *
1185
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1186
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1187
+ * @returns {string} A string representing the collection.
1188
+ */
1189
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1190
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1191
+ }
1192
+ /**
1193
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1194
+ *
1195
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1196
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1197
+ * @returns {string} A string representing the data_store.
1198
+ */
1199
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1200
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1201
+ }
1202
+ /**
1203
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1204
+ *
1205
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1206
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1207
+ * @returns {string} A string representing the branch.
1208
+ */
1209
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1210
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1211
+ }
1212
+ /**
1213
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1214
+ *
1215
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1216
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1217
+ * @returns {string} A string representing the document.
1218
+ */
1219
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1220
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1221
+ }
1222
+ /**
1223
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1224
+ *
1225
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1226
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1227
+ * @returns {string} A string representing the chunk.
1228
+ */
1229
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1230
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1231
+ }
1137
1232
  /**
1138
1233
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1139
1234
  *
@@ -2076,6 +2171,87 @@ class DataStoreServiceClient {
2076
2171
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2077
2172
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2078
2173
  }
2174
+ /**
2175
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2176
+ *
2177
+ * @param {string} project
2178
+ * @param {string} location
2179
+ * @param {string} data_store
2180
+ * @param {string} branch
2181
+ * @param {string} document
2182
+ * @param {string} chunk
2183
+ * @returns {string} Resource name string.
2184
+ */
2185
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2186
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2187
+ project: project,
2188
+ location: location,
2189
+ data_store: dataStore,
2190
+ branch: branch,
2191
+ document: document,
2192
+ chunk: chunk,
2193
+ });
2194
+ }
2195
+ /**
2196
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2197
+ *
2198
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2199
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2200
+ * @returns {string} A string representing the project.
2201
+ */
2202
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2203
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2204
+ }
2205
+ /**
2206
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2207
+ *
2208
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2209
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2210
+ * @returns {string} A string representing the location.
2211
+ */
2212
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2213
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2214
+ }
2215
+ /**
2216
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2217
+ *
2218
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2219
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2220
+ * @returns {string} A string representing the data_store.
2221
+ */
2222
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2223
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2224
+ }
2225
+ /**
2226
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2227
+ *
2228
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2229
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2230
+ * @returns {string} A string representing the branch.
2231
+ */
2232
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2233
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2234
+ }
2235
+ /**
2236
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2237
+ *
2238
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2239
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2240
+ * @returns {string} A string representing the document.
2241
+ */
2242
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2243
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2244
+ }
2245
+ /**
2246
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2247
+ *
2248
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2249
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2250
+ * @returns {string} A string representing the chunk.
2251
+ */
2252
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2253
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2254
+ }
2079
2255
  /**
2080
2256
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2081
2257
  *