@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,15 +177,15 @@ class ChunkServiceClient {
|
|
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
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
184
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
185
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
186
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
187
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
187
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
188
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
189
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
190
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
191
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +195,8 @@ class ChunkServiceClient {
|
|
195
195
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
196
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
197
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
198
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
198
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
199
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
200
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
202
202
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -347,6 +347,12 @@ class ChunkServiceClient {
|
|
347
347
|
?.then(([response, options, rawResponse]) => {
|
348
348
|
this._log.info('getChunk response %j', response);
|
349
349
|
return [response, options, rawResponse];
|
350
|
+
}).catch((error) => {
|
351
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
352
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
353
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
354
|
+
}
|
355
|
+
throw error;
|
350
356
|
});
|
351
357
|
}
|
352
358
|
listChunks(request, optionsOrCallback, callback) {
|
@@ -1339,154 +1345,154 @@ class ChunkServiceClient {
|
|
1339
1345
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1340
1346
|
}
|
1341
1347
|
/**
|
1342
|
-
* Return a fully-qualified
|
1348
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1343
1349
|
*
|
1344
1350
|
* @param {string} project
|
1345
1351
|
* @param {string} location
|
1346
1352
|
* @param {string} collection
|
1347
1353
|
* @param {string} data_store
|
1348
1354
|
* @param {string} session
|
1355
|
+
* @param {string} answer
|
1349
1356
|
* @returns {string} Resource name string.
|
1350
1357
|
*/
|
1351
|
-
|
1352
|
-
return this.pathTemplates.
|
1358
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1359
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1353
1360
|
project: project,
|
1354
1361
|
location: location,
|
1355
1362
|
collection: collection,
|
1356
1363
|
data_store: dataStore,
|
1357
1364
|
session: session,
|
1365
|
+
answer: answer,
|
1358
1366
|
});
|
1359
1367
|
}
|
1360
1368
|
/**
|
1361
|
-
* Parse the project from
|
1369
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1362
1370
|
*
|
1363
|
-
* @param {string}
|
1364
|
-
* A fully-qualified path representing
|
1371
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1372
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1365
1373
|
* @returns {string} A string representing the project.
|
1366
1374
|
*/
|
1367
|
-
|
1368
|
-
return this.pathTemplates.
|
1375
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1376
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1369
1377
|
}
|
1370
1378
|
/**
|
1371
|
-
* Parse the location from
|
1379
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1372
1380
|
*
|
1373
|
-
* @param {string}
|
1374
|
-
* A fully-qualified path representing
|
1381
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1382
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1375
1383
|
* @returns {string} A string representing the location.
|
1376
1384
|
*/
|
1377
|
-
|
1378
|
-
return this.pathTemplates.
|
1385
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1386
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1379
1387
|
}
|
1380
1388
|
/**
|
1381
|
-
* Parse the collection from
|
1389
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1382
1390
|
*
|
1383
|
-
* @param {string}
|
1384
|
-
* A fully-qualified path representing
|
1391
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1392
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1385
1393
|
* @returns {string} A string representing the collection.
|
1386
1394
|
*/
|
1387
|
-
|
1388
|
-
return this.pathTemplates.
|
1395
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1396
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1389
1397
|
}
|
1390
1398
|
/**
|
1391
|
-
* Parse the data_store from
|
1399
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1392
1400
|
*
|
1393
|
-
* @param {string}
|
1394
|
-
* A fully-qualified path representing
|
1401
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1402
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1395
1403
|
* @returns {string} A string representing the data_store.
|
1396
1404
|
*/
|
1397
|
-
|
1398
|
-
return this.pathTemplates.
|
1405
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1406
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1399
1407
|
}
|
1400
1408
|
/**
|
1401
|
-
* Parse the session from
|
1409
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1402
1410
|
*
|
1403
|
-
* @param {string}
|
1404
|
-
* A fully-qualified path representing
|
1411
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1412
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1405
1413
|
* @returns {string} A string representing the session.
|
1406
1414
|
*/
|
1407
|
-
|
1408
|
-
return this.pathTemplates.
|
1415
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1416
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1409
1417
|
}
|
1410
1418
|
/**
|
1411
|
-
*
|
1419
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1420
|
+
*
|
1421
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1422
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1423
|
+
* @returns {string} A string representing the answer.
|
1424
|
+
*/
|
1425
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1426
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1427
|
+
}
|
1428
|
+
/**
|
1429
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1412
1430
|
*
|
1413
1431
|
* @param {string} project
|
1414
1432
|
* @param {string} location
|
1415
1433
|
* @param {string} collection
|
1416
1434
|
* @param {string} data_store
|
1417
1435
|
* @param {string} session
|
1418
|
-
* @param {string} answer
|
1419
1436
|
* @returns {string} Resource name string.
|
1420
1437
|
*/
|
1421
|
-
|
1422
|
-
return this.pathTemplates.
|
1438
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1439
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1423
1440
|
project: project,
|
1424
1441
|
location: location,
|
1425
1442
|
collection: collection,
|
1426
1443
|
data_store: dataStore,
|
1427
1444
|
session: session,
|
1428
|
-
answer: answer,
|
1429
1445
|
});
|
1430
1446
|
}
|
1431
1447
|
/**
|
1432
|
-
* Parse the project from
|
1448
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1433
1449
|
*
|
1434
|
-
* @param {string}
|
1435
|
-
* A fully-qualified path representing
|
1450
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1451
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1436
1452
|
* @returns {string} A string representing the project.
|
1437
1453
|
*/
|
1438
|
-
|
1439
|
-
return this.pathTemplates.
|
1454
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1455
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1440
1456
|
}
|
1441
1457
|
/**
|
1442
|
-
* Parse the location from
|
1458
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1443
1459
|
*
|
1444
|
-
* @param {string}
|
1445
|
-
* A fully-qualified path representing
|
1460
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1461
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1446
1462
|
* @returns {string} A string representing the location.
|
1447
1463
|
*/
|
1448
|
-
|
1449
|
-
return this.pathTemplates.
|
1464
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1465
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1450
1466
|
}
|
1451
1467
|
/**
|
1452
|
-
* Parse the collection from
|
1468
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1453
1469
|
*
|
1454
|
-
* @param {string}
|
1455
|
-
* A fully-qualified path representing
|
1470
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1471
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1456
1472
|
* @returns {string} A string representing the collection.
|
1457
1473
|
*/
|
1458
|
-
|
1459
|
-
return this.pathTemplates.
|
1474
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1475
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1460
1476
|
}
|
1461
1477
|
/**
|
1462
|
-
* Parse the data_store from
|
1478
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1463
1479
|
*
|
1464
|
-
* @param {string}
|
1465
|
-
* A fully-qualified path representing
|
1480
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1481
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1466
1482
|
* @returns {string} A string representing the data_store.
|
1467
1483
|
*/
|
1468
|
-
|
1469
|
-
return this.pathTemplates.
|
1484
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1485
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1470
1486
|
}
|
1471
1487
|
/**
|
1472
|
-
* Parse the session from
|
1488
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1473
1489
|
*
|
1474
|
-
* @param {string}
|
1475
|
-
* A fully-qualified path representing
|
1490
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1491
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1476
1492
|
* @returns {string} A string representing the session.
|
1477
1493
|
*/
|
1478
|
-
|
1479
|
-
return this.pathTemplates.
|
1480
|
-
}
|
1481
|
-
/**
|
1482
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1483
|
-
*
|
1484
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1485
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1486
|
-
* @returns {string} A string representing the answer.
|
1487
|
-
*/
|
1488
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1489
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1494
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1495
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1490
1496
|
}
|
1491
1497
|
/**
|
1492
1498
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1822,154 +1828,154 @@ class ChunkServiceClient {
|
|
1822
1828
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1823
1829
|
}
|
1824
1830
|
/**
|
1825
|
-
* Return a fully-qualified
|
1831
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1826
1832
|
*
|
1827
1833
|
* @param {string} project
|
1828
1834
|
* @param {string} location
|
1829
1835
|
* @param {string} collection
|
1830
1836
|
* @param {string} engine
|
1831
1837
|
* @param {string} session
|
1838
|
+
* @param {string} answer
|
1832
1839
|
* @returns {string} Resource name string.
|
1833
1840
|
*/
|
1834
|
-
|
1835
|
-
return this.pathTemplates.
|
1841
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1842
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1836
1843
|
project: project,
|
1837
1844
|
location: location,
|
1838
1845
|
collection: collection,
|
1839
1846
|
engine: engine,
|
1840
1847
|
session: session,
|
1848
|
+
answer: answer,
|
1841
1849
|
});
|
1842
1850
|
}
|
1843
1851
|
/**
|
1844
|
-
* Parse the project from
|
1852
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1845
1853
|
*
|
1846
|
-
* @param {string}
|
1847
|
-
* A fully-qualified path representing
|
1854
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1855
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1848
1856
|
* @returns {string} A string representing the project.
|
1849
1857
|
*/
|
1850
|
-
|
1851
|
-
return this.pathTemplates.
|
1858
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1859
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1852
1860
|
}
|
1853
1861
|
/**
|
1854
|
-
* Parse the location from
|
1862
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1855
1863
|
*
|
1856
|
-
* @param {string}
|
1857
|
-
* A fully-qualified path representing
|
1864
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1865
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1858
1866
|
* @returns {string} A string representing the location.
|
1859
1867
|
*/
|
1860
|
-
|
1861
|
-
return this.pathTemplates.
|
1868
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1869
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1862
1870
|
}
|
1863
1871
|
/**
|
1864
|
-
* Parse the collection from
|
1872
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1865
1873
|
*
|
1866
|
-
* @param {string}
|
1867
|
-
* A fully-qualified path representing
|
1874
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1875
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1868
1876
|
* @returns {string} A string representing the collection.
|
1869
1877
|
*/
|
1870
|
-
|
1871
|
-
return this.pathTemplates.
|
1878
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1879
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1872
1880
|
}
|
1873
1881
|
/**
|
1874
|
-
* Parse the engine from
|
1882
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1875
1883
|
*
|
1876
|
-
* @param {string}
|
1877
|
-
* A fully-qualified path representing
|
1884
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1885
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1878
1886
|
* @returns {string} A string representing the engine.
|
1879
1887
|
*/
|
1880
|
-
|
1881
|
-
return this.pathTemplates.
|
1888
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1889
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1882
1890
|
}
|
1883
1891
|
/**
|
1884
|
-
* Parse the session from
|
1892
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1885
1893
|
*
|
1886
|
-
* @param {string}
|
1887
|
-
* A fully-qualified path representing
|
1894
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1895
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1888
1896
|
* @returns {string} A string representing the session.
|
1889
1897
|
*/
|
1890
|
-
|
1891
|
-
return this.pathTemplates.
|
1898
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1899
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1892
1900
|
}
|
1893
1901
|
/**
|
1894
|
-
*
|
1902
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1903
|
+
*
|
1904
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1905
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1906
|
+
* @returns {string} A string representing the answer.
|
1907
|
+
*/
|
1908
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1909
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1910
|
+
}
|
1911
|
+
/**
|
1912
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1895
1913
|
*
|
1896
1914
|
* @param {string} project
|
1897
1915
|
* @param {string} location
|
1898
1916
|
* @param {string} collection
|
1899
1917
|
* @param {string} engine
|
1900
1918
|
* @param {string} session
|
1901
|
-
* @param {string} answer
|
1902
1919
|
* @returns {string} Resource name string.
|
1903
1920
|
*/
|
1904
|
-
|
1905
|
-
return this.pathTemplates.
|
1921
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1922
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1906
1923
|
project: project,
|
1907
1924
|
location: location,
|
1908
1925
|
collection: collection,
|
1909
1926
|
engine: engine,
|
1910
1927
|
session: session,
|
1911
|
-
answer: answer,
|
1912
1928
|
});
|
1913
1929
|
}
|
1914
1930
|
/**
|
1915
|
-
* Parse the project from
|
1931
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1916
1932
|
*
|
1917
|
-
* @param {string}
|
1918
|
-
* A fully-qualified path representing
|
1933
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1934
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1919
1935
|
* @returns {string} A string representing the project.
|
1920
1936
|
*/
|
1921
|
-
|
1922
|
-
return this.pathTemplates.
|
1937
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1938
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1923
1939
|
}
|
1924
1940
|
/**
|
1925
|
-
* Parse the location from
|
1941
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1926
1942
|
*
|
1927
|
-
* @param {string}
|
1928
|
-
* A fully-qualified path representing
|
1943
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1944
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1929
1945
|
* @returns {string} A string representing the location.
|
1930
1946
|
*/
|
1931
|
-
|
1932
|
-
return this.pathTemplates.
|
1947
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1948
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1933
1949
|
}
|
1934
1950
|
/**
|
1935
|
-
* Parse the collection from
|
1951
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1936
1952
|
*
|
1937
|
-
* @param {string}
|
1938
|
-
* A fully-qualified path representing
|
1953
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1954
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1939
1955
|
* @returns {string} A string representing the collection.
|
1940
1956
|
*/
|
1941
|
-
|
1942
|
-
return this.pathTemplates.
|
1957
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1958
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1943
1959
|
}
|
1944
1960
|
/**
|
1945
|
-
* Parse the engine from
|
1961
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1946
1962
|
*
|
1947
|
-
* @param {string}
|
1948
|
-
* A fully-qualified path representing
|
1963
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1964
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1949
1965
|
* @returns {string} A string representing the engine.
|
1950
1966
|
*/
|
1951
|
-
|
1952
|
-
return this.pathTemplates.
|
1967
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1968
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1953
1969
|
}
|
1954
1970
|
/**
|
1955
|
-
* Parse the session from
|
1971
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1956
1972
|
*
|
1957
|
-
* @param {string}
|
1958
|
-
* A fully-qualified path representing
|
1973
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1974
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1959
1975
|
* @returns {string} A string representing the session.
|
1960
1976
|
*/
|
1961
|
-
|
1962
|
-
return this.pathTemplates.
|
1963
|
-
}
|
1964
|
-
/**
|
1965
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1966
|
-
*
|
1967
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1968
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1969
|
-
* @returns {string} A string representing the answer.
|
1970
|
-
*/
|
1971
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1972
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1977
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1978
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1973
1979
|
}
|
1974
1980
|
/**
|
1975
1981
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2496,63 +2502,6 @@ class ChunkServiceClient {
|
|
2496
2502
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2497
2503
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2498
2504
|
}
|
2499
|
-
/**
|
2500
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2501
|
-
*
|
2502
|
-
* @param {string} project
|
2503
|
-
* @param {string} location
|
2504
|
-
* @param {string} data_store
|
2505
|
-
* @param {string} session
|
2506
|
-
* @returns {string} Resource name string.
|
2507
|
-
*/
|
2508
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2509
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2510
|
-
project: project,
|
2511
|
-
location: location,
|
2512
|
-
data_store: dataStore,
|
2513
|
-
session: session,
|
2514
|
-
});
|
2515
|
-
}
|
2516
|
-
/**
|
2517
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2518
|
-
*
|
2519
|
-
* @param {string} projectLocationDataStoreSessionName
|
2520
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2521
|
-
* @returns {string} A string representing the project.
|
2522
|
-
*/
|
2523
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2524
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2525
|
-
}
|
2526
|
-
/**
|
2527
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2528
|
-
*
|
2529
|
-
* @param {string} projectLocationDataStoreSessionName
|
2530
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2531
|
-
* @returns {string} A string representing the location.
|
2532
|
-
*/
|
2533
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2534
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2535
|
-
}
|
2536
|
-
/**
|
2537
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2538
|
-
*
|
2539
|
-
* @param {string} projectLocationDataStoreSessionName
|
2540
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2541
|
-
* @returns {string} A string representing the data_store.
|
2542
|
-
*/
|
2543
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2544
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2545
|
-
}
|
2546
|
-
/**
|
2547
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2548
|
-
*
|
2549
|
-
* @param {string} projectLocationDataStoreSessionName
|
2550
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2551
|
-
* @returns {string} A string representing the session.
|
2552
|
-
*/
|
2553
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2554
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2555
|
-
}
|
2556
2505
|
/**
|
2557
2506
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2558
2507
|
*
|
@@ -2622,6 +2571,63 @@ class ChunkServiceClient {
|
|
2622
2571
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2623
2572
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2624
2573
|
}
|
2574
|
+
/**
|
2575
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2576
|
+
*
|
2577
|
+
* @param {string} project
|
2578
|
+
* @param {string} location
|
2579
|
+
* @param {string} data_store
|
2580
|
+
* @param {string} session
|
2581
|
+
* @returns {string} Resource name string.
|
2582
|
+
*/
|
2583
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2584
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2585
|
+
project: project,
|
2586
|
+
location: location,
|
2587
|
+
data_store: dataStore,
|
2588
|
+
session: session,
|
2589
|
+
});
|
2590
|
+
}
|
2591
|
+
/**
|
2592
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2593
|
+
*
|
2594
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2595
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2596
|
+
* @returns {string} A string representing the project.
|
2597
|
+
*/
|
2598
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2599
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2600
|
+
}
|
2601
|
+
/**
|
2602
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2603
|
+
*
|
2604
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2605
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2606
|
+
* @returns {string} A string representing the location.
|
2607
|
+
*/
|
2608
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2609
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2610
|
+
}
|
2611
|
+
/**
|
2612
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2613
|
+
*
|
2614
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2615
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2616
|
+
* @returns {string} A string representing the data_store.
|
2617
|
+
*/
|
2618
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2619
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2620
|
+
}
|
2621
|
+
/**
|
2622
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2623
|
+
*
|
2624
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2625
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2626
|
+
* @returns {string} A string representing the session.
|
2627
|
+
*/
|
2628
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2629
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2630
|
+
}
|
2625
2631
|
/**
|
2626
2632
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2627
2633
|
*
|
@@ -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",
|