@google-cloud/discoveryengine 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +2 -0
  3. package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
  4. package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
  5. package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
  6. package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
  7. package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
  8. package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
  9. package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
  10. package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
  11. package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
  12. package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
  13. package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
  14. package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
  15. package/build/protos/protos.d.ts +3851 -1527
  16. package/build/protos/protos.js +14056 -8213
  17. package/build/protos/protos.json +548 -8
  18. package/build/src/v1/completion_service_client.d.ts +220 -0
  19. package/build/src/v1/completion_service_client.js +260 -0
  20. package/build/src/v1/completion_service_client_config.json +10 -0
  21. package/build/src/v1/control_service_client.d.ts +129 -1
  22. package/build/src/v1/control_service_client.js +176 -0
  23. package/build/src/v1/conversational_search_service_client.d.ts +147 -1
  24. package/build/src/v1/conversational_search_service_client.js +176 -0
  25. package/build/src/v1/data_store_service_client.d.ts +129 -1
  26. package/build/src/v1/data_store_service_client.js +176 -0
  27. package/build/src/v1/document_service_client.d.ts +131 -1
  28. package/build/src/v1/document_service_client.js +176 -0
  29. package/build/src/v1/engine_service_client.d.ts +129 -1
  30. package/build/src/v1/engine_service_client.js +176 -0
  31. package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
  32. package/build/src/v1/grounded_generation_service_client.js +176 -0
  33. package/build/src/v1/project_service_client.d.ts +129 -0
  34. package/build/src/v1/project_service_client.js +176 -0
  35. package/build/src/v1/rank_service_client.d.ts +129 -0
  36. package/build/src/v1/rank_service_client.js +176 -0
  37. package/build/src/v1/recommendation_service_client.d.ts +129 -0
  38. package/build/src/v1/recommendation_service_client.js +176 -0
  39. package/build/src/v1/schema_service_client.d.ts +129 -1
  40. package/build/src/v1/schema_service_client.js +176 -0
  41. package/build/src/v1/search_service_client.d.ts +252 -1
  42. package/build/src/v1/search_service_client.js +258 -0
  43. package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
  44. package/build/src/v1/site_search_engine_service_client.js +176 -0
  45. package/build/src/v1/user_event_service_client.d.ts +129 -0
  46. package/build/src/v1/user_event_service_client.js +176 -0
  47. package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
  48. package/build/src/v1alpha/control_service_client.d.ts +0 -1
  49. package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
  50. package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
  51. package/build/src/v1alpha/document_service_client.d.ts +0 -1
  52. package/build/src/v1alpha/engine_service_client.d.ts +0 -1
  53. package/build/src/v1alpha/schema_service_client.d.ts +0 -1
  54. package/build/src/v1alpha/search_service_client.d.ts +0 -1
  55. package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
  56. package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
  57. package/build/src/v1beta/control_service_client.d.ts +0 -1
  58. package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
  59. package/build/src/v1beta/data_store_service_client.d.ts +0 -1
  60. package/build/src/v1beta/document_service_client.d.ts +0 -1
  61. package/build/src/v1beta/engine_service_client.d.ts +0 -1
  62. package/build/src/v1beta/schema_service_client.d.ts +0 -1
  63. package/build/src/v1beta/search_service_client.d.ts +0 -1
  64. package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
  65. package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
  66. package/package.json +1 -1
@@ -1,4 +1,3 @@
1
- /// <reference types="node" />
2
1
  import type * as gax from 'google-gax';
3
2
  import type { Callback, CallOptions, Descriptors, ClientOptions, LROperation, PaginationCallback, LocationsClient, LocationProtos } from 'google-gax';
4
3
  import { Transform } from 'stream';
