@google-cloud/discoveryengine 2.2.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 +30 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +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/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +18 -3
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +14 -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/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -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 +21218 -11675
- package/build/protos/protos.js +92642 -66407
- package/build/protos/protos.json +5854 -2801
- package/build/src/index.d.ts +16 -1
- package/build/src/index.js +12 -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 +2398 -0
- package/build/src/v1/cmek_config_service_client.js +3426 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +48 -0
- package/build/src/v1/completion_service_client.d.ts +345 -144
- package/build/src/v1/completion_service_client.js +482 -198
- package/build/src/v1/completion_service_proto_list.json +10 -1
- package/build/src/v1/control_service_client.d.ts +345 -144
- package/build/src/v1/control_service_client.js +498 -196
- package/build/src/v1/control_service_proto_list.json +10 -1
- package/build/src/v1/conversational_search_service_client.d.ts +392 -155
- package/build/src/v1/conversational_search_service_client.js +572 -204
- package/build/src/v1/conversational_search_service_proto_list.json +10 -1
- package/build/src/v1/data_store_service_client.d.ts +351 -144
- package/build/src/v1/data_store_service_client.js +488 -198
- package/build/src/v1/data_store_service_proto_list.json +10 -1
- package/build/src/v1/document_service_client.d.ts +345 -144
- package/build/src/v1/document_service_client.js +506 -198
- package/build/src/v1/document_service_proto_list.json +10 -1
- package/build/src/v1/engine_service_client.d.ts +345 -144
- package/build/src/v1/engine_service_client.js +488 -198
- package/build/src/v1/engine_service_proto_list.json +10 -1
- package/build/src/v1/gapic_metadata.json +270 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +345 -144
- package/build/src/v1/grounded_generation_service_client.js +486 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +10 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2581 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3601 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +48 -0
- package/build/src/v1/index.d.ts +5 -0
- package/build/src/v1/index.js +11 -1
- package/build/src/v1/project_service_client.d.ts +345 -144
- package/build/src/v1/project_service_client.js +476 -198
- package/build/src/v1/project_service_proto_list.json +10 -1
- package/build/src/v1/rank_service_client.d.ts +345 -144
- package/build/src/v1/rank_service_client.js +480 -196
- package/build/src/v1/rank_service_proto_list.json +10 -1
- package/build/src/v1/recommendation_service_client.d.ts +345 -144
- package/build/src/v1/recommendation_service_client.js +480 -196
- package/build/src/v1/recommendation_service_proto_list.json +10 -1
- package/build/src/v1/schema_service_client.d.ts +345 -144
- package/build/src/v1/schema_service_client.js +482 -198
- package/build/src/v1/schema_service_proto_list.json +10 -1
- package/build/src/v1/search_service_client.d.ts +393 -228
- package/build/src/v1/search_service_client.js +506 -252
- package/build/src/v1/search_service_proto_list.json +10 -1
- package/build/src/v1/search_tuning_service_client.d.ts +345 -144
- package/build/src/v1/search_tuning_service_client.js +482 -198
- package/build/src/v1/search_tuning_service_proto_list.json +10 -1
- package/build/src/v1/serving_config_service_client.d.ts +345 -144
- package/build/src/v1/serving_config_service_client.js +480 -196
- package/build/src/v1/serving_config_service_proto_list.json +10 -1
- 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 +345 -144
- package/build/src/v1/site_search_engine_service_client.js +494 -198
- package/build/src/v1/site_search_engine_service_proto_list.json +10 -1
- package/build/src/v1/user_event_service_client.d.ts +345 -144
- package/build/src/v1/user_event_service_client.js +488 -198
- package/build/src/v1/user_event_service_proto_list.json +10 -1
- package/build/src/v1/user_license_service_client.d.ts +2367 -0
- package/build/src/v1/user_license_service_client.js +3346 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +48 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +208 -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 +202 -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 +203 -197
- 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 +220 -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 +310 -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 +221 -197
- 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 +233 -197
- 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 +221 -197
- 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 +197 -197
- 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 +203 -197
- 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 +202 -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 +209 -197
- 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 +202 -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 +202 -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 +221 -197
- 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 +220 -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 +203 -197
- 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 +203 -197
- 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 +208 -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 +215 -197
- 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 +209 -197
- 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 +209 -197
- 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 +220 -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 +308 -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 +209 -197
- 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 +227 -197
- 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 +221 -197
- 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 +203 -197
- 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 +208 -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 +197 -197
- 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 +202 -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 +202 -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 +221 -197
- 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 +220 -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 +203 -197
- 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 +203 -197
- 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 +208 -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 +215 -197
- 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 +209 -197
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +7 -7
- package/CHANGELOG.md +0 -274
@@ -162,8 +162,13 @@ class SearchServiceClient {
|
|
162
162
|
// identifiers to uniquely identify resources within the API.
|
163
163
|
// Create useful helper objects for these.
|
164
164
|
this.pathTemplates = {
|
165
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
166
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
165
167
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
168
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
166
169
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
170
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
171
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
167
172
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
168
173
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
169
174
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -174,16 +179,16 @@ class SearchServiceClient {
|
|
174
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
175
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
176
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
177
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
178
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
180
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
181
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
193
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
189
194
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -194,8 +199,8 @@ class SearchServiceClient {
|
|
194
199
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
200
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
201
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
202
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
203
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
204
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
205
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
206
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -546,22 +551,16 @@ class SearchServiceClient {
|
|
546
551
|
* between /search API calls and /answer API calls.
|
547
552
|
*
|
548
553
|
* Example #1 (multi-turn /search API calls):
|
549
|
-
*
|
550
|
-
*
|
551
|
-
*
|
552
|
-
*
|
553
|
-
*
|
554
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
554
|
+
* Call /search API with the session ID generated in the first call.
|
555
|
+
* Here, the previous search query gets considered in query
|
556
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
557
|
+
* and the current query is "How about 2023?", the current query will
|
558
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
555
559
|
*
|
556
560
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
557
|
-
*
|
558
|
-
*
|
559
|
-
*
|
560
|
-
* results from the first search call.
|
561
|
-
*
|
562
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
563
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
564
|
-
* to create a session manually.
|
561
|
+
* Call /answer API with the session ID generated in the first call.
|
562
|
+
* Here, the answer generation happens in the context of the search
|
563
|
+
* results from the first search call.
|
565
564
|
*
|
566
565
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
567
566
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -804,22 +803,16 @@ class SearchServiceClient {
|
|
804
803
|
* between /search API calls and /answer API calls.
|
805
804
|
*
|
806
805
|
* Example #1 (multi-turn /search API calls):
|
807
|
-
*
|
808
|
-
*
|
809
|
-
*
|
810
|
-
*
|
811
|
-
*
|
812
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
806
|
+
* Call /search API with the session ID generated in the first call.
|
807
|
+
* Here, the previous search query gets considered in query
|
808
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
809
|
+
* and the current query is "How about 2023?", the current query will
|
810
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
813
811
|
*
|
814
812
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
815
|
-
*
|
816
|
-
*
|
817
|
-
*
|
818
|
-
* results from the first search call.
|
819
|
-
*
|
820
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
821
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
822
|
-
* to create a session manually.
|
813
|
+
* Call /answer API with the session ID generated in the first call.
|
814
|
+
* Here, the answer generation happens in the context of the search
|
815
|
+
* results from the first search call.
|
823
816
|
*
|
824
817
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
825
818
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -1092,22 +1085,16 @@ class SearchServiceClient {
|
|
1092
1085
|
* between /search API calls and /answer API calls.
|
1093
1086
|
*
|
1094
1087
|
* Example #1 (multi-turn /search API calls):
|
1095
|
-
*
|
1096
|
-
*
|
1097
|
-
*
|
1098
|
-
*
|
1099
|
-
*
|
1100
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
1088
|
+
* Call /search API with the session ID generated in the first call.
|
1089
|
+
* Here, the previous search query gets considered in query
|
1090
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
1091
|
+
* and the current query is "How about 2023?", the current query will
|
1092
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
1101
1093
|
*
|
1102
1094
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
1103
|
-
*
|
1104
|
-
*
|
1105
|
-
*
|
1106
|
-
* results from the first search call.
|
1107
|
-
*
|
1108
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
1109
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
1110
|
-
* to create a session manually.
|
1095
|
+
* Call /answer API with the session ID generated in the first call.
|
1096
|
+
* Here, the answer generation happens in the context of the search
|
1097
|
+
* results from the first search call.
|
1111
1098
|
*
|
1112
1099
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
1113
1100
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -1350,22 +1337,16 @@ class SearchServiceClient {
|
|
1350
1337
|
* between /search API calls and /answer API calls.
|
1351
1338
|
*
|
1352
1339
|
* Example #1 (multi-turn /search API calls):
|
1353
|
-
*
|
1354
|
-
*
|
1355
|
-
*
|
1356
|
-
*
|
1357
|
-
*
|
1358
|
-
* be interpreted as "How did Alphabet do in 2023?".
|
1340
|
+
* Call /search API with the session ID generated in the first call.
|
1341
|
+
* Here, the previous search query gets considered in query
|
1342
|
+
* standing. I.e., if the first query is "How did Alphabet do in 2022?"
|
1343
|
+
* and the current query is "How about 2023?", the current query will
|
1344
|
+
* be interpreted as "How did Alphabet do in 2023?".
|
1359
1345
|
*
|
1360
1346
|
* Example #2 (coordination between /search API calls and /answer API calls):
|
1361
|
-
*
|
1362
|
-
*
|
1363
|
-
*
|
1364
|
-
* results from the first search call.
|
1365
|
-
*
|
1366
|
-
* Auto-session mode: when `projects/.../sessions/-` is used, a new session
|
1367
|
-
* gets automatically created. Otherwise, users can use the create-session API
|
1368
|
-
* to create a session manually.
|
1347
|
+
* Call /answer API with the session ID generated in the first call.
|
1348
|
+
* Here, the answer generation happens in the context of the search
|
1349
|
+
* results from the first search call.
|
1369
1350
|
*
|
1370
1351
|
* Multi-turn Search feature is currently at private GA stage. Please use
|
1371
1352
|
* v1alpha or v1beta version instead before we launch this feature to public
|
@@ -1468,6 +1449,156 @@ class SearchServiceClient {
|
|
1468
1449
|
// --------------------
|
1469
1450
|
// -- Path templates --
|
1470
1451
|
// --------------------
|
1452
|
+
/**
|
1453
|
+
* Return a fully-qualified assistAnswer resource name string.
|
1454
|
+
*
|
1455
|
+
* @param {string} project
|
1456
|
+
* @param {string} location
|
1457
|
+
* @param {string} collection
|
1458
|
+
* @param {string} engine
|
1459
|
+
* @param {string} session
|
1460
|
+
* @param {string} assist_answer
|
1461
|
+
* @returns {string} Resource name string.
|
1462
|
+
*/
|
1463
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
1464
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
1465
|
+
project: project,
|
1466
|
+
location: location,
|
1467
|
+
collection: collection,
|
1468
|
+
engine: engine,
|
1469
|
+
session: session,
|
1470
|
+
assist_answer: assistAnswer,
|
1471
|
+
});
|
1472
|
+
}
|
1473
|
+
/**
|
1474
|
+
* Parse the project from AssistAnswer resource.
|
1475
|
+
*
|
1476
|
+
* @param {string} assistAnswerName
|
1477
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1478
|
+
* @returns {string} A string representing the project.
|
1479
|
+
*/
|
1480
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
1481
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
1482
|
+
}
|
1483
|
+
/**
|
1484
|
+
* Parse the location from AssistAnswer resource.
|
1485
|
+
*
|
1486
|
+
* @param {string} assistAnswerName
|
1487
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1488
|
+
* @returns {string} A string representing the location.
|
1489
|
+
*/
|
1490
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
1491
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
1492
|
+
}
|
1493
|
+
/**
|
1494
|
+
* Parse the collection from AssistAnswer resource.
|
1495
|
+
*
|
1496
|
+
* @param {string} assistAnswerName
|
1497
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1498
|
+
* @returns {string} A string representing the collection.
|
1499
|
+
*/
|
1500
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
1501
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
1502
|
+
}
|
1503
|
+
/**
|
1504
|
+
* Parse the engine from AssistAnswer resource.
|
1505
|
+
*
|
1506
|
+
* @param {string} assistAnswerName
|
1507
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1508
|
+
* @returns {string} A string representing the engine.
|
1509
|
+
*/
|
1510
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
1511
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
1512
|
+
}
|
1513
|
+
/**
|
1514
|
+
* Parse the session from AssistAnswer resource.
|
1515
|
+
*
|
1516
|
+
* @param {string} assistAnswerName
|
1517
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1518
|
+
* @returns {string} A string representing the session.
|
1519
|
+
*/
|
1520
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
1521
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
1522
|
+
}
|
1523
|
+
/**
|
1524
|
+
* Parse the assist_answer from AssistAnswer resource.
|
1525
|
+
*
|
1526
|
+
* @param {string} assistAnswerName
|
1527
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1528
|
+
* @returns {string} A string representing the assist_answer.
|
1529
|
+
*/
|
1530
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
1531
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
1532
|
+
}
|
1533
|
+
/**
|
1534
|
+
* Return a fully-qualified assistant resource name string.
|
1535
|
+
*
|
1536
|
+
* @param {string} project
|
1537
|
+
* @param {string} location
|
1538
|
+
* @param {string} collection
|
1539
|
+
* @param {string} engine
|
1540
|
+
* @param {string} assistant
|
1541
|
+
* @returns {string} Resource name string.
|
1542
|
+
*/
|
1543
|
+
assistantPath(project, location, collection, engine, assistant) {
|
1544
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
1545
|
+
project: project,
|
1546
|
+
location: location,
|
1547
|
+
collection: collection,
|
1548
|
+
engine: engine,
|
1549
|
+
assistant: assistant,
|
1550
|
+
});
|
1551
|
+
}
|
1552
|
+
/**
|
1553
|
+
* Parse the project from Assistant resource.
|
1554
|
+
*
|
1555
|
+
* @param {string} assistantName
|
1556
|
+
* A fully-qualified path representing Assistant resource.
|
1557
|
+
* @returns {string} A string representing the project.
|
1558
|
+
*/
|
1559
|
+
matchProjectFromAssistantName(assistantName) {
|
1560
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1561
|
+
}
|
1562
|
+
/**
|
1563
|
+
* Parse the location from Assistant resource.
|
1564
|
+
*
|
1565
|
+
* @param {string} assistantName
|
1566
|
+
* A fully-qualified path representing Assistant resource.
|
1567
|
+
* @returns {string} A string representing the location.
|
1568
|
+
*/
|
1569
|
+
matchLocationFromAssistantName(assistantName) {
|
1570
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1571
|
+
}
|
1572
|
+
/**
|
1573
|
+
* Parse the collection from Assistant resource.
|
1574
|
+
*
|
1575
|
+
* @param {string} assistantName
|
1576
|
+
* A fully-qualified path representing Assistant resource.
|
1577
|
+
* @returns {string} A string representing the collection.
|
1578
|
+
*/
|
1579
|
+
matchCollectionFromAssistantName(assistantName) {
|
1580
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1581
|
+
}
|
1582
|
+
/**
|
1583
|
+
* Parse the engine from Assistant resource.
|
1584
|
+
*
|
1585
|
+
* @param {string} assistantName
|
1586
|
+
* A fully-qualified path representing Assistant resource.
|
1587
|
+
* @returns {string} A string representing the engine.
|
1588
|
+
*/
|
1589
|
+
matchEngineFromAssistantName(assistantName) {
|
1590
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1591
|
+
}
|
1592
|
+
/**
|
1593
|
+
* Parse the assistant from Assistant resource.
|
1594
|
+
*
|
1595
|
+
* @param {string} assistantName
|
1596
|
+
* A fully-qualified path representing Assistant resource.
|
1597
|
+
* @returns {string} A string representing the assistant.
|
1598
|
+
*/
|
1599
|
+
matchAssistantFromAssistantName(assistantName) {
|
1600
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1601
|
+
}
|
1471
1602
|
/**
|
1472
1603
|
* Return a fully-qualified engine resource name string.
|
1473
1604
|
*
|
@@ -1525,6 +1656,51 @@ class SearchServiceClient {
|
|
1525
1656
|
matchEngineFromEngineName(engineName) {
|
1526
1657
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1527
1658
|
}
|
1659
|
+
/**
|
1660
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1661
|
+
*
|
1662
|
+
* @param {string} project
|
1663
|
+
* @param {string} location
|
1664
|
+
* @param {string} identity_mapping_store
|
1665
|
+
* @returns {string} Resource name string.
|
1666
|
+
*/
|
1667
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1668
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1669
|
+
project: project,
|
1670
|
+
location: location,
|
1671
|
+
identity_mapping_store: identityMappingStore,
|
1672
|
+
});
|
1673
|
+
}
|
1674
|
+
/**
|
1675
|
+
* Parse the project from IdentityMappingStore resource.
|
1676
|
+
*
|
1677
|
+
* @param {string} identityMappingStoreName
|
1678
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1679
|
+
* @returns {string} A string representing the project.
|
1680
|
+
*/
|
1681
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1682
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1683
|
+
}
|
1684
|
+
/**
|
1685
|
+
* Parse the location from IdentityMappingStore resource.
|
1686
|
+
*
|
1687
|
+
* @param {string} identityMappingStoreName
|
1688
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1689
|
+
* @returns {string} A string representing the location.
|
1690
|
+
*/
|
1691
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1692
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1693
|
+
}
|
1694
|
+
/**
|
1695
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1696
|
+
*
|
1697
|
+
* @param {string} identityMappingStoreName
|
1698
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1699
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1700
|
+
*/
|
1701
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1702
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1703
|
+
}
|
1528
1704
|
/**
|
1529
1705
|
* Return a fully-qualified project resource name string.
|
1530
1706
|
*
|
@@ -1546,6 +1722,84 @@ class SearchServiceClient {
|
|
1546
1722
|
matchProjectFromProjectName(projectName) {
|
1547
1723
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1548
1724
|
}
|
1725
|
+
/**
|
1726
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1727
|
+
*
|
1728
|
+
* @param {string} project
|
1729
|
+
* @param {string} location
|
1730
|
+
* @returns {string} Resource name string.
|
1731
|
+
*/
|
1732
|
+
projectLocationCmekConfigPath(project, location) {
|
1733
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1734
|
+
project: project,
|
1735
|
+
location: location,
|
1736
|
+
});
|
1737
|
+
}
|
1738
|
+
/**
|
1739
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1740
|
+
*
|
1741
|
+
* @param {string} projectLocationCmekConfigName
|
1742
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1743
|
+
* @returns {string} A string representing the project.
|
1744
|
+
*/
|
1745
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1746
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1747
|
+
}
|
1748
|
+
/**
|
1749
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1750
|
+
*
|
1751
|
+
* @param {string} projectLocationCmekConfigName
|
1752
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1753
|
+
* @returns {string} A string representing the location.
|
1754
|
+
*/
|
1755
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1756
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1757
|
+
}
|
1758
|
+
/**
|
1759
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1760
|
+
*
|
1761
|
+
* @param {string} project
|
1762
|
+
* @param {string} location
|
1763
|
+
* @param {string} cmek_config
|
1764
|
+
* @returns {string} Resource name string.
|
1765
|
+
*/
|
1766
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1767
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1768
|
+
project: project,
|
1769
|
+
location: location,
|
1770
|
+
cmek_config: cmekConfig,
|
1771
|
+
});
|
1772
|
+
}
|
1773
|
+
/**
|
1774
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1775
|
+
*
|
1776
|
+
* @param {string} projectLocationCmekConfigsName
|
1777
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1778
|
+
* @returns {string} A string representing the project.
|
1779
|
+
*/
|
1780
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1781
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1782
|
+
}
|
1783
|
+
/**
|
1784
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1785
|
+
*
|
1786
|
+
* @param {string} projectLocationCmekConfigsName
|
1787
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1788
|
+
* @returns {string} A string representing the location.
|
1789
|
+
*/
|
1790
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1791
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1792
|
+
}
|
1793
|
+
/**
|
1794
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1795
|
+
*
|
1796
|
+
* @param {string} projectLocationCmekConfigsName
|
1797
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1798
|
+
* @returns {string} A string representing the cmek_config.
|
1799
|
+
*/
|
1800
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1801
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1802
|
+
}
|
1549
1803
|
/**
|
1550
1804
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1551
1805
|
*
|
@@ -2249,154 +2503,154 @@ class SearchServiceClient {
|
|
2249
2503
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
2250
2504
|
}
|
2251
2505
|
/**
|
2252
|
-
* Return a fully-qualified
|
2506
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
2253
2507
|
*
|
2254
2508
|
* @param {string} project
|
2255
2509
|
* @param {string} location
|
2256
2510
|
* @param {string} collection
|
2257
2511
|
* @param {string} data_store
|
2258
2512
|
* @param {string} session
|
2513
|
+
* @param {string} answer
|
2259
2514
|
* @returns {string} Resource name string.
|
2260
2515
|
*/
|
2261
|
-
|
2262
|
-
return this.pathTemplates.
|
2516
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2517
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
2263
2518
|
project: project,
|
2264
2519
|
location: location,
|
2265
2520
|
collection: collection,
|
2266
2521
|
data_store: dataStore,
|
2267
2522
|
session: session,
|
2523
|
+
answer: answer,
|
2268
2524
|
});
|
2269
2525
|
}
|
2270
2526
|
/**
|
2271
|
-
* Parse the project from
|
2527
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2272
2528
|
*
|
2273
|
-
* @param {string}
|
2274
|
-
* A fully-qualified path representing
|
2529
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2530
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2275
2531
|
* @returns {string} A string representing the project.
|
2276
2532
|
*/
|
2277
|
-
|
2278
|
-
return this.pathTemplates.
|
2533
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2534
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
2279
2535
|
}
|
2280
2536
|
/**
|
2281
|
-
* Parse the location from
|
2537
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2282
2538
|
*
|
2283
|
-
* @param {string}
|
2284
|
-
* A fully-qualified path representing
|
2539
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2540
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2285
2541
|
* @returns {string} A string representing the location.
|
2286
2542
|
*/
|
2287
|
-
|
2288
|
-
return this.pathTemplates.
|
2543
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2544
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
2289
2545
|
}
|
2290
2546
|
/**
|
2291
|
-
* Parse the collection from
|
2547
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2292
2548
|
*
|
2293
|
-
* @param {string}
|
2294
|
-
* A fully-qualified path representing
|
2549
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2550
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2295
2551
|
* @returns {string} A string representing the collection.
|
2296
2552
|
*/
|
2297
|
-
|
2298
|
-
return this.pathTemplates.
|
2553
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2554
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
2299
2555
|
}
|
2300
2556
|
/**
|
2301
|
-
* Parse the data_store from
|
2557
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2302
2558
|
*
|
2303
|
-
* @param {string}
|
2304
|
-
* A fully-qualified path representing
|
2559
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2560
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2305
2561
|
* @returns {string} A string representing the data_store.
|
2306
2562
|
*/
|
2307
|
-
|
2308
|
-
return this.pathTemplates.
|
2563
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2564
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
2309
2565
|
}
|
2310
2566
|
/**
|
2311
|
-
* Parse the session from
|
2567
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2312
2568
|
*
|
2313
|
-
* @param {string}
|
2314
|
-
* A fully-qualified path representing
|
2569
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2570
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2315
2571
|
* @returns {string} A string representing the session.
|
2316
2572
|
*/
|
2317
|
-
|
2318
|
-
return this.pathTemplates.
|
2573
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2574
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
2319
2575
|
}
|
2320
2576
|
/**
|
2321
|
-
*
|
2577
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2578
|
+
*
|
2579
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2580
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2581
|
+
* @returns {string} A string representing the answer.
|
2582
|
+
*/
|
2583
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2584
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2585
|
+
}
|
2586
|
+
/**
|
2587
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
2322
2588
|
*
|
2323
2589
|
* @param {string} project
|
2324
2590
|
* @param {string} location
|
2325
2591
|
* @param {string} collection
|
2326
2592
|
* @param {string} data_store
|
2327
2593
|
* @param {string} session
|
2328
|
-
* @param {string} answer
|
2329
2594
|
* @returns {string} Resource name string.
|
2330
2595
|
*/
|
2331
|
-
|
2332
|
-
return this.pathTemplates.
|
2596
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2597
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
2333
2598
|
project: project,
|
2334
2599
|
location: location,
|
2335
2600
|
collection: collection,
|
2336
2601
|
data_store: dataStore,
|
2337
2602
|
session: session,
|
2338
|
-
answer: answer,
|
2339
2603
|
});
|
2340
2604
|
}
|
2341
2605
|
/**
|
2342
|
-
* Parse the project from
|
2606
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2343
2607
|
*
|
2344
|
-
* @param {string}
|
2345
|
-
* A fully-qualified path representing
|
2608
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2609
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2346
2610
|
* @returns {string} A string representing the project.
|
2347
2611
|
*/
|
2348
|
-
|
2349
|
-
return this.pathTemplates.
|
2612
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2613
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2350
2614
|
}
|
2351
2615
|
/**
|
2352
|
-
* Parse the location from
|
2616
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2353
2617
|
*
|
2354
|
-
* @param {string}
|
2355
|
-
* A fully-qualified path representing
|
2618
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2619
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2356
2620
|
* @returns {string} A string representing the location.
|
2357
2621
|
*/
|
2358
|
-
|
2359
|
-
return this.pathTemplates.
|
2622
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2623
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2360
2624
|
}
|
2361
2625
|
/**
|
2362
|
-
* Parse the collection from
|
2626
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2363
2627
|
*
|
2364
|
-
* @param {string}
|
2365
|
-
* A fully-qualified path representing
|
2628
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2629
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2366
2630
|
* @returns {string} A string representing the collection.
|
2367
2631
|
*/
|
2368
|
-
|
2369
|
-
return this.pathTemplates.
|
2632
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2633
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2370
2634
|
}
|
2371
2635
|
/**
|
2372
|
-
* Parse the data_store from
|
2636
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2373
2637
|
*
|
2374
|
-
* @param {string}
|
2375
|
-
* A fully-qualified path representing
|
2638
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2639
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2376
2640
|
* @returns {string} A string representing the data_store.
|
2377
2641
|
*/
|
2378
|
-
|
2379
|
-
return this.pathTemplates.
|
2642
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2643
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2380
2644
|
}
|
2381
2645
|
/**
|
2382
|
-
* Parse the session from
|
2646
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2383
2647
|
*
|
2384
|
-
* @param {string}
|
2385
|
-
* A fully-qualified path representing
|
2648
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2649
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2386
2650
|
* @returns {string} A string representing the session.
|
2387
2651
|
*/
|
2388
|
-
|
2389
|
-
return this.pathTemplates.
|
2390
|
-
}
|
2391
|
-
/**
|
2392
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2393
|
-
*
|
2394
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2395
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2396
|
-
* @returns {string} A string representing the answer.
|
2397
|
-
*/
|
2398
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2399
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2652
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2653
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2400
2654
|
}
|
2401
2655
|
/**
|
2402
2656
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2801,154 +3055,154 @@ class SearchServiceClient {
|
|
2801
3055
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2802
3056
|
}
|
2803
3057
|
/**
|
2804
|
-
* Return a fully-qualified
|
3058
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2805
3059
|
*
|
2806
3060
|
* @param {string} project
|
2807
3061
|
* @param {string} location
|
2808
3062
|
* @param {string} collection
|
2809
3063
|
* @param {string} engine
|
2810
3064
|
* @param {string} session
|
3065
|
+
* @param {string} answer
|
2811
3066
|
* @returns {string} Resource name string.
|
2812
3067
|
*/
|
2813
|
-
|
2814
|
-
return this.pathTemplates.
|
3068
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
3069
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2815
3070
|
project: project,
|
2816
3071
|
location: location,
|
2817
3072
|
collection: collection,
|
2818
3073
|
engine: engine,
|
2819
3074
|
session: session,
|
3075
|
+
answer: answer,
|
2820
3076
|
});
|
2821
3077
|
}
|
2822
3078
|
/**
|
2823
|
-
* Parse the project from
|
3079
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2824
3080
|
*
|
2825
|
-
* @param {string}
|
2826
|
-
* A fully-qualified path representing
|
3081
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3082
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2827
3083
|
* @returns {string} A string representing the project.
|
2828
3084
|
*/
|
2829
|
-
|
2830
|
-
return this.pathTemplates.
|
3085
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3086
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2831
3087
|
}
|
2832
3088
|
/**
|
2833
|
-
* Parse the location from
|
3089
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2834
3090
|
*
|
2835
|
-
* @param {string}
|
2836
|
-
* A fully-qualified path representing
|
3091
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3092
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2837
3093
|
* @returns {string} A string representing the location.
|
2838
3094
|
*/
|
2839
|
-
|
2840
|
-
return this.pathTemplates.
|
3095
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3096
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2841
3097
|
}
|
2842
3098
|
/**
|
2843
|
-
* Parse the collection from
|
3099
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2844
3100
|
*
|
2845
|
-
* @param {string}
|
2846
|
-
* A fully-qualified path representing
|
3101
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3102
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2847
3103
|
* @returns {string} A string representing the collection.
|
2848
3104
|
*/
|
2849
|
-
|
2850
|
-
return this.pathTemplates.
|
3105
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3106
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2851
3107
|
}
|
2852
3108
|
/**
|
2853
|
-
* Parse the engine from
|
3109
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2854
3110
|
*
|
2855
|
-
* @param {string}
|
2856
|
-
* A fully-qualified path representing
|
3111
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3112
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2857
3113
|
* @returns {string} A string representing the engine.
|
2858
3114
|
*/
|
2859
|
-
|
2860
|
-
return this.pathTemplates.
|
3115
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3116
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2861
3117
|
}
|
2862
3118
|
/**
|
2863
|
-
* Parse the session from
|
3119
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2864
3120
|
*
|
2865
|
-
* @param {string}
|
2866
|
-
* A fully-qualified path representing
|
3121
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3122
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2867
3123
|
* @returns {string} A string representing the session.
|
2868
3124
|
*/
|
2869
|
-
|
2870
|
-
return this.pathTemplates.
|
3125
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3126
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
3127
|
+
}
|
3128
|
+
/**
|
3129
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
3130
|
+
*
|
3131
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
3132
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
3133
|
+
* @returns {string} A string representing the answer.
|
3134
|
+
*/
|
3135
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
3136
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2871
3137
|
}
|
2872
3138
|
/**
|
2873
|
-
* Return a fully-qualified
|
3139
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2874
3140
|
*
|
2875
3141
|
* @param {string} project
|
2876
3142
|
* @param {string} location
|
2877
3143
|
* @param {string} collection
|
2878
3144
|
* @param {string} engine
|
2879
3145
|
* @param {string} session
|
2880
|
-
* @param {string} answer
|
2881
3146
|
* @returns {string} Resource name string.
|
2882
3147
|
*/
|
2883
|
-
|
2884
|
-
return this.pathTemplates.
|
3148
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
3149
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2885
3150
|
project: project,
|
2886
3151
|
location: location,
|
2887
3152
|
collection: collection,
|
2888
3153
|
engine: engine,
|
2889
3154
|
session: session,
|
2890
|
-
answer: answer,
|
2891
3155
|
});
|
2892
3156
|
}
|
2893
3157
|
/**
|
2894
|
-
* Parse the project from
|
3158
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2895
3159
|
*
|
2896
|
-
* @param {string}
|
2897
|
-
* A fully-qualified path representing
|
3160
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
3161
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2898
3162
|
* @returns {string} A string representing the project.
|
2899
3163
|
*/
|
2900
|
-
|
2901
|
-
return this.pathTemplates.
|
3164
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
3165
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2902
3166
|
}
|
2903
3167
|
/**
|
2904
|
-
* Parse the location from
|
3168
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2905
3169
|
*
|
2906
|
-
* @param {string}
|
2907
|
-
* A fully-qualified path representing
|
3170
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
3171
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2908
3172
|
* @returns {string} A string representing the location.
|
2909
3173
|
*/
|
2910
|
-
|
2911
|
-
return this.pathTemplates.
|
3174
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
3175
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2912
3176
|
}
|
2913
3177
|
/**
|
2914
|
-
* Parse the collection from
|
3178
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2915
3179
|
*
|
2916
|
-
* @param {string}
|
2917
|
-
* A fully-qualified path representing
|
3180
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
3181
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2918
3182
|
* @returns {string} A string representing the collection.
|
2919
3183
|
*/
|
2920
|
-
|
2921
|
-
return this.pathTemplates.
|
3184
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
3185
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2922
3186
|
}
|
2923
3187
|
/**
|
2924
|
-
* Parse the engine from
|
3188
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2925
3189
|
*
|
2926
|
-
* @param {string}
|
2927
|
-
* A fully-qualified path representing
|
3190
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
3191
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2928
3192
|
* @returns {string} A string representing the engine.
|
2929
3193
|
*/
|
2930
|
-
|
2931
|
-
return this.pathTemplates.
|
3194
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
3195
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2932
3196
|
}
|
2933
3197
|
/**
|
2934
|
-
* Parse the session from
|
3198
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2935
3199
|
*
|
2936
|
-
* @param {string}
|
2937
|
-
* A fully-qualified path representing
|
3200
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
3201
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2938
3202
|
* @returns {string} A string representing the session.
|
2939
3203
|
*/
|
2940
|
-
|
2941
|
-
return this.pathTemplates.
|
2942
|
-
}
|
2943
|
-
/**
|
2944
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2945
|
-
*
|
2946
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2947
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2948
|
-
* @returns {string} A string representing the answer.
|
2949
|
-
*/
|
2950
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2951
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
3204
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
3205
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2952
3206
|
}
|
2953
3207
|
/**
|
2954
3208
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3532,63 +3786,6 @@ class SearchServiceClient {
|
|
3532
3786
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3533
3787
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3534
3788
|
}
|
3535
|
-
/**
|
3536
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3537
|
-
*
|
3538
|
-
* @param {string} project
|
3539
|
-
* @param {string} location
|
3540
|
-
* @param {string} data_store
|
3541
|
-
* @param {string} session
|
3542
|
-
* @returns {string} Resource name string.
|
3543
|
-
*/
|
3544
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3545
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3546
|
-
project: project,
|
3547
|
-
location: location,
|
3548
|
-
data_store: dataStore,
|
3549
|
-
session: session,
|
3550
|
-
});
|
3551
|
-
}
|
3552
|
-
/**
|
3553
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3554
|
-
*
|
3555
|
-
* @param {string} projectLocationDataStoreSessionName
|
3556
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3557
|
-
* @returns {string} A string representing the project.
|
3558
|
-
*/
|
3559
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3560
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3561
|
-
}
|
3562
|
-
/**
|
3563
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3564
|
-
*
|
3565
|
-
* @param {string} projectLocationDataStoreSessionName
|
3566
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3567
|
-
* @returns {string} A string representing the location.
|
3568
|
-
*/
|
3569
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3570
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3571
|
-
}
|
3572
|
-
/**
|
3573
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3574
|
-
*
|
3575
|
-
* @param {string} projectLocationDataStoreSessionName
|
3576
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3577
|
-
* @returns {string} A string representing the data_store.
|
3578
|
-
*/
|
3579
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3580
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3581
|
-
}
|
3582
|
-
/**
|
3583
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3584
|
-
*
|
3585
|
-
* @param {string} projectLocationDataStoreSessionName
|
3586
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3587
|
-
* @returns {string} A string representing the session.
|
3588
|
-
*/
|
3589
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3590
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3591
|
-
}
|
3592
3789
|
/**
|
3593
3790
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3594
3791
|
*
|
@@ -3658,6 +3855,63 @@ class SearchServiceClient {
|
|
3658
3855
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3659
3856
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3660
3857
|
}
|
3858
|
+
/**
|
3859
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3860
|
+
*
|
3861
|
+
* @param {string} project
|
3862
|
+
* @param {string} location
|
3863
|
+
* @param {string} data_store
|
3864
|
+
* @param {string} session
|
3865
|
+
* @returns {string} Resource name string.
|
3866
|
+
*/
|
3867
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3868
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3869
|
+
project: project,
|
3870
|
+
location: location,
|
3871
|
+
data_store: dataStore,
|
3872
|
+
session: session,
|
3873
|
+
});
|
3874
|
+
}
|
3875
|
+
/**
|
3876
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3877
|
+
*
|
3878
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3879
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3880
|
+
* @returns {string} A string representing the project.
|
3881
|
+
*/
|
3882
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3883
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3884
|
+
}
|
3885
|
+
/**
|
3886
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3887
|
+
*
|
3888
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3889
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3890
|
+
* @returns {string} A string representing the location.
|
3891
|
+
*/
|
3892
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3893
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3894
|
+
}
|
3895
|
+
/**
|
3896
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3897
|
+
*
|
3898
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3899
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3900
|
+
* @returns {string} A string representing the data_store.
|
3901
|
+
*/
|
3902
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3903
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3904
|
+
}
|
3905
|
+
/**
|
3906
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3907
|
+
*
|
3908
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3909
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3910
|
+
* @returns {string} A string representing the session.
|
3911
|
+
*/
|
3912
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3913
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3914
|
+
}
|
3661
3915
|
/**
|
3662
3916
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3663
3917
|
*
|