@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
@@ -176,16 +176,16 @@ class SiteSearchEngineServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class SiteSearchEngineServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -2256,154 +2256,154 @@ class SiteSearchEngineServiceClient {
|
|
2256
2256
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2257
2257
|
}
|
2258
2258
|
/**
|
2259
|
-
* Return a fully-qualified
|
2259
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2260
2260
|
*
|
2261
2261
|
* @param {string} project
|
2262
2262
|
* @param {string} location
|
2263
2263
|
* @param {string} collection
|
2264
2264
|
* @param {string} data_store
|
2265
2265
|
* @param {string} session
|
2266
|
+
* @param {string} answer
|
2266
2267
|
* @returns {string} Resource name string.
|
2267
2268
|
*/
|
2268
|
-
|
2269
|
-
return this.pathTemplates.
|
2269
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2270
2271
|
project: project,
|
2271
2272
|
location: location,
|
2272
2273
|
collection: collection,
|
2273
2274
|
data_store: dataStore,
|
2274
2275
|
session: session,
|
2276
|
+
answer: answer,
|
2275
2277
|
});
|
2276
2278
|
}
|
2277
2279
|
/**
|
2278
|
-
* Parse the project from
|
2280
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2279
2281
|
*
|
2280
|
-
* @param {string}
|
2281
|
-
* A fully-qualified path representing
|
2282
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2283
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2282
2284
|
* @returns {string} A string representing the project.
|
2283
2285
|
*/
|
2284
|
-
|
2285
|
-
return this.pathTemplates.
|
2286
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2287
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2286
2288
|
}
|
2287
2289
|
/**
|
2288
|
-
* Parse the location from
|
2290
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2289
2291
|
*
|
2290
|
-
* @param {string}
|
2291
|
-
* A fully-qualified path representing
|
2292
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2293
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2292
2294
|
* @returns {string} A string representing the location.
|
2293
2295
|
*/
|
2294
|
-
|
2295
|
-
return this.pathTemplates.
|
2296
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2297
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2296
2298
|
}
|
2297
2299
|
/**
|
2298
|
-
* Parse the collection from
|
2300
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2299
2301
|
*
|
2300
|
-
* @param {string}
|
2301
|
-
* A fully-qualified path representing
|
2302
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2303
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2302
2304
|
* @returns {string} A string representing the collection.
|
2303
2305
|
*/
|
2304
|
-
|
2305
|
-
return this.pathTemplates.
|
2306
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2307
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2306
2308
|
}
|
2307
2309
|
/**
|
2308
|
-
* Parse the data_store from
|
2310
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2309
2311
|
*
|
2310
|
-
* @param {string}
|
2311
|
-
* A fully-qualified path representing
|
2312
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2313
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2312
2314
|
* @returns {string} A string representing the data_store.
|
2313
2315
|
*/
|
2314
|
-
|
2315
|
-
return this.pathTemplates.
|
2316
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2317
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2316
2318
|
}
|
2317
2319
|
/**
|
2318
|
-
* Parse the session from
|
2320
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2319
2321
|
*
|
2320
|
-
* @param {string}
|
2321
|
-
* A fully-qualified path representing
|
2322
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2323
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2322
2324
|
* @returns {string} A string representing the session.
|
2323
2325
|
*/
|
2324
|
-
|
2325
|
-
return this.pathTemplates.
|
2326
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2327
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2326
2328
|
}
|
2327
2329
|
/**
|
2328
|
-
*
|
2330
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2331
|
+
*
|
2332
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2333
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2334
|
+
* @returns {string} A string representing the answer.
|
2335
|
+
*/
|
2336
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2337
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2338
|
+
}
|
2339
|
+
/**
|
2340
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2329
2341
|
*
|
2330
2342
|
* @param {string} project
|
2331
2343
|
* @param {string} location
|
2332
2344
|
* @param {string} collection
|
2333
2345
|
* @param {string} data_store
|
2334
2346
|
* @param {string} session
|
2335
|
-
* @param {string} answer
|
2336
2347
|
* @returns {string} Resource name string.
|
2337
2348
|
*/
|
2338
|
-
|
2339
|
-
return this.pathTemplates.
|
2349
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2340
2351
|
project: project,
|
2341
2352
|
location: location,
|
2342
2353
|
collection: collection,
|
2343
2354
|
data_store: dataStore,
|
2344
2355
|
session: session,
|
2345
|
-
answer: answer,
|
2346
2356
|
});
|
2347
2357
|
}
|
2348
2358
|
/**
|
2349
|
-
* Parse the project from
|
2359
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2350
2360
|
*
|
2351
|
-
* @param {string}
|
2352
|
-
* A fully-qualified path representing
|
2361
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2362
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2353
2363
|
* @returns {string} A string representing the project.
|
2354
2364
|
*/
|
2355
|
-
|
2356
|
-
return this.pathTemplates.
|
2365
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2366
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2357
2367
|
}
|
2358
2368
|
/**
|
2359
|
-
* Parse the location from
|
2369
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2360
2370
|
*
|
2361
|
-
* @param {string}
|
2362
|
-
* A fully-qualified path representing
|
2371
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2372
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2363
2373
|
* @returns {string} A string representing the location.
|
2364
2374
|
*/
|
2365
|
-
|
2366
|
-
return this.pathTemplates.
|
2375
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2367
2377
|
}
|
2368
2378
|
/**
|
2369
|
-
* Parse the collection from
|
2379
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2370
2380
|
*
|
2371
|
-
* @param {string}
|
2372
|
-
* A fully-qualified path representing
|
2381
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2382
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2373
2383
|
* @returns {string} A string representing the collection.
|
2374
2384
|
*/
|
2375
|
-
|
2376
|
-
return this.pathTemplates.
|
2385
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2377
2387
|
}
|
2378
2388
|
/**
|
2379
|
-
* Parse the data_store from
|
2389
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2380
2390
|
*
|
2381
|
-
* @param {string}
|
2382
|
-
* A fully-qualified path representing
|
2391
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2392
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2383
2393
|
* @returns {string} A string representing the data_store.
|
2384
2394
|
*/
|
2385
|
-
|
2386
|
-
return this.pathTemplates.
|
2395
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2396
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2387
2397
|
}
|
2388
2398
|
/**
|
2389
|
-
* Parse the session from
|
2399
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2390
2400
|
*
|
2391
|
-
* @param {string}
|
2392
|
-
* A fully-qualified path representing
|
2401
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2402
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2393
2403
|
* @returns {string} A string representing the session.
|
2394
2404
|
*/
|
2395
|
-
|
2396
|
-
return this.pathTemplates.
|
2397
|
-
}
|
2398
|
-
/**
|
2399
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2400
|
-
*
|
2401
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2402
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2403
|
-
* @returns {string} A string representing the answer.
|
2404
|
-
*/
|
2405
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2406
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2405
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2406
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2407
2407
|
}
|
2408
2408
|
/**
|
2409
2409
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2808,154 +2808,154 @@ class SiteSearchEngineServiceClient {
|
|
2808
2808
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2809
2809
|
}
|
2810
2810
|
/**
|
2811
|
-
* Return a fully-qualified
|
2811
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2812
2812
|
*
|
2813
2813
|
* @param {string} project
|
2814
2814
|
* @param {string} location
|
2815
2815
|
* @param {string} collection
|
2816
2816
|
* @param {string} engine
|
2817
2817
|
* @param {string} session
|
2818
|
+
* @param {string} answer
|
2818
2819
|
* @returns {string} Resource name string.
|
2819
2820
|
*/
|
2820
|
-
|
2821
|
-
return this.pathTemplates.
|
2821
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2822
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2822
2823
|
project: project,
|
2823
2824
|
location: location,
|
2824
2825
|
collection: collection,
|
2825
2826
|
engine: engine,
|
2826
2827
|
session: session,
|
2828
|
+
answer: answer,
|
2827
2829
|
});
|
2828
2830
|
}
|
2829
2831
|
/**
|
2830
|
-
* Parse the project from
|
2832
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2831
2833
|
*
|
2832
|
-
* @param {string}
|
2833
|
-
* A fully-qualified path representing
|
2834
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2835
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2834
2836
|
* @returns {string} A string representing the project.
|
2835
2837
|
*/
|
2836
|
-
|
2837
|
-
return this.pathTemplates.
|
2838
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2839
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2838
2840
|
}
|
2839
2841
|
/**
|
2840
|
-
* Parse the location from
|
2842
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2841
2843
|
*
|
2842
|
-
* @param {string}
|
2843
|
-
* A fully-qualified path representing
|
2844
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2845
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2844
2846
|
* @returns {string} A string representing the location.
|
2845
2847
|
*/
|
2846
|
-
|
2847
|
-
return this.pathTemplates.
|
2848
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2849
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2848
2850
|
}
|
2849
2851
|
/**
|
2850
|
-
* Parse the collection from
|
2852
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2851
2853
|
*
|
2852
|
-
* @param {string}
|
2853
|
-
* A fully-qualified path representing
|
2854
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2855
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2854
2856
|
* @returns {string} A string representing the collection.
|
2855
2857
|
*/
|
2856
|
-
|
2857
|
-
return this.pathTemplates.
|
2858
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2859
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2858
2860
|
}
|
2859
2861
|
/**
|
2860
|
-
* Parse the engine from
|
2862
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2861
2863
|
*
|
2862
|
-
* @param {string}
|
2863
|
-
* A fully-qualified path representing
|
2864
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2865
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2864
2866
|
* @returns {string} A string representing the engine.
|
2865
2867
|
*/
|
2866
|
-
|
2867
|
-
return this.pathTemplates.
|
2868
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2869
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2868
2870
|
}
|
2869
2871
|
/**
|
2870
|
-
* Parse the session from
|
2872
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2871
2873
|
*
|
2872
|
-
* @param {string}
|
2873
|
-
* A fully-qualified path representing
|
2874
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2875
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2874
2876
|
* @returns {string} A string representing the session.
|
2875
2877
|
*/
|
2876
|
-
|
2877
|
-
return this.pathTemplates.
|
2878
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2879
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2878
2880
|
}
|
2879
2881
|
/**
|
2880
|
-
*
|
2882
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2883
|
+
*
|
2884
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2885
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2886
|
+
* @returns {string} A string representing the answer.
|
2887
|
+
*/
|
2888
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2889
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2890
|
+
}
|
2891
|
+
/**
|
2892
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2881
2893
|
*
|
2882
2894
|
* @param {string} project
|
2883
2895
|
* @param {string} location
|
2884
2896
|
* @param {string} collection
|
2885
2897
|
* @param {string} engine
|
2886
2898
|
* @param {string} session
|
2887
|
-
* @param {string} answer
|
2888
2899
|
* @returns {string} Resource name string.
|
2889
2900
|
*/
|
2890
|
-
|
2891
|
-
return this.pathTemplates.
|
2901
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2902
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2892
2903
|
project: project,
|
2893
2904
|
location: location,
|
2894
2905
|
collection: collection,
|
2895
2906
|
engine: engine,
|
2896
2907
|
session: session,
|
2897
|
-
answer: answer,
|
2898
2908
|
});
|
2899
2909
|
}
|
2900
2910
|
/**
|
2901
|
-
* Parse the project from
|
2911
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2902
2912
|
*
|
2903
|
-
* @param {string}
|
2904
|
-
* A fully-qualified path representing
|
2913
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2914
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2905
2915
|
* @returns {string} A string representing the project.
|
2906
2916
|
*/
|
2907
|
-
|
2908
|
-
return this.pathTemplates.
|
2917
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2918
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2909
2919
|
}
|
2910
2920
|
/**
|
2911
|
-
* Parse the location from
|
2921
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2912
2922
|
*
|
2913
|
-
* @param {string}
|
2914
|
-
* A fully-qualified path representing
|
2923
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2924
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2915
2925
|
* @returns {string} A string representing the location.
|
2916
2926
|
*/
|
2917
|
-
|
2918
|
-
return this.pathTemplates.
|
2927
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2928
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2919
2929
|
}
|
2920
2930
|
/**
|
2921
|
-
* Parse the collection from
|
2931
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2922
2932
|
*
|
2923
|
-
* @param {string}
|
2924
|
-
* A fully-qualified path representing
|
2933
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2934
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2925
2935
|
* @returns {string} A string representing the collection.
|
2926
2936
|
*/
|
2927
|
-
|
2928
|
-
return this.pathTemplates.
|
2937
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2938
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2929
2939
|
}
|
2930
2940
|
/**
|
2931
|
-
* Parse the engine from
|
2941
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2932
2942
|
*
|
2933
|
-
* @param {string}
|
2934
|
-
* A fully-qualified path representing
|
2943
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2944
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2935
2945
|
* @returns {string} A string representing the engine.
|
2936
2946
|
*/
|
2937
|
-
|
2938
|
-
return this.pathTemplates.
|
2947
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2948
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2939
2949
|
}
|
2940
2950
|
/**
|
2941
|
-
* Parse the session from
|
2951
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2942
2952
|
*
|
2943
|
-
* @param {string}
|
2944
|
-
* A fully-qualified path representing
|
2953
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2954
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2945
2955
|
* @returns {string} A string representing the session.
|
2946
2956
|
*/
|
2947
|
-
|
2948
|
-
return this.pathTemplates.
|
2949
|
-
}
|
2950
|
-
/**
|
2951
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2952
|
-
*
|
2953
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2954
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2955
|
-
* @returns {string} A string representing the answer.
|
2956
|
-
*/
|
2957
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2958
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2957
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2958
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2959
2959
|
}
|
2960
2960
|
/**
|
2961
2961
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3482,63 +3482,6 @@ class SiteSearchEngineServiceClient {
|
|
3482
3482
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3483
3483
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3484
3484
|
}
|
3485
|
-
/**
|
3486
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3487
|
-
*
|
3488
|
-
* @param {string} project
|
3489
|
-
* @param {string} location
|
3490
|
-
* @param {string} data_store
|
3491
|
-
* @param {string} session
|
3492
|
-
* @returns {string} Resource name string.
|
3493
|
-
*/
|
3494
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3495
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3496
|
-
project: project,
|
3497
|
-
location: location,
|
3498
|
-
data_store: dataStore,
|
3499
|
-
session: session,
|
3500
|
-
});
|
3501
|
-
}
|
3502
|
-
/**
|
3503
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3504
|
-
*
|
3505
|
-
* @param {string} projectLocationDataStoreSessionName
|
3506
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3507
|
-
* @returns {string} A string representing the project.
|
3508
|
-
*/
|
3509
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3510
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3511
|
-
}
|
3512
|
-
/**
|
3513
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3514
|
-
*
|
3515
|
-
* @param {string} projectLocationDataStoreSessionName
|
3516
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3517
|
-
* @returns {string} A string representing the location.
|
3518
|
-
*/
|
3519
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3520
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3521
|
-
}
|
3522
|
-
/**
|
3523
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3524
|
-
*
|
3525
|
-
* @param {string} projectLocationDataStoreSessionName
|
3526
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3527
|
-
* @returns {string} A string representing the data_store.
|
3528
|
-
*/
|
3529
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3530
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3531
|
-
}
|
3532
|
-
/**
|
3533
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3534
|
-
*
|
3535
|
-
* @param {string} projectLocationDataStoreSessionName
|
3536
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3537
|
-
* @returns {string} A string representing the session.
|
3538
|
-
*/
|
3539
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3540
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3541
|
-
}
|
3542
3485
|
/**
|
3543
3486
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3544
3487
|
*
|
@@ -3608,6 +3551,63 @@ class SiteSearchEngineServiceClient {
|
|
3608
3551
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3609
3552
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3610
3553
|
}
|
3554
|
+
/**
|
3555
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3556
|
+
*
|
3557
|
+
* @param {string} project
|
3558
|
+
* @param {string} location
|
3559
|
+
* @param {string} data_store
|
3560
|
+
* @param {string} session
|
3561
|
+
* @returns {string} Resource name string.
|
3562
|
+
*/
|
3563
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3564
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3565
|
+
project: project,
|
3566
|
+
location: location,
|
3567
|
+
data_store: dataStore,
|
3568
|
+
session: session,
|
3569
|
+
});
|
3570
|
+
}
|
3571
|
+
/**
|
3572
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3573
|
+
*
|
3574
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3575
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3576
|
+
* @returns {string} A string representing the project.
|
3577
|
+
*/
|
3578
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3579
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3580
|
+
}
|
3581
|
+
/**
|
3582
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3583
|
+
*
|
3584
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3585
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3586
|
+
* @returns {string} A string representing the location.
|
3587
|
+
*/
|
3588
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3589
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3590
|
+
}
|
3591
|
+
/**
|
3592
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3593
|
+
*
|
3594
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3595
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3596
|
+
* @returns {string} A string representing the data_store.
|
3597
|
+
*/
|
3598
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3599
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3600
|
+
}
|
3601
|
+
/**
|
3602
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3603
|
+
*
|
3604
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3605
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3606
|
+
* @returns {string} A string representing the session.
|
3607
|
+
*/
|
3608
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3609
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3610
|
+
}
|
3611
3611
|
/**
|
3612
3612
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3613
3613
|
*
|
@@ -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",
|