@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
@@ -177,16 +177,16 @@ class ProjectServiceClient {
|
|
177
177
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
178
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
179
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
180
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
181
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
183
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
184
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
185
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
186
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
187
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
188
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
189
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
190
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
191
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
192
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,15 +196,15 @@ class ProjectServiceClient {
|
|
196
196
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
197
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
198
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
199
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
200
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
201
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
202
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
203
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
204
204
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
205
205
|
sampleQuerySetPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}'),
|
206
206
|
};
|
207
|
-
const protoFilesRoot = this._gaxModule.
|
207
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
208
208
|
// This API contains "long-running operations", which return a
|
209
209
|
// an Operation object that allows for tracking of the operation,
|
210
210
|
// rather than holding a request open.
|
@@ -1424,154 +1424,154 @@ class ProjectServiceClient {
|
|
1424
1424
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1425
1425
|
}
|
1426
1426
|
/**
|
1427
|
-
* Return a fully-qualified
|
1427
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1428
1428
|
*
|
1429
1429
|
* @param {string} project
|
1430
1430
|
* @param {string} location
|
1431
1431
|
* @param {string} collection
|
1432
1432
|
* @param {string} data_store
|
1433
1433
|
* @param {string} session
|
1434
|
+
* @param {string} answer
|
1434
1435
|
* @returns {string} Resource name string.
|
1435
1436
|
*/
|
1436
|
-
|
1437
|
-
return this.pathTemplates.
|
1437
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1438
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1438
1439
|
project: project,
|
1439
1440
|
location: location,
|
1440
1441
|
collection: collection,
|
1441
1442
|
data_store: dataStore,
|
1442
1443
|
session: session,
|
1444
|
+
answer: answer,
|
1443
1445
|
});
|
1444
1446
|
}
|
1445
1447
|
/**
|
1446
|
-
* Parse the project from
|
1448
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1447
1449
|
*
|
1448
|
-
* @param {string}
|
1449
|
-
* A fully-qualified path representing
|
1450
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1451
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1450
1452
|
* @returns {string} A string representing the project.
|
1451
1453
|
*/
|
1452
|
-
|
1453
|
-
return this.pathTemplates.
|
1454
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1455
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1454
1456
|
}
|
1455
1457
|
/**
|
1456
|
-
* Parse the location from
|
1458
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1457
1459
|
*
|
1458
|
-
* @param {string}
|
1459
|
-
* A fully-qualified path representing
|
1460
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1461
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1460
1462
|
* @returns {string} A string representing the location.
|
1461
1463
|
*/
|
1462
|
-
|
1463
|
-
return this.pathTemplates.
|
1464
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1465
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1464
1466
|
}
|
1465
1467
|
/**
|
1466
|
-
* Parse the collection from
|
1468
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1467
1469
|
*
|
1468
|
-
* @param {string}
|
1469
|
-
* A fully-qualified path representing
|
1470
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1471
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1470
1472
|
* @returns {string} A string representing the collection.
|
1471
1473
|
*/
|
1472
|
-
|
1473
|
-
return this.pathTemplates.
|
1474
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1475
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1474
1476
|
}
|
1475
1477
|
/**
|
1476
|
-
* Parse the data_store from
|
1478
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1477
1479
|
*
|
1478
|
-
* @param {string}
|
1479
|
-
* A fully-qualified path representing
|
1480
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1481
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1480
1482
|
* @returns {string} A string representing the data_store.
|
1481
1483
|
*/
|
1482
|
-
|
1483
|
-
return this.pathTemplates.
|
1484
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1485
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1484
1486
|
}
|
1485
1487
|
/**
|
1486
|
-
* Parse the session from
|
1488
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1487
1489
|
*
|
1488
|
-
* @param {string}
|
1489
|
-
* A fully-qualified path representing
|
1490
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1491
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1490
1492
|
* @returns {string} A string representing the session.
|
1491
1493
|
*/
|
1492
|
-
|
1493
|
-
return this.pathTemplates.
|
1494
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1495
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1494
1496
|
}
|
1495
1497
|
/**
|
1496
|
-
*
|
1498
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1499
|
+
*
|
1500
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1501
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1502
|
+
* @returns {string} A string representing the answer.
|
1503
|
+
*/
|
1504
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1505
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1506
|
+
}
|
1507
|
+
/**
|
1508
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1497
1509
|
*
|
1498
1510
|
* @param {string} project
|
1499
1511
|
* @param {string} location
|
1500
1512
|
* @param {string} collection
|
1501
1513
|
* @param {string} data_store
|
1502
1514
|
* @param {string} session
|
1503
|
-
* @param {string} answer
|
1504
1515
|
* @returns {string} Resource name string.
|
1505
1516
|
*/
|
1506
|
-
|
1507
|
-
return this.pathTemplates.
|
1517
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1518
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1508
1519
|
project: project,
|
1509
1520
|
location: location,
|
1510
1521
|
collection: collection,
|
1511
1522
|
data_store: dataStore,
|
1512
1523
|
session: session,
|
1513
|
-
answer: answer,
|
1514
1524
|
});
|
1515
1525
|
}
|
1516
1526
|
/**
|
1517
|
-
* Parse the project from
|
1527
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1518
1528
|
*
|
1519
|
-
* @param {string}
|
1520
|
-
* A fully-qualified path representing
|
1529
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1530
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1521
1531
|
* @returns {string} A string representing the project.
|
1522
1532
|
*/
|
1523
|
-
|
1524
|
-
return this.pathTemplates.
|
1533
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1534
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1525
1535
|
}
|
1526
1536
|
/**
|
1527
|
-
* Parse the location from
|
1537
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1528
1538
|
*
|
1529
|
-
* @param {string}
|
1530
|
-
* A fully-qualified path representing
|
1539
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1540
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1531
1541
|
* @returns {string} A string representing the location.
|
1532
1542
|
*/
|
1533
|
-
|
1534
|
-
return this.pathTemplates.
|
1543
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1544
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1535
1545
|
}
|
1536
1546
|
/**
|
1537
|
-
* Parse the collection from
|
1547
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1538
1548
|
*
|
1539
|
-
* @param {string}
|
1540
|
-
* A fully-qualified path representing
|
1549
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1550
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1541
1551
|
* @returns {string} A string representing the collection.
|
1542
1552
|
*/
|
1543
|
-
|
1544
|
-
return this.pathTemplates.
|
1553
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1554
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1545
1555
|
}
|
1546
1556
|
/**
|
1547
|
-
* Parse the data_store from
|
1557
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1548
1558
|
*
|
1549
|
-
* @param {string}
|
1550
|
-
* A fully-qualified path representing
|
1559
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1560
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1551
1561
|
* @returns {string} A string representing the data_store.
|
1552
1562
|
*/
|
1553
|
-
|
1554
|
-
return this.pathTemplates.
|
1563
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1564
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1555
1565
|
}
|
1556
1566
|
/**
|
1557
|
-
* Parse the session from
|
1567
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1558
1568
|
*
|
1559
|
-
* @param {string}
|
1560
|
-
* A fully-qualified path representing
|
1569
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1570
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1561
1571
|
* @returns {string} A string representing the session.
|
1562
1572
|
*/
|
1563
|
-
|
1564
|
-
return this.pathTemplates.
|
1565
|
-
}
|
1566
|
-
/**
|
1567
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1568
|
-
*
|
1569
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1570
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1571
|
-
* @returns {string} A string representing the answer.
|
1572
|
-
*/
|
1573
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1574
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1573
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1574
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1575
1575
|
}
|
1576
1576
|
/**
|
1577
1577
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1976,154 +1976,154 @@ class ProjectServiceClient {
|
|
1976
1976
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1977
1977
|
}
|
1978
1978
|
/**
|
1979
|
-
* Return a fully-qualified
|
1979
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1980
1980
|
*
|
1981
1981
|
* @param {string} project
|
1982
1982
|
* @param {string} location
|
1983
1983
|
* @param {string} collection
|
1984
1984
|
* @param {string} engine
|
1985
1985
|
* @param {string} session
|
1986
|
+
* @param {string} answer
|
1986
1987
|
* @returns {string} Resource name string.
|
1987
1988
|
*/
|
1988
|
-
|
1989
|
-
return this.pathTemplates.
|
1989
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1990
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1990
1991
|
project: project,
|
1991
1992
|
location: location,
|
1992
1993
|
collection: collection,
|
1993
1994
|
engine: engine,
|
1994
1995
|
session: session,
|
1996
|
+
answer: answer,
|
1995
1997
|
});
|
1996
1998
|
}
|
1997
1999
|
/**
|
1998
|
-
* Parse the project from
|
2000
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1999
2001
|
*
|
2000
|
-
* @param {string}
|
2001
|
-
* A fully-qualified path representing
|
2002
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2003
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2002
2004
|
* @returns {string} A string representing the project.
|
2003
2005
|
*/
|
2004
|
-
|
2005
|
-
return this.pathTemplates.
|
2006
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2007
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2006
2008
|
}
|
2007
2009
|
/**
|
2008
|
-
* Parse the location from
|
2010
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2009
2011
|
*
|
2010
|
-
* @param {string}
|
2011
|
-
* A fully-qualified path representing
|
2012
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2013
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2012
2014
|
* @returns {string} A string representing the location.
|
2013
2015
|
*/
|
2014
|
-
|
2015
|
-
return this.pathTemplates.
|
2016
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2017
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2016
2018
|
}
|
2017
2019
|
/**
|
2018
|
-
* Parse the collection from
|
2020
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2019
2021
|
*
|
2020
|
-
* @param {string}
|
2021
|
-
* A fully-qualified path representing
|
2022
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2023
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2022
2024
|
* @returns {string} A string representing the collection.
|
2023
2025
|
*/
|
2024
|
-
|
2025
|
-
return this.pathTemplates.
|
2026
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2027
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2026
2028
|
}
|
2027
2029
|
/**
|
2028
|
-
* Parse the engine from
|
2030
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2029
2031
|
*
|
2030
|
-
* @param {string}
|
2031
|
-
* A fully-qualified path representing
|
2032
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2033
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2032
2034
|
* @returns {string} A string representing the engine.
|
2033
2035
|
*/
|
2034
|
-
|
2035
|
-
return this.pathTemplates.
|
2036
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2037
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2036
2038
|
}
|
2037
2039
|
/**
|
2038
|
-
* Parse the session from
|
2040
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2039
2041
|
*
|
2040
|
-
* @param {string}
|
2041
|
-
* A fully-qualified path representing
|
2042
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2043
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2042
2044
|
* @returns {string} A string representing the session.
|
2043
2045
|
*/
|
2044
|
-
|
2045
|
-
return this.pathTemplates.
|
2046
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2047
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2046
2048
|
}
|
2047
2049
|
/**
|
2048
|
-
*
|
2050
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2051
|
+
*
|
2052
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2053
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2054
|
+
* @returns {string} A string representing the answer.
|
2055
|
+
*/
|
2056
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2057
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2058
|
+
}
|
2059
|
+
/**
|
2060
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2049
2061
|
*
|
2050
2062
|
* @param {string} project
|
2051
2063
|
* @param {string} location
|
2052
2064
|
* @param {string} collection
|
2053
2065
|
* @param {string} engine
|
2054
2066
|
* @param {string} session
|
2055
|
-
* @param {string} answer
|
2056
2067
|
* @returns {string} Resource name string.
|
2057
2068
|
*/
|
2058
|
-
|
2059
|
-
return this.pathTemplates.
|
2069
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2070
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2060
2071
|
project: project,
|
2061
2072
|
location: location,
|
2062
2073
|
collection: collection,
|
2063
2074
|
engine: engine,
|
2064
2075
|
session: session,
|
2065
|
-
answer: answer,
|
2066
2076
|
});
|
2067
2077
|
}
|
2068
2078
|
/**
|
2069
|
-
* Parse the project from
|
2079
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2070
2080
|
*
|
2071
|
-
* @param {string}
|
2072
|
-
* A fully-qualified path representing
|
2081
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2082
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2073
2083
|
* @returns {string} A string representing the project.
|
2074
2084
|
*/
|
2075
|
-
|
2076
|
-
return this.pathTemplates.
|
2085
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2086
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2077
2087
|
}
|
2078
2088
|
/**
|
2079
|
-
* Parse the location from
|
2089
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2080
2090
|
*
|
2081
|
-
* @param {string}
|
2082
|
-
* A fully-qualified path representing
|
2091
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2092
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2083
2093
|
* @returns {string} A string representing the location.
|
2084
2094
|
*/
|
2085
|
-
|
2086
|
-
return this.pathTemplates.
|
2095
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2096
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2087
2097
|
}
|
2088
2098
|
/**
|
2089
|
-
* Parse the collection from
|
2099
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2090
2100
|
*
|
2091
|
-
* @param {string}
|
2092
|
-
* A fully-qualified path representing
|
2101
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2102
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2093
2103
|
* @returns {string} A string representing the collection.
|
2094
2104
|
*/
|
2095
|
-
|
2096
|
-
return this.pathTemplates.
|
2105
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2106
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2097
2107
|
}
|
2098
2108
|
/**
|
2099
|
-
* Parse the engine from
|
2109
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2100
2110
|
*
|
2101
|
-
* @param {string}
|
2102
|
-
* A fully-qualified path representing
|
2111
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2112
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2103
2113
|
* @returns {string} A string representing the engine.
|
2104
2114
|
*/
|
2105
|
-
|
2106
|
-
return this.pathTemplates.
|
2115
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2116
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2107
2117
|
}
|
2108
2118
|
/**
|
2109
|
-
* Parse the session from
|
2119
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2110
2120
|
*
|
2111
|
-
* @param {string}
|
2112
|
-
* A fully-qualified path representing
|
2121
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2122
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2113
2123
|
* @returns {string} A string representing the session.
|
2114
2124
|
*/
|
2115
|
-
|
2116
|
-
return this.pathTemplates.
|
2117
|
-
}
|
2118
|
-
/**
|
2119
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2120
|
-
*
|
2121
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2122
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2123
|
-
* @returns {string} A string representing the answer.
|
2124
|
-
*/
|
2125
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2126
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2125
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2126
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2127
2127
|
}
|
2128
2128
|
/**
|
2129
2129
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2650,63 +2650,6 @@ class ProjectServiceClient {
|
|
2650
2650
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2651
2651
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2652
2652
|
}
|
2653
|
-
/**
|
2654
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2655
|
-
*
|
2656
|
-
* @param {string} project
|
2657
|
-
* @param {string} location
|
2658
|
-
* @param {string} data_store
|
2659
|
-
* @param {string} session
|
2660
|
-
* @returns {string} Resource name string.
|
2661
|
-
*/
|
2662
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2663
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2664
|
-
project: project,
|
2665
|
-
location: location,
|
2666
|
-
data_store: dataStore,
|
2667
|
-
session: session,
|
2668
|
-
});
|
2669
|
-
}
|
2670
|
-
/**
|
2671
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2672
|
-
*
|
2673
|
-
* @param {string} projectLocationDataStoreSessionName
|
2674
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2675
|
-
* @returns {string} A string representing the project.
|
2676
|
-
*/
|
2677
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2678
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2679
|
-
}
|
2680
|
-
/**
|
2681
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2682
|
-
*
|
2683
|
-
* @param {string} projectLocationDataStoreSessionName
|
2684
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2685
|
-
* @returns {string} A string representing the location.
|
2686
|
-
*/
|
2687
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2688
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2689
|
-
}
|
2690
|
-
/**
|
2691
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2692
|
-
*
|
2693
|
-
* @param {string} projectLocationDataStoreSessionName
|
2694
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2695
|
-
* @returns {string} A string representing the data_store.
|
2696
|
-
*/
|
2697
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2698
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2699
|
-
}
|
2700
|
-
/**
|
2701
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2702
|
-
*
|
2703
|
-
* @param {string} projectLocationDataStoreSessionName
|
2704
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2705
|
-
* @returns {string} A string representing the session.
|
2706
|
-
*/
|
2707
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2708
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2709
|
-
}
|
2710
2653
|
/**
|
2711
2654
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2712
2655
|
*
|
@@ -2776,6 +2719,63 @@ class ProjectServiceClient {
|
|
2776
2719
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2777
2720
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2778
2721
|
}
|
2722
|
+
/**
|
2723
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2724
|
+
*
|
2725
|
+
* @param {string} project
|
2726
|
+
* @param {string} location
|
2727
|
+
* @param {string} data_store
|
2728
|
+
* @param {string} session
|
2729
|
+
* @returns {string} Resource name string.
|
2730
|
+
*/
|
2731
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2732
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2733
|
+
project: project,
|
2734
|
+
location: location,
|
2735
|
+
data_store: dataStore,
|
2736
|
+
session: session,
|
2737
|
+
});
|
2738
|
+
}
|
2739
|
+
/**
|
2740
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2741
|
+
*
|
2742
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2743
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2744
|
+
* @returns {string} A string representing the project.
|
2745
|
+
*/
|
2746
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2747
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2748
|
+
}
|
2749
|
+
/**
|
2750
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2751
|
+
*
|
2752
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2753
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2754
|
+
* @returns {string} A string representing the location.
|
2755
|
+
*/
|
2756
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2757
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2758
|
+
}
|
2759
|
+
/**
|
2760
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2761
|
+
*
|
2762
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2763
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2764
|
+
* @returns {string} A string representing the data_store.
|
2765
|
+
*/
|
2766
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2767
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2768
|
+
}
|
2769
|
+
/**
|
2770
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2771
|
+
*
|
2772
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2773
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2774
|
+
* @returns {string} A string representing the session.
|
2775
|
+
*/
|
2776
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2777
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2778
|
+
}
|
2779
2779
|
/**
|
2780
2780
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2781
2781
|
*
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
|
38
38
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
|
39
39
|
"../../protos/google/cloud/discoveryengine/v1beta/session.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
|
40
41
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
|
41
42
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
|
42
43
|
"../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
|