@google-cloud/discoveryengine 2.3.0 → 2.4.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/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -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 +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -178,16 +178,16 @@ class EvaluationServiceClient {
|
|
178
178
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
179
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
180
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
181
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
182
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
185
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
186
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
187
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
188
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
189
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
190
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
191
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
192
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
193
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +197,8 @@ class EvaluationServiceClient {
|
|
197
197
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
198
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
199
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
200
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
201
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
202
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
204
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1786,154 +1786,154 @@ class EvaluationServiceClient {
|
|
1786
1786
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1787
1787
|
}
|
1788
1788
|
/**
|
1789
|
-
* Return a fully-qualified
|
1789
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1790
1790
|
*
|
1791
1791
|
* @param {string} project
|
1792
1792
|
* @param {string} location
|
1793
1793
|
* @param {string} collection
|
1794
1794
|
* @param {string} data_store
|
1795
1795
|
* @param {string} session
|
1796
|
+
* @param {string} answer
|
1796
1797
|
* @returns {string} Resource name string.
|
1797
1798
|
*/
|
1798
|
-
|
1799
|
-
return this.pathTemplates.
|
1799
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1800
1801
|
project: project,
|
1801
1802
|
location: location,
|
1802
1803
|
collection: collection,
|
1803
1804
|
data_store: dataStore,
|
1804
1805
|
session: session,
|
1806
|
+
answer: answer,
|
1805
1807
|
});
|
1806
1808
|
}
|
1807
1809
|
/**
|
1808
|
-
* Parse the project from
|
1810
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1809
1811
|
*
|
1810
|
-
* @param {string}
|
1811
|
-
* A fully-qualified path representing
|
1812
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1813
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1812
1814
|
* @returns {string} A string representing the project.
|
1813
1815
|
*/
|
1814
|
-
|
1815
|
-
return this.pathTemplates.
|
1816
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1816
1818
|
}
|
1817
1819
|
/**
|
1818
|
-
* Parse the location from
|
1820
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1819
1821
|
*
|
1820
|
-
* @param {string}
|
1821
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1823
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1822
1824
|
* @returns {string} A string representing the location.
|
1823
1825
|
*/
|
1824
|
-
|
1825
|
-
return this.pathTemplates.
|
1826
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1826
1828
|
}
|
1827
1829
|
/**
|
1828
|
-
* Parse the collection from
|
1830
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1829
1831
|
*
|
1830
|
-
* @param {string}
|
1831
|
-
* A fully-qualified path representing
|
1832
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1833
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1832
1834
|
* @returns {string} A string representing the collection.
|
1833
1835
|
*/
|
1834
|
-
|
1835
|
-
return this.pathTemplates.
|
1836
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1837
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1836
1838
|
}
|
1837
1839
|
/**
|
1838
|
-
* Parse the data_store from
|
1840
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1839
1841
|
*
|
1840
|
-
* @param {string}
|
1841
|
-
* A fully-qualified path representing
|
1842
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1843
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1842
1844
|
* @returns {string} A string representing the data_store.
|
1843
1845
|
*/
|
1844
|
-
|
1845
|
-
return this.pathTemplates.
|
1846
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1847
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1846
1848
|
}
|
1847
1849
|
/**
|
1848
|
-
* Parse the session from
|
1850
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1849
1851
|
*
|
1850
|
-
* @param {string}
|
1851
|
-
* A fully-qualified path representing
|
1852
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1853
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1852
1854
|
* @returns {string} A string representing the session.
|
1853
1855
|
*/
|
1854
|
-
|
1855
|
-
return this.pathTemplates.
|
1856
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1856
1858
|
}
|
1857
1859
|
/**
|
1858
|
-
*
|
1860
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1861
|
+
*
|
1862
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1863
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1864
|
+
* @returns {string} A string representing the answer.
|
1865
|
+
*/
|
1866
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1867
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1868
|
+
}
|
1869
|
+
/**
|
1870
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1859
1871
|
*
|
1860
1872
|
* @param {string} project
|
1861
1873
|
* @param {string} location
|
1862
1874
|
* @param {string} collection
|
1863
1875
|
* @param {string} data_store
|
1864
1876
|
* @param {string} session
|
1865
|
-
* @param {string} answer
|
1866
1877
|
* @returns {string} Resource name string.
|
1867
1878
|
*/
|
1868
|
-
|
1869
|
-
return this.pathTemplates.
|
1879
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1870
1881
|
project: project,
|
1871
1882
|
location: location,
|
1872
1883
|
collection: collection,
|
1873
1884
|
data_store: dataStore,
|
1874
1885
|
session: session,
|
1875
|
-
answer: answer,
|
1876
1886
|
});
|
1877
1887
|
}
|
1878
1888
|
/**
|
1879
|
-
* Parse the project from
|
1889
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1880
1890
|
*
|
1881
|
-
* @param {string}
|
1882
|
-
* A fully-qualified path representing
|
1891
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1892
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1883
1893
|
* @returns {string} A string representing the project.
|
1884
1894
|
*/
|
1885
|
-
|
1886
|
-
return this.pathTemplates.
|
1895
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1887
1897
|
}
|
1888
1898
|
/**
|
1889
|
-
* Parse the location from
|
1899
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1890
1900
|
*
|
1891
|
-
* @param {string}
|
1892
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1893
1903
|
* @returns {string} A string representing the location.
|
1894
1904
|
*/
|
1895
|
-
|
1896
|
-
return this.pathTemplates.
|
1905
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1897
1907
|
}
|
1898
1908
|
/**
|
1899
|
-
* Parse the collection from
|
1909
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1900
1910
|
*
|
1901
|
-
* @param {string}
|
1902
|
-
* A fully-qualified path representing
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1903
1913
|
* @returns {string} A string representing the collection.
|
1904
1914
|
*/
|
1905
|
-
|
1906
|
-
return this.pathTemplates.
|
1915
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1907
1917
|
}
|
1908
1918
|
/**
|
1909
|
-
* Parse the data_store from
|
1919
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1910
1920
|
*
|
1911
|
-
* @param {string}
|
1912
|
-
* A fully-qualified path representing
|
1921
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1922
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1913
1923
|
* @returns {string} A string representing the data_store.
|
1914
1924
|
*/
|
1915
|
-
|
1916
|
-
return this.pathTemplates.
|
1925
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1917
1927
|
}
|
1918
1928
|
/**
|
1919
|
-
* Parse the session from
|
1929
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1920
1930
|
*
|
1921
|
-
* @param {string}
|
1922
|
-
* A fully-qualified path representing
|
1931
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1932
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1923
1933
|
* @returns {string} A string representing the session.
|
1924
1934
|
*/
|
1925
|
-
|
1926
|
-
return this.pathTemplates.
|
1927
|
-
}
|
1928
|
-
/**
|
1929
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1930
|
-
*
|
1931
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1932
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1933
|
-
* @returns {string} A string representing the answer.
|
1934
|
-
*/
|
1935
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1936
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1935
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1937
1937
|
}
|
1938
1938
|
/**
|
1939
1939
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2338,154 +2338,154 @@ class EvaluationServiceClient {
|
|
2338
2338
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2339
2339
|
}
|
2340
2340
|
/**
|
2341
|
-
* Return a fully-qualified
|
2341
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2342
2342
|
*
|
2343
2343
|
* @param {string} project
|
2344
2344
|
* @param {string} location
|
2345
2345
|
* @param {string} collection
|
2346
2346
|
* @param {string} engine
|
2347
2347
|
* @param {string} session
|
2348
|
+
* @param {string} answer
|
2348
2349
|
* @returns {string} Resource name string.
|
2349
2350
|
*/
|
2350
|
-
|
2351
|
-
return this.pathTemplates.
|
2351
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2352
2353
|
project: project,
|
2353
2354
|
location: location,
|
2354
2355
|
collection: collection,
|
2355
2356
|
engine: engine,
|
2356
2357
|
session: session,
|
2358
|
+
answer: answer,
|
2357
2359
|
});
|
2358
2360
|
}
|
2359
2361
|
/**
|
2360
|
-
* Parse the project from
|
2362
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2361
2363
|
*
|
2362
|
-
* @param {string}
|
2363
|
-
* A fully-qualified path representing
|
2364
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2365
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2364
2366
|
* @returns {string} A string representing the project.
|
2365
2367
|
*/
|
2366
|
-
|
2367
|
-
return this.pathTemplates.
|
2368
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2369
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2368
2370
|
}
|
2369
2371
|
/**
|
2370
|
-
* Parse the location from
|
2372
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2371
2373
|
*
|
2372
|
-
* @param {string}
|
2373
|
-
* A fully-qualified path representing
|
2374
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2375
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2374
2376
|
* @returns {string} A string representing the location.
|
2375
2377
|
*/
|
2376
|
-
|
2377
|
-
return this.pathTemplates.
|
2378
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2379
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2378
2380
|
}
|
2379
2381
|
/**
|
2380
|
-
* Parse the collection from
|
2382
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2381
2383
|
*
|
2382
|
-
* @param {string}
|
2383
|
-
* A fully-qualified path representing
|
2384
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2385
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2384
2386
|
* @returns {string} A string representing the collection.
|
2385
2387
|
*/
|
2386
|
-
|
2387
|
-
return this.pathTemplates.
|
2388
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2389
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2388
2390
|
}
|
2389
2391
|
/**
|
2390
|
-
* Parse the engine from
|
2392
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2391
2393
|
*
|
2392
|
-
* @param {string}
|
2393
|
-
* A fully-qualified path representing
|
2394
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2395
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2394
2396
|
* @returns {string} A string representing the engine.
|
2395
2397
|
*/
|
2396
|
-
|
2397
|
-
return this.pathTemplates.
|
2398
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2399
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2398
2400
|
}
|
2399
2401
|
/**
|
2400
|
-
* Parse the session from
|
2402
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2401
2403
|
*
|
2402
|
-
* @param {string}
|
2403
|
-
* A fully-qualified path representing
|
2404
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2405
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2404
2406
|
* @returns {string} A string representing the session.
|
2405
2407
|
*/
|
2406
|
-
|
2407
|
-
return this.pathTemplates.
|
2408
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2409
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2408
2410
|
}
|
2409
2411
|
/**
|
2410
|
-
*
|
2412
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2413
|
+
*
|
2414
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2415
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2416
|
+
* @returns {string} A string representing the answer.
|
2417
|
+
*/
|
2418
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2419
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2420
|
+
}
|
2421
|
+
/**
|
2422
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2411
2423
|
*
|
2412
2424
|
* @param {string} project
|
2413
2425
|
* @param {string} location
|
2414
2426
|
* @param {string} collection
|
2415
2427
|
* @param {string} engine
|
2416
2428
|
* @param {string} session
|
2417
|
-
* @param {string} answer
|
2418
2429
|
* @returns {string} Resource name string.
|
2419
2430
|
*/
|
2420
|
-
|
2421
|
-
return this.pathTemplates.
|
2431
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2422
2433
|
project: project,
|
2423
2434
|
location: location,
|
2424
2435
|
collection: collection,
|
2425
2436
|
engine: engine,
|
2426
2437
|
session: session,
|
2427
|
-
answer: answer,
|
2428
2438
|
});
|
2429
2439
|
}
|
2430
2440
|
/**
|
2431
|
-
* Parse the project from
|
2441
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2432
2442
|
*
|
2433
|
-
* @param {string}
|
2434
|
-
* A fully-qualified path representing
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2435
2445
|
* @returns {string} A string representing the project.
|
2436
2446
|
*/
|
2437
|
-
|
2438
|
-
return this.pathTemplates.
|
2447
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2439
2449
|
}
|
2440
2450
|
/**
|
2441
|
-
* Parse the location from
|
2451
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2442
2452
|
*
|
2443
|
-
* @param {string}
|
2444
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2445
2455
|
* @returns {string} A string representing the location.
|
2446
2456
|
*/
|
2447
|
-
|
2448
|
-
return this.pathTemplates.
|
2457
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2449
2459
|
}
|
2450
2460
|
/**
|
2451
|
-
* Parse the collection from
|
2461
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2452
2462
|
*
|
2453
|
-
* @param {string}
|
2454
|
-
* A fully-qualified path representing
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2455
2465
|
* @returns {string} A string representing the collection.
|
2456
2466
|
*/
|
2457
|
-
|
2458
|
-
return this.pathTemplates.
|
2467
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2459
2469
|
}
|
2460
2470
|
/**
|
2461
|
-
* Parse the engine from
|
2471
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2462
2472
|
*
|
2463
|
-
* @param {string}
|
2464
|
-
* A fully-qualified path representing
|
2473
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2465
2475
|
* @returns {string} A string representing the engine.
|
2466
2476
|
*/
|
2467
|
-
|
2468
|
-
return this.pathTemplates.
|
2477
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2469
2479
|
}
|
2470
2480
|
/**
|
2471
|
-
* Parse the session from
|
2481
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2472
2482
|
*
|
2473
|
-
* @param {string}
|
2474
|
-
* A fully-qualified path representing
|
2483
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2484
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2475
2485
|
* @returns {string} A string representing the session.
|
2476
2486
|
*/
|
2477
|
-
|
2478
|
-
return this.pathTemplates.
|
2479
|
-
}
|
2480
|
-
/**
|
2481
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2482
|
-
*
|
2483
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2484
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2485
|
-
* @returns {string} A string representing the answer.
|
2486
|
-
*/
|
2487
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2488
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2487
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2488
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2489
2489
|
}
|
2490
2490
|
/**
|
2491
2491
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3012,63 +3012,6 @@ class EvaluationServiceClient {
|
|
3012
3012
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3013
3013
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3014
3014
|
}
|
3015
|
-
/**
|
3016
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3017
|
-
*
|
3018
|
-
* @param {string} project
|
3019
|
-
* @param {string} location
|
3020
|
-
* @param {string} data_store
|
3021
|
-
* @param {string} session
|
3022
|
-
* @returns {string} Resource name string.
|
3023
|
-
*/
|
3024
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3025
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3026
|
-
project: project,
|
3027
|
-
location: location,
|
3028
|
-
data_store: dataStore,
|
3029
|
-
session: session,
|
3030
|
-
});
|
3031
|
-
}
|
3032
|
-
/**
|
3033
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3034
|
-
*
|
3035
|
-
* @param {string} projectLocationDataStoreSessionName
|
3036
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3037
|
-
* @returns {string} A string representing the project.
|
3038
|
-
*/
|
3039
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3040
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3041
|
-
}
|
3042
|
-
/**
|
3043
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3044
|
-
*
|
3045
|
-
* @param {string} projectLocationDataStoreSessionName
|
3046
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3047
|
-
* @returns {string} A string representing the location.
|
3048
|
-
*/
|
3049
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3050
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3051
|
-
}
|
3052
|
-
/**
|
3053
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3054
|
-
*
|
3055
|
-
* @param {string} projectLocationDataStoreSessionName
|
3056
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3057
|
-
* @returns {string} A string representing the data_store.
|
3058
|
-
*/
|
3059
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3060
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3061
|
-
}
|
3062
|
-
/**
|
3063
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3064
|
-
*
|
3065
|
-
* @param {string} projectLocationDataStoreSessionName
|
3066
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3067
|
-
* @returns {string} A string representing the session.
|
3068
|
-
*/
|
3069
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3070
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3071
|
-
}
|
3072
3015
|
/**
|
3073
3016
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3074
3017
|
*
|
@@ -3138,6 +3081,63 @@ class EvaluationServiceClient {
|
|
3138
3081
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3139
3082
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3140
3083
|
}
|
3084
|
+
/**
|
3085
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3086
|
+
*
|
3087
|
+
* @param {string} project
|
3088
|
+
* @param {string} location
|
3089
|
+
* @param {string} data_store
|
3090
|
+
* @param {string} session
|
3091
|
+
* @returns {string} Resource name string.
|
3092
|
+
*/
|
3093
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3094
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3095
|
+
project: project,
|
3096
|
+
location: location,
|
3097
|
+
data_store: dataStore,
|
3098
|
+
session: session,
|
3099
|
+
});
|
3100
|
+
}
|
3101
|
+
/**
|
3102
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3103
|
+
*
|
3104
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3105
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3106
|
+
* @returns {string} A string representing the project.
|
3107
|
+
*/
|
3108
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3109
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3110
|
+
}
|
3111
|
+
/**
|
3112
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3113
|
+
*
|
3114
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3115
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3116
|
+
* @returns {string} A string representing the location.
|
3117
|
+
*/
|
3118
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3119
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3120
|
+
}
|
3121
|
+
/**
|
3122
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3123
|
+
*
|
3124
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3125
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3126
|
+
* @returns {string} A string representing the data_store.
|
3127
|
+
*/
|
3128
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3129
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3130
|
+
}
|
3131
|
+
/**
|
3132
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3133
|
+
*
|
3134
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3135
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3136
|
+
* @returns {string} A string representing the session.
|
3137
|
+
*/
|
3138
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3139
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3140
|
+
}
|
3141
3141
|
/**
|
3142
3142
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3143
3143
|
*
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
|
38
38
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
|
39
39
|
"../../protos/google/cloud/discoveryengine/v1beta/session.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
|
40
41
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
|
41
42
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
|
42
43
|
"../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
|