@google-cloud/discoveryengine 1.8.0 → 1.9.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 +8 -0
- package/README.md +33 -4
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +337 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +33 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +214 -0
- package/build/protos/google/cloud/discoveryengine/v1/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +569 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +4 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +92 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +149 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +58 -0
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1/rank_service.proto +131 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +23 -18
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +7 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +12 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +2 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +37 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema_service.proto +6 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +28 -31
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +29 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event_service.proto +18 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +10 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +16 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control.proto +216 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/control_service.proto +236 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversation.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +19 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/custom_tuning_model.proto +87 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/data_store_service.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +1 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +7 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +4 -4
- package/build/protos/google/cloud/discoveryengine/v1beta/project.proto +103 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/project_service.proto +90 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/recommendation_service.proto +20 -19
- package/build/protos/google/cloud/discoveryengine/v1beta/schema_service.proto +5 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +30 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +4 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +28 -3
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event_service.proto +18 -2
- package/build/protos/protos.d.ts +52350 -38733
- package/build/protos/protos.js +136479 -103212
- package/build/protos/protos.json +9460 -5916
- package/build/src/index.d.ts +13 -1
- package/build/src/index.js +13 -1
- package/build/src/v1/completion_service_client.d.ts +549 -0
- package/build/src/v1/completion_service_client.js +771 -0
- package/build/src/v1/control_service_client.d.ts +1623 -0
- package/build/src/v1/control_service_client.js +2218 -0
- package/build/src/v1/control_service_client_config.json +63 -0
- package/build/src/v1/conversational_search_service_client.d.ts +893 -0
- package/build/src/v1/conversational_search_service_client.js +1040 -14
- package/build/src/v1/conversational_search_service_client_config.json +35 -0
- package/build/src/v1/data_store_service_client.d.ts +555 -6
- package/build/src/v1/data_store_service_client.js +775 -4
- package/build/src/v1/document_service_client.d.ts +557 -8
- package/build/src/v1/document_service_client.js +773 -2
- package/build/src/v1/engine_service_client.d.ts +549 -0
- package/build/src/v1/engine_service_client.js +771 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +1439 -0
- package/build/src/v1/grounded_generation_service_client.js +2036 -0
- package/build/src/v1/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1/index.d.ts +4 -0
- package/build/src/v1/index.js +9 -1
- package/build/src/v1/project_service_client.d.ts +1533 -0
- package/build/src/v1/project_service_client.js +2255 -0
- package/build/src/v1/project_service_client_config.json +43 -0
- package/build/src/v1/rank_service_client.d.ts +1449 -0
- package/build/src/v1/rank_service_client.js +2037 -0
- package/build/src/v1/rank_service_client_config.json +43 -0
- package/build/src/v1/recommendation_service_client.d.ts +568 -18
- package/build/src/v1/recommendation_service_client.js +756 -0
- package/build/src/v1/schema_service_client.d.ts +558 -9
- package/build/src/v1/schema_service_client.js +775 -4
- package/build/src/v1/search_service_client.d.ts +579 -21
- package/build/src/v1/search_service_client.js +776 -14
- package/build/src/v1/site_search_engine_service_client.d.ts +549 -0
- package/build/src/v1/site_search_engine_service_client.js +771 -0
- package/build/src/v1/user_event_service_client.d.ts +562 -2
- package/build/src/v1/user_event_service_client.js +771 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/acl_config_service_client.js +326 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +237 -0
- package/build/src/v1alpha/chunk_service_client.js +326 -0
- package/build/src/v1alpha/completion_service_client.d.ts +237 -0
- package/build/src/v1alpha/completion_service_client.js +340 -0
- package/build/src/v1alpha/control_service_client.d.ts +2013 -0
- package/build/src/v1alpha/control_service_client.js +2757 -0
- package/build/src/v1alpha/control_service_client_config.json +63 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +239 -2
- package/build/src/v1alpha/conversational_search_service_client.js +326 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +243 -6
- package/build/src/v1alpha/data_store_service_client.js +344 -4
- package/build/src/v1alpha/document_service_client.d.ts +246 -9
- package/build/src/v1alpha/document_service_client.js +342 -2
- package/build/src/v1alpha/engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/engine_service_client.js +340 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +237 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +340 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +256 -1
- package/build/src/v1alpha/grounded_generation_service_client.js +326 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +239 -0
- package/build/src/v1alpha/project_service_client.js +340 -0
- package/build/src/v1alpha/project_service_client_config.json +21 -6
- package/build/src/v1alpha/rank_service_client.d.ts +255 -0
- package/build/src/v1alpha/rank_service_client.js +326 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +256 -18
- package/build/src/v1alpha/recommendation_service_client.js +326 -0
- package/build/src/v1alpha/schema_service_client.d.ts +247 -10
- package/build/src/v1alpha/schema_service_client.js +344 -4
- package/build/src/v1alpha/search_service_client.d.ts +267 -21
- package/build/src/v1alpha/search_service_client.js +346 -14
- package/build/src/v1alpha/search_tuning_service_client.d.ts +265 -0
- package/build/src/v1alpha/search_tuning_service_client.js +365 -1
- package/build/src/v1alpha/search_tuning_service_client_config.json +4 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +237 -0
- package/build/src/v1alpha/serving_config_service_client.js +326 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +237 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +340 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +250 -2
- package/build/src/v1alpha/user_event_service_client.js +340 -0
- package/build/src/v1beta/completion_service_client.d.ts +252 -0
- package/build/src/v1beta/completion_service_client.js +359 -0
- package/build/src/v1beta/control_service_client.d.ts +1860 -0
- package/build/src/v1beta/control_service_client.js +2545 -0
- package/build/src/v1beta/control_service_client_config.json +63 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +254 -2
- package/build/src/v1beta/conversational_search_service_client.js +348 -0
- package/build/src/v1beta/data_store_service_client.d.ts +258 -6
- package/build/src/v1beta/data_store_service_client.js +363 -4
- package/build/src/v1beta/document_service_client.d.ts +261 -10
- package/build/src/v1beta/document_service_client.js +361 -2
- package/build/src/v1beta/engine_service_client.d.ts +252 -0
- package/build/src/v1beta/engine_service_client.js +359 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +271 -1
- package/build/src/v1beta/grounded_generation_service_client.js +348 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/project_service_client.d.ts +1770 -0
- package/build/src/v1beta/project_service_client.js +2576 -0
- package/build/src/v1beta/project_service_client_config.json +43 -0
- package/build/src/v1beta/rank_service_client.d.ts +270 -0
- package/build/src/v1beta/rank_service_client.js +348 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +271 -18
- package/build/src/v1beta/recommendation_service_client.js +348 -0
- package/build/src/v1beta/schema_service_client.d.ts +261 -9
- package/build/src/v1beta/schema_service_client.js +363 -4
- package/build/src/v1beta/search_service_client.d.ts +282 -21
- package/build/src/v1beta/search_service_client.js +368 -14
- package/build/src/v1beta/search_tuning_service_client.d.ts +280 -0
- package/build/src/v1beta/search_tuning_service_client.js +384 -1
- package/build/src/v1beta/search_tuning_service_client_config.json +4 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +237 -0
- package/build/src/v1beta/serving_config_service_client.js +326 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +252 -0
- package/build/src/v1beta/site_search_engine_service_client.js +359 -0
- package/build/src/v1beta/user_event_service_client.d.ts +265 -2
- package/build/src/v1beta/user_event_service_client.js +359 -0
- package/package.json +2 -2
@@ -158,7 +158,9 @@ class DocumentServiceClient {
|
|
158
158
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
159
159
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
160
160
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
161
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
161
162
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
163
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
162
164
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
163
165
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
164
166
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -166,6 +168,7 @@ class DocumentServiceClient {
|
|
166
168
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
167
169
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
168
170
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
171
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
169
172
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
170
173
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
171
174
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -174,7 +177,9 @@ class DocumentServiceClient {
|
|
174
177
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
175
178
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
176
179
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
180
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
177
181
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
182
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
178
183
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
179
184
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
180
185
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -200,6 +205,17 @@ class DocumentServiceClient {
|
|
200
205
|
if (opts.fallback) {
|
201
206
|
lroOptions.protoJson = protoFilesRoot;
|
202
207
|
lroOptions.httpRules = [
|
208
|
+
{
|
209
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
210
|
+
post: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
211
|
+
body: '*',
|
212
|
+
additional_bindings: [
|
213
|
+
{
|
214
|
+
post: '/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
215
|
+
body: '*',
|
216
|
+
},
|
217
|
+
],
|
218
|
+
},
|
203
219
|
{
|
204
220
|
selector: 'google.longrunning.Operations.GetOperation',
|
205
221
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -241,6 +257,9 @@ class DocumentServiceClient {
|
|
241
257
|
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
242
258
|
},
|
243
259
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
260
|
+
{
|
261
|
+
get: '/v1alpha/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
262
|
+
},
|
244
263
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
245
264
|
],
|
246
265
|
},
|
@@ -640,7 +659,7 @@ class DocumentServiceClient {
|
|
640
659
|
* Maximum number of
|
641
660
|
* {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s to return. If
|
642
661
|
* unspecified, defaults to 100. The maximum allowed value is 1000. Values
|
643
|
-
* above 1000
|
662
|
+
* above 1000 are set to 1000.
|
644
663
|
*
|
645
664
|
* If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
646
665
|
* @param {string} request.pageToken
|
@@ -700,7 +719,7 @@ class DocumentServiceClient {
|
|
700
719
|
* Maximum number of
|
701
720
|
* {@link protos.google.cloud.discoveryengine.v1alpha.Document|Document}s to return. If
|
702
721
|
* unspecified, defaults to 100. The maximum allowed value is 1000. Values
|
703
|
-
* above 1000
|
722
|
+
* above 1000 are set to 1000.
|
704
723
|
*
|
705
724
|
* If this field is negative, an `INVALID_ARGUMENT` error is returned.
|
706
725
|
* @param {string} request.pageToken
|
@@ -1340,6 +1359,75 @@ class DocumentServiceClient {
|
|
1340
1359
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1341
1360
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1342
1361
|
}
|
1362
|
+
/**
|
1363
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1364
|
+
*
|
1365
|
+
* @param {string} project
|
1366
|
+
* @param {string} location
|
1367
|
+
* @param {string} collection
|
1368
|
+
* @param {string} data_store
|
1369
|
+
* @param {string} control
|
1370
|
+
* @returns {string} Resource name string.
|
1371
|
+
*/
|
1372
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1373
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1374
|
+
project: project,
|
1375
|
+
location: location,
|
1376
|
+
collection: collection,
|
1377
|
+
data_store: dataStore,
|
1378
|
+
control: control,
|
1379
|
+
});
|
1380
|
+
}
|
1381
|
+
/**
|
1382
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1383
|
+
*
|
1384
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1385
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1386
|
+
* @returns {string} A string representing the project.
|
1387
|
+
*/
|
1388
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1389
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1390
|
+
}
|
1391
|
+
/**
|
1392
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1393
|
+
*
|
1394
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1395
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1396
|
+
* @returns {string} A string representing the location.
|
1397
|
+
*/
|
1398
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1399
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1400
|
+
}
|
1401
|
+
/**
|
1402
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1403
|
+
*
|
1404
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1405
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1406
|
+
* @returns {string} A string representing the collection.
|
1407
|
+
*/
|
1408
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1409
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1410
|
+
}
|
1411
|
+
/**
|
1412
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1413
|
+
*
|
1414
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1415
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1416
|
+
* @returns {string} A string representing the data_store.
|
1417
|
+
*/
|
1418
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1419
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1420
|
+
}
|
1421
|
+
/**
|
1422
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1423
|
+
*
|
1424
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1425
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1426
|
+
* @returns {string} A string representing the control.
|
1427
|
+
*/
|
1428
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1429
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1430
|
+
}
|
1343
1431
|
/**
|
1344
1432
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1345
1433
|
*
|
@@ -1409,6 +1497,75 @@ class DocumentServiceClient {
|
|
1409
1497
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1410
1498
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1411
1499
|
}
|
1500
|
+
/**
|
1501
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1502
|
+
*
|
1503
|
+
* @param {string} project
|
1504
|
+
* @param {string} location
|
1505
|
+
* @param {string} collection
|
1506
|
+
* @param {string} data_store
|
1507
|
+
* @param {string} custom_tuning_model
|
1508
|
+
* @returns {string} Resource name string.
|
1509
|
+
*/
|
1510
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1511
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1512
|
+
project: project,
|
1513
|
+
location: location,
|
1514
|
+
collection: collection,
|
1515
|
+
data_store: dataStore,
|
1516
|
+
custom_tuning_model: customTuningModel,
|
1517
|
+
});
|
1518
|
+
}
|
1519
|
+
/**
|
1520
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1521
|
+
*
|
1522
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1523
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1524
|
+
* @returns {string} A string representing the project.
|
1525
|
+
*/
|
1526
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1527
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1528
|
+
}
|
1529
|
+
/**
|
1530
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1531
|
+
*
|
1532
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1533
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1534
|
+
* @returns {string} A string representing the location.
|
1535
|
+
*/
|
1536
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1537
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1538
|
+
}
|
1539
|
+
/**
|
1540
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1541
|
+
*
|
1542
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1543
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1544
|
+
* @returns {string} A string representing the collection.
|
1545
|
+
*/
|
1546
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1547
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1548
|
+
}
|
1549
|
+
/**
|
1550
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1551
|
+
*
|
1552
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1553
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1554
|
+
* @returns {string} A string representing the data_store.
|
1555
|
+
*/
|
1556
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1557
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1558
|
+
}
|
1559
|
+
/**
|
1560
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1561
|
+
*
|
1562
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1563
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1564
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1565
|
+
*/
|
1566
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1567
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1568
|
+
}
|
1412
1569
|
/**
|
1413
1570
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1414
1571
|
*
|
@@ -1880,6 +2037,75 @@ class DocumentServiceClient {
|
|
1880
2037
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1881
2038
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1882
2039
|
}
|
2040
|
+
/**
|
2041
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
2042
|
+
*
|
2043
|
+
* @param {string} project
|
2044
|
+
* @param {string} location
|
2045
|
+
* @param {string} collection
|
2046
|
+
* @param {string} engine
|
2047
|
+
* @param {string} control
|
2048
|
+
* @returns {string} Resource name string.
|
2049
|
+
*/
|
2050
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
2051
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
2052
|
+
project: project,
|
2053
|
+
location: location,
|
2054
|
+
collection: collection,
|
2055
|
+
engine: engine,
|
2056
|
+
control: control,
|
2057
|
+
});
|
2058
|
+
}
|
2059
|
+
/**
|
2060
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
2061
|
+
*
|
2062
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2063
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2064
|
+
* @returns {string} A string representing the project.
|
2065
|
+
*/
|
2066
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2067
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
2068
|
+
}
|
2069
|
+
/**
|
2070
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
2071
|
+
*
|
2072
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2073
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2074
|
+
* @returns {string} A string representing the location.
|
2075
|
+
*/
|
2076
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2077
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
2078
|
+
}
|
2079
|
+
/**
|
2080
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
2081
|
+
*
|
2082
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2083
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2084
|
+
* @returns {string} A string representing the collection.
|
2085
|
+
*/
|
2086
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2087
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
2088
|
+
}
|
2089
|
+
/**
|
2090
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
2091
|
+
*
|
2092
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2093
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2094
|
+
* @returns {string} A string representing the engine.
|
2095
|
+
*/
|
2096
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2097
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
2098
|
+
}
|
2099
|
+
/**
|
2100
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
2101
|
+
*
|
2102
|
+
* @param {string} projectLocationCollectionEngineControlName
|
2103
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
2104
|
+
* @returns {string} A string representing the control.
|
2105
|
+
*/
|
2106
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
2107
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
2108
|
+
}
|
1883
2109
|
/**
|
1884
2110
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1885
2111
|
*
|
@@ -2420,6 +2646,63 @@ class DocumentServiceClient {
|
|
2420
2646
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2421
2647
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2422
2648
|
}
|
2649
|
+
/**
|
2650
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2651
|
+
*
|
2652
|
+
* @param {string} project
|
2653
|
+
* @param {string} location
|
2654
|
+
* @param {string} data_store
|
2655
|
+
* @param {string} control
|
2656
|
+
* @returns {string} Resource name string.
|
2657
|
+
*/
|
2658
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2659
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2660
|
+
project: project,
|
2661
|
+
location: location,
|
2662
|
+
data_store: dataStore,
|
2663
|
+
control: control,
|
2664
|
+
});
|
2665
|
+
}
|
2666
|
+
/**
|
2667
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2668
|
+
*
|
2669
|
+
* @param {string} projectLocationDataStoreControlName
|
2670
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2671
|
+
* @returns {string} A string representing the project.
|
2672
|
+
*/
|
2673
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2674
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2675
|
+
}
|
2676
|
+
/**
|
2677
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2678
|
+
*
|
2679
|
+
* @param {string} projectLocationDataStoreControlName
|
2680
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2681
|
+
* @returns {string} A string representing the location.
|
2682
|
+
*/
|
2683
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2684
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2685
|
+
}
|
2686
|
+
/**
|
2687
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2688
|
+
*
|
2689
|
+
* @param {string} projectLocationDataStoreControlName
|
2690
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2691
|
+
* @returns {string} A string representing the data_store.
|
2692
|
+
*/
|
2693
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2694
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2695
|
+
}
|
2696
|
+
/**
|
2697
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2698
|
+
*
|
2699
|
+
* @param {string} projectLocationDataStoreControlName
|
2700
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2701
|
+
* @returns {string} A string representing the control.
|
2702
|
+
*/
|
2703
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2704
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2705
|
+
}
|
2423
2706
|
/**
|
2424
2707
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2425
2708
|
*
|
@@ -2477,6 +2760,63 @@ class DocumentServiceClient {
|
|
2477
2760
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2478
2761
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2479
2762
|
}
|
2763
|
+
/**
|
2764
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2765
|
+
*
|
2766
|
+
* @param {string} project
|
2767
|
+
* @param {string} location
|
2768
|
+
* @param {string} data_store
|
2769
|
+
* @param {string} custom_tuning_model
|
2770
|
+
* @returns {string} Resource name string.
|
2771
|
+
*/
|
2772
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2773
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2774
|
+
project: project,
|
2775
|
+
location: location,
|
2776
|
+
data_store: dataStore,
|
2777
|
+
custom_tuning_model: customTuningModel,
|
2778
|
+
});
|
2779
|
+
}
|
2780
|
+
/**
|
2781
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2782
|
+
*
|
2783
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2784
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2785
|
+
* @returns {string} A string representing the project.
|
2786
|
+
*/
|
2787
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2788
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2789
|
+
}
|
2790
|
+
/**
|
2791
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2792
|
+
*
|
2793
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2794
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2795
|
+
* @returns {string} A string representing the location.
|
2796
|
+
*/
|
2797
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2798
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2799
|
+
}
|
2800
|
+
/**
|
2801
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2802
|
+
*
|
2803
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2804
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2805
|
+
* @returns {string} A string representing the data_store.
|
2806
|
+
*/
|
2807
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2808
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2809
|
+
}
|
2810
|
+
/**
|
2811
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2812
|
+
*
|
2813
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2814
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2815
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2816
|
+
*/
|
2817
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2818
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2819
|
+
}
|
2480
2820
|
/**
|
2481
2821
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2482
2822
|
*
|