@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';
@@ -715,6 +714,75 @@ export declare class SchemaServiceClient {
715
714
  * @returns {string} A string representing the document.
716
715
  */
717
716
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
717
+ /**
718
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
719
+ *
720
+ * @param {string} project
721
+ * @param {string} location
722
+ * @param {string} collection
723
+ * @param {string} data_store
724
+ * @param {string} branch
725
+ * @param {string} document
726
+ * @param {string} chunk
727
+ * @returns {string} Resource name string.
728
+ */
729
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
730
+ /**
731
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
732
+ *
733
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
734
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
735
+ * @returns {string} A string representing the project.
736
+ */
737
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
738
+ /**
739
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
740
+ *
741
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
742
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
743
+ * @returns {string} A string representing the location.
744
+ */
745
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
746
+ /**
747
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
748
+ *
749
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
750
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
751
+ * @returns {string} A string representing the collection.
752
+ */
753
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
754
+ /**
755
+ * Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
756
+ *
757
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
758
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
759
+ * @returns {string} A string representing the data_store.
760
+ */
761
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
762
+ /**
763
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
764
+ *
765
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
766
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
767
+ * @returns {string} A string representing the branch.
768
+ */
769
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
770
+ /**
771
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
772
+ *
773
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
774
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
775
+ * @returns {string} A string representing the document.
776
+ */
777
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
778
+ /**
779
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
780
+ *
781
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
782
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
783
+ * @returns {string} A string representing the chunk.
784
+ */
785
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
718
786
  /**
719
787
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
720
788
  *
@@ -1411,6 +1479,66 @@ export declare class SchemaServiceClient {
1411
1479
  * @returns {string} A string representing the document.
1412
1480
  */
1413
1481
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
1482
+ /**
1483
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
1484
+ *
1485
+ * @param {string} project
1486
+ * @param {string} location
1487
+ * @param {string} data_store
1488
+ * @param {string} branch
1489
+ * @param {string} document
1490
+ * @param {string} chunk
1491
+ * @returns {string} Resource name string.
1492
+ */
1493
+ projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
1494
+ /**
1495
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
1496
+ *
1497
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1498
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1499
+ * @returns {string} A string representing the project.
1500
+ */
1501
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1502
+ /**
1503
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
1504
+ *
1505
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1506
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1507
+ * @returns {string} A string representing the location.
1508
+ */
1509
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1510
+ /**
1511
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
1512
+ *
1513
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1514
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1515
+ * @returns {string} A string representing the data_store.
1516
+ */
1517
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1518
+ /**
1519
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
1520
+ *
1521
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1522
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1523
+ * @returns {string} A string representing the branch.
1524
+ */
1525
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1526
+ /**
1527
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
1528
+ *
1529
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1530
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1531
+ * @returns {string} A string representing the document.
1532
+ */
1533
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1534
+ /**
1535
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
1536
+ *
1537
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
1538
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
1539
+ * @returns {string} A string representing the chunk.
1540
+ */
1541
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
1414
1542
  /**
1415
1543
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
1416
1544
  *
@@ -153,6 +153,7 @@ class SchemaServiceClient {
153
153
  projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
154
154
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
155
155
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
156
+ projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
156
157
  projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
157
158
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
158
159
  projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
@@ -167,6 +168,7 @@ class SchemaServiceClient {
167
168
  projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
168
169
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
169
170
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
171
+ projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
170
172
  projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
171
173
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
172
174
  projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
@@ -1085,6 +1087,99 @@ class SchemaServiceClient {
1085
1087
  matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
1086
1088
  return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
1087
1089
  }
1090
+ /**
1091
+ * Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
1092
+ *
1093
+ * @param {string} project
1094
+ * @param {string} location
1095
+ * @param {string} collection
1096
+ * @param {string} data_store
1097
+ * @param {string} branch
1098
+ * @param {string} document
1099
+ * @param {string} chunk
1100
+ * @returns {string} Resource name string.
1101
+ */
1102
+ projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
1103
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
1104
+ project: project,
1105
+ location: location,
1106
+ collection: collection,
1107
+ data_store: dataStore,
1108
+ branch: branch,
1109
+ document: document,
1110
+ chunk: chunk,
1111
+ });
1112
+ }
1113
+ /**
1114
+ * Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1115
+ *
1116
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1117
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1118
+ * @returns {string} A string representing the project.
1119
+ */
1120
+ matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1121
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
1122
+ }
1123
+ /**
1124
+ * Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1125
+ *
1126
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1127
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1128
+ * @returns {string} A string representing the location.
1129
+ */
1130
+ matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1131
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
1132
+ }
1133
+ /**
1134
+ * Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1135
+ *
1136
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1137
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1138
+ * @returns {string} A string representing the collection.
1139
+ */
1140
+ matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1141
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
1142
+ }
1143
+ /**
1144
+ * Parse the data_store 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 data_store.
1149
+ */
1150
+ matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1151
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
1152
+ }
1153
+ /**
1154
+ * Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1155
+ *
1156
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1157
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1158
+ * @returns {string} A string representing the branch.
1159
+ */
1160
+ matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1161
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
1162
+ }
1163
+ /**
1164
+ * Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1165
+ *
1166
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1167
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1168
+ * @returns {string} A string representing the document.
1169
+ */
1170
+ matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1171
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
1172
+ }
1173
+ /**
1174
+ * Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
1175
+ *
1176
+ * @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
1177
+ * A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
1178
+ * @returns {string} A string representing the chunk.
1179
+ */
1180
+ matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
1181
+ return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
1182
+ }
1088
1183
  /**
1089
1184
  * Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
1090
1185
  *
@@ -2027,6 +2122,87 @@ class SchemaServiceClient {
2027
2122
  matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
2028
2123
  return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
2029
2124
  }
2125
+ /**
2126
+ * Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
2127
+ *
2128
+ * @param {string} project
2129
+ * @param {string} location
2130
+ * @param {string} data_store
2131
+ * @param {string} branch
2132
+ * @param {string} document
2133
+ * @param {string} chunk
2134
+ * @returns {string} Resource name string.
2135
+ */
2136
+ projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
2137
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
2138
+ project: project,
2139
+ location: location,
2140
+ data_store: dataStore,
2141
+ branch: branch,
2142
+ document: document,
2143
+ chunk: chunk,
2144
+ });
2145
+ }
2146
+ /**
2147
+ * Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
2148
+ *
2149
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2150
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2151
+ * @returns {string} A string representing the project.
2152
+ */
2153
+ matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2154
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
2155
+ }
2156
+ /**
2157
+ * Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
2158
+ *
2159
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2160
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2161
+ * @returns {string} A string representing the location.
2162
+ */
2163
+ matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2164
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
2165
+ }
2166
+ /**
2167
+ * Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
2168
+ *
2169
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2170
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2171
+ * @returns {string} A string representing the data_store.
2172
+ */
2173
+ matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2174
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
2175
+ }
2176
+ /**
2177
+ * Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
2178
+ *
2179
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2180
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2181
+ * @returns {string} A string representing the branch.
2182
+ */
2183
+ matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2184
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
2185
+ }
2186
+ /**
2187
+ * Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
2188
+ *
2189
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2190
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2191
+ * @returns {string} A string representing the document.
2192
+ */
2193
+ matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2194
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
2195
+ }
2196
+ /**
2197
+ * Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
2198
+ *
2199
+ * @param {string} projectLocationDataStoreBranchDocumentChunkName
2200
+ * A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
2201
+ * @returns {string} A string representing the chunk.
2202
+ */
2203
+ matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
2204
+ return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
2205
+ }
2030
2206
  /**
2031
2207
  * Return a fully-qualified projectLocationDataStoreControl resource name string.
2032
2208
  *