@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 SampleQuerySetServiceClient {
|
|
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 SampleQuerySetServiceClient {
|
|
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}'),
|
@@ -1488,154 +1488,154 @@ class SampleQuerySetServiceClient {
|
|
1488
1488
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1489
1489
|
}
|
1490
1490
|
/**
|
1491
|
-
* Return a fully-qualified
|
1491
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1492
1492
|
*
|
1493
1493
|
* @param {string} project
|
1494
1494
|
* @param {string} location
|
1495
1495
|
* @param {string} collection
|
1496
1496
|
* @param {string} data_store
|
1497
1497
|
* @param {string} session
|
1498
|
+
* @param {string} answer
|
1498
1499
|
* @returns {string} Resource name string.
|
1499
1500
|
*/
|
1500
|
-
|
1501
|
-
return this.pathTemplates.
|
1501
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1502
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1502
1503
|
project: project,
|
1503
1504
|
location: location,
|
1504
1505
|
collection: collection,
|
1505
1506
|
data_store: dataStore,
|
1506
1507
|
session: session,
|
1508
|
+
answer: answer,
|
1507
1509
|
});
|
1508
1510
|
}
|
1509
1511
|
/**
|
1510
|
-
* Parse the project from
|
1512
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1511
1513
|
*
|
1512
|
-
* @param {string}
|
1513
|
-
* A fully-qualified path representing
|
1514
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1515
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1514
1516
|
* @returns {string} A string representing the project.
|
1515
1517
|
*/
|
1516
|
-
|
1517
|
-
return this.pathTemplates.
|
1518
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1519
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1518
1520
|
}
|
1519
1521
|
/**
|
1520
|
-
* Parse the location from
|
1522
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1521
1523
|
*
|
1522
|
-
* @param {string}
|
1523
|
-
* A fully-qualified path representing
|
1524
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1525
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1524
1526
|
* @returns {string} A string representing the location.
|
1525
1527
|
*/
|
1526
|
-
|
1527
|
-
return this.pathTemplates.
|
1528
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1529
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1528
1530
|
}
|
1529
1531
|
/**
|
1530
|
-
* Parse the collection from
|
1532
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1531
1533
|
*
|
1532
|
-
* @param {string}
|
1533
|
-
* A fully-qualified path representing
|
1534
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1535
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1534
1536
|
* @returns {string} A string representing the collection.
|
1535
1537
|
*/
|
1536
|
-
|
1537
|
-
return this.pathTemplates.
|
1538
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1539
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1538
1540
|
}
|
1539
1541
|
/**
|
1540
|
-
* Parse the data_store from
|
1542
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1541
1543
|
*
|
1542
|
-
* @param {string}
|
1543
|
-
* A fully-qualified path representing
|
1544
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1545
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1544
1546
|
* @returns {string} A string representing the data_store.
|
1545
1547
|
*/
|
1546
|
-
|
1547
|
-
return this.pathTemplates.
|
1548
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1549
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1548
1550
|
}
|
1549
1551
|
/**
|
1550
|
-
* Parse the session from
|
1552
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1551
1553
|
*
|
1552
|
-
* @param {string}
|
1553
|
-
* A fully-qualified path representing
|
1554
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1555
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1554
1556
|
* @returns {string} A string representing the session.
|
1555
1557
|
*/
|
1556
|
-
|
1557
|
-
return this.pathTemplates.
|
1558
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1559
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1558
1560
|
}
|
1559
1561
|
/**
|
1560
|
-
*
|
1562
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1563
|
+
*
|
1564
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1565
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1566
|
+
* @returns {string} A string representing the answer.
|
1567
|
+
*/
|
1568
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1569
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1570
|
+
}
|
1571
|
+
/**
|
1572
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1561
1573
|
*
|
1562
1574
|
* @param {string} project
|
1563
1575
|
* @param {string} location
|
1564
1576
|
* @param {string} collection
|
1565
1577
|
* @param {string} data_store
|
1566
1578
|
* @param {string} session
|
1567
|
-
* @param {string} answer
|
1568
1579
|
* @returns {string} Resource name string.
|
1569
1580
|
*/
|
1570
|
-
|
1571
|
-
return this.pathTemplates.
|
1581
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1582
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1572
1583
|
project: project,
|
1573
1584
|
location: location,
|
1574
1585
|
collection: collection,
|
1575
1586
|
data_store: dataStore,
|
1576
1587
|
session: session,
|
1577
|
-
answer: answer,
|
1578
1588
|
});
|
1579
1589
|
}
|
1580
1590
|
/**
|
1581
|
-
* Parse the project from
|
1591
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1582
1592
|
*
|
1583
|
-
* @param {string}
|
1584
|
-
* A fully-qualified path representing
|
1593
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1594
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1585
1595
|
* @returns {string} A string representing the project.
|
1586
1596
|
*/
|
1587
|
-
|
1588
|
-
return this.pathTemplates.
|
1597
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1598
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1589
1599
|
}
|
1590
1600
|
/**
|
1591
|
-
* Parse the location from
|
1601
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1592
1602
|
*
|
1593
|
-
* @param {string}
|
1594
|
-
* A fully-qualified path representing
|
1603
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1604
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1595
1605
|
* @returns {string} A string representing the location.
|
1596
1606
|
*/
|
1597
|
-
|
1598
|
-
return this.pathTemplates.
|
1607
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1608
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1599
1609
|
}
|
1600
1610
|
/**
|
1601
|
-
* Parse the collection from
|
1611
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1602
1612
|
*
|
1603
|
-
* @param {string}
|
1604
|
-
* A fully-qualified path representing
|
1613
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1614
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1605
1615
|
* @returns {string} A string representing the collection.
|
1606
1616
|
*/
|
1607
|
-
|
1608
|
-
return this.pathTemplates.
|
1617
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1618
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1609
1619
|
}
|
1610
1620
|
/**
|
1611
|
-
* Parse the data_store from
|
1621
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1612
1622
|
*
|
1613
|
-
* @param {string}
|
1614
|
-
* A fully-qualified path representing
|
1623
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1624
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1615
1625
|
* @returns {string} A string representing the data_store.
|
1616
1626
|
*/
|
1617
|
-
|
1618
|
-
return this.pathTemplates.
|
1627
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1628
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1619
1629
|
}
|
1620
1630
|
/**
|
1621
|
-
* Parse the session from
|
1631
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1622
1632
|
*
|
1623
|
-
* @param {string}
|
1624
|
-
* A fully-qualified path representing
|
1633
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1634
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1625
1635
|
* @returns {string} A string representing the session.
|
1626
1636
|
*/
|
1627
|
-
|
1628
|
-
return this.pathTemplates.
|
1629
|
-
}
|
1630
|
-
/**
|
1631
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1632
|
-
*
|
1633
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1634
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1635
|
-
* @returns {string} A string representing the answer.
|
1636
|
-
*/
|
1637
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1638
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1637
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1638
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1639
1639
|
}
|
1640
1640
|
/**
|
1641
1641
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1971,154 +1971,154 @@ class SampleQuerySetServiceClient {
|
|
1971
1971
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1972
1972
|
}
|
1973
1973
|
/**
|
1974
|
-
* Return a fully-qualified
|
1974
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1975
1975
|
*
|
1976
1976
|
* @param {string} project
|
1977
1977
|
* @param {string} location
|
1978
1978
|
* @param {string} collection
|
1979
1979
|
* @param {string} engine
|
1980
1980
|
* @param {string} session
|
1981
|
+
* @param {string} answer
|
1981
1982
|
* @returns {string} Resource name string.
|
1982
1983
|
*/
|
1983
|
-
|
1984
|
-
return this.pathTemplates.
|
1984
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1985
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1985
1986
|
project: project,
|
1986
1987
|
location: location,
|
1987
1988
|
collection: collection,
|
1988
1989
|
engine: engine,
|
1989
1990
|
session: session,
|
1991
|
+
answer: answer,
|
1990
1992
|
});
|
1991
1993
|
}
|
1992
1994
|
/**
|
1993
|
-
* Parse the project from
|
1995
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1994
1996
|
*
|
1995
|
-
* @param {string}
|
1996
|
-
* A fully-qualified path representing
|
1997
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1998
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1997
1999
|
* @returns {string} A string representing the project.
|
1998
2000
|
*/
|
1999
|
-
|
2000
|
-
return this.pathTemplates.
|
2001
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2002
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2001
2003
|
}
|
2002
2004
|
/**
|
2003
|
-
* Parse the location from
|
2005
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2004
2006
|
*
|
2005
|
-
* @param {string}
|
2006
|
-
* A fully-qualified path representing
|
2007
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2008
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2007
2009
|
* @returns {string} A string representing the location.
|
2008
2010
|
*/
|
2009
|
-
|
2010
|
-
return this.pathTemplates.
|
2011
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2012
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2011
2013
|
}
|
2012
2014
|
/**
|
2013
|
-
* Parse the collection from
|
2015
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2014
2016
|
*
|
2015
|
-
* @param {string}
|
2016
|
-
* A fully-qualified path representing
|
2017
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2018
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2017
2019
|
* @returns {string} A string representing the collection.
|
2018
2020
|
*/
|
2019
|
-
|
2020
|
-
return this.pathTemplates.
|
2021
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2022
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2021
2023
|
}
|
2022
2024
|
/**
|
2023
|
-
* Parse the engine from
|
2025
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2024
2026
|
*
|
2025
|
-
* @param {string}
|
2026
|
-
* A fully-qualified path representing
|
2027
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2028
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2027
2029
|
* @returns {string} A string representing the engine.
|
2028
2030
|
*/
|
2029
|
-
|
2030
|
-
return this.pathTemplates.
|
2031
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2032
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2031
2033
|
}
|
2032
2034
|
/**
|
2033
|
-
* Parse the session from
|
2035
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2034
2036
|
*
|
2035
|
-
* @param {string}
|
2036
|
-
* A fully-qualified path representing
|
2037
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2038
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2037
2039
|
* @returns {string} A string representing the session.
|
2038
2040
|
*/
|
2039
|
-
|
2040
|
-
return this.pathTemplates.
|
2041
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2042
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2041
2043
|
}
|
2042
2044
|
/**
|
2043
|
-
*
|
2045
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2046
|
+
*
|
2047
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2048
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2049
|
+
* @returns {string} A string representing the answer.
|
2050
|
+
*/
|
2051
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2052
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2053
|
+
}
|
2054
|
+
/**
|
2055
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2044
2056
|
*
|
2045
2057
|
* @param {string} project
|
2046
2058
|
* @param {string} location
|
2047
2059
|
* @param {string} collection
|
2048
2060
|
* @param {string} engine
|
2049
2061
|
* @param {string} session
|
2050
|
-
* @param {string} answer
|
2051
2062
|
* @returns {string} Resource name string.
|
2052
2063
|
*/
|
2053
|
-
|
2054
|
-
return this.pathTemplates.
|
2064
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2065
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2055
2066
|
project: project,
|
2056
2067
|
location: location,
|
2057
2068
|
collection: collection,
|
2058
2069
|
engine: engine,
|
2059
2070
|
session: session,
|
2060
|
-
answer: answer,
|
2061
2071
|
});
|
2062
2072
|
}
|
2063
2073
|
/**
|
2064
|
-
* Parse the project from
|
2074
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2065
2075
|
*
|
2066
|
-
* @param {string}
|
2067
|
-
* A fully-qualified path representing
|
2076
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2077
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2068
2078
|
* @returns {string} A string representing the project.
|
2069
2079
|
*/
|
2070
|
-
|
2071
|
-
return this.pathTemplates.
|
2080
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2081
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2072
2082
|
}
|
2073
2083
|
/**
|
2074
|
-
* Parse the location from
|
2084
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2075
2085
|
*
|
2076
|
-
* @param {string}
|
2077
|
-
* A fully-qualified path representing
|
2086
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2087
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2078
2088
|
* @returns {string} A string representing the location.
|
2079
2089
|
*/
|
2080
|
-
|
2081
|
-
return this.pathTemplates.
|
2090
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2091
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2082
2092
|
}
|
2083
2093
|
/**
|
2084
|
-
* Parse the collection from
|
2094
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2085
2095
|
*
|
2086
|
-
* @param {string}
|
2087
|
-
* A fully-qualified path representing
|
2096
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2097
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2088
2098
|
* @returns {string} A string representing the collection.
|
2089
2099
|
*/
|
2090
|
-
|
2091
|
-
return this.pathTemplates.
|
2100
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2101
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2092
2102
|
}
|
2093
2103
|
/**
|
2094
|
-
* Parse the engine from
|
2104
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2095
2105
|
*
|
2096
|
-
* @param {string}
|
2097
|
-
* A fully-qualified path representing
|
2106
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2107
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2098
2108
|
* @returns {string} A string representing the engine.
|
2099
2109
|
*/
|
2100
|
-
|
2101
|
-
return this.pathTemplates.
|
2110
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2111
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2102
2112
|
}
|
2103
2113
|
/**
|
2104
|
-
* Parse the session from
|
2114
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2105
2115
|
*
|
2106
|
-
* @param {string}
|
2107
|
-
* A fully-qualified path representing
|
2116
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2117
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2108
2118
|
* @returns {string} A string representing the session.
|
2109
2119
|
*/
|
2110
|
-
|
2111
|
-
return this.pathTemplates.
|
2112
|
-
}
|
2113
|
-
/**
|
2114
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2115
|
-
*
|
2116
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2117
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2118
|
-
* @returns {string} A string representing the answer.
|
2119
|
-
*/
|
2120
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2121
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2120
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2121
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2122
2122
|
}
|
2123
2123
|
/**
|
2124
2124
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2645,63 +2645,6 @@ class SampleQuerySetServiceClient {
|
|
2645
2645
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2646
2646
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2647
2647
|
}
|
2648
|
-
/**
|
2649
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2650
|
-
*
|
2651
|
-
* @param {string} project
|
2652
|
-
* @param {string} location
|
2653
|
-
* @param {string} data_store
|
2654
|
-
* @param {string} session
|
2655
|
-
* @returns {string} Resource name string.
|
2656
|
-
*/
|
2657
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2658
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2659
|
-
project: project,
|
2660
|
-
location: location,
|
2661
|
-
data_store: dataStore,
|
2662
|
-
session: session,
|
2663
|
-
});
|
2664
|
-
}
|
2665
|
-
/**
|
2666
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2667
|
-
*
|
2668
|
-
* @param {string} projectLocationDataStoreSessionName
|
2669
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2670
|
-
* @returns {string} A string representing the project.
|
2671
|
-
*/
|
2672
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2673
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2674
|
-
}
|
2675
|
-
/**
|
2676
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2677
|
-
*
|
2678
|
-
* @param {string} projectLocationDataStoreSessionName
|
2679
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2680
|
-
* @returns {string} A string representing the location.
|
2681
|
-
*/
|
2682
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2683
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2684
|
-
}
|
2685
|
-
/**
|
2686
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2687
|
-
*
|
2688
|
-
* @param {string} projectLocationDataStoreSessionName
|
2689
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2690
|
-
* @returns {string} A string representing the data_store.
|
2691
|
-
*/
|
2692
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2693
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2694
|
-
}
|
2695
|
-
/**
|
2696
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2697
|
-
*
|
2698
|
-
* @param {string} projectLocationDataStoreSessionName
|
2699
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2700
|
-
* @returns {string} A string representing the session.
|
2701
|
-
*/
|
2702
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2703
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2704
|
-
}
|
2705
2648
|
/**
|
2706
2649
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2707
2650
|
*
|
@@ -2771,6 +2714,63 @@ class SampleQuerySetServiceClient {
|
|
2771
2714
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2772
2715
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2773
2716
|
}
|
2717
|
+
/**
|
2718
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2719
|
+
*
|
2720
|
+
* @param {string} project
|
2721
|
+
* @param {string} location
|
2722
|
+
* @param {string} data_store
|
2723
|
+
* @param {string} session
|
2724
|
+
* @returns {string} Resource name string.
|
2725
|
+
*/
|
2726
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2727
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2728
|
+
project: project,
|
2729
|
+
location: location,
|
2730
|
+
data_store: dataStore,
|
2731
|
+
session: session,
|
2732
|
+
});
|
2733
|
+
}
|
2734
|
+
/**
|
2735
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2736
|
+
*
|
2737
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2738
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2739
|
+
* @returns {string} A string representing the project.
|
2740
|
+
*/
|
2741
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2742
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2743
|
+
}
|
2744
|
+
/**
|
2745
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2746
|
+
*
|
2747
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2748
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2749
|
+
* @returns {string} A string representing the location.
|
2750
|
+
*/
|
2751
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2752
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2753
|
+
}
|
2754
|
+
/**
|
2755
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2756
|
+
*
|
2757
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2758
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2759
|
+
* @returns {string} A string representing the data_store.
|
2760
|
+
*/
|
2761
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2762
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2763
|
+
}
|
2764
|
+
/**
|
2765
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2766
|
+
*
|
2767
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2768
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2769
|
+
* @returns {string} A string representing the session.
|
2770
|
+
*/
|
2771
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2772
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2773
|
+
}
|
2774
2774
|
/**
|
2775
2775
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2776
2776
|
*
|
@@ -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",
|