@@ -1080,6 +1079,75 @@ export declare class SiteSearchEngineServiceClient {
1080
1079
  * @returns {string} A string representing the document.
1081
1080
  */
1082
1081
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
1082
+ /**
1083
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1084
+ *
1085
+ * @param {string} project
1086
+ * @param {string} location
1087
+ * @param {string} collection
1088
+ * @param {string} data_store
1089
+ * @param {string} branch
1090
+ * @param {string} document
1091
+ * @param {string} chunk
1092
+ * @returns {string} Resource name string.
1093
+ */
1094
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
1095
+ /**
1096
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1097
+ *
1098
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1099
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1100
+ * @returns {string} A string representing the project.
1101
+ */
1102
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1103
+ /**
1104
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1105
+ *
1106
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1107
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1108
+ * @returns {string} A string representing the location.
1109
+ */
1110
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1111
+ /**
1112
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1113
+ *
1114
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1115
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1116
+ * @returns {string} A string representing the collection.
1117
+ */
1118
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1119
+ /**
1120
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1121
+ *
1122
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1123
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1124
+ * @returns {string} A string representing the data_store.
1125
+ */
1126
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1127
+ /**
1128
+ * Parse the branch 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 branch.
1133
+ */
1134
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1135
+ /**
1136
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1137
+ *
1138
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1139
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1140
+ * @returns {string} A string representing the document.
1141
+ */
1142
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1143
+ /**
1144
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1145
+ *
1146
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1147
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1148
+ * @returns {string} A string representing the chunk.
1149
+ */
1150
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
1083
1151
  /**
1084
1152
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1085
1153
  *
@@ -1776,6 +1844,66 @@ export declare class SiteSearchEngineServiceClient {
1776
1844
  * @returns {string} A string representing the document.
1777
1845
  */
1778
1846
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1847
+ /**
1848
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1849
+ *
1850
+ * @param {string} project
1851
+ * @param {string} location
1852
+ * @param {string} data_store
1853
+ * @param {string} branch
1854
+ * @param {string} document
1855
+ * @param {string} chunk
1856
+ * @returns {string} Resource name string.
1857
+ */
1858
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1859
+ /**
1860
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1861
+ *
1862
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1863
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1864
+ * @returns {string} A string representing the project.
1865
+ */
1866
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1867
+ /**
1868
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1869
+ *
1870
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1871
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1872
+ * @returns {string} A string representing the location.
1873
+ */
1874
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1875
+ /**
1876
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1877
+ *
1878
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1879
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1880
+ * @returns {string} A string representing the data_store.
1881
+ */
1882
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1883
+ /**
1884
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1885
+ *
1886
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1887
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1888
+ * @returns {string} A string representing the branch.
1889
+ */
1890
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1891
+ /**
1892
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1893
+ *
1894
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1895
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1896
+ * @returns {string} A string representing the document.
1897
+ */
1898
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1899
+ /**
1900
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1901
+ *
1902
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1903
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1904
+ * @returns {string} A string representing the chunk.
1905
+ */
1906
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1779
1907
  /**
1780
1908
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1781
1909
  *
@@ -154,6 +154,7 @@ class SiteSearchEngineServiceClient {
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'),
@@ -168,6 +169,7 @@ class SiteSearchEngineServiceClient {
168
169
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
169
170
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
170
171
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
172
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
171
173
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
172
174
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
173
175
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
@@ -1441,6 +1443,99 @@ class SiteSearchEngineServiceClient {
1441
1443
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1442
1444
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1443
1445
  }
1446
+ /**
1447
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1448
+ *
1449
+ * @param {string} project
1450
+ * @param {string} location
1451
+ * @param {string} collection
1452
+ * @param {string} data_store
1453
+ * @param {string} branch
1454
+ * @param {string} document
1455
+ * @param {string} chunk
1456
+ * @returns {string} Resource name string.
1457
+ */
1458
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1459
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1460
+ project: project,
1461
+ location: location,
1462
+ collection: collection,
1463
+ data_store: dataStore,
1464
+ branch: branch,
1465
+ document: document,
1466
+ chunk: chunk,
1467
+ });
1468
+ }
1469
+ /**
1470
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1471
+ *
1472
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1473
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1474
+ * @returns {string} A string representing the project.
1475
+ */
1476
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1477
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1478
+ }
1479
+ /**
1480
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1481
+ *
1482
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1483
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1484
+ * @returns {string} A string representing the location.
1485
+ */
1486
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1487
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1488
+ }
1489
+ /**
1490
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1491
+ *
1492
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1493
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1494
+ * @returns {string} A string representing the collection.
1495
+ */
1496
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1497
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1498
+ }
1499
+ /**
1500
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1501
+ *
1502
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1503
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1504
+ * @returns {string} A string representing the data_store.
1505
+ */
1506
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1507
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1508
+ }
1509
+ /**
1510
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1511
+ *
1512
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1513
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1514
+ * @returns {string} A string representing the branch.
1515
+ */
1516
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1517
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1518
+ }
1519
+ /**
1520
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1521
+ *
1522
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1523
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1524
+ * @returns {string} A string representing the document.
1525
+ */
1526
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1527
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1528
+ }
1529
+ /**
1530
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1531
+ *
1532
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1533
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1534
+ * @returns {string} A string representing the chunk.
1535
+ */
1536
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1537
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1538
+ }
1444
1539
  /**
1445
1540
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1446
1541
  *
@@ -2383,6 +2478,87 @@ class SiteSearchEngineServiceClient {
2383
2478
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2384
2479
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2385
2480
  }
2481
+ /**
2482
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2483
+ *
2484
+ * @param {string} project
2485
+ * @param {string} location
2486
+ * @param {string} data_store
2487
+ * @param {string} branch
2488
+ * @param {string} document
2489
+ * @param {string} chunk
2490
+ * @returns {string} Resource name string.
2491
+ */
2492
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2493
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2494
+ project: project,
2495
+ location: location,
2496
+ data_store: dataStore,
2497
+ branch: branch,
2498
+ document: document,
2499
+ chunk: chunk,
2500
+ });
2501
+ }
2502
+ /**
2503
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2504
+ *
2505
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2506
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2507
+ * @returns {string} A string representing the project.
2508
+ */
2509
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2510
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2511
+ }
2512
+ /**
2513
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2514
+ *
2515
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2516
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2517
+ * @returns {string} A string representing the location.
2518
+ */
2519
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2520
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2521
+ }
2522
+ /**
2523
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2524
+ *
2525
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2526
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2527
+ * @returns {string} A string representing the data_store.
2528
+ */
2529
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2530
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2531
+ }
2532
+ /**
2533
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2534
+ *
2535
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2536
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2537
+ * @returns {string} A string representing the branch.
2538
+ */
2539
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2540
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2541
+ }
2542
+ /**
2543
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2544
+ *
2545
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2546
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2547
+ * @returns {string} A string representing the document.
2548
+ */
2549
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2550
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2551
+ }
2552
+ /**
2553
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2554
+ *
2555
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2556
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2557
+ * @returns {string} A string representing the chunk.
2558
+ */
2559
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2560
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2561
+ }
2386
2562
  /**
2387
2563
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2388
2564
  *
@@ -575,6 +575,75 @@ export declare class UserEventServiceClient {
575
575
  * @returns {string} A string representing the document.
576
576
  */
