@google-cloud/discoveryengine 1.5.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 +14 -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 +6 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +574 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document_processing_config.proto +3 -6
- 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 +7 -39
- 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 +7 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +4 -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 +41126 -24558
- package/build/protos/protos.js +134286 -93661
- package/build/protos/protos.json +7598 -3744
- 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 +454 -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 +454 -0
- package/build/src/v1alpha/document_service_client.d.ts +330 -0
- package/build/src/v1alpha/document_service_client.js +454 -0
- package/build/src/v1alpha/engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/engine_service_client.js +454 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +330 -0
- package/build/src/v1alpha/estimate_billing_service_client.js +454 -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 +2 -0
- package/build/src/v1alpha/index.js +5 -1
- 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 +454 -0
- package/build/src/v1alpha/search_service_client.d.ts +330 -0
- package/build/src/v1alpha/search_service_client.js +454 -0
- 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 +454 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +315 -0
- package/build/src/v1alpha/serving_config_service_client.js +432 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +330 -0
- package/build/src/v1alpha/site_search_engine_service_client.js +454 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +330 -0
- package/build/src/v1alpha/user_event_service_client.js +454 -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
@@ -153,6 +153,7 @@ class EngineServiceClient {
|
|
153
153
|
aclConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/aclConfig'),
|
154
154
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
155
155
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
156
|
+
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
156
157
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
157
158
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
158
159
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -160,10 +161,14 @@ class EngineServiceClient {
|
|
160
161
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
161
162
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
162
163
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
164
|
+
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
165
|
+
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
163
166
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
164
167
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
165
168
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
166
169
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
170
|
+
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
171
|
+
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
167
172
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
168
173
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
169
174
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -171,6 +176,8 @@ class EngineServiceClient {
|
|
171
176
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
172
177
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
173
178
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
+
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
180
|
+
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
174
181
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
175
182
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
176
183
|
};
|
@@ -1042,6 +1049,27 @@ class EngineServiceClient {
|
|
1042
1049
|
matchEngineFromEngineName(engineName) {
|
1043
1050
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1044
1051
|
}
|
1052
|
+
/**
|
1053
|
+
* Return a fully-qualified project resource name string.
|
1054
|
+
*
|
1055
|
+
* @param {string} project
|
1056
|
+
* @returns {string} Resource name string.
|
1057
|
+
*/
|
1058
|
+
projectPath(project) {
|
1059
|
+
return this.pathTemplates.projectPathTemplate.render({
|
1060
|
+
project: project,
|
1061
|
+
});
|
1062
|
+
}
|
1063
|
+
/**
|
1064
|
+
* Parse the project from Project resource.
|
1065
|
+
*
|
1066
|
+
* @param {string} projectName
|
1067
|
+
* A fully-qualified path representing Project resource.
|
1068
|
+
* @returns {string} A string representing the project.
|
1069
|
+
*/
|
1070
|
+
matchProjectFromProjectName(projectName) {
|
1071
|
+
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1072
|
+
}
|
1045
1073
|
/**
|
1046
1074
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1047
1075
|
*
|
@@ -1537,6 +1565,156 @@ class EngineServiceClient {
|
|
1537
1565
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
1538
1566
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1539
1567
|
}
|
1568
|
+
/**
|
1569
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSession resource name string.
|
1570
|
+
*
|
1571
|
+
* @param {string} project
|
1572
|
+
* @param {string} location
|
1573
|
+
* @param {string} collection
|
1574
|
+
* @param {string} data_store
|
1575
|
+
* @param {string} session
|
1576
|
+
* @returns {string} Resource name string.
|
1577
|
+
*/
|
1578
|
+
projectLocationCollectionDataStoreSessionPath(project, location, collection, dataStore, session) {
|
1579
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.render({
|
1580
|
+
project: project,
|
1581
|
+
location: location,
|
1582
|
+
collection: collection,
|
1583
|
+
data_store: dataStore,
|
1584
|
+
session: session,
|
1585
|
+
});
|
1586
|
+
}
|
1587
|
+
/**
|
1588
|
+
* Parse the project from ProjectLocationCollectionDataStoreSession resource.
|
1589
|
+
*
|
1590
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1591
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1592
|
+
* @returns {string} A string representing the project.
|
1593
|
+
*/
|
1594
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1595
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).project;
|
1596
|
+
}
|
1597
|
+
/**
|
1598
|
+
* Parse the location from ProjectLocationCollectionDataStoreSession resource.
|
1599
|
+
*
|
1600
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1601
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1602
|
+
* @returns {string} A string representing the location.
|
1603
|
+
*/
|
1604
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1605
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).location;
|
1606
|
+
}
|
1607
|
+
/**
|
1608
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSession resource.
|
1609
|
+
*
|
1610
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1611
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1612
|
+
* @returns {string} A string representing the collection.
|
1613
|
+
*/
|
1614
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1615
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).collection;
|
1616
|
+
}
|
1617
|
+
/**
|
1618
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSession resource.
|
1619
|
+
*
|
1620
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1621
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1622
|
+
* @returns {string} A string representing the data_store.
|
1623
|
+
*/
|
1624
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1625
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).data_store;
|
1626
|
+
}
|
1627
|
+
/**
|
1628
|
+
* Parse the session from ProjectLocationCollectionDataStoreSession resource.
|
1629
|
+
*
|
1630
|
+
* @param {string} projectLocationCollectionDataStoreSessionName
|
1631
|
+
* A fully-qualified path representing project_location_collection_data_store_session resource.
|
1632
|
+
* @returns {string} A string representing the session.
|
1633
|
+
*/
|
1634
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionName(projectLocationCollectionDataStoreSessionName) {
|
1635
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionPathTemplate.match(projectLocationCollectionDataStoreSessionName).session;
|
1636
|
+
}
|
1637
|
+
/**
|
1638
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1639
|
+
*
|
1640
|
+
* @param {string} project
|
1641
|
+
* @param {string} location
|
1642
|
+
* @param {string} collection
|
1643
|
+
* @param {string} data_store
|
1644
|
+
* @param {string} session
|
1645
|
+
* @param {string} answer
|
1646
|
+
* @returns {string} Resource name string.
|
1647
|
+
*/
|
1648
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1649
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1650
|
+
project: project,
|
1651
|
+
location: location,
|
1652
|
+
collection: collection,
|
1653
|
+
data_store: dataStore,
|
1654
|
+
session: session,
|
1655
|
+
answer: answer,
|
1656
|
+
});
|
1657
|
+
}
|
1658
|
+
/**
|
1659
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1660
|
+
*
|
1661
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1662
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1663
|
+
* @returns {string} A string representing the project.
|
1664
|
+
*/
|
1665
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1666
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1667
|
+
}
|
1668
|
+
/**
|
1669
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1670
|
+
*
|
1671
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1672
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1673
|
+
* @returns {string} A string representing the location.
|
1674
|
+
*/
|
1675
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1676
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1677
|
+
}
|
1678
|
+
/**
|
1679
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1680
|
+
*
|
1681
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1682
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1683
|
+
* @returns {string} A string representing the collection.
|
1684
|
+
*/
|
1685
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1686
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1687
|
+
}
|
1688
|
+
/**
|
1689
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1690
|
+
*
|
1691
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1692
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1693
|
+
* @returns {string} A string representing the data_store.
|
1694
|
+
*/
|
1695
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1696
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1697
|
+
}
|
1698
|
+
/**
|
1699
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1700
|
+
*
|
1701
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1702
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1703
|
+
* @returns {string} A string representing the session.
|
1704
|
+
*/
|
1705
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1706
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1707
|
+
}
|
1708
|
+
/**
|
1709
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1710
|
+
*
|
1711
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1712
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1713
|
+
* @returns {string} A string representing the answer.
|
1714
|
+
*/
|
1715
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1716
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1717
|
+
}
|
1540
1718
|
/**
|
1541
1719
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
1542
1720
|
*
|
@@ -1801,6 +1979,156 @@ class EngineServiceClient {
|
|
1801
1979
|
matchServingConfigFromProjectLocationCollectionEngineServingConfigName(projectLocationCollectionEngineServingConfigName) {
|
1802
1980
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1803
1981
|
}
|
1982
|
+
/**
|
1983
|
+
* Return a fully-qualified projectLocationCollectionEngineSession resource name string.
|
1984
|
+
*
|
1985
|
+
* @param {string} project
|
1986
|
+
* @param {string} location
|
1987
|
+
* @param {string} collection
|
1988
|
+
* @param {string} engine
|
1989
|
+
* @param {string} session
|
1990
|
+
* @returns {string} Resource name string.
|
1991
|
+
*/
|
1992
|
+
projectLocationCollectionEngineSessionPath(project, location, collection, engine, session) {
|
1993
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.render({
|
1994
|
+
project: project,
|
1995
|
+
location: location,
|
1996
|
+
collection: collection,
|
1997
|
+
engine: engine,
|
1998
|
+
session: session,
|
1999
|
+
});
|
2000
|
+
}
|
2001
|
+
/**
|
2002
|
+
* Parse the project from ProjectLocationCollectionEngineSession resource.
|
2003
|
+
*
|
2004
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2005
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2006
|
+
* @returns {string} A string representing the project.
|
2007
|
+
*/
|
2008
|
+
matchProjectFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2009
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).project;
|
2010
|
+
}
|
2011
|
+
/**
|
2012
|
+
* Parse the location from ProjectLocationCollectionEngineSession resource.
|
2013
|
+
*
|
2014
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2015
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2016
|
+
* @returns {string} A string representing the location.
|
2017
|
+
*/
|
2018
|
+
matchLocationFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2019
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).location;
|
2020
|
+
}
|
2021
|
+
/**
|
2022
|
+
* Parse the collection from ProjectLocationCollectionEngineSession resource.
|
2023
|
+
*
|
2024
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2025
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2026
|
+
* @returns {string} A string representing the collection.
|
2027
|
+
*/
|
2028
|
+
matchCollectionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2029
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).collection;
|
2030
|
+
}
|
2031
|
+
/**
|
2032
|
+
* Parse the engine from ProjectLocationCollectionEngineSession resource.
|
2033
|
+
*
|
2034
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2035
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2036
|
+
* @returns {string} A string representing the engine.
|
2037
|
+
*/
|
2038
|
+
matchEngineFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2039
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).engine;
|
2040
|
+
}
|
2041
|
+
/**
|
2042
|
+
* Parse the session from ProjectLocationCollectionEngineSession resource.
|
2043
|
+
*
|
2044
|
+
* @param {string} projectLocationCollectionEngineSessionName
|
2045
|
+
* A fully-qualified path representing project_location_collection_engine_session resource.
|
2046
|
+
* @returns {string} A string representing the session.
|
2047
|
+
*/
|
2048
|
+
matchSessionFromProjectLocationCollectionEngineSessionName(projectLocationCollectionEngineSessionName) {
|
2049
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionPathTemplate.match(projectLocationCollectionEngineSessionName).session;
|
2050
|
+
}
|
2051
|
+
/**
|
2052
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2053
|
+
*
|
2054
|
+
* @param {string} project
|
2055
|
+
* @param {string} location
|
2056
|
+
* @param {string} collection
|
2057
|
+
* @param {string} engine
|
2058
|
+
* @param {string} session
|
2059
|
+
* @param {string} answer
|
2060
|
+
* @returns {string} Resource name string.
|
2061
|
+
*/
|
2062
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2063
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2064
|
+
project: project,
|
2065
|
+
location: location,
|
2066
|
+
collection: collection,
|
2067
|
+
engine: engine,
|
2068
|
+
session: session,
|
2069
|
+
answer: answer,
|
2070
|
+
});
|
2071
|
+
}
|
2072
|
+
/**
|
2073
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2074
|
+
*
|
2075
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2076
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2077
|
+
* @returns {string} A string representing the project.
|
2078
|
+
*/
|
2079
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2080
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2081
|
+
}
|
2082
|
+
/**
|
2083
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2084
|
+
*
|
2085
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2086
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2087
|
+
* @returns {string} A string representing the location.
|
2088
|
+
*/
|
2089
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2090
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2091
|
+
}
|
2092
|
+
/**
|
2093
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2094
|
+
*
|
2095
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2096
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2097
|
+
* @returns {string} A string representing the collection.
|
2098
|
+
*/
|
2099
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2100
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2101
|
+
}
|
2102
|
+
/**
|
2103
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2104
|
+
*
|
2105
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2106
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2107
|
+
* @returns {string} A string representing the engine.
|
2108
|
+
*/
|
2109
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2110
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2111
|
+
}
|
2112
|
+
/**
|
2113
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2114
|
+
*
|
2115
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2116
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2117
|
+
* @returns {string} A string representing the session.
|
2118
|
+
*/
|
2119
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2120
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2121
|
+
}
|
2122
|
+
/**
|
2123
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2124
|
+
*
|
2125
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2126
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2127
|
+
* @returns {string} A string representing the answer.
|
2128
|
+
*/
|
2129
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2130
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2131
|
+
}
|
1804
2132
|
/**
|
1805
2133
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
1806
2134
|
*
|
@@ -2212,6 +2540,132 @@ class EngineServiceClient {
|
|
2212
2540
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2213
2541
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2214
2542
|
}
|
2543
|
+
/**
|
2544
|
+
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2545
|
+
*
|
2546
|
+
* @param {string} project
|
2547
|
+
* @param {string} location
|
2548
|
+
* @param {string} data_store
|
2549
|
+
* @param {string} session
|
2550
|
+
* @returns {string} Resource name string.
|
2551
|
+
*/
|
2552
|
+
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2553
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2554
|
+
project: project,
|
2555
|
+
location: location,
|
2556
|
+
data_store: dataStore,
|
2557
|
+
session: session,
|
2558
|
+
});
|
2559
|
+
}
|
2560
|
+
/**
|
2561
|
+
* Parse the project from ProjectLocationDataStoreSession resource.
|
2562
|
+
*
|
2563
|
+
* @param {string} projectLocationDataStoreSessionName
|
2564
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2565
|
+
* @returns {string} A string representing the project.
|
2566
|
+
*/
|
2567
|
+
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2568
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2569
|
+
}
|
2570
|
+
/**
|
2571
|
+
* Parse the location from ProjectLocationDataStoreSession resource.
|
2572
|
+
*
|
2573
|
+
* @param {string} projectLocationDataStoreSessionName
|
2574
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2575
|
+
* @returns {string} A string representing the location.
|
2576
|
+
*/
|
2577
|
+
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2578
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2579
|
+
}
|
2580
|
+
/**
|
2581
|
+
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2582
|
+
*
|
2583
|
+
* @param {string} projectLocationDataStoreSessionName
|
2584
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2585
|
+
* @returns {string} A string representing the data_store.
|
2586
|
+
*/
|
2587
|
+
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2588
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2589
|
+
}
|
2590
|
+
/**
|
2591
|
+
* Parse the session from ProjectLocationDataStoreSession resource.
|
2592
|
+
*
|
2593
|
+
* @param {string} projectLocationDataStoreSessionName
|
2594
|
+
* A fully-qualified path representing project_location_data_store_session resource.
|
2595
|
+
* @returns {string} A string representing the session.
|
2596
|
+
*/
|
2597
|
+
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2598
|
+
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2599
|
+
}
|
2600
|
+
/**
|
2601
|
+
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2602
|
+
*
|
2603
|
+
* @param {string} project
|
2604
|
+
* @param {string} location
|
2605
|
+
* @param {string} data_store
|
2606
|
+
* @param {string} session
|
2607
|
+
* @param {string} answer
|
2608
|
+
* @returns {string} Resource name string.
|
2609
|
+
*/
|
2610
|
+
projectLocationDataStoreSessionAnswerPath(project, location, dataStore, session, answer) {
|
2611
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.render({
|
2612
|
+
project: project,
|
2613
|
+
location: location,
|
2614
|
+
data_store: dataStore,
|
2615
|
+
session: session,
|
2616
|
+
answer: answer,
|
2617
|
+
});
|
2618
|
+
}
|
2619
|
+
/**
|
2620
|
+
* Parse the project from ProjectLocationDataStoreSessionAnswer resource.
|
2621
|
+
*
|
2622
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2623
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2624
|
+
* @returns {string} A string representing the project.
|
2625
|
+
*/
|
2626
|
+
matchProjectFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2627
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).project;
|
2628
|
+
}
|
2629
|
+
/**
|
2630
|
+
* Parse the location from ProjectLocationDataStoreSessionAnswer resource.
|
2631
|
+
*
|
2632
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2633
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2634
|
+
* @returns {string} A string representing the location.
|
2635
|
+
*/
|
2636
|
+
matchLocationFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2637
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).location;
|
2638
|
+
}
|
2639
|
+
/**
|
2640
|
+
* Parse the data_store from ProjectLocationDataStoreSessionAnswer resource.
|
2641
|
+
*
|
2642
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2643
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2644
|
+
* @returns {string} A string representing the data_store.
|
2645
|
+
*/
|
2646
|
+
matchDataStoreFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2647
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).data_store;
|
2648
|
+
}
|
2649
|
+
/**
|
2650
|
+
* Parse the session from ProjectLocationDataStoreSessionAnswer resource.
|
2651
|
+
*
|
2652
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2653
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2654
|
+
* @returns {string} A string representing the session.
|
2655
|
+
*/
|
2656
|
+
matchSessionFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2657
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).session;
|
2658
|
+
}
|
2659
|
+
/**
|
2660
|
+
* Parse the answer from ProjectLocationDataStoreSessionAnswer resource.
|
2661
|
+
*
|
2662
|
+
* @param {string} projectLocationDataStoreSessionAnswerName
|
2663
|
+
* A fully-qualified path representing project_location_data_store_session_answer resource.
|
2664
|
+
* @returns {string} A string representing the answer.
|
2665
|
+
*/
|
2666
|
+
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2667
|
+
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2668
|
+
}
|
2215
2669
|
/**
|
2216
2670
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2217
2671
|
*
|