@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
@@ -164,9 +164,14 @@ class DataStoreServiceClient {
|
|
164
164
|
// identifiers to uniquely identify resources within the API.
|
165
165
|
// Create useful helper objects for these.
|
166
166
|
this.pathTemplates = {
|
167
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
168
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
167
169
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
168
170
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
171
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
169
172
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
173
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
174
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
170
175
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
171
176
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
172
177
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -176,16 +181,16 @@ class DataStoreServiceClient {
|
|
176
181
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
177
182
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
178
183
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
179
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
184
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
185
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
186
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
182
187
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
183
188
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
184
189
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
185
190
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
186
191
|
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
192
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
193
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
194
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
190
195
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
191
196
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -195,8 +200,8 @@ class DataStoreServiceClient {
|
|
195
200
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
196
201
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
197
202
|
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
203
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
204
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
205
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
201
206
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
202
207
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -207,7 +212,7 @@ class DataStoreServiceClient {
|
|
207
212
|
this.descriptors.page = {
|
208
213
|
listDataStores: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'dataStores')
|
209
214
|
};
|
210
|
-
const protoFilesRoot = this._gaxModule.
|
215
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
211
216
|
// This API contains "long-running operations", which return a
|
212
217
|
// an Operation object that allows for tracking of the operation,
|
213
218
|
// rather than holding a request open.
|
@@ -217,7 +222,7 @@ class DataStoreServiceClient {
|
|
217
222
|
};
|
218
223
|
if (opts.fallback) {
|
219
224
|
lroOptions.protoJson = protoFilesRoot;
|
220
|
-
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
225
|
+
lroOptions.httpRules = [{ selector: 'google.longrunning.Operations.CancelOperation', post: '/v1/{name=projects/*/operations/*}:cancel', body: '*', additional_bindings: [{ post: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}:cancel', body: '*', }, { post: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}:cancel', body: '*', }],
|
221
226
|
}, { selector: 'google.longrunning.Operations.GetOperation', get: '/v1/{name=projects/*/operations/*}', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/collections/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*/operations/*}', }, { get: '/v1/{name=projects/*/locations/*/operations/*}', }, { get: '/v1/{name=projects/*/operations/*}', }],
|
222
227
|
}, { selector: 'google.longrunning.Operations.ListOperations', get: '/v1/{name=projects/*}/operations', additional_bindings: [{ get: '/v1/{name=projects/*/locations/*/collections/*/dataConnector}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/schemas/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine/targetSites}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*/siteSearchEngine}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*/engines/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/collections/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/branches/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*/models/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/dataStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*/identityMappingStores/*}/operations', }, { get: '/v1/{name=projects/*/locations/*}/operations', }, { get: '/v1/{name=projects/*}/operations', }],
|
223
228
|
}];
|
@@ -371,6 +376,12 @@ class DataStoreServiceClient {
|
|
371
376
|
?.then(([response, options, rawResponse]) => {
|
372
377
|
this._log.info('getDataStore response %j', response);
|
373
378
|
return [response, options, rawResponse];
|
379
|
+
}).catch((error) => {
|
380
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
381
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
382
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
383
|
+
}
|
384
|
+
throw error;
|
374
385
|
});
|
375
386
|
}
|
376
387
|
updateDataStore(request, optionsOrCallback, callback) {
|
@@ -401,6 +412,12 @@ class DataStoreServiceClient {
|
|
401
412
|
?.then(([response, options, rawResponse]) => {
|
402
413
|
this._log.info('updateDataStore response %j', response);
|
403
414
|
return [response, options, rawResponse];
|
415
|
+
}).catch((error) => {
|
416
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
417
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
418
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
419
|
+
}
|
420
|
+
throw error;
|
404
421
|
});
|
405
422
|
}
|
406
423
|
createDataStore(request, optionsOrCallback, callback) {
|
@@ -885,6 +902,156 @@ class DataStoreServiceClient {
|
|
885
902
|
// --------------------
|
886
903
|
// -- Path templates --
|
887
904
|
// --------------------
|
905
|
+
/**
|
906
|
+
* Return a fully-qualified assistAnswer resource name string.
|
907
|
+
*
|
908
|
+
* @param {string} project
|
909
|
+
* @param {string} location
|
910
|
+
* @param {string} collection
|
911
|
+
* @param {string} engine
|
912
|
+
* @param {string} session
|
913
|
+
* @param {string} assist_answer
|
914
|
+
* @returns {string} Resource name string.
|
915
|
+
*/
|
916
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
917
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
918
|
+
project: project,
|
919
|
+
location: location,
|
920
|
+
collection: collection,
|
921
|
+
engine: engine,
|
922
|
+
session: session,
|
923
|
+
assist_answer: assistAnswer,
|
924
|
+
});
|
925
|
+
}
|
926
|
+
/**
|
927
|
+
* Parse the project from AssistAnswer resource.
|
928
|
+
*
|
929
|
+
* @param {string} assistAnswerName
|
930
|
+
* A fully-qualified path representing AssistAnswer resource.
|
931
|
+
* @returns {string} A string representing the project.
|
932
|
+
*/
|
933
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
934
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
935
|
+
}
|
936
|
+
/**
|
937
|
+
* Parse the location from AssistAnswer resource.
|
938
|
+
*
|
939
|
+
* @param {string} assistAnswerName
|
940
|
+
* A fully-qualified path representing AssistAnswer resource.
|
941
|
+
* @returns {string} A string representing the location.
|
942
|
+
*/
|
943
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
944
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
945
|
+
}
|
946
|
+
/**
|
947
|
+
* Parse the collection from AssistAnswer resource.
|
948
|
+
*
|
949
|
+
* @param {string} assistAnswerName
|
950
|
+
* A fully-qualified path representing AssistAnswer resource.
|
951
|
+
* @returns {string} A string representing the collection.
|
952
|
+
*/
|
953
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
954
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
955
|
+
}
|
956
|
+
/**
|
957
|
+
* Parse the engine from AssistAnswer resource.
|
958
|
+
*
|
959
|
+
* @param {string} assistAnswerName
|
960
|
+
* A fully-qualified path representing AssistAnswer resource.
|
961
|
+
* @returns {string} A string representing the engine.
|
962
|
+
*/
|
963
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
964
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
965
|
+
}
|
966
|
+
/**
|
967
|
+
* Parse the session from AssistAnswer resource.
|
968
|
+
*
|
969
|
+
* @param {string} assistAnswerName
|
970
|
+
* A fully-qualified path representing AssistAnswer resource.
|
971
|
+
* @returns {string} A string representing the session.
|
972
|
+
*/
|
973
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
974
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
975
|
+
}
|
976
|
+
/**
|
977
|
+
* Parse the assist_answer from AssistAnswer resource.
|
978
|
+
*
|
979
|
+
* @param {string} assistAnswerName
|
980
|
+
* A fully-qualified path representing AssistAnswer resource.
|
981
|
+
* @returns {string} A string representing the assist_answer.
|
982
|
+
*/
|
983
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
984
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
985
|
+
}
|
986
|
+
/**
|
987
|
+
* Return a fully-qualified assistant resource name string.
|
988
|
+
*
|
989
|
+
* @param {string} project
|
990
|
+
* @param {string} location
|
991
|
+
* @param {string} collection
|
992
|
+
* @param {string} engine
|
993
|
+
* @param {string} assistant
|
994
|
+
* @returns {string} Resource name string.
|
995
|
+
*/
|
996
|
+
assistantPath(project, location, collection, engine, assistant) {
|
997
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
998
|
+
project: project,
|
999
|
+
location: location,
|
1000
|
+
collection: collection,
|
1001
|
+
engine: engine,
|
1002
|
+
assistant: assistant,
|
1003
|
+
});
|
1004
|
+
}
|
1005
|
+
/**
|
1006
|
+
* Parse the project from Assistant resource.
|
1007
|
+
*
|
1008
|
+
* @param {string} assistantName
|
1009
|
+
* A fully-qualified path representing Assistant resource.
|
1010
|
+
* @returns {string} A string representing the project.
|
1011
|
+
*/
|
1012
|
+
matchProjectFromAssistantName(assistantName) {
|
1013
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1014
|
+
}
|
1015
|
+
/**
|
1016
|
+
* Parse the location from Assistant resource.
|
1017
|
+
*
|
1018
|
+
* @param {string} assistantName
|
1019
|
+
* A fully-qualified path representing Assistant resource.
|
1020
|
+
* @returns {string} A string representing the location.
|
1021
|
+
*/
|
1022
|
+
matchLocationFromAssistantName(assistantName) {
|
1023
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1024
|
+
}
|
1025
|
+
/**
|
1026
|
+
* Parse the collection from Assistant resource.
|
1027
|
+
*
|
1028
|
+
* @param {string} assistantName
|
1029
|
+
* A fully-qualified path representing Assistant resource.
|
1030
|
+
* @returns {string} A string representing the collection.
|
1031
|
+
*/
|
1032
|
+
matchCollectionFromAssistantName(assistantName) {
|
1033
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1034
|
+
}
|
1035
|
+
/**
|
1036
|
+
* Parse the engine from Assistant resource.
|
1037
|
+
*
|
1038
|
+
* @param {string} assistantName
|
1039
|
+
* A fully-qualified path representing Assistant resource.
|
1040
|
+
* @returns {string} A string representing the engine.
|
1041
|
+
*/
|
1042
|
+
matchEngineFromAssistantName(assistantName) {
|
1043
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1044
|
+
}
|
1045
|
+
/**
|
1046
|
+
* Parse the assistant from Assistant resource.
|
1047
|
+
*
|
1048
|
+
* @param {string} assistantName
|
1049
|
+
* A fully-qualified path representing Assistant resource.
|
1050
|
+
* @returns {string} A string representing the assistant.
|
1051
|
+
*/
|
1052
|
+
matchAssistantFromAssistantName(assistantName) {
|
1053
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1054
|
+
}
|
888
1055
|
/**
|
889
1056
|
* Return a fully-qualified collection resource name string.
|
890
1057
|
*
|
@@ -987,6 +1154,51 @@ class DataStoreServiceClient {
|
|
987
1154
|
matchEngineFromEngineName(engineName) {
|
988
1155
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
989
1156
|
}
|
1157
|
+
/**
|
1158
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1159
|
+
*
|
1160
|
+
* @param {string} project
|
1161
|
+
* @param {string} location
|
1162
|
+
* @param {string} identity_mapping_store
|
1163
|
+
* @returns {string} Resource name string.
|
1164
|
+
*/
|
1165
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1166
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1167
|
+
project: project,
|
1168
|
+
location: location,
|
1169
|
+
identity_mapping_store: identityMappingStore,
|
1170
|
+
});
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* Parse the project from IdentityMappingStore resource.
|
1174
|
+
*
|
1175
|
+
* @param {string} identityMappingStoreName
|
1176
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1177
|
+
* @returns {string} A string representing the project.
|
1178
|
+
*/
|
1179
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1180
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1181
|
+
}
|
1182
|
+
/**
|
1183
|
+
* Parse the location from IdentityMappingStore resource.
|
1184
|
+
*
|
1185
|
+
* @param {string} identityMappingStoreName
|
1186
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1187
|
+
* @returns {string} A string representing the location.
|
1188
|
+
*/
|
1189
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1190
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1191
|
+
}
|
1192
|
+
/**
|
1193
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1194
|
+
*
|
1195
|
+
* @param {string} identityMappingStoreName
|
1196
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1197
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1198
|
+
*/
|
1199
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1200
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1201
|
+
}
|
990
1202
|
/**
|
991
1203
|
* Return a fully-qualified project resource name string.
|
992
1204
|
*
|
@@ -1008,6 +1220,84 @@ class DataStoreServiceClient {
|
|
1008
1220
|
matchProjectFromProjectName(projectName) {
|
1009
1221
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1010
1222
|
}
|
1223
|
+
/**
|
1224
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1225
|
+
*
|
1226
|
+
* @param {string} project
|
1227
|
+
* @param {string} location
|
1228
|
+
* @returns {string} Resource name string.
|
1229
|
+
*/
|
1230
|
+
projectLocationCmekConfigPath(project, location) {
|
1231
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1232
|
+
project: project,
|
1233
|
+
location: location,
|
1234
|
+
});
|
1235
|
+
}
|
1236
|
+
/**
|
1237
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1238
|
+
*
|
1239
|
+
* @param {string} projectLocationCmekConfigName
|
1240
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1241
|
+
* @returns {string} A string representing the project.
|
1242
|
+
*/
|
1243
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1244
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1245
|
+
}
|
1246
|
+
/**
|
1247
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1248
|
+
*
|
1249
|
+
* @param {string} projectLocationCmekConfigName
|
1250
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1251
|
+
* @returns {string} A string representing the location.
|
1252
|
+
*/
|
1253
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1254
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1255
|
+
}
|
1256
|
+
/**
|
1257
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1258
|
+
*
|
1259
|
+
* @param {string} project
|
1260
|
+
* @param {string} location
|
1261
|
+
* @param {string} cmek_config
|
1262
|
+
* @returns {string} Resource name string.
|
1263
|
+
*/
|
1264
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1265
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1266
|
+
project: project,
|
1267
|
+
location: location,
|
1268
|
+
cmek_config: cmekConfig,
|
1269
|
+
});
|
1270
|
+
}
|
1271
|
+
/**
|
1272
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1273
|
+
*
|
1274
|
+
* @param {string} projectLocationCmekConfigsName
|
1275
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1276
|
+
* @returns {string} A string representing the project.
|
1277
|
+
*/
|
1278
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1279
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1280
|
+
}
|
1281
|
+
/**
|
1282
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1283
|
+
*
|
1284
|
+
* @param {string} projectLocationCmekConfigsName
|
1285
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1286
|
+
* @returns {string} A string representing the location.
|
1287
|
+
*/
|
1288
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1289
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1290
|
+
}
|
1291
|
+
/**
|
1292
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1293
|
+
*
|
1294
|
+
* @param {string} projectLocationCmekConfigsName
|
1295
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1296
|
+
* @returns {string} A string representing the cmek_config.
|
1297
|
+
*/
|
1298
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1299
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1300
|
+
}
|
1011
1301
|
/**
|
1012
1302
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1013
1303
|
*
|
@@ -1642,154 +1932,154 @@ class DataStoreServiceClient {
|
|
1642
1932
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1643
1933
|
}
|
1644
1934
|
/**
|
1645
|
-
* Return a fully-qualified
|
1935
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1646
1936
|
*
|
1647
1937
|
* @param {string} project
|
1648
1938
|
* @param {string} location
|
1649
1939
|
* @param {string} collection
|
1650
1940
|
* @param {string} data_store
|
1651
1941
|
* @param {string} session
|
1942
|
+
* @param {string} answer
|
1652
1943
|
* @returns {string} Resource name string.
|
1653
1944
|
*/
|
1654
|
-
|
1655
|
-
return this.pathTemplates.
|
1945
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1946
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1656
1947
|
project: project,
|
1657
1948
|
location: location,
|
1658
1949
|
collection: collection,
|
1659
1950
|
data_store: dataStore,
|
1660
1951
|
session: session,
|
1952
|
+
answer: answer,
|
1661
1953
|
});
|
1662
1954
|
}
|
1663
1955
|
/**
|
1664
|
-
* Parse the project from
|
1956
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1665
1957
|
*
|
1666
|
-
* @param {string}
|
1667
|
-
* A fully-qualified path representing
|
1958
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1959
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1668
1960
|
* @returns {string} A string representing the project.
|
1669
1961
|
*/
|
1670
|
-
|
1671
|
-
return this.pathTemplates.
|
1962
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1963
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1672
1964
|
}
|
1673
1965
|
/**
|
1674
|
-
* Parse the location from
|
1966
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1675
1967
|
*
|
1676
|
-
* @param {string}
|
1677
|
-
* A fully-qualified path representing
|
1968
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1969
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1678
1970
|
* @returns {string} A string representing the location.
|
1679
1971
|
*/
|
1680
|
-
|
1681
|
-
return this.pathTemplates.
|
1972
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1973
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1682
1974
|
}
|
1683
1975
|
/**
|
1684
|
-
* Parse the collection from
|
1976
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1685
1977
|
*
|
1686
|
-
* @param {string}
|
1687
|
-
* A fully-qualified path representing
|
1978
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1979
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1688
1980
|
* @returns {string} A string representing the collection.
|
1689
1981
|
*/
|
1690
|
-
|
1691
|
-
return this.pathTemplates.
|
1982
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1983
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1692
1984
|
}
|
1693
1985
|
/**
|
1694
|
-
* Parse the data_store from
|
1986
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1695
1987
|
*
|
1696
|
-
* @param {string}
|
1697
|
-
* A fully-qualified path representing
|
1988
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1989
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1698
1990
|
* @returns {string} A string representing the data_store.
|
1699
1991
|
*/
|
1700
|
-
|
1701
|
-
return this.pathTemplates.
|
1992
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1993
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1702
1994
|
}
|
1703
1995
|
/**
|
1704
|
-
* Parse the session from
|
1996
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1705
1997
|
*
|
1706
|
-
* @param {string}
|
1707
|
-
* A fully-qualified path representing
|
1998
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1999
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1708
2000
|
* @returns {string} A string representing the session.
|
1709
2001
|
*/
|
1710
|
-
|
1711
|
-
return this.pathTemplates.
|
2002
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2003
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1712
2004
|
}
|
1713
2005
|
/**
|
1714
|
-
*
|
2006
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2007
|
+
*
|
2008
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2009
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2010
|
+
* @returns {string} A string representing the answer.
|
2011
|
+
*/
|
2012
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2013
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2014
|
+
}
|
2015
|
+
/**
|
2016
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1715
2017
|
*
|
1716
2018
|
* @param {string} project
|
1717
2019
|
* @param {string} location
|
1718
2020
|
* @param {string} collection
|
1719
2021
|
* @param {string} data_store
|
1720
2022
|
* @param {string} session
|
1721
|
-
* @param {string} answer
|
1722
2023
|
* @returns {string} Resource name string.
|
1723
2024
|
*/
|
1724
|
-
|
1725
|
-
return this.pathTemplates.
|
2025
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1726
2027
|
project: project,
|
1727
2028
|
location: location,
|
1728
2029
|
collection: collection,
|
1729
2030
|
data_store: dataStore,
|
1730
2031
|
session: session,
|
1731
|
-
answer: answer,
|
1732
2032
|
});
|
1733
2033
|
}
|
1734
2034
|
/**
|
1735
|
-
* Parse the project from
|
2035
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1736
2036
|
*
|
1737
|
-
* @param {string}
|
1738
|
-
* A fully-qualified path representing
|
2037
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2038
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1739
2039
|
* @returns {string} A string representing the project.
|
1740
2040
|
*/
|
1741
|
-
|
1742
|
-
return this.pathTemplates.
|
2041
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2042
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1743
2043
|
}
|
1744
2044
|
/**
|
1745
|
-
* Parse the location from
|
2045
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1746
2046
|
*
|
1747
|
-
* @param {string}
|
1748
|
-
* A fully-qualified path representing
|
2047
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2048
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1749
2049
|
* @returns {string} A string representing the location.
|
1750
2050
|
*/
|
1751
|
-
|
1752
|
-
return this.pathTemplates.
|
2051
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2052
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1753
2053
|
}
|
1754
2054
|
/**
|
1755
|
-
* Parse the collection from
|
2055
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1756
2056
|
*
|
1757
|
-
* @param {string}
|
1758
|
-
* A fully-qualified path representing
|
2057
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2058
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1759
2059
|
* @returns {string} A string representing the collection.
|
1760
2060
|
*/
|
1761
|
-
|
1762
|
-
return this.pathTemplates.
|
2061
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2062
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1763
2063
|
}
|
1764
2064
|
/**
|
1765
|
-
* Parse the data_store from
|
2065
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1766
2066
|
*
|
1767
|
-
* @param {string}
|
1768
|
-
* A fully-qualified path representing
|
2067
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2068
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1769
2069
|
* @returns {string} A string representing the data_store.
|
1770
2070
|
*/
|
1771
|
-
|
1772
|
-
return this.pathTemplates.
|
2071
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2072
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1773
2073
|
}
|
1774
2074
|
/**
|
1775
|
-
* Parse the session from
|
2075
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1776
2076
|
*
|
1777
|
-
* @param {string}
|
1778
|
-
* A fully-qualified path representing
|
2077
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2078
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1779
2079
|
* @returns {string} A string representing the session.
|
1780
2080
|
*/
|
1781
|
-
|
1782
|
-
return this.pathTemplates.
|
1783
|
-
}
|
1784
|
-
/**
|
1785
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1786
|
-
*
|
1787
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1788
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1789
|
-
* @returns {string} A string representing the answer.
|
1790
|
-
*/
|
1791
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1792
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2081
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2082
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1793
2083
|
}
|
1794
2084
|
/**
|
1795
2085
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2194,154 +2484,154 @@ class DataStoreServiceClient {
|
|
2194
2484
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2195
2485
|
}
|
2196
2486
|
/**
|
2197
|
-
* Return a fully-qualified
|
2487
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2198
2488
|
*
|
2199
2489
|
* @param {string} project
|
2200
2490
|
* @param {string} location
|
2201
2491
|
* @param {string} collection
|
2202
2492
|
* @param {string} engine
|
2203
2493
|
* @param {string} session
|
2494
|
+
* @param {string} answer
|
2204
2495
|
* @returns {string} Resource name string.
|
2205
2496
|
*/
|
2206
|
-
|
2207
|
-
return this.pathTemplates.
|
2497
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2498
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2208
2499
|
project: project,
|
2209
2500
|
location: location,
|
2210
2501
|
collection: collection,
|
2211
2502
|
engine: engine,
|
2212
2503
|
session: session,
|
2504
|
+
answer: answer,
|
2213
2505
|
});
|
2214
2506
|
}
|
2215
2507
|
/**
|
2216
|
-
* Parse the project from
|
2508
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2217
2509
|
*
|
2218
|
-
* @param {string}
|
2219
|
-
* A fully-qualified path representing
|
2510
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2511
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2220
2512
|
* @returns {string} A string representing the project.
|
2221
2513
|
*/
|
2222
|
-
|
2223
|
-
return this.pathTemplates.
|
2514
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2515
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2224
2516
|
}
|
2225
2517
|
/**
|
2226
|
-
* Parse the location from
|
2518
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2227
2519
|
*
|
2228
|
-
* @param {string}
|
2229
|
-
* A fully-qualified path representing
|
2520
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2521
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2230
2522
|
* @returns {string} A string representing the location.
|
2231
2523
|
*/
|
2232
|
-
|
2233
|
-
return this.pathTemplates.
|
2524
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2525
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2234
2526
|
}
|
2235
2527
|
/**
|
2236
|
-
* Parse the collection from
|
2528
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2237
2529
|
*
|
2238
|
-
* @param {string}
|
2239
|
-
* A fully-qualified path representing
|
2530
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2531
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2240
2532
|
* @returns {string} A string representing the collection.
|
2241
2533
|
*/
|
2242
|
-
|
2243
|
-
return this.pathTemplates.
|
2534
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2535
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2244
2536
|
}
|
2245
2537
|
/**
|
2246
|
-
* Parse the engine from
|
2538
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2247
2539
|
*
|
2248
|
-
* @param {string}
|
2249
|
-
* A fully-qualified path representing
|
2540
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2541
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2250
2542
|
* @returns {string} A string representing the engine.
|
2251
2543
|
*/
|
2252
|
-
|
2253
|
-
return this.pathTemplates.
|
2544
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2545
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2254
2546
|
}
|
2255
2547
|
/**
|
2256
|
-
* Parse the session from
|
2548
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2257
2549
|
*
|
2258
|
-
* @param {string}
|
2259
|
-
* A fully-qualified path representing
|
2550
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2551
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2260
2552
|
* @returns {string} A string representing the session.
|
2261
2553
|
*/
|
2262
|
-
|
2263
|
-
return this.pathTemplates.
|
2554
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2555
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2264
2556
|
}
|
2265
2557
|
/**
|
2266
|
-
*
|
2558
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2559
|
+
*
|
2560
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2561
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2562
|
+
* @returns {string} A string representing the answer.
|
2563
|
+
*/
|
2564
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2565
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2566
|
+
}
|
2567
|
+
/**
|
2568
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2267
2569
|
*
|
2268
2570
|
* @param {string} project
|
2269
2571
|
* @param {string} location
|
2270
2572
|
* @param {string} collection
|
2271
2573
|
* @param {string} engine
|
2272
2574
|
* @param {string} session
|
2273
|
-
* @param {string} answer
|
2274
2575
|
* @returns {string} Resource name string.
|
2275
2576
|
*/
|
2276
|
-
|
2277
|
-
return this.pathTemplates.
|
2577
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2578
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2278
2579
|
project: project,
|
2279
2580
|
location: location,
|
2280
2581
|
collection: collection,
|
2281
2582
|
engine: engine,
|
2282
2583
|
session: session,
|
2283
|
-
answer: answer,
|
2284
2584
|
});
|
2285
2585
|
}
|
2286
2586
|
/**
|
2287
|
-
* Parse the project from
|
2587
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2288
2588
|
*
|
2289
|
-
* @param {string}
|
2290
|
-
* A fully-qualified path representing
|
2589
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2590
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2291
2591
|
* @returns {string} A string representing the project.
|
2292
2592
|
*/
|
2293
|
-
|
2294
|
-
return this.pathTemplates.
|
2593
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2594
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2295
2595
|
}
|
2296
2596
|
/**
|
2297
|
-
* Parse the location from
|
2597
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2298
2598
|
*
|
2299
|
-
* @param {string}
|
2300
|
-
* A fully-qualified path representing
|
2599
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2600
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2301
2601
|
* @returns {string} A string representing the location.
|
2302
2602
|
*/
|
2303
|
-
|
2304
|
-
return this.pathTemplates.
|
2603
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2604
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2305
2605
|
}
|
2306
2606
|
/**
|
2307
|
-
* Parse the collection from
|
2607
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2308
2608
|
*
|
2309
|
-
* @param {string}
|
2310
|
-
* A fully-qualified path representing
|
2609
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2610
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2311
2611
|
* @returns {string} A string representing the collection.
|
2312
2612
|
*/
|
2313
|
-
|
2314
|
-
return this.pathTemplates.
|
2613
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2614
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2315
2615
|
}
|
2316
2616
|
/**
|
2317
|
-
* Parse the engine from
|
2617
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2318
2618
|
*
|
2319
|
-
* @param {string}
|
2320
|
-
* A fully-qualified path representing
|
2619
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2620
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2321
2621
|
* @returns {string} A string representing the engine.
|
2322
2622
|
*/
|
2323
|
-
|
2324
|
-
return this.pathTemplates.
|
2623
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2624
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2325
2625
|
}
|
2326
2626
|
/**
|
2327
|
-
* Parse the session from
|
2627
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2328
2628
|
*
|
2329
|
-
* @param {string}
|
2330
|
-
* A fully-qualified path representing
|
2629
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2630
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2331
2631
|
* @returns {string} A string representing the session.
|
2332
2632
|
*/
|
2333
|
-
|
2334
|
-
return this.pathTemplates.
|
2335
|
-
}
|
2336
|
-
/**
|
2337
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2338
|
-
*
|
2339
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2340
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2341
|
-
* @returns {string} A string representing the answer.
|
2342
|
-
*/
|
2343
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2344
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2633
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2634
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2345
2635
|
}
|
2346
2636
|
/**
|
2347
2637
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2868,63 +3158,6 @@ class DataStoreServiceClient {
|
|
2868
3158
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2869
3159
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2870
3160
|
}
|
2871
|
-
/**
|
2872
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2873
|
-
*
|
2874
|
-
* @param {string} project
|
2875
|
-
* @param {string} location
|
2876
|
-
* @param {string} data_store
|
2877
|
-
* @param {string} session
|
2878
|
-
* @returns {string} Resource name string.
|
2879
|
-
*/
|
2880
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2881
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2882
|
-
project: project,
|
2883
|
-
location: location,
|
2884
|
-
data_store: dataStore,
|
2885
|
-
session: session,
|
2886
|
-
});
|
2887
|
-
}
|
2888
|
-
/**
|
2889
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2890
|
-
*
|
2891
|
-
* @param {string} projectLocationDataStoreSessionName
|
2892
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2893
|
-
* @returns {string} A string representing the project.
|
2894
|
-
*/
|
2895
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2896
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2897
|
-
}
|
2898
|
-
/**
|
2899
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2900
|
-
*
|
2901
|
-
* @param {string} projectLocationDataStoreSessionName
|
2902
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2903
|
-
* @returns {string} A string representing the location.
|
2904
|
-
*/
|
2905
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2906
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2907
|
-
}
|
2908
|
-
/**
|
2909
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2910
|
-
*
|
2911
|
-
* @param {string} projectLocationDataStoreSessionName
|
2912
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2913
|
-
* @returns {string} A string representing the data_store.
|
2914
|
-
*/
|
2915
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2916
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2917
|
-
}
|
2918
|
-
/**
|
2919
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2920
|
-
*
|
2921
|
-
* @param {string} projectLocationDataStoreSessionName
|
2922
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2923
|
-
* @returns {string} A string representing the session.
|
2924
|
-
*/
|
2925
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2926
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2927
|
-
}
|
2928
3161
|
/**
|
2929
3162
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2930
3163
|
*
|
@@ -2994,6 +3227,63 @@ class DataStoreServiceClient {
|
|
2994
3227
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2995
3228
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2996
3229
|
}
|
3230
|
+
/**
|
3231
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3232
|
+
*
|
3233
|
+
* @param {string} project
|
3234
|
+
* @param {string} location
|
3235
|
+
* @param {string} data_store
|
3236
|
+
* @param {string} session
|
3237
|
+
* @returns {string} Resource name string.
|
3238
|
+
*/
|
3239
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3240
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3241
|
+
project: project,
|
3242
|
+
location: location,
|
3243
|
+
data_store: dataStore,
|
3244
|
+
session: session,
|
3245
|
+
});
|
3246
|
+
}
|
3247
|
+
/**
|
3248
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3249
|
+
*
|
3250
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3251
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3252
|
+
* @returns {string} A string representing the project.
|
3253
|
+
*/
|
3254
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3255
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3256
|
+
}
|
3257
|
+
/**
|
3258
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3259
|
+
*
|
3260
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3261
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3262
|
+
* @returns {string} A string representing the location.
|
3263
|
+
*/
|
3264
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3265
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3266
|
+
}
|
3267
|
+
/**
|
3268
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3269
|
+
*
|
3270
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3271
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3272
|
+
* @returns {string} A string representing the data_store.
|
3273
|
+
*/
|
3274
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3275
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3276
|
+
}
|
3277
|
+
/**
|
3278
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3279
|
+
*
|
3280
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3281
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3282
|
+
* @returns {string} A string representing the session.
|
3283
|
+
*/
|
3284
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3285
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3286
|
+
}
|
2997
3287
|
/**
|
2998
3288
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2999
3289
|
*
|