@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
@@ -177,15 +177,15 @@ class ServingConfigServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
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 ServingConfigServiceClient {
|
|
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
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
202
202
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1384,154 +1384,154 @@ class ServingConfigServiceClient {
|
|
1384
1384
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1385
1385
|
}
|
1386
1386
|
/**
|
1387
|
-
* Return a fully-qualified
|
1387
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1388
1388
|
*
|
1389
1389
|
* @param {string} project
|
1390
1390
|
* @param {string} location
|
1391
1391
|
* @param {string} collection
|
1392
1392
|
* @param {string} data_store
|
1393
1393
|
* @param {string} session
|
1394
|
+
* @param {string} answer
|
1394
1395
|
* @returns {string} Resource name string.
|
1395
1396
|
*/
|
1396
|
-
|
1397
|
-
return this.pathTemplates.
|
1397
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1398
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1398
1399
|
project: project,
|
1399
1400
|
location: location,
|
1400
1401
|
collection: collection,
|
1401
1402
|
data_store: dataStore,
|
1402
1403
|
session: session,
|
1404
|
+
answer: answer,
|
1403
1405
|
});
|
1404
1406
|
}
|
1405
1407
|
/**
|
1406
|
-
* Parse the project from
|
1408
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1407
1409
|
*
|
1408
|
-
* @param {string}
|
1409
|
-
* A fully-qualified path representing
|
1410
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1411
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1410
1412
|
* @returns {string} A string representing the project.
|
1411
1413
|
*/
|
1412
|
-
|
1413
|
-
return this.pathTemplates.
|
1414
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1415
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1414
1416
|
}
|
1415
1417
|
/**
|
1416
|
-
* Parse the location from
|
1418
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1417
1419
|
*
|
1418
|
-
* @param {string}
|
1419
|
-
* A fully-qualified path representing
|
1420
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1421
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1420
1422
|
* @returns {string} A string representing the location.
|
1421
1423
|
*/
|
1422
|
-
|
1423
|
-
return this.pathTemplates.
|
1424
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1425
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1424
1426
|
}
|
1425
1427
|
/**
|
1426
|
-
* Parse the collection from
|
1428
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1427
1429
|
*
|
1428
|
-
* @param {string}
|
1429
|
-
* A fully-qualified path representing
|
1430
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1431
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1430
1432
|
* @returns {string} A string representing the collection.
|
1431
1433
|
*/
|
1432
|
-
|
1433
|
-
return this.pathTemplates.
|
1434
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1435
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1434
1436
|
}
|
1435
1437
|
/**
|
1436
|
-
* Parse the data_store from
|
1438
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1437
1439
|
*
|
1438
|
-
* @param {string}
|
1439
|
-
* A fully-qualified path representing
|
1440
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1441
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1440
1442
|
* @returns {string} A string representing the data_store.
|
1441
1443
|
*/
|
1442
|
-
|
1443
|
-
return this.pathTemplates.
|
1444
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1445
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1444
1446
|
}
|
1445
1447
|
/**
|
1446
|
-
* Parse the session from
|
1448
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1447
1449
|
*
|
1448
|
-
* @param {string}
|
1449
|
-
* A fully-qualified path representing
|
1450
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1451
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1450
1452
|
* @returns {string} A string representing the session.
|
1451
1453
|
*/
|
1452
|
-
|
1453
|
-
return this.pathTemplates.
|
1454
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1455
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1454
1456
|
}
|
1455
1457
|
/**
|
1456
|
-
*
|
1458
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1459
|
+
*
|
1460
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1461
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1462
|
+
* @returns {string} A string representing the answer.
|
1463
|
+
*/
|
1464
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1465
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1466
|
+
}
|
1467
|
+
/**
|
1468
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1457
1469
|
*
|
1458
1470
|
* @param {string} project
|
1459
1471
|
* @param {string} location
|
1460
1472
|
* @param {string} collection
|
1461
1473
|
* @param {string} data_store
|
1462
1474
|
* @param {string} session
|
1463
|
-
* @param {string} answer
|
1464
1475
|
* @returns {string} Resource name string.
|
1465
1476
|
*/
|
1466
|
-
|
1467
|
-
return this.pathTemplates.
|
1477
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1478
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1468
1479
|
project: project,
|
1469
1480
|
location: location,
|
1470
1481
|
collection: collection,
|
1471
1482
|
data_store: dataStore,
|
1472
1483
|
session: session,
|
1473
|
-
answer: answer,
|
1474
1484
|
});
|
1475
1485
|
}
|
1476
1486
|
/**
|
1477
|
-
* Parse the project from
|
1487
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1478
1488
|
*
|
1479
|
-
* @param {string}
|
1480
|
-
* A fully-qualified path representing
|
1489
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1490
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1481
1491
|
* @returns {string} A string representing the project.
|
1482
1492
|
*/
|
1483
|
-
|
1484
|
-
return this.pathTemplates.
|
1493
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1494
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1485
1495
|
}
|
1486
1496
|
/**
|
1487
|
-
* Parse the location from
|
1497
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1488
1498
|
*
|
1489
|
-
* @param {string}
|
1490
|
-
* A fully-qualified path representing
|
1499
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1500
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1491
1501
|
* @returns {string} A string representing the location.
|
1492
1502
|
*/
|
1493
|
-
|
1494
|
-
return this.pathTemplates.
|
1503
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1504
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1495
1505
|
}
|
1496
1506
|
/**
|
1497
|
-
* Parse the collection from
|
1507
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1498
1508
|
*
|
1499
|
-
* @param {string}
|
1500
|
-
* A fully-qualified path representing
|
1509
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1510
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1501
1511
|
* @returns {string} A string representing the collection.
|
1502
1512
|
*/
|
1503
|
-
|
1504
|
-
return this.pathTemplates.
|
1513
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1514
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1505
1515
|
}
|
1506
1516
|
/**
|
1507
|
-
* Parse the data_store from
|
1517
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1508
1518
|
*
|
1509
|
-
* @param {string}
|
1510
|
-
* A fully-qualified path representing
|
1519
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1520
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1511
1521
|
* @returns {string} A string representing the data_store.
|
1512
1522
|
*/
|
1513
|
-
|
1514
|
-
return this.pathTemplates.
|
1523
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1524
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1515
1525
|
}
|
1516
1526
|
/**
|
1517
|
-
* Parse the session from
|
1527
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1518
1528
|
*
|
1519
|
-
* @param {string}
|
1520
|
-
* A fully-qualified path representing
|
1529
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1530
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1521
1531
|
* @returns {string} A string representing the session.
|
1522
1532
|
*/
|
1523
|
-
|
1524
|
-
return this.pathTemplates.
|
1525
|
-
}
|
1526
|
-
/**
|
1527
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1528
|
-
*
|
1529
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1530
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1531
|
-
* @returns {string} A string representing the answer.
|
1532
|
-
*/
|
1533
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1534
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1533
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1534
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1535
1535
|
}
|
1536
1536
|
/**
|
1537
1537
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1867,154 +1867,154 @@ class ServingConfigServiceClient {
|
|
1867
1867
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1868
1868
|
}
|
1869
1869
|
/**
|
1870
|
-
* Return a fully-qualified
|
1870
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1871
1871
|
*
|
1872
1872
|
* @param {string} project
|
1873
1873
|
* @param {string} location
|
1874
1874
|
* @param {string} collection
|
1875
1875
|
* @param {string} engine
|
1876
1876
|
* @param {string} session
|
1877
|
+
* @param {string} answer
|
1877
1878
|
* @returns {string} Resource name string.
|
1878
1879
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
1880
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1881
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1881
1882
|
project: project,
|
1882
1883
|
location: location,
|
1883
1884
|
collection: collection,
|
1884
1885
|
engine: engine,
|
1885
1886
|
session: session,
|
1887
|
+
answer: answer,
|
1886
1888
|
});
|
1887
1889
|
}
|
1888
1890
|
/**
|
1889
|
-
* Parse the project from
|
1891
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1890
1892
|
*
|
1891
|
-
* @param {string}
|
1892
|
-
* A fully-qualified path representing
|
1893
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1894
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1893
1895
|
* @returns {string} A string representing the project.
|
1894
1896
|
*/
|
1895
|
-
|
1896
|
-
return this.pathTemplates.
|
1897
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1898
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1897
1899
|
}
|
1898
1900
|
/**
|
1899
|
-
* Parse the location from
|
1901
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1900
1902
|
*
|
1901
|
-
* @param {string}
|
1902
|
-
* A fully-qualified path representing
|
1903
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1904
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1903
1905
|
* @returns {string} A string representing the location.
|
1904
1906
|
*/
|
1905
|
-
|
1906
|
-
return this.pathTemplates.
|
1907
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1908
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1907
1909
|
}
|
1908
1910
|
/**
|
1909
|
-
* Parse the collection from
|
1911
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1910
1912
|
*
|
1911
|
-
* @param {string}
|
1912
|
-
* A fully-qualified path representing
|
1913
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1914
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1913
1915
|
* @returns {string} A string representing the collection.
|
1914
1916
|
*/
|
1915
|
-
|
1916
|
-
return this.pathTemplates.
|
1917
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1918
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1917
1919
|
}
|
1918
1920
|
/**
|
1919
|
-
* Parse the engine from
|
1921
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1920
1922
|
*
|
1921
|
-
* @param {string}
|
1922
|
-
* A fully-qualified path representing
|
1923
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1924
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1923
1925
|
* @returns {string} A string representing the engine.
|
1924
1926
|
*/
|
1925
|
-
|
1926
|
-
return this.pathTemplates.
|
1927
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1928
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1927
1929
|
}
|
1928
1930
|
/**
|
1929
|
-
* Parse the session from
|
1931
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1930
1932
|
*
|
1931
|
-
* @param {string}
|
1932
|
-
* A fully-qualified path representing
|
1933
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1934
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1933
1935
|
* @returns {string} A string representing the session.
|
1934
1936
|
*/
|
1935
|
-
|
1936
|
-
return this.pathTemplates.
|
1937
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1938
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1937
1939
|
}
|
1938
1940
|
/**
|
1939
|
-
*
|
1941
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1942
|
+
*
|
1943
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1944
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1945
|
+
* @returns {string} A string representing the answer.
|
1946
|
+
*/
|
1947
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1948
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1949
|
+
}
|
1950
|
+
/**
|
1951
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1940
1952
|
*
|
1941
1953
|
* @param {string} project
|
1942
1954
|
* @param {string} location
|
1943
1955
|
* @param {string} collection
|
1944
1956
|
* @param {string} engine
|
1945
1957
|
* @param {string} session
|
1946
|
-
* @param {string} answer
|
1947
1958
|
* @returns {string} Resource name string.
|
1948
1959
|
*/
|
1949
|
-
|
1950
|
-
return this.pathTemplates.
|
1960
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1961
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1951
1962
|
project: project,
|
1952
1963
|
location: location,
|
1953
1964
|
collection: collection,
|
1954
1965
|
engine: engine,
|
1955
1966
|
session: session,
|
1956
|
-
answer: answer,
|
1957
1967
|
});
|
1958
1968
|
}
|
1959
1969
|
/**
|
1960
|
-
* Parse the project from
|
1970
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1961
1971
|
*
|
1962
|
-
* @param {string}
|
1963
|
-
* A fully-qualified path representing
|
1972
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1973
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1964
1974
|
* @returns {string} A string representing the project.
|
1965
1975
|
*/
|
1966
|
-
|
1967
|
-
return this.pathTemplates.
|
1976
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1977
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1968
1978
|
}
|
1969
1979
|
/**
|
1970
|
-
* Parse the location from
|
1980
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1971
1981
|
*
|
1972
|
-
* @param {string}
|
1973
|
-
* A fully-qualified path representing
|
1982
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1983
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1974
1984
|
* @returns {string} A string representing the location.
|
1975
1985
|
*/
|
1976
|
-
|
1977
|
-
return this.pathTemplates.
|
1986
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1987
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1978
1988
|
}
|
1979
1989
|
/**
|
1980
|
-
* Parse the collection from
|
1990
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1981
1991
|
*
|
1982
|
-
* @param {string}
|
1983
|
-
* A fully-qualified path representing
|
1992
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1993
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1984
1994
|
* @returns {string} A string representing the collection.
|
1985
1995
|
*/
|
1986
|
-
|
1987
|
-
return this.pathTemplates.
|
1996
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1997
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1988
1998
|
}
|
1989
1999
|
/**
|
1990
|
-
* Parse the engine from
|
2000
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1991
2001
|
*
|
1992
|
-
* @param {string}
|
1993
|
-
* A fully-qualified path representing
|
2002
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2003
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1994
2004
|
* @returns {string} A string representing the engine.
|
1995
2005
|
*/
|
1996
|
-
|
1997
|
-
return this.pathTemplates.
|
2006
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2007
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1998
2008
|
}
|
1999
2009
|
/**
|
2000
|
-
* Parse the session from
|
2010
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2001
2011
|
*
|
2002
|
-
* @param {string}
|
2003
|
-
* A fully-qualified path representing
|
2012
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2013
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2004
2014
|
* @returns {string} A string representing the session.
|
2005
2015
|
*/
|
2006
|
-
|
2007
|
-
return this.pathTemplates.
|
2008
|
-
}
|
2009
|
-
/**
|
2010
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2011
|
-
*
|
2012
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2013
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2014
|
-
* @returns {string} A string representing the answer.
|
2015
|
-
*/
|
2016
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2017
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2016
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2017
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2018
2018
|
}
|
2019
2019
|
/**
|
2020
2020
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2541,63 +2541,6 @@ class ServingConfigServiceClient {
|
|
2541
2541
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2542
2542
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2543
2543
|
}
|
2544
|
-
/**
|
2545
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2546
|
-
*
|
2547
|
-
* @param {string} project
|
2548
|
-
* @param {string} location
|
2549
|
-
* @param {string} data_store
|
2550
|
-
* @param {string} session
|
2551
|
-
* @returns {string} Resource name string.
|
2552
|
-
*/
|
2553
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2554
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2555
|
-
project: project,
|
2556
|
-
location: location,
|
2557
|
-
data_store: dataStore,
|
2558
|
-
session: session,
|
2559
|
-
});
|
2560
|
-
}
|
2561
|
-
/**
|
2562
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2563
|
-
*
|
2564
|
-
* @param {string} projectLocationDataStoreSessionName
|
2565
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2566
|
-
* @returns {string} A string representing the project.
|
2567
|
-
*/
|
2568
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2569
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2570
|
-
}
|
2571
|
-
/**
|
2572
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2573
|
-
*
|
2574
|
-
* @param {string} projectLocationDataStoreSessionName
|
2575
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2576
|
-
* @returns {string} A string representing the location.
|
2577
|
-
*/
|
2578
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2579
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2580
|
-
}
|
2581
|
-
/**
|
2582
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2583
|
-
*
|
2584
|
-
* @param {string} projectLocationDataStoreSessionName
|
2585
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2586
|
-
* @returns {string} A string representing the data_store.
|
2587
|
-
*/
|
2588
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2589
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2590
|
-
}
|
2591
|
-
/**
|
2592
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2593
|
-
*
|
2594
|
-
* @param {string} projectLocationDataStoreSessionName
|
2595
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2596
|
-
* @returns {string} A string representing the session.
|
2597
|
-
*/
|
2598
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2599
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2600
|
-
}
|
2601
2544
|
/**
|
2602
2545
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2603
2546
|
*
|
@@ -2667,6 +2610,63 @@ class ServingConfigServiceClient {
|
|
2667
2610
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2668
2611
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2669
2612
|
}
|
2613
|
+
/**
|
2614
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2615
|
+
*
|
2616
|
+
* @param {string} project
|
2617
|
+
* @param {string} location
|
2618
|
+
* @param {string} data_store
|
2619
|
+
* @param {string} session
|
2620
|
+
* @returns {string} Resource name string.
|
2621
|
+
*/
|
2622
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2623
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2624
|
+
project: project,
|
2625
|
+
location: location,
|
2626
|
+
data_store: dataStore,
|
2627
|
+
session: session,
|
2628
|
+
});
|
2629
|
+
}
|
2630
|
+
/**
|
2631
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2632
|
+
*
|
2633
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2634
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2635
|
+
* @returns {string} A string representing the project.
|
2636
|
+
*/
|
2637
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2638
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2639
|
+
}
|
2640
|
+
/**
|
2641
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2642
|
+
*
|
2643
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2644
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2645
|
+
* @returns {string} A string representing the location.
|
2646
|
+
*/
|
2647
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2648
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2649
|
+
}
|
2650
|
+
/**
|
2651
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2652
|
+
*
|
2653
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2654
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2655
|
+
* @returns {string} A string representing the data_store.
|
2656
|
+
*/
|
2657
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2658
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2659
|
+
}
|
2660
|
+
/**
|
2661
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2662
|
+
*
|
2663
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2664
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2665
|
+
* @returns {string} A string representing the session.
|
2666
|
+
*/
|
2667
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2668
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2669
|
+
}
|
2670
2670
|
/**
|
2671
2671
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2672
2672
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|