@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
@@ -175,15 +175,15 @@ class RankServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
182
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
183
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
184
|
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
185
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
187
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
188
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
189
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,8 +193,8 @@ class RankServiceClient {
|
|
193
193
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
194
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
195
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
196
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
197
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
198
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
199
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
200
200
|
rankingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/rankingConfigs/{ranking_config}'),
|
@@ -339,6 +339,12 @@ class RankServiceClient {
|
|
339
339
|
?.then(([response, options, rawResponse]) => {
|
340
340
|
this._log.info('rank response %j', response);
|
341
341
|
return [response, options, rawResponse];
|
342
|
+
}).catch((error) => {
|
343
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
344
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
345
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
346
|
+
}
|
347
|
+
throw error;
|
342
348
|
});
|
343
349
|
}
|
344
350
|
/**
|
@@ -1189,154 +1195,154 @@ class RankServiceClient {
|
|
1189
1195
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1190
1196
|
}
|
1191
1197
|
/**
|
1192
|
-
* Return a fully-qualified
|
1198
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1193
1199
|
*
|
1194
1200
|
* @param {string} project
|
1195
1201
|
* @param {string} location
|
1196
1202
|
* @param {string} collection
|
1197
1203
|
* @param {string} data_store
|
1198
1204
|
* @param {string} session
|
1205
|
+
* @param {string} answer
|
1199
1206
|
* @returns {string} Resource name string.
|
1200
1207
|
*/
|
1201
|
-
|
1202
|
-
return this.pathTemplates.
|
1208
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1209
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1203
1210
|
project: project,
|
1204
1211
|
location: location,
|
1205
1212
|
collection: collection,
|
1206
1213
|
data_store: dataStore,
|
1207
1214
|
session: session,
|
1215
|
+
answer: answer,
|
1208
1216
|
});
|
1209
1217
|
}
|
1210
1218
|
/**
|
1211
|
-
* Parse the project from
|
1219
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1212
1220
|
*
|
1213
|
-
* @param {string}
|
1214
|
-
* A fully-qualified path representing
|
1221
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1222
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1215
1223
|
* @returns {string} A string representing the project.
|
1216
1224
|
*/
|
1217
|
-
|
1218
|
-
return this.pathTemplates.
|
1225
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1226
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1219
1227
|
}
|
1220
1228
|
/**
|
1221
|
-
* Parse the location from
|
1229
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1222
1230
|
*
|
1223
|
-
* @param {string}
|
1224
|
-
* A fully-qualified path representing
|
1231
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1232
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1225
1233
|
* @returns {string} A string representing the location.
|
1226
1234
|
*/
|
1227
|
-
|
1228
|
-
return this.pathTemplates.
|
1235
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1236
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1229
1237
|
}
|
1230
1238
|
/**
|
1231
|
-
* Parse the collection from
|
1239
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1232
1240
|
*
|
1233
|
-
* @param {string}
|
1234
|
-
* A fully-qualified path representing
|
1241
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1242
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1235
1243
|
* @returns {string} A string representing the collection.
|
1236
1244
|
*/
|
1237
|
-
|
1238
|
-
return this.pathTemplates.
|
1245
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1246
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1239
1247
|
}
|
1240
1248
|
/**
|
1241
|
-
* Parse the data_store from
|
1249
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1242
1250
|
*
|
1243
|
-
* @param {string}
|
1244
|
-
* A fully-qualified path representing
|
1251
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1252
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1245
1253
|
* @returns {string} A string representing the data_store.
|
1246
1254
|
*/
|
1247
|
-
|
1248
|
-
return this.pathTemplates.
|
1255
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1256
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1249
1257
|
}
|
1250
1258
|
/**
|
1251
|
-
* Parse the session from
|
1259
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1252
1260
|
*
|
1253
|
-
* @param {string}
|
1254
|
-
* A fully-qualified path representing
|
1261
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1262
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1255
1263
|
* @returns {string} A string representing the session.
|
1256
1264
|
*/
|
1257
|
-
|
1258
|
-
return this.pathTemplates.
|
1265
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1266
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1259
1267
|
}
|
1260
1268
|
/**
|
1261
|
-
*
|
1269
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1270
|
+
*
|
1271
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1272
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1273
|
+
* @returns {string} A string representing the answer.
|
1274
|
+
*/
|
1275
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1276
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1277
|
+
}
|
1278
|
+
/**
|
1279
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1262
1280
|
*
|
1263
1281
|
* @param {string} project
|
1264
1282
|
* @param {string} location
|
1265
1283
|
* @param {string} collection
|
1266
1284
|
* @param {string} data_store
|
1267
1285
|
* @param {string} session
|
1268
|
-
* @param {string} answer
|
1269
1286
|
* @returns {string} Resource name string.
|
1270
1287
|
*/
|
1271
|
-
|
1272
|
-
return this.pathTemplates.
|
1288
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1289
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1273
1290
|
project: project,
|
1274
1291
|
location: location,
|
1275
1292
|
collection: collection,
|
1276
1293
|
data_store: dataStore,
|
1277
1294
|
session: session,
|
1278
|
-
answer: answer,
|
1279
1295
|
});
|
1280
1296
|
}
|
1281
1297
|
/**
|
1282
|
-
* Parse the project from
|
1298
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1283
1299
|
*
|
1284
|
-
* @param {string}
|
1285
|
-
* A fully-qualified path representing
|
1300
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1301
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1286
1302
|
* @returns {string} A string representing the project.
|
1287
1303
|
*/
|
1288
|
-
|
1289
|
-
return this.pathTemplates.
|
1304
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1305
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1290
1306
|
}
|
1291
1307
|
/**
|
1292
|
-
* Parse the location from
|
1308
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1293
1309
|
*
|
1294
|
-
* @param {string}
|
1295
|
-
* A fully-qualified path representing
|
1310
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1311
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1296
1312
|
* @returns {string} A string representing the location.
|
1297
1313
|
*/
|
1298
|
-
|
1299
|
-
return this.pathTemplates.
|
1314
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1315
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1300
1316
|
}
|
1301
1317
|
/**
|
1302
|
-
* Parse the collection from
|
1318
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1303
1319
|
*
|
1304
|
-
* @param {string}
|
1305
|
-
* A fully-qualified path representing
|
1320
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1321
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1306
1322
|
* @returns {string} A string representing the collection.
|
1307
1323
|
*/
|
1308
|
-
|
1309
|
-
return this.pathTemplates.
|
1324
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1325
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1310
1326
|
}
|
1311
1327
|
/**
|
1312
|
-
* Parse the data_store from
|
1328
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1313
1329
|
*
|
1314
|
-
* @param {string}
|
1315
|
-
* A fully-qualified path representing
|
1330
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1331
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1316
1332
|
* @returns {string} A string representing the data_store.
|
1317
1333
|
*/
|
1318
|
-
|
1319
|
-
return this.pathTemplates.
|
1334
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1335
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1320
1336
|
}
|
1321
1337
|
/**
|
1322
|
-
* Parse the session from
|
1338
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1323
1339
|
*
|
1324
|
-
* @param {string}
|
1325
|
-
* A fully-qualified path representing
|
1340
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1341
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1326
1342
|
* @returns {string} A string representing the session.
|
1327
1343
|
*/
|
1328
|
-
|
1329
|
-
return this.pathTemplates.
|
1330
|
-
}
|
1331
|
-
/**
|
1332
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1333
|
-
*
|
1334
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1335
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1336
|
-
* @returns {string} A string representing the answer.
|
1337
|
-
*/
|
1338
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1339
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1344
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1345
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1340
1346
|
}
|
1341
1347
|
/**
|
1342
1348
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1672,154 +1678,154 @@ class RankServiceClient {
|
|
1672
1678
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1673
1679
|
}
|
1674
1680
|
/**
|
1675
|
-
* Return a fully-qualified
|
1681
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1676
1682
|
*
|
1677
1683
|
* @param {string} project
|
1678
1684
|
* @param {string} location
|
1679
1685
|
* @param {string} collection
|
1680
1686
|
* @param {string} engine
|
1681
1687
|
* @param {string} session
|
1688
|
+
* @param {string} answer
|
1682
1689
|
* @returns {string} Resource name string.
|
1683
1690
|
*/
|
1684
|
-
|
1685
|
-
return this.pathTemplates.
|
1691
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1692
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1686
1693
|
project: project,
|
1687
1694
|
location: location,
|
1688
1695
|
collection: collection,
|
1689
1696
|
engine: engine,
|
1690
1697
|
session: session,
|
1698
|
+
answer: answer,
|
1691
1699
|
});
|
1692
1700
|
}
|
1693
1701
|
/**
|
1694
|
-
* Parse the project from
|
1702
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1695
1703
|
*
|
1696
|
-
* @param {string}
|
1697
|
-
* A fully-qualified path representing
|
1704
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1705
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1698
1706
|
* @returns {string} A string representing the project.
|
1699
1707
|
*/
|
1700
|
-
|
1701
|
-
return this.pathTemplates.
|
1708
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1709
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1702
1710
|
}
|
1703
1711
|
/**
|
1704
|
-
* Parse the location from
|
1712
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1705
1713
|
*
|
1706
|
-
* @param {string}
|
1707
|
-
* A fully-qualified path representing
|
1714
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1715
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1708
1716
|
* @returns {string} A string representing the location.
|
1709
1717
|
*/
|
1710
|
-
|
1711
|
-
return this.pathTemplates.
|
1718
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1719
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1712
1720
|
}
|
1713
1721
|
/**
|
1714
|
-
* Parse the collection from
|
1722
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1715
1723
|
*
|
1716
|
-
* @param {string}
|
1717
|
-
* A fully-qualified path representing
|
1724
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1725
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1718
1726
|
* @returns {string} A string representing the collection.
|
1719
1727
|
*/
|
1720
|
-
|
1721
|
-
return this.pathTemplates.
|
1728
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1729
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1722
1730
|
}
|
1723
1731
|
/**
|
1724
|
-
* Parse the engine from
|
1732
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1725
1733
|
*
|
1726
|
-
* @param {string}
|
1727
|
-
* A fully-qualified path representing
|
1734
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1735
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1728
1736
|
* @returns {string} A string representing the engine.
|
1729
1737
|
*/
|
1730
|
-
|
1731
|
-
return this.pathTemplates.
|
1738
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1739
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1732
1740
|
}
|
1733
1741
|
/**
|
1734
|
-
* Parse the session from
|
1742
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1735
1743
|
*
|
1736
|
-
* @param {string}
|
1737
|
-
* A fully-qualified path representing
|
1744
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1745
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1738
1746
|
* @returns {string} A string representing the session.
|
1739
1747
|
*/
|
1740
|
-
|
1741
|
-
return this.pathTemplates.
|
1748
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1749
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1742
1750
|
}
|
1743
1751
|
/**
|
1744
|
-
*
|
1752
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1753
|
+
*
|
1754
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1755
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1756
|
+
* @returns {string} A string representing the answer.
|
1757
|
+
*/
|
1758
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1759
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1760
|
+
}
|
1761
|
+
/**
|
1762
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1745
1763
|
*
|
1746
1764
|
* @param {string} project
|
1747
1765
|
* @param {string} location
|
1748
1766
|
* @param {string} collection
|
1749
1767
|
* @param {string} engine
|
1750
1768
|
* @param {string} session
|
1751
|
-
* @param {string} answer
|
1752
1769
|
* @returns {string} Resource name string.
|
1753
1770
|
*/
|
1754
|
-
|
1755
|
-
return this.pathTemplates.
|
1771
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1772
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1756
1773
|
project: project,
|
1757
1774
|
location: location,
|
1758
1775
|
collection: collection,
|
1759
1776
|
engine: engine,
|
1760
1777
|
session: session,
|
1761
|
-
answer: answer,
|
1762
1778
|
});
|
1763
1779
|
}
|
1764
1780
|
/**
|
1765
|
-
* Parse the project from
|
1781
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1766
1782
|
*
|
1767
|
-
* @param {string}
|
1768
|
-
* A fully-qualified path representing
|
1783
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1784
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1769
1785
|
* @returns {string} A string representing the project.
|
1770
1786
|
*/
|
1771
|
-
|
1772
|
-
return this.pathTemplates.
|
1787
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1788
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1773
1789
|
}
|
1774
1790
|
/**
|
1775
|
-
* Parse the location from
|
1791
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1776
1792
|
*
|
1777
|
-
* @param {string}
|
1778
|
-
* A fully-qualified path representing
|
1793
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1794
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1779
1795
|
* @returns {string} A string representing the location.
|
1780
1796
|
*/
|
1781
|
-
|
1782
|
-
return this.pathTemplates.
|
1797
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1798
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1783
1799
|
}
|
1784
1800
|
/**
|
1785
|
-
* Parse the collection from
|
1801
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1786
1802
|
*
|
1787
|
-
* @param {string}
|
1788
|
-
* A fully-qualified path representing
|
1803
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1804
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1789
1805
|
* @returns {string} A string representing the collection.
|
1790
1806
|
*/
|
1791
|
-
|
1792
|
-
return this.pathTemplates.
|
1807
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1808
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1793
1809
|
}
|
1794
1810
|
/**
|
1795
|
-
* Parse the engine from
|
1811
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1796
1812
|
*
|
1797
|
-
* @param {string}
|
1798
|
-
* A fully-qualified path representing
|
1813
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1814
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1799
1815
|
* @returns {string} A string representing the engine.
|
1800
1816
|
*/
|
1801
|
-
|
1802
|
-
return this.pathTemplates.
|
1817
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1818
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1803
1819
|
}
|
1804
1820
|
/**
|
1805
|
-
* Parse the session from
|
1821
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1806
1822
|
*
|
1807
|
-
* @param {string}
|
1808
|
-
* A fully-qualified path representing
|
1823
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1824
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1809
1825
|
* @returns {string} A string representing the session.
|
1810
1826
|
*/
|
1811
|
-
|
1812
|
-
return this.pathTemplates.
|
1813
|
-
}
|
1814
|
-
/**
|
1815
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1816
|
-
*
|
1817
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1818
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1819
|
-
* @returns {string} A string representing the answer.
|
1820
|
-
*/
|
1821
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1822
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1827
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1828
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1823
1829
|
}
|
1824
1830
|
/**
|
1825
1831
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2346,63 +2352,6 @@ class RankServiceClient {
|
|
2346
2352
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2347
2353
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2348
2354
|
}
|
2349
|
-
/**
|
2350
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2351
|
-
*
|
2352
|
-
* @param {string} project
|
2353
|
-
* @param {string} location
|
2354
|
-
* @param {string} data_store
|
2355
|
-
* @param {string} session
|
2356
|
-
* @returns {string} Resource name string.
|
2357
|
-
*/
|
2358
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2359
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2360
|
-
project: project,
|
2361
|
-
location: location,
|
2362
|
-
data_store: dataStore,
|
2363
|
-
session: session,
|
2364
|
-
});
|
2365
|
-
}
|
2366
|
-
/**
|
2367
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2368
|
-
*
|
2369
|
-
* @param {string} projectLocationDataStoreSessionName
|
2370
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2371
|
-
* @returns {string} A string representing the project.
|
2372
|
-
*/
|
2373
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2374
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2375
|
-
}
|
2376
|
-
/**
|
2377
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2378
|
-
*
|
2379
|
-
* @param {string} projectLocationDataStoreSessionName
|
2380
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2381
|
-
* @returns {string} A string representing the location.
|
2382
|
-
*/
|
2383
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2384
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2385
|
-
}
|
2386
|
-
/**
|
2387
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2388
|
-
*
|
2389
|
-
* @param {string} projectLocationDataStoreSessionName
|
2390
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2391
|
-
* @returns {string} A string representing the data_store.
|
2392
|
-
*/
|
2393
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2394
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2395
|
-
}
|
2396
|
-
/**
|
2397
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2398
|
-
*
|
2399
|
-
* @param {string} projectLocationDataStoreSessionName
|
2400
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2401
|
-
* @returns {string} A string representing the session.
|
2402
|
-
*/
|
2403
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2404
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2405
|
-
}
|
2406
2355
|
/**
|
2407
2356
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2408
2357
|
*
|
@@ -2472,6 +2421,63 @@ class RankServiceClient {
|
|
2472
2421
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2473
2422
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2474
2423
|
}
|
2424
|
+
/**
|
2425
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2426
|
+
*
|
2427
|
+
* @param {string} project
|
2428
|
+
* @param {string} location
|
2429
|
+
* @param {string} data_store
|
2430
|
+
* @param {string} session
|
2431
|
+
* @returns {string} Resource name string.
|
2432
|
+
*/
|
2433
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2434
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2435
|
+
project: project,
|
2436
|
+
location: location,
|
2437
|
+
data_store: dataStore,
|
2438
|
+
session: session,
|
2439
|
+
});
|
2440
|
+
}
|
2441
|
+
/**
|
2442
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2443
|
+
*
|
2444
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2445
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2446
|
+
* @returns {string} A string representing the project.
|
2447
|
+
*/
|
2448
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2449
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2450
|
+
}
|
2451
|
+
/**
|
2452
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2453
|
+
*
|
2454
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2455
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2456
|
+
* @returns {string} A string representing the location.
|
2457
|
+
*/
|
2458
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2459
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2460
|
+
}
|
2461
|
+
/**
|
2462
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2463
|
+
*
|
2464
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2465
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2466
|
+
* @returns {string} A string representing the data_store.
|
2467
|
+
*/
|
2468
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2469
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2470
|
+
}
|
2471
|
+
/**
|
2472
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2473
|
+
*
|
2474
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2475
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2476
|
+
* @returns {string} A string representing the session.
|
2477
|
+
*/
|
2478
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2479
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2480
|
+
}
|
2475
2481
|
/**
|
2476
2482
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2477
2483
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|