@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -176,15 +176,15 @@ class SearchServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -195,8 +195,8 @@ class SearchServiceClient {
|
|
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}'),
|
@@ -588,22 +588,16 @@ class SearchServiceClient {
|
|
588
588
|
* between /search API calls and /answer API calls.
|
589
589
|
*
|
590
590
|
* Example #1 (multi-turn /search API calls):
|
591
|
-
*
|
592
|
-
*
|
593
|
-
*
|
594
|
-
*
|
595
|
-
*
|
596
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
591
|
+
* Call /search API with the session ID generated in the first call.
|
592
|
+
* Here, the previous search query gets considered in query
|
593
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
594
|
+
* and the current query is "How about 2023?", the current query will
|
595
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
597
596
|
*
|
598
597
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
599
|
-
*
|
600
|
-
*
|
601
|
-
*
|
602
|
-
* results from the first search call.
|
603
|
-
*
|
604
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
605
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
606
|
-
* to create a session manually.
|
598
|
+
* Call /answer API with the session ID generated in the first call.
|
599
|
+
* Here, the answer generation happens in the context of the search
|
600
|
+
* results from the first search call.
|
607
601
|
*
|
608
602
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
609
603
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -883,22 +877,16 @@ class SearchServiceClient {
|
|
883
877
|
* between /search API calls and /answer API calls.
|
884
878
|
*
|
885
879
|
* Example #1 (multi-turn /search API calls):
|
886
|
-
*
|
887
|
-
*
|
888
|
-
*
|
889
|
-
*
|
890
|
-
*
|
891
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
880
|
+
* Call /search API with the session ID generated in the first call.
|
881
|
+
* Here, the previous search query gets considered in query
|
882
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
883
|
+
* and the current query is "How about 2023?", the current query will
|
884
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
892
885
|
*
|
893
886
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
894
|
-
*
|
895
|
-
*
|
896
|
-
*
|
897
|
-
* results from the first search call.
|
898
|
-
*
|
899
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
900
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
901
|
-
* to create a session manually.
|
887
|
+
* Call /answer API with the session ID generated in the first call.
|
888
|
+
* Here, the answer generation happens in the context of the search
|
889
|
+
* results from the first search call.
|
902
890
|
*
|
903
891
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
904
892
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -1856,154 +1844,154 @@ class SearchServiceClient {
|
|
1856
1844
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1857
1845
|
}
|
1858
1846
|
/**
|
1859
|
-
* Return a fully-qualified
|
1847
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1860
1848
|
*
|
1861
1849
|
* @param {string} project
|
1862
1850
|
* @param {string} location
|
1863
1851
|
* @param {string} collection
|
1864
1852
|
* @param {string} data_store
|
1865
1853
|
* @param {string} session
|
1854
|
+
* @param {string} answer
|
1866
1855
|
* @returns {string} Resource name string.
|
1867
1856
|
*/
|
1868
|
-
|
1869
|
-
return this.pathTemplates.
|
1857
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1858
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1870
1859
|
project: project,
|
1871
1860
|
location: location,
|
1872
1861
|
collection: collection,
|
1873
1862
|
data_store: dataStore,
|
1874
1863
|
session: session,
|
1864
|
+
answer: answer,
|
1875
1865
|
});
|
1876
1866
|
}
|
1877
1867
|
/**
|
1878
|
-
* Parse the project from
|
1868
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1879
1869
|
*
|
1880
|
-
* @param {string}
|
1881
|
-
* A fully-qualified path representing
|
1870
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1871
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1882
1872
|
* @returns {string} A string representing the project.
|
1883
1873
|
*/
|
1884
|
-
|
1885
|
-
return this.pathTemplates.
|
1874
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1875
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1886
1876
|
}
|
1887
1877
|
/**
|
1888
|
-
* Parse the location from
|
1878
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1889
1879
|
*
|
1890
|
-
* @param {string}
|
1891
|
-
* A fully-qualified path representing
|
1880
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1881
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1892
1882
|
* @returns {string} A string representing the location.
|
1893
1883
|
*/
|
1894
|
-
|
1895
|
-
return this.pathTemplates.
|
1884
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1885
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1896
1886
|
}
|
1897
1887
|
/**
|
1898
|
-
* Parse the collection from
|
1888
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1899
1889
|
*
|
1900
|
-
* @param {string}
|
1901
|
-
* A fully-qualified path representing
|
1890
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1891
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1902
1892
|
* @returns {string} A string representing the collection.
|
1903
1893
|
*/
|
1904
|
-
|
1905
|
-
return this.pathTemplates.
|
1894
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1895
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1906
1896
|
}
|
1907
1897
|
/**
|
1908
|
-
* Parse the data_store from
|
1898
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1909
1899
|
*
|
1910
|
-
* @param {string}
|
1911
|
-
* A fully-qualified path representing
|
1900
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1901
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1912
1902
|
* @returns {string} A string representing the data_store.
|
1913
1903
|
*/
|
1914
|
-
|
1915
|
-
return this.pathTemplates.
|
1904
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1905
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1916
1906
|
}
|
1917
1907
|
/**
|
1918
|
-
* Parse the session from
|
1908
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1919
1909
|
*
|
1920
|
-
* @param {string}
|
1921
|
-
* A fully-qualified path representing
|
1910
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1911
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1922
1912
|
* @returns {string} A string representing the session.
|
1923
1913
|
*/
|
1924
|
-
|
1925
|
-
return this.pathTemplates.
|
1914
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1915
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1926
1916
|
}
|
1927
1917
|
/**
|
1928
|
-
*
|
1918
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1919
|
+
*
|
1920
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1921
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1922
|
+
* @returns {string} A string representing the answer.
|
1923
|
+
*/
|
1924
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1925
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1926
|
+
}
|
1927
|
+
/**
|
1928
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1929
1929
|
*
|
1930
1930
|
* @param {string} project
|
1931
1931
|
* @param {string} location
|
1932
1932
|
* @param {string} collection
|
1933
1933
|
* @param {string} data_store
|
1934
1934
|
* @param {string} session
|
1935
|
-
* @param {string} answer
|
1936
1935
|
* @returns {string} Resource name string.
|
1937
1936
|
*/
|
1938
|
-
|
1939
|
-
return this.pathTemplates.
|
1937
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1938
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1940
1939
|
project: project,
|
1941
1940
|
location: location,
|
1942
1941
|
collection: collection,
|
1943
1942
|
data_store: dataStore,
|
1944
1943
|
session: session,
|
1945
|
-
answer: answer,
|
1946
1944
|
});
|
1947
1945
|
}
|
1948
1946
|
/**
|
1949
|
-
* Parse the project from
|
1947
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1950
1948
|
*
|
1951
|
-
* @param {string}
|
1952
|
-
* A fully-qualified path representing
|
1949
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1950
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1953
1951
|
* @returns {string} A string representing the project.
|
1954
1952
|
*/
|
1955
|
-
|
1956
|
-
return this.pathTemplates.
|
1953
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1954
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1957
1955
|
}
|
1958
1956
|
/**
|
1959
|
-
* Parse the location from
|
1957
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1960
1958
|
*
|
1961
|
-
* @param {string}
|
1962
|
-
* A fully-qualified path representing
|
1959
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1960
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1963
1961
|
* @returns {string} A string representing the location.
|
1964
1962
|
*/
|
1965
|
-
|
1966
|
-
return this.pathTemplates.
|
1963
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1964
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1967
1965
|
}
|
1968
1966
|
/**
|
1969
|
-
* Parse the collection from
|
1967
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1970
1968
|
*
|
1971
|
-
* @param {string}
|
1972
|
-
* A fully-qualified path representing
|
1969
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1970
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1973
1971
|
* @returns {string} A string representing the collection.
|
1974
1972
|
*/
|
1975
|
-
|
1976
|
-
return this.pathTemplates.
|
1973
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1974
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1977
1975
|
}
|
1978
1976
|
/**
|
1979
|
-
* Parse the data_store from
|
1977
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1980
1978
|
*
|
1981
|
-
* @param {string}
|
1982
|
-
* A fully-qualified path representing
|
1979
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1980
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1983
1981
|
* @returns {string} A string representing the data_store.
|
1984
1982
|
*/
|
1985
|
-
|
1986
|
-
return this.pathTemplates.
|
1983
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1984
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1987
1985
|
}
|
1988
1986
|
/**
|
1989
|
-
* Parse the session from
|
1987
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1990
1988
|
*
|
1991
|
-
* @param {string}
|
1992
|
-
* A fully-qualified path representing
|
1989
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1990
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1993
1991
|
* @returns {string} A string representing the session.
|
1994
1992
|
*/
|
1995
|
-
|
1996
|
-
return this.pathTemplates.
|
1997
|
-
}
|
1998
|
-
/**
|
1999
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2000
|
-
*
|
2001
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2002
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2003
|
-
* @returns {string} A string representing the answer.
|
2004
|
-
*/
|
2005
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2006
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1993
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1994
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2007
1995
|
}
|
2008
1996
|
/**
|
2009
1997
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2339,154 +2327,154 @@ class SearchServiceClient {
|
|
2339
2327
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2340
2328
|
}
|
2341
2329
|
/**
|
2342
|
-
* Return a fully-qualified
|
2330
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2343
2331
|
*
|
2344
2332
|
* @param {string} project
|
2345
2333
|
* @param {string} location
|
2346
2334
|
* @param {string} collection
|
2347
2335
|
* @param {string} engine
|
2348
2336
|
* @param {string} session
|
2337
|
+
* @param {string} answer
|
2349
2338
|
* @returns {string} Resource name string.
|
2350
2339
|
*/
|
2351
|
-
|
2352
|
-
return this.pathTemplates.
|
2340
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2341
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2353
2342
|
project: project,
|
2354
2343
|
location: location,
|
2355
2344
|
collection: collection,
|
2356
2345
|
engine: engine,
|
2357
2346
|
session: session,
|
2347
|
+
answer: answer,
|
2358
2348
|
});
|
2359
2349
|
}
|
2360
2350
|
/**
|
2361
|
-
* Parse the project from
|
2351
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2362
2352
|
*
|
2363
|
-
* @param {string}
|
2364
|
-
* A fully-qualified path representing
|
2353
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2354
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2365
2355
|
* @returns {string} A string representing the project.
|
2366
2356
|
*/
|
2367
|
-
|
2368
|
-
return this.pathTemplates.
|
2357
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2358
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2369
2359
|
}
|
2370
2360
|
/**
|
2371
|
-
* Parse the location from
|
2361
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2372
2362
|
*
|
2373
|
-
* @param {string}
|
2374
|
-
* A fully-qualified path representing
|
2363
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2364
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2375
2365
|
* @returns {string} A string representing the location.
|
2376
2366
|
*/
|
2377
|
-
|
2378
|
-
return this.pathTemplates.
|
2367
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2368
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2379
2369
|
}
|
2380
2370
|
/**
|
2381
|
-
* Parse the collection from
|
2371
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2382
2372
|
*
|
2383
|
-
* @param {string}
|
2384
|
-
* A fully-qualified path representing
|
2373
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2374
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2385
2375
|
* @returns {string} A string representing the collection.
|
2386
2376
|
*/
|
2387
|
-
|
2388
|
-
return this.pathTemplates.
|
2377
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2378
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2389
2379
|
}
|
2390
2380
|
/**
|
2391
|
-
* Parse the engine from
|
2381
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2392
2382
|
*
|
2393
|
-
* @param {string}
|
2394
|
-
* A fully-qualified path representing
|
2383
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2384
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2395
2385
|
* @returns {string} A string representing the engine.
|
2396
2386
|
*/
|
2397
|
-
|
2398
|
-
return this.pathTemplates.
|
2387
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2388
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2399
2389
|
}
|
2400
2390
|
/**
|
2401
|
-
* Parse the session from
|
2391
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2402
2392
|
*
|
2403
|
-
* @param {string}
|
2404
|
-
* A fully-qualified path representing
|
2393
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2394
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2405
2395
|
* @returns {string} A string representing the session.
|
2406
2396
|
*/
|
2407
|
-
|
2408
|
-
return this.pathTemplates.
|
2397
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2398
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2409
2399
|
}
|
2410
2400
|
/**
|
2411
|
-
*
|
2401
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2402
|
+
*
|
2403
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2404
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2405
|
+
* @returns {string} A string representing the answer.
|
2406
|
+
*/
|
2407
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2408
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2409
|
+
}
|
2410
|
+
/**
|
2411
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2412
2412
|
*
|
2413
2413
|
* @param {string} project
|
2414
2414
|
* @param {string} location
|
2415
2415
|
* @param {string} collection
|
2416
2416
|
* @param {string} engine
|
2417
2417
|
* @param {string} session
|
2418
|
-
* @param {string} answer
|
2419
2418
|
* @returns {string} Resource name string.
|
2420
2419
|
*/
|
2421
|
-
|
2422
|
-
return this.pathTemplates.
|
2420
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2421
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2423
2422
|
project: project,
|
2424
2423
|
location: location,
|
2425
2424
|
collection: collection,
|
2426
2425
|
engine: engine,
|
2427
2426
|
session: session,
|
2428
|
-
answer: answer,
|
2429
2427
|
});
|
2430
2428
|
}
|
2431
2429
|
/**
|
2432
|
-
* Parse the project from
|
2430
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2433
2431
|
*
|
2434
|
-
* @param {string}
|
2435
|
-
* A fully-qualified path representing
|
2432
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2433
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2436
2434
|
* @returns {string} A string representing the project.
|
2437
2435
|
*/
|
2438
|
-
|
2439
|
-
return this.pathTemplates.
|
2436
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2437
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2440
2438
|
}
|
2441
2439
|
/**
|
2442
|
-
* Parse the location from
|
2440
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2443
2441
|
*
|
2444
|
-
* @param {string}
|
2445
|
-
* A fully-qualified path representing
|
2442
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2443
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2446
2444
|
* @returns {string} A string representing the location.
|
2447
2445
|
*/
|
2448
|
-
|
2449
|
-
return this.pathTemplates.
|
2446
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2447
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2450
2448
|
}
|
2451
2449
|
/**
|
2452
|
-
* Parse the collection from
|
2450
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2453
2451
|
*
|
2454
|
-
* @param {string}
|
2455
|
-
* A fully-qualified path representing
|
2452
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2453
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2456
2454
|
* @returns {string} A string representing the collection.
|
2457
2455
|
*/
|
2458
|
-
|
2459
|
-
return this.pathTemplates.
|
2456
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2457
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2460
2458
|
}
|
2461
2459
|
/**
|
2462
|
-
* Parse the engine from
|
2460
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2463
2461
|
*
|
2464
|
-
* @param {string}
|
2465
|
-
* A fully-qualified path representing
|
2462
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2463
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2466
2464
|
* @returns {string} A string representing the engine.
|
2467
2465
|
*/
|
2468
|
-
|
2469
|
-
return this.pathTemplates.
|
2466
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2467
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2470
2468
|
}
|
2471
2469
|
/**
|
2472
|
-
* Parse the session from
|
2470
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2473
2471
|
*
|
2474
|
-
* @param {string}
|
2475
|
-
* A fully-qualified path representing
|
2472
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2473
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2476
2474
|
* @returns {string} A string representing the session.
|
2477
2475
|
*/
|
2478
|
-
|
2479
|
-
return this.pathTemplates.
|
2480
|
-
}
|
2481
|
-
/**
|
2482
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2483
|
-
*
|
2484
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2485
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2486
|
-
* @returns {string} A string representing the answer.
|
2487
|
-
*/
|
2488
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2489
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2476
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2477
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2490
2478
|
}
|
2491
2479
|
/**
|
2492
2480
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3070,63 +3058,6 @@ class SearchServiceClient {
|
|
3070
3058
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3071
3059
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3072
3060
|
}
|
3073
|
-
/**
|
3074
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3075
|
-
*
|
3076
|
-
* @param {string} project
|
3077
|
-
* @param {string} location
|
3078
|
-
* @param {string} data_store
|
3079
|
-
* @param {string} session
|
3080
|
-
* @returns {string} Resource name string.
|
3081
|
-
*/
|
3082
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3083
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3084
|
-
project: project,
|
3085
|
-
location: location,
|
3086
|
-
data_store: dataStore,
|
3087
|
-
session: session,
|
3088
|
-
});
|
3089
|
-
}
|
3090
|
-
/**
|
3091
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3092
|
-
*
|
3093
|
-
* @param {string} projectLocationDataStoreSessionName
|
3094
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3095
|
-
* @returns {string} A string representing the project.
|
3096
|
-
*/
|
3097
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3098
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3099
|
-
}
|
3100
|
-
/**
|
3101
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3102
|
-
*
|
3103
|
-
* @param {string} projectLocationDataStoreSessionName
|
3104
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3105
|
-
* @returns {string} A string representing the location.
|
3106
|
-
*/
|
3107
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3108
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3109
|
-
}
|
3110
|
-
/**
|
3111
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3112
|
-
*
|
3113
|
-
* @param {string} projectLocationDataStoreSessionName
|
3114
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3115
|
-
* @returns {string} A string representing the data_store.
|
3116
|
-
*/
|
3117
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3118
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3119
|
-
}
|
3120
|
-
/**
|
3121
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3122
|
-
*
|
3123
|
-
* @param {string} projectLocationDataStoreSessionName
|
3124
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3125
|
-
* @returns {string} A string representing the session.
|
3126
|
-
*/
|
3127
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3128
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3129
|
-
}
|
3130
3061
|
/**
|
3131
3062
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3132
3063
|
*
|
@@ -3196,6 +3127,63 @@ class SearchServiceClient {
|
|
3196
3127
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3197
3128
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3198
3129
|
}
|
3130
|
+
/**
|
3131
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3132
|
+
*
|
3133
|
+
* @param {string} project
|
3134
|
+
* @param {string} location
|
3135
|
+
* @param {string} data_store
|
3136
|
+
* @param {string} session
|
3137
|
+
* @returns {string} Resource name string.
|
3138
|
+
*/
|
3139
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3140
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3141
|
+
project: project,
|
3142
|
+
location: location,
|
3143
|
+
data_store: dataStore,
|
3144
|
+
session: session,
|
3145
|
+
});
|
3146
|
+
}
|
3147
|
+
/**
|
3148
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3149
|
+
*
|
3150
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3151
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3152
|
+
* @returns {string} A string representing the project.
|
3153
|
+
*/
|
3154
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3155
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3156
|
+
}
|
3157
|
+
/**
|
3158
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3159
|
+
*
|
3160
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3161
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3162
|
+
* @returns {string} A string representing the location.
|
3163
|
+
*/
|
3164
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3165
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3166
|
+
}
|
3167
|
+
/**
|
3168
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3169
|
+
*
|
3170
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3171
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3172
|
+
* @returns {string} A string representing the data_store.
|
3173
|
+
*/
|
3174
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3175
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3176
|
+
}
|
3177
|
+
/**
|
3178
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3179
|
+
*
|
3180
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3181
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3182
|
+
* @returns {string} A string representing the session.
|
3183
|
+
*/
|
3184
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3185
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3186
|
+
}
|
3199
3187
|
/**
|
3200
3188
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3201
3189
|
*
|