@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
@@ -176,15 +176,15 @@ class GroundedGenerationServiceClient {
|
|
176
176
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
177
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
178
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
179
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
180
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class GroundedGenerationServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
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
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
201
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -339,6 +339,12 @@ class GroundedGenerationServiceClient {
|
|
339
339
|
?.then(([response, options, rawResponse]) => {
|
340
340
|
this._log.info('checkGrounding 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
|
/**
|
@@ -1234,154 +1240,154 @@ class GroundedGenerationServiceClient {
|
|
1234
1240
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1235
1241
|
}
|
1236
1242
|
/**
|
1237
|
-
* Return a fully-qualified
|
1243
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1238
1244
|
*
|
1239
1245
|
* @param {string} project
|
1240
1246
|
* @param {string} location
|
1241
1247
|
* @param {string} collection
|
1242
1248
|
* @param {string} data_store
|
1243
1249
|
* @param {string} session
|
1250
|
+
* @param {string} answer
|
1244
1251
|
* @returns {string} Resource name string.
|
1245
1252
|
*/
|
1246
|
-
|
1247
|
-
return this.pathTemplates.
|
1253
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1254
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1248
1255
|
project: project,
|
1249
1256
|
location: location,
|
1250
1257
|
collection: collection,
|
1251
1258
|
data_store: dataStore,
|
1252
1259
|
session: session,
|
1260
|
+
answer: answer,
|
1253
1261
|
});
|
1254
1262
|
}
|
1255
1263
|
/**
|
1256
|
-
* Parse the project from
|
1264
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1257
1265
|
*
|
1258
|
-
* @param {string}
|
1259
|
-
* A fully-qualified path representing
|
1266
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1267
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1260
1268
|
* @returns {string} A string representing the project.
|
1261
1269
|
*/
|
1262
|
-
|
1263
|
-
return this.pathTemplates.
|
1270
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1271
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1264
1272
|
}
|
1265
1273
|
/**
|
1266
|
-
* Parse the location from
|
1274
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1267
1275
|
*
|
1268
|
-
* @param {string}
|
1269
|
-
* A fully-qualified path representing
|
1276
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1277
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1270
1278
|
* @returns {string} A string representing the location.
|
1271
1279
|
*/
|
1272
|
-
|
1273
|
-
return this.pathTemplates.
|
1280
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1281
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1274
1282
|
}
|
1275
1283
|
/**
|
1276
|
-
* Parse the collection from
|
1284
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1277
1285
|
*
|
1278
|
-
* @param {string}
|
1279
|
-
* A fully-qualified path representing
|
1286
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1287
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1280
1288
|
* @returns {string} A string representing the collection.
|
1281
1289
|
*/
|
1282
|
-
|
1283
|
-
return this.pathTemplates.
|
1290
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1291
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1284
1292
|
}
|
1285
1293
|
/**
|
1286
|
-
* Parse the data_store from
|
1294
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1287
1295
|
*
|
1288
|
-
* @param {string}
|
1289
|
-
* A fully-qualified path representing
|
1296
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1297
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1290
1298
|
* @returns {string} A string representing the data_store.
|
1291
1299
|
*/
|
1292
|
-
|
1293
|
-
return this.pathTemplates.
|
1300
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1301
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1294
1302
|
}
|
1295
1303
|
/**
|
1296
|
-
* Parse the session from
|
1304
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1297
1305
|
*
|
1298
|
-
* @param {string}
|
1299
|
-
* A fully-qualified path representing
|
1306
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1307
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1300
1308
|
* @returns {string} A string representing the session.
|
1301
1309
|
*/
|
1302
|
-
|
1303
|
-
return this.pathTemplates.
|
1310
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1311
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1304
1312
|
}
|
1305
1313
|
/**
|
1306
|
-
*
|
1314
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1315
|
+
*
|
1316
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1317
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1318
|
+
* @returns {string} A string representing the answer.
|
1319
|
+
*/
|
1320
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1321
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1322
|
+
}
|
1323
|
+
/**
|
1324
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1307
1325
|
*
|
1308
1326
|
* @param {string} project
|
1309
1327
|
* @param {string} location
|
1310
1328
|
* @param {string} collection
|
1311
1329
|
* @param {string} data_store
|
1312
1330
|
* @param {string} session
|
1313
|
-
* @param {string} answer
|
1314
1331
|
* @returns {string} Resource name string.
|
1315
1332
|
*/
|
1316
|
-
|
1317
|
-
return this.pathTemplates.
|
1333
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1334
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1318
1335
|
project: project,
|
1319
1336
|
location: location,
|
1320
1337
|
collection: collection,
|
1321
1338
|
data_store: dataStore,
|
1322
1339
|
session: session,
|
1323
|
-
answer: answer,
|
1324
1340
|
});
|
1325
1341
|
}
|
1326
1342
|
/**
|
1327
|
-
* Parse the project from
|
1343
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1328
1344
|
*
|
1329
|
-
* @param {string}
|
1330
|
-
* A fully-qualified path representing
|
1345
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1346
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1331
1347
|
* @returns {string} A string representing the project.
|
1332
1348
|
*/
|
1333
|
-
|
1334
|
-
return this.pathTemplates.
|
1349
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1350
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1335
1351
|
}
|
1336
1352
|
/**
|
1337
|
-
* Parse the location from
|
1353
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1338
1354
|
*
|
1339
|
-
* @param {string}
|
1340
|
-
* A fully-qualified path representing
|
1355
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1356
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1341
1357
|
* @returns {string} A string representing the location.
|
1342
1358
|
*/
|
1343
|
-
|
1344
|
-
return this.pathTemplates.
|
1359
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1360
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1345
1361
|
}
|
1346
1362
|
/**
|
1347
|
-
* Parse the collection from
|
1363
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1348
1364
|
*
|
1349
|
-
* @param {string}
|
1350
|
-
* A fully-qualified path representing
|
1365
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1366
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1351
1367
|
* @returns {string} A string representing the collection.
|
1352
1368
|
*/
|
1353
|
-
|
1354
|
-
return this.pathTemplates.
|
1369
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1370
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1355
1371
|
}
|
1356
1372
|
/**
|
1357
|
-
* Parse the data_store from
|
1373
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1358
1374
|
*
|
1359
|
-
* @param {string}
|
1360
|
-
* A fully-qualified path representing
|
1375
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1376
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1361
1377
|
* @returns {string} A string representing the data_store.
|
1362
1378
|
*/
|
1363
|
-
|
1364
|
-
return this.pathTemplates.
|
1379
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1380
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1365
1381
|
}
|
1366
1382
|
/**
|
1367
|
-
* Parse the session from
|
1383
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1368
1384
|
*
|
1369
|
-
* @param {string}
|
1370
|
-
* A fully-qualified path representing
|
1385
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1386
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1371
1387
|
* @returns {string} A string representing the session.
|
1372
1388
|
*/
|
1373
|
-
|
1374
|
-
return this.pathTemplates.
|
1375
|
-
}
|
1376
|
-
/**
|
1377
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1378
|
-
*
|
1379
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1380
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1381
|
-
* @returns {string} A string representing the answer.
|
1382
|
-
*/
|
1383
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1384
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1389
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1390
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1385
1391
|
}
|
1386
1392
|
/**
|
1387
1393
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1717,154 +1723,154 @@ class GroundedGenerationServiceClient {
|
|
1717
1723
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1718
1724
|
}
|
1719
1725
|
/**
|
1720
|
-
* Return a fully-qualified
|
1726
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1721
1727
|
*
|
1722
1728
|
* @param {string} project
|
1723
1729
|
* @param {string} location
|
1724
1730
|
* @param {string} collection
|
1725
1731
|
* @param {string} engine
|
1726
1732
|
* @param {string} session
|
1733
|
+
* @param {string} answer
|
1727
1734
|
* @returns {string} Resource name string.
|
1728
1735
|
*/
|
1729
|
-
|
1730
|
-
return this.pathTemplates.
|
1736
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1737
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1731
1738
|
project: project,
|
1732
1739
|
location: location,
|
1733
1740
|
collection: collection,
|
1734
1741
|
engine: engine,
|
1735
1742
|
session: session,
|
1743
|
+
answer: answer,
|
1736
1744
|
});
|
1737
1745
|
}
|
1738
1746
|
/**
|
1739
|
-
* Parse the project from
|
1747
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1740
1748
|
*
|
1741
|
-
* @param {string}
|
1742
|
-
* A fully-qualified path representing
|
1749
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1750
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1743
1751
|
* @returns {string} A string representing the project.
|
1744
1752
|
*/
|
1745
|
-
|
1746
|
-
return this.pathTemplates.
|
1753
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1754
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1747
1755
|
}
|
1748
1756
|
/**
|
1749
|
-
* Parse the location from
|
1757
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1750
1758
|
*
|
1751
|
-
* @param {string}
|
1752
|
-
* A fully-qualified path representing
|
1759
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1760
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1753
1761
|
* @returns {string} A string representing the location.
|
1754
1762
|
*/
|
1755
|
-
|
1756
|
-
return this.pathTemplates.
|
1763
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1757
1765
|
}
|
1758
1766
|
/**
|
1759
|
-
* Parse the collection from
|
1767
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1760
1768
|
*
|
1761
|
-
* @param {string}
|
1762
|
-
* A fully-qualified path representing
|
1769
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1770
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1763
1771
|
* @returns {string} A string representing the collection.
|
1764
1772
|
*/
|
1765
|
-
|
1766
|
-
return this.pathTemplates.
|
1773
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1774
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1767
1775
|
}
|
1768
1776
|
/**
|
1769
|
-
* Parse the engine from
|
1777
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1770
1778
|
*
|
1771
|
-
* @param {string}
|
1772
|
-
* A fully-qualified path representing
|
1779
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1780
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1773
1781
|
* @returns {string} A string representing the engine.
|
1774
1782
|
*/
|
1775
|
-
|
1776
|
-
return this.pathTemplates.
|
1783
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1784
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1777
1785
|
}
|
1778
1786
|
/**
|
1779
|
-
* Parse the session from
|
1787
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1780
1788
|
*
|
1781
|
-
* @param {string}
|
1782
|
-
* A fully-qualified path representing
|
1789
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1790
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1783
1791
|
* @returns {string} A string representing the session.
|
1784
1792
|
*/
|
1785
|
-
|
1786
|
-
return this.pathTemplates.
|
1793
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1794
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1787
1795
|
}
|
1788
1796
|
/**
|
1789
|
-
*
|
1797
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1798
|
+
*
|
1799
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1800
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1801
|
+
* @returns {string} A string representing the answer.
|
1802
|
+
*/
|
1803
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1804
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1805
|
+
}
|
1806
|
+
/**
|
1807
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1790
1808
|
*
|
1791
1809
|
* @param {string} project
|
1792
1810
|
* @param {string} location
|
1793
1811
|
* @param {string} collection
|
1794
1812
|
* @param {string} engine
|
1795
1813
|
* @param {string} session
|
1796
|
-
* @param {string} answer
|
1797
1814
|
* @returns {string} Resource name string.
|
1798
1815
|
*/
|
1799
|
-
|
1800
|
-
return this.pathTemplates.
|
1816
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1801
1818
|
project: project,
|
1802
1819
|
location: location,
|
1803
1820
|
collection: collection,
|
1804
1821
|
engine: engine,
|
1805
1822
|
session: session,
|
1806
|
-
answer: answer,
|
1807
1823
|
});
|
1808
1824
|
}
|
1809
1825
|
/**
|
1810
|
-
* Parse the project from
|
1826
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1811
1827
|
*
|
1812
|
-
* @param {string}
|
1813
|
-
* A fully-qualified path representing
|
1828
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1829
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1814
1830
|
* @returns {string} A string representing the project.
|
1815
1831
|
*/
|
1816
|
-
|
1817
|
-
return this.pathTemplates.
|
1832
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1833
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1818
1834
|
}
|
1819
1835
|
/**
|
1820
|
-
* Parse the location from
|
1836
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1821
1837
|
*
|
1822
|
-
* @param {string}
|
1823
|
-
* A fully-qualified path representing
|
1838
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1839
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1824
1840
|
* @returns {string} A string representing the location.
|
1825
1841
|
*/
|
1826
|
-
|
1827
|
-
return this.pathTemplates.
|
1842
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1843
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1828
1844
|
}
|
1829
1845
|
/**
|
1830
|
-
* Parse the collection from
|
1846
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1831
1847
|
*
|
1832
|
-
* @param {string}
|
1833
|
-
* A fully-qualified path representing
|
1848
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1849
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1834
1850
|
* @returns {string} A string representing the collection.
|
1835
1851
|
*/
|
1836
|
-
|
1837
|
-
return this.pathTemplates.
|
1852
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1853
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1838
1854
|
}
|
1839
1855
|
/**
|
1840
|
-
* Parse the engine from
|
1856
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1841
1857
|
*
|
1842
|
-
* @param {string}
|
1843
|
-
* A fully-qualified path representing
|
1858
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1859
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1844
1860
|
* @returns {string} A string representing the engine.
|
1845
1861
|
*/
|
1846
|
-
|
1847
|
-
return this.pathTemplates.
|
1862
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1863
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1848
1864
|
}
|
1849
1865
|
/**
|
1850
|
-
* Parse the session from
|
1866
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1851
1867
|
*
|
1852
|
-
* @param {string}
|
1853
|
-
* A fully-qualified path representing
|
1868
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1869
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1854
1870
|
* @returns {string} A string representing the session.
|
1855
1871
|
*/
|
1856
|
-
|
1857
|
-
return this.pathTemplates.
|
1858
|
-
}
|
1859
|
-
/**
|
1860
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1861
|
-
*
|
1862
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1863
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1864
|
-
* @returns {string} A string representing the answer.
|
1865
|
-
*/
|
1866
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1867
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1872
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1873
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1868
1874
|
}
|
1869
1875
|
/**
|
1870
1876
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2391,63 +2397,6 @@ class GroundedGenerationServiceClient {
|
|
2391
2397
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2392
2398
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2393
2399
|
}
|
2394
|
-
/**
|
2395
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2396
|
-
*
|
2397
|
-
* @param {string} project
|
2398
|
-
* @param {string} location
|
2399
|
-
* @param {string} data_store
|
2400
|
-
* @param {string} session
|
2401
|
-
* @returns {string} Resource name string.
|
2402
|
-
*/
|
2403
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2404
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2405
|
-
project: project,
|
2406
|
-
location: location,
|
2407
|
-
data_store: dataStore,
|
2408
|
-
session: session,
|
2409
|
-
});
|
2410
|
-
}
|
2411
|
-
/**
|
2412
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2413
|
-
*
|
2414
|
-
* @param {string} projectLocationDataStoreSessionName
|
2415
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2416
|
-
* @returns {string} A string representing the project.
|
2417
|
-
*/
|
2418
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2419
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2420
|
-
}
|
2421
|
-
/**
|
2422
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2423
|
-
*
|
2424
|
-
* @param {string} projectLocationDataStoreSessionName
|
2425
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2426
|
-
* @returns {string} A string representing the location.
|
2427
|
-
*/
|
2428
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2429
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2430
|
-
}
|
2431
|
-
/**
|
2432
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2433
|
-
*
|
2434
|
-
* @param {string} projectLocationDataStoreSessionName
|
2435
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2436
|
-
* @returns {string} A string representing the data_store.
|
2437
|
-
*/
|
2438
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2439
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2440
|
-
}
|
2441
|
-
/**
|
2442
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2443
|
-
*
|
2444
|
-
* @param {string} projectLocationDataStoreSessionName
|
2445
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2446
|
-
* @returns {string} A string representing the session.
|
2447
|
-
*/
|
2448
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2449
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2450
|
-
}
|
2451
2400
|
/**
|
2452
2401
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2453
2402
|
*
|
@@ -2517,6 +2466,63 @@ class GroundedGenerationServiceClient {
|
|
2517
2466
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2518
2467
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2519
2468
|
}
|
2469
|
+
/**
|
2470
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2471
|
+
*
|
2472
|
+
* @param {string} project
|
2473
|
+
* @param {string} location
|
2474
|
+
* @param {string} data_store
|
2475
|
+
* @param {string} session
|
2476
|
+
* @returns {string} Resource name string.
|
2477
|
+
*/
|
2478
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2479
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2480
|
+
project: project,
|
2481
|
+
location: location,
|
2482
|
+
data_store: dataStore,
|
2483
|
+
session: session,
|
2484
|
+
});
|
2485
|
+
}
|
2486
|
+
/**
|
2487
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2488
|
+
*
|
2489
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2490
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2491
|
+
* @returns {string} A string representing the project.
|
2492
|
+
*/
|
2493
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2494
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2495
|
+
}
|
2496
|
+
/**
|
2497
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2498
|
+
*
|
2499
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2500
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2501
|
+
* @returns {string} A string representing the location.
|
2502
|
+
*/
|
2503
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2504
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2505
|
+
}
|
2506
|
+
/**
|
2507
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2508
|
+
*
|
2509
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2510
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2511
|
+
* @returns {string} A string representing the data_store.
|
2512
|
+
*/
|
2513
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2514
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2515
|
+
}
|
2516
|
+
/**
|
2517
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2518
|
+
*
|
2519
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2520
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2521
|
+
* @returns {string} A string representing the session.
|
2522
|
+
*/
|
2523
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2524
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2525
|
+
}
|
2520
2526
|
/**
|
2521
2527
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2522
2528
|
*
|
@@ -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",
|