@google-cloud/discoveryengine 1.6.0 → 1.7.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 +24 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +13 -1
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +5 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1/import_config.proto +284 -22
- package/build/protos/google/cloud/discoveryengine/v1/purge_config.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/recommendation_service.proto +228 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +125 -21
- package/build/protos/google/cloud/discoveryengine/v1/user_event.proto +16 -11
- package/build/protos/google/cloud/discoveryengine/v1alpha/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/chunk.proto +41 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +21 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +19 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_service.proto +64 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/project.proto +102 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/project_service.proto +171 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/schema.proto +21 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +158 -24
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto +2 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/user_event.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/answer.proto +328 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/common.proto +30 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +559 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/document_processing_config.proto +3 -6
- package/build/protos/google/cloud/discoveryengine/v1beta/document_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/engine.proto +2 -2
- package/build/protos/google/cloud/discoveryengine/v1beta/engine_service.proto +93 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounded_generation_service.proto +120 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/grounding.proto +55 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/import_config.proto +283 -24
- package/build/protos/google/cloud/discoveryengine/v1beta/rank_service.proto +115 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +142 -22
- package/build/protos/google/cloud/discoveryengine/v1beta/search_tuning_service.proto +7 -1
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +94 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/user_event.proto +1 -1
- package/build/protos/protos.d.ts +44799 -26093
- package/build/protos/protos.js +120465 -74222
- package/build/protos/protos.json +8911 -4556
- package/build/src/index.d.ts +4 -1
- package/build/src/index.js +4 -1
- package/build/src/v1/conversational_search_service_client.d.ts +4 -0
- package/build/src/v1/document_service_client.d.ts +47 -19
- package/build/src/v1/index.d.ts +1 -0
- package/build/src/v1/index.js +3 -1
- package/build/src/v1/recommendation_service_client.d.ts +1087 -0
- package/build/src/v1/recommendation_service_client.js +1432 -0
- package/build/src/v1/recommendation_service_client_config.json +43 -0
- package/build/src/v1/search_service_client.d.ts +27 -9
- package/build/src/v1/search_service_client.js +18 -6
- package/build/src/v1/search_service_client_config.json +5 -5
- package/build/src/v1alpha/acl_config_service_client.d.ts +330 -0
- package/build/src/v1alpha/acl_config_service_client.js +454 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +330 -0
- package/build/src/v1alpha/chunk_service_client.js +454 -0
- package/build/src/v1alpha/completion_service_client.d.ts +330 -0
- package/build/src/v1alpha/completion_service_client.js +457 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +674 -0
- package/build/src/v1alpha/conversational_search_service_client.js +724 -0
- package/build/src/v1alpha/conversational_search_service_client_config.json +35 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +330 -0
- package/build/src/v1alpha/data_store_service_client.js +457 -0
- package/build/src/v1alpha/document_service_client.d.ts +410 -21
- package/build/src/v1alpha/document_service_client.js +479 -0
- package/build/src/v1alpha/document_service_client_config.json +5 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +457 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +457 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +1574 -0
- package/build/src/v1alpha/grounded_generation_service_client.js +2248 -0
- package/build/src/v1alpha/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1alpha/index.d.ts +3 -1
- package/build/src/v1alpha/index.js +7 -3
- package/build/src/v1alpha/project_service_client.d.ts +1756 -0
- package/build/src/v1alpha/project_service_client.js +2500 -0
- package/build/src/v1alpha/project_service_client_config.json +38 -0
- package/build/src/v1alpha/rank_service_client.d.ts +330 -0
- package/build/src/v1alpha/rank_service_client.js +454 -0
- package/build/src/v1alpha/rank_service_client_config.json +15 -2
- package/build/src/v1alpha/recommendation_service_client.d.ts +330 -0
- package/build/src/v1alpha/recommendation_service_client.js +454 -0
- package/build/src/v1alpha/schema_service_client.d.ts +330 -0
- package/build/src/v1alpha/schema_service_client.js +457 -0
- package/build/src/v1alpha/search_service_client.d.ts +360 -15
- package/build/src/v1alpha/search_service_client.js +474 -10
- package/build/src/v1alpha/search_service_client_config.json +5 -5
- package/build/src/v1alpha/search_tuning_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_tuning_service_client.js +457 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +317 -1
- package/build/src/v1alpha/serving_config_service_client.js +434 -1
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +457 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +457 -0
- package/build/src/v1beta/completion_service_client.d.ts +315 -0
- package/build/src/v1beta/completion_service_client.js +432 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +659 -0
- package/build/src/v1beta/conversational_search_service_client.js +702 -0
- package/build/src/v1beta/conversational_search_service_client_config.json +35 -0
- package/build/src/v1beta/data_store_service_client.d.ts +315 -0
- package/build/src/v1beta/data_store_service_client.js +432 -0
- package/build/src/v1beta/document_service_client.d.ts +361 -21
- package/build/src/v1beta/document_service_client.js +432 -0
- package/build/src/v1beta/engine_service_client.d.ts +410 -0
- package/build/src/v1beta/engine_service_client.js +518 -0
- package/build/src/v1beta/engine_service_client_config.json +12 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +1406 -0
- package/build/src/v1beta/grounded_generation_service_client.js +2014 -0
- package/build/src/v1beta/grounded_generation_service_client_config.json +43 -0
- package/build/src/v1beta/index.d.ts +2 -0
- package/build/src/v1beta/index.js +5 -1
- package/build/src/v1beta/rank_service_client.d.ts +1416 -0
- package/build/src/v1beta/rank_service_client.js +2015 -0
- package/build/src/v1beta/rank_service_client_config.json +43 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +315 -0
- package/build/src/v1beta/recommendation_service_client.js +432 -0
- package/build/src/v1beta/schema_service_client.d.ts +315 -0
- package/build/src/v1beta/schema_service_client.js +432 -0
- package/build/src/v1beta/search_service_client.d.ts +342 -12
- package/build/src/v1beta/search_service_client.js +450 -8
- package/build/src/v1beta/search_service_client_config.json +5 -5
- package/build/src/v1beta/search_tuning_service_client.d.ts +315 -0
- package/build/src/v1beta/search_tuning_service_client.js +432 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +315 -0
- package/build/src/v1beta/serving_config_service_client.js +432 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +315 -0
- package/build/src/v1beta/site_search_engine_service_client.js +432 -0
- package/build/src/v1beta/user_event_service_client.d.ts +315 -0
- package/build/src/v1beta/user_event_service_client.js +432 -0
- package/package.json +1 -1
@@ -151,6 +151,7 @@ class SchemaServiceClient {
|
|
151
151
|
this.pathTemplates = {
|
152
152
|
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
153
153
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
154
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
154
155
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
155
156
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
156
157
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -158,10 +159,14 @@ class SchemaServiceClient {
|
|
158
159
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
159
160
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
160
161
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
162
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
163
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
161
164
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
162
165
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
163
166
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
164
167
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
168
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
169
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
165
170
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
166
171
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
167
172
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -169,6 +174,8 @@ class SchemaServiceClient {
|
|
169
174
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
170
175
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
171
176
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
177
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
178
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
172
179
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
173
180
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
174
181
|
};
|
@@ -226,6 +233,9 @@ class SchemaServiceClient {
|
|
226
233
|
{
|
227
234
|
get: '/v1alpha/{name=projects/*/locations/*/dataStores/*/operations/*}',
|
228
235
|
},
|
236
|
+
{
|
237
|
+
get: '/v1alpha/{name=projects/*/locations/*/evaluations/*/operations/*}',
|
238
|
+
},
|
229
239
|
{ get: '/v1alpha/{name=projects/*/locations/*/operations/*}' },
|
230
240
|
{ get: '/v1alpha/{name=projects/*/operations/*}' },
|
231
241
|
],
|
@@ -943,6 +953,27 @@ class SchemaServiceClient {
|
|
943
953
|
matchEngineFromEngineName(engineName) {
|
944
954
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
945
955
|
}
|
956
|
+
/**
|
957
|
+
* Return a fully-qualified project resource name string.
|
958
|
+
*
|
959
|
+
* @param {string} project
|
960
|
+
* @returns {string} Resource name string.
|
961
|
+
*/
|
962
|
+
projectPath(project) {
|
963
|
+
return this.pathTemplates.projectPathTemplate.render({
|
964
|
+
project: project,
|
965
|
+
});
|
966
|
+
}
|
967
|
+
/**
|
968
|
+
* Parse the project from Project resource.
|
969
|
+
*
|
970
|
+
* @param {string} projectName
|
971
|
+
* A fully-qualified path representing Project resource.
|
972
|
+
* @returns {string} A string representing the project.
|
973
|
+
*/
|
974
|
+
matchProjectFromProjectName(projectName) {
|
975
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
976
|
+
}
|
946
977
|
/**
|
947
978
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
948
979
|
*
|
@@ -1438,6 +1469,156 @@ class SchemaServiceClient {
|
|
1438
1469
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1439
1470
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1440
1471
|
}
|
1472
|
+
/**
|
1473
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1474
|
+
*
|
1475
|
+
* @param {string} project
|
1476
|
+
* @param {string} location
|
1477
|
+
* @param {string} collection
|
1478
|
+
* @param {string} data_store
|
1479
|
+
* @param {string} session
|
1480
|
+
* @returns {string} Resource name string.
|
1481
|
+
*/
|
1482
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1483
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1484
|
+
project: project,
|
1485
|
+
location: location,
|
1486
|
+
collection: collection,
|
1487
|
+
data_store: dataStore,
|
1488
|
+
session: session,
|
1489
|
+
});
|
1490
|
+
}
|
1491
|
+
/**
|
1492
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1493
|
+
*
|
1494
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1495
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1496
|
+
* @returns {string} A string representing the project.
|
1497
|
+
*/
|
1498
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1499
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1500
|
+
}
|
1501
|
+
/**
|
1502
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1503
|
+
*
|
1504
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1505
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1506
|
+
* @returns {string} A string representing the location.
|
1507
|
+
*/
|
1508
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1509
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1510
|
+
}
|
1511
|
+
/**
|
1512
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1513
|
+
*
|
1514
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1515
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1516
|
+
* @returns {string} A string representing the collection.
|
1517
|
+
*/
|
1518
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1519
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1520
|
+
}
|
1521
|
+
/**
|
1522
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1523
|
+
*
|
1524
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1525
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1526
|
+
* @returns {string} A string representing the data_store.
|
1527
|
+
*/
|
1528
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1529
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1530
|
+
}
|
1531
|
+
/**
|
1532
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1533
|
+
*
|
1534
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1535
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1536
|
+
* @returns {string} A string representing the session.
|
1537
|
+
*/
|
1538
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1539
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1540
|
+
}
|
1541
|
+
/**
|
1542
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1543
|
+
*
|
1544
|
+
* @param {string} project
|
1545
|
+
* @param {string} location
|
1546
|
+
* @param {string} collection
|
1547
|
+
* @param {string} data_store
|
1548
|
+
* @param {string} session
|
1549
|
+
* @param {string} answer
|
1550
|
+
* @returns {string} Resource name string.
|
1551
|
+
*/
|
1552
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1553
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1554
|
+
project: project,
|
1555
|
+
location: location,
|
1556
|
+
collection: collection,
|
1557
|
+
data_store: dataStore,
|
1558
|
+
session: session,
|
1559
|
+
answer: answer,
|
1560
|
+
});
|
1561
|
+
}
|
1562
|
+
/**
|
1563
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1564
|
+
*
|
1565
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1566
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1567
|
+
* @returns {string} A string representing the project.
|
1568
|
+
*/
|
1569
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1570
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1571
|
+
}
|
1572
|
+
/**
|
1573
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1574
|
+
*
|
1575
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1576
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1577
|
+
* @returns {string} A string representing the location.
|
1578
|
+
*/
|
1579
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1580
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1581
|
+
}
|
1582
|
+
/**
|
1583
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1584
|
+
*
|
1585
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1586
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1587
|
+
* @returns {string} A string representing the collection.
|
1588
|
+
*/
|
1589
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1590
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1591
|
+
}
|
1592
|
+
/**
|
1593
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1594
|
+
*
|
1595
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1596
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1597
|
+
* @returns {string} A string representing the data_store.
|
1598
|
+
*/
|
1599
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1600
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1601
|
+
}
|
1602
|
+
/**
|
1603
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1604
|
+
*
|
1605
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1606
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1607
|
+
* @returns {string} A string representing the session.
|
1608
|
+
*/
|
1609
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1610
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1611
|
+
}
|
1612
|
+
/**
|
1613
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1614
|
+
*
|
1615
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1616
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1617
|
+
* @returns {string} A string representing the answer.
|
1618
|
+
*/
|
1619
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1620
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1621
|
+
}
|
1441
1622
|
/**
|
1442
1623
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1443
1624
|
*
|
@@ -1702,6 +1883,156 @@ class SchemaServiceClient {
|
|
1702
1883
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1703
1884
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1704
1885
|
}
|
1886
|
+
/**
|
1887
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1888
|
+
*
|
1889
|
+
* @param {string} project
|
1890
|
+
* @param {string} location
|
1891
|
+
* @param {string} collection
|
1892
|
+
* @param {string} engine
|
1893
|
+
* @param {string} session
|
1894
|
+
* @returns {string} Resource name string.
|
1895
|
+
*/
|
1896
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1897
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1898
|
+
project: project,
|
1899
|
+
location: location,
|
1900
|
+
collection: collection,
|
1901
|
+
engine: engine,
|
1902
|
+
session: session,
|
1903
|
+
});
|
1904
|
+
}
|
1905
|
+
/**
|
1906
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
1907
|
+
*
|
1908
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1909
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1910
|
+
* @returns {string} A string representing the project.
|
1911
|
+
*/
|
1912
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1913
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
1914
|
+
}
|
1915
|
+
/**
|
1916
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
1917
|
+
*
|
1918
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1919
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1920
|
+
* @returns {string} A string representing the location.
|
1921
|
+
*/
|
1922
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1923
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
1924
|
+
}
|
1925
|
+
/**
|
1926
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
1927
|
+
*
|
1928
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1929
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1930
|
+
* @returns {string} A string representing the collection.
|
1931
|
+
*/
|
1932
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1933
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
1934
|
+
}
|
1935
|
+
/**
|
1936
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
1937
|
+
*
|
1938
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1939
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1940
|
+
* @returns {string} A string representing the engine.
|
1941
|
+
*/
|
1942
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1943
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
1944
|
+
}
|
1945
|
+
/**
|
1946
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
1947
|
+
*
|
1948
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
1949
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
1950
|
+
* @returns {string} A string representing the session.
|
1951
|
+
*/
|
1952
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
1953
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
1954
|
+
}
|
1955
|
+
/**
|
1956
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1957
|
+
*
|
1958
|
+
* @param {string} project
|
1959
|
+
* @param {string} location
|
1960
|
+
* @param {string} collection
|
1961
|
+
* @param {string} engine
|
1962
|
+
* @param {string} session
|
1963
|
+
* @param {string} answer
|
1964
|
+
* @returns {string} Resource name string.
|
1965
|
+
*/
|
1966
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1967
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1968
|
+
project: project,
|
1969
|
+
location: location,
|
1970
|
+
collection: collection,
|
1971
|
+
engine: engine,
|
1972
|
+
session: session,
|
1973
|
+
answer: answer,
|
1974
|
+
});
|
1975
|
+
}
|
1976
|
+
/**
|
1977
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1978
|
+
*
|
1979
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1980
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1981
|
+
* @returns {string} A string representing the project.
|
1982
|
+
*/
|
1983
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1984
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1985
|
+
}
|
1986
|
+
/**
|
1987
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1988
|
+
*
|
1989
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1990
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1991
|
+
* @returns {string} A string representing the location.
|
1992
|
+
*/
|
1993
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1994
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1995
|
+
}
|
1996
|
+
/**
|
1997
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1998
|
+
*
|
1999
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2000
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2001
|
+
* @returns {string} A string representing the collection.
|
2002
|
+
*/
|
2003
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2004
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2005
|
+
}
|
2006
|
+
/**
|
2007
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2008
|
+
*
|
2009
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2010
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2011
|
+
* @returns {string} A string representing the engine.
|
2012
|
+
*/
|
2013
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2014
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2015
|
+
}
|
2016
|
+
/**
|
2017
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2018
|
+
*
|
2019
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2020
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2021
|
+
* @returns {string} A string representing the session.
|
2022
|
+
*/
|
2023
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2024
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2025
|
+
}
|
2026
|
+
/**
|
2027
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2028
|
+
*
|
2029
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2030
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2031
|
+
* @returns {string} A string representing the answer.
|
2032
|
+
*/
|
2033
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2034
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2035
|
+
}
|
1705
2036
|
/**
|
1706
2037
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1707
2038
|
*
|
@@ -2113,6 +2444,132 @@ class SchemaServiceClient {
|
|
2113
2444
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2114
2445
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2115
2446
|
}
|
2447
|
+
/**
|
2448
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2449
|
+
*
|
2450
|
+
* @param {string} project
|
2451
|
+
* @param {string} location
|
2452
|
+
* @param {string} data_store
|
2453
|
+
* @param {string} session
|
2454
|
+
* @returns {string} Resource name string.
|
2455
|
+
*/
|
2456
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2457
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2458
|
+
project: project,
|
2459
|
+
location: location,
|
2460
|
+
data_store: dataStore,
|
2461
|
+
session: session,
|
2462
|
+
});
|
2463
|
+
}
|
2464
|
+
/**
|
2465
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2466
|
+
*
|
2467
|
+
* @param {string} projectLocationDataStoreSessionName
|
2468
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2469
|
+
* @returns {string} A string representing the project.
|
2470
|
+
*/
|
2471
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2472
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2473
|
+
}
|
2474
|
+
/**
|
2475
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2476
|
+
*
|
2477
|
+
* @param {string} projectLocationDataStoreSessionName
|
2478
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2479
|
+
* @returns {string} A string representing the location.
|
2480
|
+
*/
|
2481
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2482
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2483
|
+
}
|
2484
|
+
/**
|
2485
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2486
|
+
*
|
2487
|
+
* @param {string} projectLocationDataStoreSessionName
|
2488
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2489
|
+
* @returns {string} A string representing the data_store.
|
2490
|
+
*/
|
2491
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2492
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2493
|
+
}
|
2494
|
+
/**
|
2495
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2496
|
+
*
|
2497
|
+
* @param {string} projectLocationDataStoreSessionName
|
2498
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2499
|
+
* @returns {string} A string representing the session.
|
2500
|
+
*/
|
2501
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2502
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2503
|
+
}
|
2504
|
+
/**
|
2505
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2506
|
+
*
|
2507
|
+
* @param {string} project
|
2508
|
+
* @param {string} location
|
2509
|
+
* @param {string} data_store
|
2510
|
+
* @param {string} session
|
2511
|
+
* @param {string} answer
|
2512
|
+
* @returns {string} Resource name string.
|
2513
|
+
*/
|
2514
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2515
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2516
|
+
project: project,
|
2517
|
+
location: location,
|
2518
|
+
data_store: dataStore,
|
2519
|
+
session: session,
|
2520
|
+
answer: answer,
|
2521
|
+
});
|
2522
|
+
}
|
2523
|
+
/**
|
2524
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2525
|
+
*
|
2526
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2527
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2528
|
+
* @returns {string} A string representing the project.
|
2529
|
+
*/
|
2530
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2531
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2532
|
+
}
|
2533
|
+
/**
|
2534
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2535
|
+
*
|
2536
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2537
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2538
|
+
* @returns {string} A string representing the location.
|
2539
|
+
*/
|
2540
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2541
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2542
|
+
}
|
2543
|
+
/**
|
2544
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2545
|
+
*
|
2546
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2547
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2548
|
+
* @returns {string} A string representing the data_store.
|
2549
|
+
*/
|
2550
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2551
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2552
|
+
}
|
2553
|
+
/**
|
2554
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2555
|
+
*
|
2556
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2557
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2558
|
+
* @returns {string} A string representing the session.
|
2559
|
+
*/
|
2560
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2561
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2562
|
+
}
|
2563
|
+
/**
|
2564
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2565
|
+
*
|
2566
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2567
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2568
|
+
* @returns {string} A string representing the answer.
|
2569
|
+
*/
|
2570
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2571
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2572
|
+
}
|
2116
2573
|
/**
|
2117
2574
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2118
2575
|
*
|