577
577
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
578
+ /**
579
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
580
+ *
581
+ * @param {string} project
582
+ * @param {string} location
583
+ * @param {string} collection
584
+ * @param {string} data_store
585
+ * @param {string} branch
586
+ * @param {string} document
587
+ * @param {string} chunk
588
+ * @returns {string} Resource name string.
589
+ */
590
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
591
+ /**
592
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
593
+ *
594
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
595
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
596
+ * @returns {string} A string representing the project.
597
+ */
598
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
599
+ /**
600
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
601
+ *
602
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
603
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
604
+ * @returns {string} A string representing the location.
605
+ */
606
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
607
+ /**
608
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
609
+ *
610
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
611
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
612
+ * @returns {string} A string representing the collection.
613
+ */
614
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
615
+ /**
616
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
617
+ *
618
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
619
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
620
+ * @returns {string} A string representing the data_store.
621
+ */
622
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
623
+ /**
624
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
625
+ *
626
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
627
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
628
+ * @returns {string} A string representing the branch.
629
+ */
630
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
631
+ /**
632
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
633
+ *
634
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
635
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
636
+ * @returns {string} A string representing the document.
637
+ */
638
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
639
+ /**
640
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
641
+ *
642
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
643
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
644
+ * @returns {string} A string representing the chunk.
645
+ */
646
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
578
647
  /**
579
648
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
580
649
  *
@@ -1271,6 +1340,66 @@ export declare class UserEventServiceClient {
1271
1340
  * @returns {string} A string representing the document.
1272
1341
  */
1273
1342
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1343
+ /**
1344
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1345
+ *
1346
+ * @param {string} project
1347
+ * @param {string} location
1348
+ * @param {string} data_store
1349
+ * @param {string} branch
1350
+ * @param {string} document
1351
+ * @param {string} chunk
1352
+ * @returns {string} Resource name string.
1353
+ */
1354
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1355
+ /**
1356
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1357
+ *
1358
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1359
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1360
+ * @returns {string} A string representing the project.
1361
+ */
1362
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1363
+ /**
1364
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1365
+ *
1366
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1367
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1368
+ * @returns {string} A string representing the location.
1369
+ */
1370
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1371
+ /**
1372
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1373
+ *
1374
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1375
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1376
+ * @returns {string} A string representing the data_store.
1377
+ */
1378
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1379
+ /**
1380
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1381
+ *
1382
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1383
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1384
+ * @returns {string} A string representing the branch.
1385
+ */
1386
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1387
+ /**
1388
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1389
+ *
1390
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1391
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1392
+ * @returns {string} A string representing the document.
1393
+ */
1394
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1395
+ /**
1396
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1397
+ *
1398
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1399
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1400
+ * @returns {string} A string representing the chunk.
1401
+ */
1402
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1274
1403
  /**
1275
1404
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1276
1405
  *