@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
@@ -157,7 +157,9 @@ class EstimateBillingServiceClient {
|
|
157
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
158
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
159
159
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
160
|
+
projectLocationCollectionDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/controls/{control}'),
|
160
161
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
162
|
+
projectLocationCollectionDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
161
163
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
162
164
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
163
165
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -165,6 +167,7 @@ class EstimateBillingServiceClient {
|
|
165
167
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
166
168
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
167
169
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
170
|
+
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
168
171
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
169
172
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
173
|
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
@@ -172,7 +175,9 @@ class EstimateBillingServiceClient {
|
|
172
175
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
173
176
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
174
177
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
178
|
+
projectLocationDataStoreControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/controls/{control}'),
|
175
179
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
180
|
+
projectLocationDataStoreCustomTuningModelPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/customTuningModels/{custom_tuning_model}'),
|
176
181
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
177
182
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
178
183
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
@@ -192,6 +197,17 @@ class EstimateBillingServiceClient {
|
|
192
197
|
if (opts.fallback) {
|
193
198
|
lroOptions.protoJson = protoFilesRoot;
|
194
199
|
lroOptions.httpRules = [
|
200
|
+
{
|
201
|
+
selector: 'google.longrunning.Operations.CancelOperation',
|
202
|
+
post: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel',
|
203
|
+
body: '*',
|
204
|
+
additional_bindings: [
|
205
|
+
{
|
206
|
+
post: '/v1alpha/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel',
|
207
|
+
body: '*',
|
208
|
+
},
|
209
|
+
],
|
210
|
+
},
|
195
211
|
{
|
196
212
|
selector: 'google.longrunning.Operations.GetOperation',
|
197
213
|
get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
|
@@ -233,6 +249,9 @@ class EstimateBillingServiceClient {
|
|
233
249
|
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
234
250
|
},
|
235
251
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
252
|
+
{
|
253
|
+
get: '/v1alpha/{name=projects/*/locations/*/sampleQuerySets/*/operations/*}',
|
254
|
+
},
|
236
255
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
237
256
|
],
|
238
257
|
},
|
@@ -999,6 +1018,75 @@ class EstimateBillingServiceClient {
|
|
999
1018
|
matchChunkFromProjectLocationCollectionDataStoreBranchDocumentChunkName(projectLocationCollectionDataStoreBranchDocumentChunkName) {
|
1000
1019
|
return this.pathTemplates.projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate.match(projectLocationCollectionDataStoreBranchDocumentChunkName).chunk;
|
1001
1020
|
}
|
1021
|
+
/**
|
1022
|
+
* Return a fully-qualified projectLocationCollectionDataStoreControl resource name string.
|
1023
|
+
*
|
1024
|
+
* @param {string} project
|
1025
|
+
* @param {string} location
|
1026
|
+
* @param {string} collection
|
1027
|
+
* @param {string} data_store
|
1028
|
+
* @param {string} control
|
1029
|
+
* @returns {string} Resource name string.
|
1030
|
+
*/
|
1031
|
+
projectLocationCollectionDataStoreControlPath(project, location, collection, dataStore, control) {
|
1032
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.render({
|
1033
|
+
project: project,
|
1034
|
+
location: location,
|
1035
|
+
collection: collection,
|
1036
|
+
data_store: dataStore,
|
1037
|
+
control: control,
|
1038
|
+
});
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Parse the project from ProjectLocationCollectionDataStoreControl resource.
|
1042
|
+
*
|
1043
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1044
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1045
|
+
* @returns {string} A string representing the project.
|
1046
|
+
*/
|
1047
|
+
matchProjectFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1048
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).project;
|
1049
|
+
}
|
1050
|
+
/**
|
1051
|
+
* Parse the location from ProjectLocationCollectionDataStoreControl resource.
|
1052
|
+
*
|
1053
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1054
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1055
|
+
* @returns {string} A string representing the location.
|
1056
|
+
*/
|
1057
|
+
matchLocationFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1058
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).location;
|
1059
|
+
}
|
1060
|
+
/**
|
1061
|
+
* Parse the collection from ProjectLocationCollectionDataStoreControl resource.
|
1062
|
+
*
|
1063
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1064
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1065
|
+
* @returns {string} A string representing the collection.
|
1066
|
+
*/
|
1067
|
+
matchCollectionFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1068
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).collection;
|
1069
|
+
}
|
1070
|
+
/**
|
1071
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreControl resource.
|
1072
|
+
*
|
1073
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1074
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1075
|
+
* @returns {string} A string representing the data_store.
|
1076
|
+
*/
|
1077
|
+
matchDataStoreFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1078
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).data_store;
|
1079
|
+
}
|
1080
|
+
/**
|
1081
|
+
* Parse the control from ProjectLocationCollectionDataStoreControl resource.
|
1082
|
+
*
|
1083
|
+
* @param {string} projectLocationCollectionDataStoreControlName
|
1084
|
+
* A fully-qualified path representing project_location_collection_data_store_control resource.
|
1085
|
+
* @returns {string} A string representing the control.
|
1086
|
+
*/
|
1087
|
+
matchControlFromProjectLocationCollectionDataStoreControlName(projectLocationCollectionDataStoreControlName) {
|
1088
|
+
return this.pathTemplates.projectLocationCollectionDataStoreControlPathTemplate.match(projectLocationCollectionDataStoreControlName).control;
|
1089
|
+
}
|
1002
1090
|
/**
|
1003
1091
|
* Return a fully-qualified projectLocationCollectionDataStoreConversation resource name string.
|
1004
1092
|
*
|
@@ -1068,6 +1156,75 @@ class EstimateBillingServiceClient {
|
|
1068
1156
|
matchConversationFromProjectLocationCollectionDataStoreConversationName(projectLocationCollectionDataStoreConversationName) {
|
1069
1157
|
return this.pathTemplates.projectLocationCollectionDataStoreConversationPathTemplate.match(projectLocationCollectionDataStoreConversationName).conversation;
|
1070
1158
|
}
|
1159
|
+
/**
|
1160
|
+
* Return a fully-qualified projectLocationCollectionDataStoreCustomTuningModel resource name string.
|
1161
|
+
*
|
1162
|
+
* @param {string} project
|
1163
|
+
* @param {string} location
|
1164
|
+
* @param {string} collection
|
1165
|
+
* @param {string} data_store
|
1166
|
+
* @param {string} custom_tuning_model
|
1167
|
+
* @returns {string} Resource name string.
|
1168
|
+
*/
|
1169
|
+
projectLocationCollectionDataStoreCustomTuningModelPath(project, location, collection, dataStore, customTuningModel) {
|
1170
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.render({
|
1171
|
+
project: project,
|
1172
|
+
location: location,
|
1173
|
+
collection: collection,
|
1174
|
+
data_store: dataStore,
|
1175
|
+
custom_tuning_model: customTuningModel,
|
1176
|
+
});
|
1177
|
+
}
|
1178
|
+
/**
|
1179
|
+
* Parse the project from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1180
|
+
*
|
1181
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1182
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1183
|
+
* @returns {string} A string representing the project.
|
1184
|
+
*/
|
1185
|
+
matchProjectFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1186
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).project;
|
1187
|
+
}
|
1188
|
+
/**
|
1189
|
+
* Parse the location from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1190
|
+
*
|
1191
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1192
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1193
|
+
* @returns {string} A string representing the location.
|
1194
|
+
*/
|
1195
|
+
matchLocationFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1196
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).location;
|
1197
|
+
}
|
1198
|
+
/**
|
1199
|
+
* Parse the collection from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1200
|
+
*
|
1201
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1202
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1203
|
+
* @returns {string} A string representing the collection.
|
1204
|
+
*/
|
1205
|
+
matchCollectionFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1206
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).collection;
|
1207
|
+
}
|
1208
|
+
/**
|
1209
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1210
|
+
*
|
1211
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1212
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1213
|
+
* @returns {string} A string representing the data_store.
|
1214
|
+
*/
|
1215
|
+
matchDataStoreFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1216
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).data_store;
|
1217
|
+
}
|
1218
|
+
/**
|
1219
|
+
* Parse the custom_tuning_model from ProjectLocationCollectionDataStoreCustomTuningModel resource.
|
1220
|
+
*
|
1221
|
+
* @param {string} projectLocationCollectionDataStoreCustomTuningModelName
|
1222
|
+
* A fully-qualified path representing project_location_collection_data_store_custom_tuning_model resource.
|
1223
|
+
* @returns {string} A string representing the custom_tuning_model.
|
1224
|
+
*/
|
1225
|
+
matchCustomTuningModelFromProjectLocationCollectionDataStoreCustomTuningModelName(projectLocationCollectionDataStoreCustomTuningModelName) {
|
1226
|
+
return this.pathTemplates.projectLocationCollectionDataStoreCustomTuningModelPathTemplate.match(projectLocationCollectionDataStoreCustomTuningModelName).custom_tuning_model;
|
1227
|
+
}
|
1071
1228
|
/**
|
1072
1229
|
* Return a fully-qualified projectLocationCollectionDataStoreDocumentProcessingConfig resource name string.
|
1073
1230
|
*
|
@@ -1539,6 +1696,75 @@ class EstimateBillingServiceClient {
|
|
1539
1696
|
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
1540
1697
|
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1541
1698
|
}
|
1699
|
+
/**
|
1700
|
+
* Return a fully-qualified projectLocationCollectionEngineControl resource name string.
|
1701
|
+
*
|
1702
|
+
* @param {string} project
|
1703
|
+
* @param {string} location
|
1704
|
+
* @param {string} collection
|
1705
|
+
* @param {string} engine
|
1706
|
+
* @param {string} control
|
1707
|
+
* @returns {string} Resource name string.
|
1708
|
+
*/
|
1709
|
+
projectLocationCollectionEngineControlPath(project, location, collection, engine, control) {
|
1710
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.render({
|
1711
|
+
project: project,
|
1712
|
+
location: location,
|
1713
|
+
collection: collection,
|
1714
|
+
engine: engine,
|
1715
|
+
control: control,
|
1716
|
+
});
|
1717
|
+
}
|
1718
|
+
/**
|
1719
|
+
* Parse the project from ProjectLocationCollectionEngineControl resource.
|
1720
|
+
*
|
1721
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1722
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1723
|
+
* @returns {string} A string representing the project.
|
1724
|
+
*/
|
1725
|
+
matchProjectFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1726
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).project;
|
1727
|
+
}
|
1728
|
+
/**
|
1729
|
+
* Parse the location from ProjectLocationCollectionEngineControl resource.
|
1730
|
+
*
|
1731
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1732
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1733
|
+
* @returns {string} A string representing the location.
|
1734
|
+
*/
|
1735
|
+
matchLocationFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1736
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).location;
|
1737
|
+
}
|
1738
|
+
/**
|
1739
|
+
* Parse the collection from ProjectLocationCollectionEngineControl resource.
|
1740
|
+
*
|
1741
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1742
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1743
|
+
* @returns {string} A string representing the collection.
|
1744
|
+
*/
|
1745
|
+
matchCollectionFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1746
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).collection;
|
1747
|
+
}
|
1748
|
+
/**
|
1749
|
+
* Parse the engine from ProjectLocationCollectionEngineControl resource.
|
1750
|
+
*
|
1751
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1752
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1753
|
+
* @returns {string} A string representing the engine.
|
1754
|
+
*/
|
1755
|
+
matchEngineFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1756
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).engine;
|
1757
|
+
}
|
1758
|
+
/**
|
1759
|
+
* Parse the control from ProjectLocationCollectionEngineControl resource.
|
1760
|
+
*
|
1761
|
+
* @param {string} projectLocationCollectionEngineControlName
|
1762
|
+
* A fully-qualified path representing project_location_collection_engine_control resource.
|
1763
|
+
* @returns {string} A string representing the control.
|
1764
|
+
*/
|
1765
|
+
matchControlFromProjectLocationCollectionEngineControlName(projectLocationCollectionEngineControlName) {
|
1766
|
+
return this.pathTemplates.projectLocationCollectionEngineControlPathTemplate.match(projectLocationCollectionEngineControlName).control;
|
1767
|
+
}
|
1542
1768
|
/**
|
1543
1769
|
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
1544
1770
|
*
|
@@ -2022,6 +2248,63 @@ class EstimateBillingServiceClient {
|
|
2022
2248
|
matchChunkFromProjectLocationDataStoreBranchDocumentChunkName(projectLocationDataStoreBranchDocumentChunkName) {
|
2023
2249
|
return this.pathTemplates.projectLocationDataStoreBranchDocumentChunkPathTemplate.match(projectLocationDataStoreBranchDocumentChunkName).chunk;
|
2024
2250
|
}
|
2251
|
+
/**
|
2252
|
+
* Return a fully-qualified projectLocationDataStoreControl resource name string.
|
2253
|
+
*
|
2254
|
+
* @param {string} project
|
2255
|
+
* @param {string} location
|
2256
|
+
* @param {string} data_store
|
2257
|
+
* @param {string} control
|
2258
|
+
* @returns {string} Resource name string.
|
2259
|
+
*/
|
2260
|
+
projectLocationDataStoreControlPath(project, location, dataStore, control) {
|
2261
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.render({
|
2262
|
+
project: project,
|
2263
|
+
location: location,
|
2264
|
+
data_store: dataStore,
|
2265
|
+
control: control,
|
2266
|
+
});
|
2267
|
+
}
|
2268
|
+
/**
|
2269
|
+
* Parse the project from ProjectLocationDataStoreControl resource.
|
2270
|
+
*
|
2271
|
+
* @param {string} projectLocationDataStoreControlName
|
2272
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2273
|
+
* @returns {string} A string representing the project.
|
2274
|
+
*/
|
2275
|
+
matchProjectFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2276
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).project;
|
2277
|
+
}
|
2278
|
+
/**
|
2279
|
+
* Parse the location from ProjectLocationDataStoreControl resource.
|
2280
|
+
*
|
2281
|
+
* @param {string} projectLocationDataStoreControlName
|
2282
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2283
|
+
* @returns {string} A string representing the location.
|
2284
|
+
*/
|
2285
|
+
matchLocationFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2286
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).location;
|
2287
|
+
}
|
2288
|
+
/**
|
2289
|
+
* Parse the data_store from ProjectLocationDataStoreControl resource.
|
2290
|
+
*
|
2291
|
+
* @param {string} projectLocationDataStoreControlName
|
2292
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2293
|
+
* @returns {string} A string representing the data_store.
|
2294
|
+
*/
|
2295
|
+
matchDataStoreFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2296
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).data_store;
|
2297
|
+
}
|
2298
|
+
/**
|
2299
|
+
* Parse the control from ProjectLocationDataStoreControl resource.
|
2300
|
+
*
|
2301
|
+
* @param {string} projectLocationDataStoreControlName
|
2302
|
+
* A fully-qualified path representing project_location_data_store_control resource.
|
2303
|
+
* @returns {string} A string representing the control.
|
2304
|
+
*/
|
2305
|
+
matchControlFromProjectLocationDataStoreControlName(projectLocationDataStoreControlName) {
|
2306
|
+
return this.pathTemplates.projectLocationDataStoreControlPathTemplate.match(projectLocationDataStoreControlName).control;
|
2307
|
+
}
|
2025
2308
|
/**
|
2026
2309
|
* Return a fully-qualified projectLocationDataStoreConversation resource name string.
|
2027
2310
|
*
|
@@ -2079,6 +2362,63 @@ class EstimateBillingServiceClient {
|
|
2079
2362
|
matchConversationFromProjectLocationDataStoreConversationName(projectLocationDataStoreConversationName) {
|
2080
2363
|
return this.pathTemplates.projectLocationDataStoreConversationPathTemplate.match(projectLocationDataStoreConversationName).conversation;
|
2081
2364
|
}
|
2365
|
+
/**
|
2366
|
+
* Return a fully-qualified projectLocationDataStoreCustomTuningModel resource name string.
|
2367
|
+
*
|
2368
|
+
* @param {string} project
|
2369
|
+
* @param {string} location
|
2370
|
+
* @param {string} data_store
|
2371
|
+
* @param {string} custom_tuning_model
|
2372
|
+
* @returns {string} Resource name string.
|
2373
|
+
*/
|
2374
|
+
projectLocationDataStoreCustomTuningModelPath(project, location, dataStore, customTuningModel) {
|
2375
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.render({
|
2376
|
+
project: project,
|
2377
|
+
location: location,
|
2378
|
+
data_store: dataStore,
|
2379
|
+
custom_tuning_model: customTuningModel,
|
2380
|
+
});
|
2381
|
+
}
|
2382
|
+
/**
|
2383
|
+
* Parse the project from ProjectLocationDataStoreCustomTuningModel resource.
|
2384
|
+
*
|
2385
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2386
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2387
|
+
* @returns {string} A string representing the project.
|
2388
|
+
*/
|
2389
|
+
matchProjectFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2390
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).project;
|
2391
|
+
}
|
2392
|
+
/**
|
2393
|
+
* Parse the location from ProjectLocationDataStoreCustomTuningModel resource.
|
2394
|
+
*
|
2395
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2396
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2397
|
+
* @returns {string} A string representing the location.
|
2398
|
+
*/
|
2399
|
+
matchLocationFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2400
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).location;
|
2401
|
+
}
|
2402
|
+
/**
|
2403
|
+
* Parse the data_store from ProjectLocationDataStoreCustomTuningModel resource.
|
2404
|
+
*
|
2405
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2406
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2407
|
+
* @returns {string} A string representing the data_store.
|
2408
|
+
*/
|
2409
|
+
matchDataStoreFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2410
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).data_store;
|
2411
|
+
}
|
2412
|
+
/**
|
2413
|
+
* Parse the custom_tuning_model from ProjectLocationDataStoreCustomTuningModel resource.
|
2414
|
+
*
|
2415
|
+
* @param {string} projectLocationDataStoreCustomTuningModelName
|
2416
|
+
* A fully-qualified path representing project_location_data_store_custom_tuning_model resource.
|
2417
|
+
* @returns {string} A string representing the custom_tuning_model.
|
2418
|
+
*/
|
2419
|
+
matchCustomTuningModelFromProjectLocationDataStoreCustomTuningModelName(projectLocationDataStoreCustomTuningModelName) {
|
2420
|
+
return this.pathTemplates.projectLocationDataStoreCustomTuningModelPathTemplate.match(projectLocationDataStoreCustomTuningModelName).custom_tuning_model;
|
2421
|
+
}
|
2082
2422
|
/**
|
2083
2423
|
* Return a fully-qualified projectLocationDataStoreDocumentProcessingConfig resource name string.
|
2084
2424
|
*
|