@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 EngineServiceClient {
|
|
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 EngineServiceClient {
|
|
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}'),
|
@@ -1835,154 +1835,154 @@ class EngineServiceClient {
|
|
1835
1835
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1836
1836
|
}
|
1837
1837
|
/**
|
1838
|
-
* Return a fully-qualified
|
1838
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1839
1839
|
*
|
1840
1840
|
* @param {string} project
|
1841
1841
|
* @param {string} location
|
1842
1842
|
* @param {string} collection
|
1843
1843
|
* @param {string} data_store
|
1844
1844
|
* @param {string} session
|
1845
|
+
* @param {string} answer
|
1845
1846
|
* @returns {string} Resource name string.
|
1846
1847
|
*/
|
1847
|
-
|
1848
|
-
return this.pathTemplates.
|
1848
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1849
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1849
1850
|
project: project,
|
1850
1851
|
location: location,
|
1851
1852
|
collection: collection,
|
1852
1853
|
data_store: dataStore,
|
1853
1854
|
session: session,
|
1855
|
+
answer: answer,
|
1854
1856
|
});
|
1855
1857
|
}
|
1856
1858
|
/**
|
1857
|
-
* Parse the project from
|
1859
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1858
1860
|
*
|
1859
|
-
* @param {string}
|
1860
|
-
* A fully-qualified path representing
|
1861
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1862
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1861
1863
|
* @returns {string} A string representing the project.
|
1862
1864
|
*/
|
1863
|
-
|
1864
|
-
return this.pathTemplates.
|
1865
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1866
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1865
1867
|
}
|
1866
1868
|
/**
|
1867
|
-
* Parse the location from
|
1869
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1868
1870
|
*
|
1869
|
-
* @param {string}
|
1870
|
-
* A fully-qualified path representing
|
1871
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1872
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1871
1873
|
* @returns {string} A string representing the location.
|
1872
1874
|
*/
|
1873
|
-
|
1874
|
-
return this.pathTemplates.
|
1875
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1876
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1875
1877
|
}
|
1876
1878
|
/**
|
1877
|
-
* Parse the collection from
|
1879
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1878
1880
|
*
|
1879
|
-
* @param {string}
|
1880
|
-
* A fully-qualified path representing
|
1881
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1882
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1881
1883
|
* @returns {string} A string representing the collection.
|
1882
1884
|
*/
|
1883
|
-
|
1884
|
-
return this.pathTemplates.
|
1885
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1886
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1885
1887
|
}
|
1886
1888
|
/**
|
1887
|
-
* Parse the data_store from
|
1889
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1888
1890
|
*
|
1889
|
-
* @param {string}
|
1890
|
-
* A fully-qualified path representing
|
1891
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1892
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1891
1893
|
* @returns {string} A string representing the data_store.
|
1892
1894
|
*/
|
1893
|
-
|
1894
|
-
return this.pathTemplates.
|
1895
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1895
1897
|
}
|
1896
1898
|
/**
|
1897
|
-
* Parse the session from
|
1899
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1898
1900
|
*
|
1899
|
-
* @param {string}
|
1900
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1901
1903
|
* @returns {string} A string representing the session.
|
1902
1904
|
*/
|
1903
|
-
|
1904
|
-
return this.pathTemplates.
|
1905
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1905
1907
|
}
|
1906
1908
|
/**
|
1907
|
-
*
|
1909
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1910
|
+
*
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1913
|
+
* @returns {string} A string representing the answer.
|
1914
|
+
*/
|
1915
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1917
|
+
}
|
1918
|
+
/**
|
1919
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1908
1920
|
*
|
1909
1921
|
* @param {string} project
|
1910
1922
|
* @param {string} location
|
1911
1923
|
* @param {string} collection
|
1912
1924
|
* @param {string} data_store
|
1913
1925
|
* @param {string} session
|
1914
|
-
* @param {string} answer
|
1915
1926
|
* @returns {string} Resource name string.
|
1916
1927
|
*/
|
1917
|
-
|
1918
|
-
return this.pathTemplates.
|
1928
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1929
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1919
1930
|
project: project,
|
1920
1931
|
location: location,
|
1921
1932
|
collection: collection,
|
1922
1933
|
data_store: dataStore,
|
1923
1934
|
session: session,
|
1924
|
-
answer: answer,
|
1925
1935
|
});
|
1926
1936
|
}
|
1927
1937
|
/**
|
1928
|
-
* Parse the project from
|
1938
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1929
1939
|
*
|
1930
|
-
* @param {string}
|
1931
|
-
* A fully-qualified path representing
|
1940
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1941
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1932
1942
|
* @returns {string} A string representing the project.
|
1933
1943
|
*/
|
1934
|
-
|
1935
|
-
return this.pathTemplates.
|
1944
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1945
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1936
1946
|
}
|
1937
1947
|
/**
|
1938
|
-
* Parse the location from
|
1948
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1939
1949
|
*
|
1940
|
-
* @param {string}
|
1941
|
-
* A fully-qualified path representing
|
1950
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1951
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1942
1952
|
* @returns {string} A string representing the location.
|
1943
1953
|
*/
|
1944
|
-
|
1945
|
-
return this.pathTemplates.
|
1954
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1955
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1946
1956
|
}
|
1947
1957
|
/**
|
1948
|
-
* Parse the collection from
|
1958
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1949
1959
|
*
|
1950
|
-
* @param {string}
|
1951
|
-
* A fully-qualified path representing
|
1960
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1961
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1952
1962
|
* @returns {string} A string representing the collection.
|
1953
1963
|
*/
|
1954
|
-
|
1955
|
-
return this.pathTemplates.
|
1964
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1965
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1956
1966
|
}
|
1957
1967
|
/**
|
1958
|
-
* Parse the data_store from
|
1968
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1959
1969
|
*
|
1960
|
-
* @param {string}
|
1961
|
-
* A fully-qualified path representing
|
1970
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1971
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1962
1972
|
* @returns {string} A string representing the data_store.
|
1963
1973
|
*/
|
1964
|
-
|
1965
|
-
return this.pathTemplates.
|
1974
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1975
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1966
1976
|
}
|
1967
1977
|
/**
|
1968
|
-
* Parse the session from
|
1978
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1969
1979
|
*
|
1970
|
-
* @param {string}
|
1971
|
-
* A fully-qualified path representing
|
1980
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1981
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1972
1982
|
* @returns {string} A string representing the session.
|
1973
1983
|
*/
|
1974
|
-
|
1975
|
-
return this.pathTemplates.
|
1976
|
-
}
|
1977
|
-
/**
|
1978
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1979
|
-
*
|
1980
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1981
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1982
|
-
* @returns {string} A string representing the answer.
|
1983
|
-
*/
|
1984
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1985
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1984
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1985
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1986
1986
|
}
|
1987
1987
|
/**
|
1988
1988
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2387,154 +2387,154 @@ class EngineServiceClient {
|
|
2387
2387
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2388
2388
|
}
|
2389
2389
|
/**
|
2390
|
-
* Return a fully-qualified
|
2390
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2391
2391
|
*
|
2392
2392
|
* @param {string} project
|
2393
2393
|
* @param {string} location
|
2394
2394
|
* @param {string} collection
|
2395
2395
|
* @param {string} engine
|
2396
2396
|
* @param {string} session
|
2397
|
+
* @param {string} answer
|
2397
2398
|
* @returns {string} Resource name string.
|
2398
2399
|
*/
|
2399
|
-
|
2400
|
-
return this.pathTemplates.
|
2400
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2401
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2401
2402
|
project: project,
|
2402
2403
|
location: location,
|
2403
2404
|
collection: collection,
|
2404
2405
|
engine: engine,
|
2405
2406
|
session: session,
|
2407
|
+
answer: answer,
|
2406
2408
|
});
|
2407
2409
|
}
|
2408
2410
|
/**
|
2409
|
-
* Parse the project from
|
2411
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2410
2412
|
*
|
2411
|
-
* @param {string}
|
2412
|
-
* A fully-qualified path representing
|
2413
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2414
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2413
2415
|
* @returns {string} A string representing the project.
|
2414
2416
|
*/
|
2415
|
-
|
2416
|
-
return this.pathTemplates.
|
2417
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2418
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2417
2419
|
}
|
2418
2420
|
/**
|
2419
|
-
* Parse the location from
|
2421
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2420
2422
|
*
|
2421
|
-
* @param {string}
|
2422
|
-
* A fully-qualified path representing
|
2423
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2424
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2423
2425
|
* @returns {string} A string representing the location.
|
2424
2426
|
*/
|
2425
|
-
|
2426
|
-
return this.pathTemplates.
|
2427
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2428
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2427
2429
|
}
|
2428
2430
|
/**
|
2429
|
-
* Parse the collection from
|
2431
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2430
2432
|
*
|
2431
|
-
* @param {string}
|
2432
|
-
* A fully-qualified path representing
|
2433
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2434
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2433
2435
|
* @returns {string} A string representing the collection.
|
2434
2436
|
*/
|
2435
|
-
|
2436
|
-
return this.pathTemplates.
|
2437
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2438
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2437
2439
|
}
|
2438
2440
|
/**
|
2439
|
-
* Parse the engine from
|
2441
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2440
2442
|
*
|
2441
|
-
* @param {string}
|
2442
|
-
* A fully-qualified path representing
|
2443
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2444
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2443
2445
|
* @returns {string} A string representing the engine.
|
2444
2446
|
*/
|
2445
|
-
|
2446
|
-
return this.pathTemplates.
|
2447
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2447
2449
|
}
|
2448
2450
|
/**
|
2449
|
-
* Parse the session from
|
2451
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2450
2452
|
*
|
2451
|
-
* @param {string}
|
2452
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2453
2455
|
* @returns {string} A string representing the session.
|
2454
2456
|
*/
|
2455
|
-
|
2456
|
-
return this.pathTemplates.
|
2457
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2457
2459
|
}
|
2458
2460
|
/**
|
2459
|
-
*
|
2461
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2465
|
+
* @returns {string} A string representing the answer.
|
2466
|
+
*/
|
2467
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2460
2472
|
*
|
2461
2473
|
* @param {string} project
|
2462
2474
|
* @param {string} location
|
2463
2475
|
* @param {string} collection
|
2464
2476
|
* @param {string} engine
|
2465
2477
|
* @param {string} session
|
2466
|
-
* @param {string} answer
|
2467
2478
|
* @returns {string} Resource name string.
|
2468
2479
|
*/
|
2469
|
-
|
2470
|
-
return this.pathTemplates.
|
2480
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2481
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2471
2482
|
project: project,
|
2472
2483
|
location: location,
|
2473
2484
|
collection: collection,
|
2474
2485
|
engine: engine,
|
2475
2486
|
session: session,
|
2476
|
-
answer: answer,
|
2477
2487
|
});
|
2478
2488
|
}
|
2479
2489
|
/**
|
2480
|
-
* Parse the project from
|
2490
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2481
2491
|
*
|
2482
|
-
* @param {string}
|
2483
|
-
* A fully-qualified path representing
|
2492
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2493
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2484
2494
|
* @returns {string} A string representing the project.
|
2485
2495
|
*/
|
2486
|
-
|
2487
|
-
return this.pathTemplates.
|
2496
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2497
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2488
2498
|
}
|
2489
2499
|
/**
|
2490
|
-
* Parse the location from
|
2500
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2491
2501
|
*
|
2492
|
-
* @param {string}
|
2493
|
-
* A fully-qualified path representing
|
2502
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2503
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2494
2504
|
* @returns {string} A string representing the location.
|
2495
2505
|
*/
|
2496
|
-
|
2497
|
-
return this.pathTemplates.
|
2506
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2507
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2498
2508
|
}
|
2499
2509
|
/**
|
2500
|
-
* Parse the collection from
|
2510
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2501
2511
|
*
|
2502
|
-
* @param {string}
|
2503
|
-
* A fully-qualified path representing
|
2512
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2513
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2504
2514
|
* @returns {string} A string representing the collection.
|
2505
2515
|
*/
|
2506
|
-
|
2507
|
-
return this.pathTemplates.
|
2516
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2517
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2508
2518
|
}
|
2509
2519
|
/**
|
2510
|
-
* Parse the engine from
|
2520
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2511
2521
|
*
|
2512
|
-
* @param {string}
|
2513
|
-
* A fully-qualified path representing
|
2522
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2523
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2514
2524
|
* @returns {string} A string representing the engine.
|
2515
2525
|
*/
|
2516
|
-
|
2517
|
-
return this.pathTemplates.
|
2526
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2527
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2518
2528
|
}
|
2519
2529
|
/**
|
2520
|
-
* Parse the session from
|
2530
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2521
2531
|
*
|
2522
|
-
* @param {string}
|
2523
|
-
* A fully-qualified path representing
|
2532
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2533
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2524
2534
|
* @returns {string} A string representing the session.
|
2525
2535
|
*/
|
2526
|
-
|
2527
|
-
return this.pathTemplates.
|
2528
|
-
}
|
2529
|
-
/**
|
2530
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2531
|
-
*
|
2532
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2533
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2534
|
-
* @returns {string} A string representing the answer.
|
2535
|
-
*/
|
2536
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2537
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2536
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2537
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2538
2538
|
}
|
2539
2539
|
/**
|
2540
2540
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3061,63 +3061,6 @@ class EngineServiceClient {
|
|
3061
3061
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3062
3062
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3063
3063
|
}
|
3064
|
-
/**
|
3065
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3066
|
-
*
|
3067
|
-
* @param {string} project
|
3068
|
-
* @param {string} location
|
3069
|
-
* @param {string} data_store
|
3070
|
-
* @param {string} session
|
3071
|
-
* @returns {string} Resource name string.
|
3072
|
-
*/
|
3073
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3074
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3075
|
-
project: project,
|
3076
|
-
location: location,
|
3077
|
-
data_store: dataStore,
|
3078
|
-
session: session,
|
3079
|
-
});
|
3080
|
-
}
|
3081
|
-
/**
|
3082
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3083
|
-
*
|
3084
|
-
* @param {string} projectLocationDataStoreSessionName
|
3085
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3086
|
-
* @returns {string} A string representing the project.
|
3087
|
-
*/
|
3088
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3089
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3090
|
-
}
|
3091
|
-
/**
|
3092
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3093
|
-
*
|
3094
|
-
* @param {string} projectLocationDataStoreSessionName
|
3095
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3096
|
-
* @returns {string} A string representing the location.
|
3097
|
-
*/
|
3098
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3099
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3100
|
-
}
|
3101
|
-
/**
|
3102
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3103
|
-
*
|
3104
|
-
* @param {string} projectLocationDataStoreSessionName
|
3105
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3106
|
-
* @returns {string} A string representing the data_store.
|
3107
|
-
*/
|
3108
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3109
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3110
|
-
}
|
3111
|
-
/**
|
3112
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3113
|
-
*
|
3114
|
-
* @param {string} projectLocationDataStoreSessionName
|
3115
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3116
|
-
* @returns {string} A string representing the session.
|
3117
|
-
*/
|
3118
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3119
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3120
|
-
}
|
3121
3064
|
/**
|
3122
3065
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3123
3066
|
*
|
@@ -3187,6 +3130,63 @@ class EngineServiceClient {
|
|
3187
3130
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3188
3131
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3189
3132
|
}
|
3133
|
+
/**
|
3134
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3135
|
+
*
|
3136
|
+
* @param {string} project
|
3137
|
+
* @param {string} location
|
3138
|
+
* @param {string} data_store
|
3139
|
+
* @param {string} session
|
3140
|
+
* @returns {string} Resource name string.
|
3141
|
+
*/
|
3142
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3143
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3144
|
+
project: project,
|
3145
|
+
location: location,
|
3146
|
+
data_store: dataStore,
|
3147
|
+
session: session,
|
3148
|
+
});
|
3149
|
+
}
|
3150
|
+
/**
|
3151
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3152
|
+
*
|
3153
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3154
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3155
|
+
* @returns {string} A string representing the project.
|
3156
|
+
*/
|
3157
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3158
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3159
|
+
}
|
3160
|
+
/**
|
3161
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3162
|
+
*
|
3163
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3164
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3165
|
+
* @returns {string} A string representing the location.
|
3166
|
+
*/
|
3167
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3168
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3169
|
+
}
|
3170
|
+
/**
|
3171
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3172
|
+
*
|
3173
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3174
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3175
|
+
* @returns {string} A string representing the data_store.
|
3176
|
+
*/
|
3177
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3178
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3179
|
+
}
|
3180
|
+
/**
|
3181
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3182
|
+
*
|
3183
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3184
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3185
|
+
* @returns {string} A string representing the session.
|
3186
|
+
*/
|
3187
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3188
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3189
|
+
}
|
3190
3190
|
/**
|
3191
3191
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3192
3192
|
*
|
@@ -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",
|