@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.
- package/CHANGELOG.md +7 -0
- package/README.md +2 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +119 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1/completion.proto +31 -0
- package/build/protos/google/cloud/discoveryengine/v1/completion_service.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +35 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +108 -0
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +38 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +200 -4
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +3 -0
- package/build/protos/protos.d.ts +3851 -1527
- package/build/protos/protos.js +14056 -8213
- package/build/protos/protos.json +548 -8
- package/build/src/v1/completion_service_client.d.ts +220 -0
- package/build/src/v1/completion_service_client.js +260 -0
- package/build/src/v1/completion_service_client_config.json +10 -0
- package/build/src/v1/control_service_client.d.ts +129 -1
- package/build/src/v1/control_service_client.js +176 -0
- package/build/src/v1/conversational_search_service_client.d.ts +147 -1
- package/build/src/v1/conversational_search_service_client.js +176 -0
- package/build/src/v1/data_store_service_client.d.ts +129 -1
- package/build/src/v1/data_store_service_client.js +176 -0
- package/build/src/v1/document_service_client.d.ts +131 -1
- package/build/src/v1/document_service_client.js +176 -0
- package/build/src/v1/engine_service_client.d.ts +129 -1
- package/build/src/v1/engine_service_client.js +176 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +129 -0
- package/build/src/v1/grounded_generation_service_client.js +176 -0
- package/build/src/v1/project_service_client.d.ts +129 -0
- package/build/src/v1/project_service_client.js +176 -0
- package/build/src/v1/rank_service_client.d.ts +129 -0
- package/build/src/v1/rank_service_client.js +176 -0
- package/build/src/v1/recommendation_service_client.d.ts +129 -0
- package/build/src/v1/recommendation_service_client.js +176 -0
- package/build/src/v1/schema_service_client.d.ts +129 -1
- package/build/src/v1/schema_service_client.js +176 -0
- package/build/src/v1/search_service_client.d.ts +252 -1
- package/build/src/v1/search_service_client.js +258 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +129 -1
- package/build/src/v1/site_search_engine_service_client.js +176 -0
- package/build/src/v1/user_event_service_client.d.ts +129 -0
- package/build/src/v1/user_event_service_client.js +176 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +0 -1
- package/build/src/v1alpha/control_service_client.d.ts +0 -1
- package/build/src/v1alpha/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1alpha/data_store_service_client.d.ts +0 -1
- package/build/src/v1alpha/document_service_client.d.ts +0 -1
- package/build/src/v1alpha/engine_service_client.d.ts +0 -1
- package/build/src/v1alpha/schema_service_client.d.ts +0 -1
- package/build/src/v1alpha/search_service_client.d.ts +0 -1
- package/build/src/v1alpha/serving_config_service_client.d.ts +0 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +0 -1
- package/build/src/v1beta/control_service_client.d.ts +0 -1
- package/build/src/v1beta/conversational_search_service_client.d.ts +0 -1
- package/build/src/v1beta/data_store_service_client.d.ts +0 -1
- package/build/src/v1beta/document_service_client.d.ts +0 -1
- package/build/src/v1beta/engine_service_client.d.ts +0 -1
- package/build/src/v1beta/schema_service_client.d.ts +0 -1
- package/build/src/v1beta/search_service_client.d.ts +0 -1
- package/build/src/v1beta/serving_config_service_client.d.ts +0 -1
- package/build/src/v1beta/site_search_engine_service_client.d.ts +0 -1
- package/package.json +1 -1
@@ -155,6 +155,7 @@ class EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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'),
|
@@ -1097,6 +1099,99 @@ class EngineServiceClient {
|
|
1097
1099
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
1098
1100
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
1099
1101
|
}
|
1102
|
+
/**
|
1103
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
1104
|
+
*
|
1105
|
+
* @param {string} project
|
1106
|
+
* @param {string} location
|
1107
|
+
* @param {string} collection
|
1108
|
+
* @param {string} data_store
|
1109
|
+
* @param {string} branch
|
1110
|
+
* @param {string} document
|
1111
|
+
* @param {string} chunk
|
1112
|
+
* @returns {string} Resource name string.
|
1113
|
+
*/
|
1114
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
1115
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
1116
|
+
project: project,
|
1117
|
+
location: location,
|
1118
|
+
collection: collection,
|
1119
|
+
data_store: dataStore,
|
1120
|
+
branch: branch,
|
1121
|
+
document: document,
|
1122
|
+
chunk: chunk,
|
1123
|
+
});
|
1124
|
+
}
|
1125
|
+
/**
|
1126
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1127
|
+
*
|
1128
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1129
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1130
|
+
* @returns {string} A string representing the project.
|
1131
|
+
*/
|
1132
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1133
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
1134
|
+
}
|
1135
|
+
/**
|
1136
|
+
* Parse the location 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 location.
|
1141
|
+
*/
|
1142
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1143
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
1144
|
+
}
|
1145
|
+
/**
|
1146
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1147
|
+
*
|
1148
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1149
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1150
|
+
* @returns {string} A string representing the collection.
|
1151
|
+
*/
|
1152
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1153
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
1154
|
+
}
|
1155
|
+
/**
|
1156
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1157
|
+
*
|
1158
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1159
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1160
|
+
* @returns {string} A string representing the data_store.
|
1161
|
+
*/
|
1162
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1163
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
1164
|
+
}
|
1165
|
+
/**
|
1166
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1167
|
+
*
|
1168
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1169
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1170
|
+
* @returns {string} A string representing the branch.
|
1171
|
+
*/
|
1172
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1173
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
1174
|
+
}
|
1175
|
+
/**
|
1176
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1177
|
+
*
|
1178
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1179
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1180
|
+
* @returns {string} A string representing the document.
|
1181
|
+
*/
|
1182
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1183
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
1184
|
+
}
|
1185
|
+
/**
|
1186
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
1187
|
+
*
|
1188
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
1189
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
1190
|
+
* @returns {string} A string representing the chunk.
|
1191
|
+
*/
|
1192
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1193
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1194
|
+
}
|
1100
1195
|
/**
|
1101
1196
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1102
1197
|
*
|
@@ -2039,6 +2134,87 @@ class EngineServiceClient {
|
|
2039
2134
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
2040
2135
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
2041
2136
|
}
|
2137
|
+
/**
|
2138
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
2139
|
+
*
|
2140
|
+
* @param {string} project
|
2141
|
+
* @param {string} location
|
2142
|
+
* @param {string} data_store
|
2143
|
+
* @param {string} branch
|
2144
|
+
* @param {string} document
|
2145
|
+
* @param {string} chunk
|
2146
|
+
* @returns {string} Resource name string.
|
2147
|
+
*/
|
2148
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
2149
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
2150
|
+
project: project,
|
2151
|
+
location: location,
|
2152
|
+
data_store: dataStore,
|
2153
|
+
branch: branch,
|
2154
|
+
document: document,
|
2155
|
+
chunk: chunk,
|
2156
|
+
});
|
2157
|
+
}
|
2158
|
+
/**
|
2159
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2160
|
+
*
|
2161
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2162
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2163
|
+
* @returns {string} A string representing the project.
|
2164
|
+
*/
|
2165
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2166
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
2167
|
+
}
|
2168
|
+
/**
|
2169
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2170
|
+
*
|
2171
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2172
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2173
|
+
* @returns {string} A string representing the location.
|
2174
|
+
*/
|
2175
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2176
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
2177
|
+
}
|
2178
|
+
/**
|
2179
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2180
|
+
*
|
2181
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2182
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2183
|
+
* @returns {string} A string representing the data_store.
|
2184
|
+
*/
|
2185
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2186
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
2187
|
+
}
|
2188
|
+
/**
|
2189
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2190
|
+
*
|
2191
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2192
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2193
|
+
* @returns {string} A string representing the branch.
|
2194
|
+
*/
|
2195
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2196
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
2197
|
+
}
|
2198
|
+
/**
|
2199
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2200
|
+
*
|
2201
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2202
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2203
|
+
* @returns {string} A string representing the document.
|
2204
|
+
*/
|
2205
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2206
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
2207
|
+
}
|
2208
|
+
/**
|
2209
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
2210
|
+
*
|
2211
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
2212
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
2213
|
+
* @returns {string} A string representing the chunk.
|
2214
|
+
*/
|
2215
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2216
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2217
|
+
}
|
2042
2218
|
/**
|
2043
2219
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2044
2220
|
*
|
@@ -406,6 +406,75 @@ export declare class GroundedGenerationServiceClient {
|
|
406
406
|
* @returns {string} A string representing the document.
|
407
407
|
*/
|
408
408
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName: string): string | number;
|
409
|
+
/**
|
410
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
411
|
+
*
|
412
|
+
* @param {string} project
|
413
|
+
* @param {string} location
|
414
|
+
* @param {string} collection
|
415
|
+
* @param {string} data_store
|
416
|
+
* @param {string} branch
|
417
|
+
* @param {string} document
|
418
|
+
* @param {string} chunk
|
419
|
+
* @returns {string} Resource name string.
|
420
|
+
*/
|
421
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project: string, location: string, collection: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
422
|
+
/**
|
423
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
424
|
+
*
|
425
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
426
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
427
|
+
* @returns {string} A string representing the project.
|
428
|
+
*/
|
429
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
430
|
+
/**
|
431
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
432
|
+
*
|
433
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
434
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
435
|
+
* @returns {string} A string representing the location.
|
436
|
+
*/
|
437
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
438
|
+
/**
|
439
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
440
|
+
*
|
441
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
442
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
443
|
+
* @returns {string} A string representing the collection.
|
444
|
+
*/
|
445
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
446
|
+
/**
|
447
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
448
|
+
*
|
449
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
450
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
451
|
+
* @returns {string} A string representing the data_store.
|
452
|
+
*/
|
453
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
454
|
+
/**
|
455
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
456
|
+
*
|
457
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
458
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
459
|
+
* @returns {string} A string representing the branch.
|
460
|
+
*/
|
461
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
462
|
+
/**
|
463
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
464
|
+
*
|
465
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
466
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
467
|
+
* @returns {string} A string representing the document.
|
468
|
+
*/
|
469
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
470
|
+
/**
|
471
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
472
|
+
*
|
473
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
474
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
475
|
+
* @returns {string} A string representing the chunk.
|
476
|
+
*/
|
477
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName: string): string | number;
|
409
478
|
/**
|
410
479
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
411
480
|
*
|
@@ -1102,6 +1171,66 @@ export declare class GroundedGenerationServiceClient {
|
|
1102
1171
|
* @returns {string} A string representing the document.
|
1103
1172
|
*/
|
1104
1173
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName: string): string | number;
|
1174
|
+
/**
|
1175
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1176
|
+
*
|
1177
|
+
* @param {string} project
|
1178
|
+
* @param {string} location
|
1179
|
+
* @param {string} data_store
|
1180
|
+
* @param {string} branch
|
1181
|
+
* @param {string} document
|
1182
|
+
* @param {string} chunk
|
1183
|
+
* @returns {string} Resource name string.
|
1184
|
+
*/
|
1185
|
+
projectLocationDataStoreBranchDocumentChunkPath(project: string, location: string, dataStore: string, branch: string, document: string, chunk: string): string;
|
1186
|
+
/**
|
1187
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1188
|
+
*
|
1189
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1190
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1191
|
+
* @returns {string} A string representing the project.
|
1192
|
+
*/
|
1193
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1194
|
+
/**
|
1195
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1196
|
+
*
|
1197
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1198
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1199
|
+
* @returns {string} A string representing the location.
|
1200
|
+
*/
|
1201
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1202
|
+
/**
|
1203
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1204
|
+
*
|
1205
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1206
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1207
|
+
* @returns {string} A string representing the data_store.
|
1208
|
+
*/
|
1209
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1210
|
+
/**
|
1211
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1212
|
+
*
|
1213
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1214
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1215
|
+
* @returns {string} A string representing the branch.
|
1216
|
+
*/
|
1217
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1218
|
+
/**
|
1219
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1220
|
+
*
|
1221
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1222
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1223
|
+
* @returns {string} A string representing the document.
|
1224
|
+
*/
|
1225
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1226
|
+
/**
|
1227
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1228
|
+
*
|
1229
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1230
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1231
|
+
* @returns {string} A string representing the chunk.
|
1232
|
+
*/
|
1233
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName: string): string | number;
|
1105
1234
|
/**
|
1106
1235
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1107
1236
|
*
|
@@ -155,6 +155,7 @@ class GroundedGenerationServiceClient {
|
|
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 GroundedGenerationServiceClient {
|
|
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'),
|
@@ -629,6 +631,99 @@ class GroundedGenerationServiceClient {
|
|
629
631
|
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentName(projectLocationCollectionDataStoreBranchDocumentName) {
|
630
632
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentName).document;
|
631
633
|
}
|
634
|
+
/**
|
635
|
+
* Return a fully-qualified projectLocationCollectionDataStoreBranchDocumentChunk resource name string.
|
636
|
+
*
|
637
|
+
* @param {string} project
|
638
|
+
* @param {string} location
|
639
|
+
* @param {string} collection
|
640
|
+
* @param {string} data_store
|
641
|
+
* @param {string} branch
|
642
|
+
* @param {string} document
|
643
|
+
* @param {string} chunk
|
644
|
+
* @returns {string} Resource name string.
|
645
|
+
*/
|
646
|
+
projectLocationCollectionDataStoreBranchDocumentChunkPath(project, location, collection, dataStore, branch, document, chunk) {
|
647
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.render({
|
648
|
+
project: project,
|
649
|
+
location: location,
|
650
|
+
collection: collection,
|
651
|
+
data_store: dataStore,
|
652
|
+
branch: branch,
|
653
|
+
document: document,
|
654
|
+
chunk: chunk,
|
655
|
+
});
|
656
|
+
}
|
657
|
+
/**
|
658
|
+
* Parse the project from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
659
|
+
*
|
660
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
661
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
662
|
+
* @returns {string} A string representing the project.
|
663
|
+
*/
|
664
|
+
matchProjectFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
665
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).project;
|
666
|
+
}
|
667
|
+
/**
|
668
|
+
* Parse the location from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
669
|
+
*
|
670
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
671
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
672
|
+
* @returns {string} A string representing the location.
|
673
|
+
*/
|
674
|
+
matchLocationFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
675
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).location;
|
676
|
+
}
|
677
|
+
/**
|
678
|
+
* Parse the collection from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
679
|
+
*
|
680
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
681
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
682
|
+
* @returns {string} A string representing the collection.
|
683
|
+
*/
|
684
|
+
matchCollectionFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
685
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).collection;
|
686
|
+
}
|
687
|
+
/**
|
688
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
689
|
+
*
|
690
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
691
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
692
|
+
* @returns {string} A string representing the data_store.
|
693
|
+
*/
|
694
|
+
matchDataStoreFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
695
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).data_store;
|
696
|
+
}
|
697
|
+
/**
|
698
|
+
* Parse the branch from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
699
|
+
*
|
700
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
701
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
702
|
+
* @returns {string} A string representing the branch.
|
703
|
+
*/
|
704
|
+
matchBranchFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
705
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).branch;
|
706
|
+
}
|
707
|
+
/**
|
708
|
+
* Parse the document from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
709
|
+
*
|
710
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
711
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
712
|
+
* @returns {string} A string representing the document.
|
713
|
+
*/
|
714
|
+
matchDocumentFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
715
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).document;
|
716
|
+
}
|
717
|
+
/**
|
718
|
+
* Parse the chunk from ProjectLocationCollectionDataStoreBranchDocumentChunk resource.
|
719
|
+
*
|
720
|
+
* @param {string} projectLocationCollectionDataStoreBranchDocumentChunkName
|
721
|
+
* A fully-qualified path representing project_location_collection_data_store_branch_document_chunk resource.
|
722
|
+
* @returns {string} A string representing the chunk.
|
723
|
+
*/
|
724
|
+
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
725
|
+
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
726
|
+
}
|
632
727
|
/**
|
633
728
|
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
634
729
|
*
|
@@ -1571,6 +1666,87 @@ class GroundedGenerationServiceClient {
|
|
1571
1666
|
matchDocumentFromProjectLocationDataStoreBranchDocumentName(projectLocationDataStoreBranchDocumentName) {
|
1572
1667
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentPathTemplate.match(projectLocationDataStoreBranchDocumentName).document;
|
1573
1668
|
}
|
1669
|
+
/**
|
1670
|
+
* Return a fully-qualified projectLocationDataStoreBranchDocumentChunk resource name string.
|
1671
|
+
*
|
1672
|
+
* @param {string} project
|
1673
|
+
* @param {string} location
|
1674
|
+
* @param {string} data_store
|
1675
|
+
* @param {string} branch
|
1676
|
+
* @param {string} document
|
1677
|
+
* @param {string} chunk
|
1678
|
+
* @returns {string} Resource name string.
|
1679
|
+
*/
|
1680
|
+
projectLocationDataStoreBranchDocumentChunkPath(project, location, dataStore, branch, document, chunk) {
|
1681
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.render({
|
1682
|
+
project: project,
|
1683
|
+
location: location,
|
1684
|
+
data_store: dataStore,
|
1685
|
+
branch: branch,
|
1686
|
+
document: document,
|
1687
|
+
chunk: chunk,
|
1688
|
+
});
|
1689
|
+
}
|
1690
|
+
/**
|
1691
|
+
* Parse the project from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1692
|
+
*
|
1693
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1694
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1695
|
+
* @returns {string} A string representing the project.
|
1696
|
+
*/
|
1697
|
+
matchProjectFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1698
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).project;
|
1699
|
+
}
|
1700
|
+
/**
|
1701
|
+
* Parse the location from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1702
|
+
*
|
1703
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1704
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1705
|
+
* @returns {string} A string representing the location.
|
1706
|
+
*/
|
1707
|
+
matchLocationFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1708
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).location;
|
1709
|
+
}
|
1710
|
+
/**
|
1711
|
+
* Parse the data_store from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1712
|
+
*
|
1713
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1714
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1715
|
+
* @returns {string} A string representing the data_store.
|
1716
|
+
*/
|
1717
|
+
matchDataStoreFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1718
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).data_store;
|
1719
|
+
}
|
1720
|
+
/**
|
1721
|
+
* Parse the branch from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1722
|
+
*
|
1723
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1724
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1725
|
+
* @returns {string} A string representing the branch.
|
1726
|
+
*/
|
1727
|
+
matchBranchFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1728
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).branch;
|
1729
|
+
}
|
1730
|
+
/**
|
1731
|
+
* Parse the document from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1732
|
+
*
|
1733
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1734
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1735
|
+
* @returns {string} A string representing the document.
|
1736
|
+
*/
|
1737
|
+
matchDocumentFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1738
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).document;
|
1739
|
+
}
|
1740
|
+
/**
|
1741
|
+
* Parse the chunk from ProjectLocationDataStoreBranchDocumentChunk resource.
|
1742
|
+
*
|
1743
|
+
* @param {string} projectLocationDataStoreBranchDocumentChunkName
|
1744
|
+
* A fully-qualified path representing project_location_data_store_branch_document_chunk resource.
|
1745
|
+
* @returns {string} A string representing the chunk.
|
1746
|
+
*/
|
1747
|
+
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
1748
|
+
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
1749
|
+
}
|
1574
1750
|
/**
|
1575
1751
|
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
1576
1752
|
*
|