@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,8 +164,13 @@ class DocumentServiceClient {
|
|
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
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
170
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
171
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
172
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
173
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
169
174
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
170
175
|
projectLocationCollectionDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}'),
|
171
176
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -176,16 +181,16 @@ class DocumentServiceClient {
|
|
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
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
191
196
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -196,8 +201,8 @@ class DocumentServiceClient {
|
|
196
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
203
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
204
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
205
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
207
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -208,7 +213,7 @@ class DocumentServiceClient {
|
|
208
213
|
this.descriptors.page = {
|
209
214
|
listDocuments: new this._gaxModule.PageDescriptor('pageToken', 'nextPageToken', 'documents')
|
210
215
|
};
|
211
|
-
const protoFilesRoot = this._gaxModule.
|
216
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
212
217
|
// This API contains "long-running operations", which return a
|
213
218
|
// an Operation object that allows for tracking of the operation,
|
214
219
|
// rather than holding a request open.
|
@@ -218,7 +223,7 @@ class DocumentServiceClient {
|
|
218
223
|
};
|
219
224
|
if (opts.fallback) {
|
220
225
|
lroOptions.protoJson = protoFilesRoot;
|
221
|
-
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: '*', }],
|
226
|
+
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: '*', }],
|
222
227
|
}, { 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/*}', }],
|
223
228
|
}, { 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', }],
|
224
229
|
}];
|
@@ -372,6 +377,12 @@ class DocumentServiceClient {
|
|
372
377
|
?.then(([response, options, rawResponse]) => {
|
373
378
|
this._log.info('getDocument response %j', response);
|
374
379
|
return [response, options, rawResponse];
|
380
|
+
}).catch((error) => {
|
381
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
382
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
383
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
384
|
+
}
|
385
|
+
throw error;
|
375
386
|
});
|
376
387
|
}
|
377
388
|
createDocument(request, optionsOrCallback, callback) {
|
@@ -402,6 +413,12 @@ class DocumentServiceClient {
|
|
402
413
|
?.then(([response, options, rawResponse]) => {
|
403
414
|
this._log.info('createDocument response %j', response);
|
404
415
|
return [response, options, rawResponse];
|
416
|
+
}).catch((error) => {
|
417
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
418
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
419
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
420
|
+
}
|
421
|
+
throw error;
|
405
422
|
});
|
406
423
|
}
|
407
424
|
updateDocument(request, optionsOrCallback, callback) {
|
@@ -432,6 +449,12 @@ class DocumentServiceClient {
|
|
432
449
|
?.then(([response, options, rawResponse]) => {
|
433
450
|
this._log.info('updateDocument response %j', response);
|
434
451
|
return [response, options, rawResponse];
|
452
|
+
}).catch((error) => {
|
453
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
454
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
455
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
456
|
+
}
|
457
|
+
throw error;
|
435
458
|
});
|
436
459
|
}
|
437
460
|
deleteDocument(request, optionsOrCallback, callback) {
|
@@ -462,6 +485,12 @@ class DocumentServiceClient {
|
|
462
485
|
?.then(([response, options, rawResponse]) => {
|
463
486
|
this._log.info('deleteDocument response %j', response);
|
464
487
|
return [response, options, rawResponse];
|
488
|
+
}).catch((error) => {
|
489
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
490
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
491
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
492
|
+
}
|
493
|
+
throw error;
|
465
494
|
});
|
466
495
|
}
|
467
496
|
batchGetDocumentsMetadata(request, optionsOrCallback, callback) {
|
@@ -492,6 +521,12 @@ class DocumentServiceClient {
|
|
492
521
|
?.then(([response, options, rawResponse]) => {
|
493
522
|
this._log.info('batchGetDocumentsMetadata response %j', response);
|
494
523
|
return [response, options, rawResponse];
|
524
|
+
}).catch((error) => {
|
525
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
526
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
527
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
528
|
+
}
|
529
|
+
throw error;
|
495
530
|
});
|
496
531
|
}
|
497
532
|
importDocuments(request, optionsOrCallback, callback) {
|
@@ -974,6 +1009,156 @@ class DocumentServiceClient {
|
|
974
1009
|
// --------------------
|
975
1010
|
// -- Path templates --
|
976
1011
|
// --------------------
|
1012
|
+
/**
|
1013
|
+
* Return a fully-qualified assistAnswer resource name string.
|
1014
|
+
*
|
1015
|
+
* @param {string} project
|
1016
|
+
* @param {string} location
|
1017
|
+
* @param {string} collection
|
1018
|
+
* @param {string} engine
|
1019
|
+
* @param {string} session
|
1020
|
+
* @param {string} assist_answer
|
1021
|
+
* @returns {string} Resource name string.
|
1022
|
+
*/
|
1023
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
1024
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
1025
|
+
project: project,
|
1026
|
+
location: location,
|
1027
|
+
collection: collection,
|
1028
|
+
engine: engine,
|
1029
|
+
session: session,
|
1030
|
+
assist_answer: assistAnswer,
|
1031
|
+
});
|
1032
|
+
}
|
1033
|
+
/**
|
1034
|
+
* Parse the project from AssistAnswer resource.
|
1035
|
+
*
|
1036
|
+
* @param {string} assistAnswerName
|
1037
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1038
|
+
* @returns {string} A string representing the project.
|
1039
|
+
*/
|
1040
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
1041
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
1042
|
+
}
|
1043
|
+
/**
|
1044
|
+
* Parse the location from AssistAnswer resource.
|
1045
|
+
*
|
1046
|
+
* @param {string} assistAnswerName
|
1047
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1048
|
+
* @returns {string} A string representing the location.
|
1049
|
+
*/
|
1050
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
1051
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
1052
|
+
}
|
1053
|
+
/**
|
1054
|
+
* Parse the collection from AssistAnswer resource.
|
1055
|
+
*
|
1056
|
+
* @param {string} assistAnswerName
|
1057
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1058
|
+
* @returns {string} A string representing the collection.
|
1059
|
+
*/
|
1060
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
1061
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
1062
|
+
}
|
1063
|
+
/**
|
1064
|
+
* Parse the engine from AssistAnswer resource.
|
1065
|
+
*
|
1066
|
+
* @param {string} assistAnswerName
|
1067
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1068
|
+
* @returns {string} A string representing the engine.
|
1069
|
+
*/
|
1070
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
1071
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
1072
|
+
}
|
1073
|
+
/**
|
1074
|
+
* Parse the session from AssistAnswer resource.
|
1075
|
+
*
|
1076
|
+
* @param {string} assistAnswerName
|
1077
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1078
|
+
* @returns {string} A string representing the session.
|
1079
|
+
*/
|
1080
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
1081
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* Parse the assist_answer from AssistAnswer resource.
|
1085
|
+
*
|
1086
|
+
* @param {string} assistAnswerName
|
1087
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1088
|
+
* @returns {string} A string representing the assist_answer.
|
1089
|
+
*/
|
1090
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
1091
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
1092
|
+
}
|
1093
|
+
/**
|
1094
|
+
* Return a fully-qualified assistant resource name string.
|
1095
|
+
*
|
1096
|
+
* @param {string} project
|
1097
|
+
* @param {string} location
|
1098
|
+
* @param {string} collection
|
1099
|
+
* @param {string} engine
|
1100
|
+
* @param {string} assistant
|
1101
|
+
* @returns {string} Resource name string.
|
1102
|
+
*/
|
1103
|
+
assistantPath(project, location, collection, engine, assistant) {
|
1104
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
1105
|
+
project: project,
|
1106
|
+
location: location,
|
1107
|
+
collection: collection,
|
1108
|
+
engine: engine,
|
1109
|
+
assistant: assistant,
|
1110
|
+
});
|
1111
|
+
}
|
1112
|
+
/**
|
1113
|
+
* Parse the project from Assistant resource.
|
1114
|
+
*
|
1115
|
+
* @param {string} assistantName
|
1116
|
+
* A fully-qualified path representing Assistant resource.
|
1117
|
+
* @returns {string} A string representing the project.
|
1118
|
+
*/
|
1119
|
+
matchProjectFromAssistantName(assistantName) {
|
1120
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1121
|
+
}
|
1122
|
+
/**
|
1123
|
+
* Parse the location from Assistant resource.
|
1124
|
+
*
|
1125
|
+
* @param {string} assistantName
|
1126
|
+
* A fully-qualified path representing Assistant resource.
|
1127
|
+
* @returns {string} A string representing the location.
|
1128
|
+
*/
|
1129
|
+
matchLocationFromAssistantName(assistantName) {
|
1130
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1131
|
+
}
|
1132
|
+
/**
|
1133
|
+
* Parse the collection from Assistant resource.
|
1134
|
+
*
|
1135
|
+
* @param {string} assistantName
|
1136
|
+
* A fully-qualified path representing Assistant resource.
|
1137
|
+
* @returns {string} A string representing the collection.
|
1138
|
+
*/
|
1139
|
+
matchCollectionFromAssistantName(assistantName) {
|
1140
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1141
|
+
}
|
1142
|
+
/**
|
1143
|
+
* Parse the engine from Assistant resource.
|
1144
|
+
*
|
1145
|
+
* @param {string} assistantName
|
1146
|
+
* A fully-qualified path representing Assistant resource.
|
1147
|
+
* @returns {string} A string representing the engine.
|
1148
|
+
*/
|
1149
|
+
matchEngineFromAssistantName(assistantName) {
|
1150
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1151
|
+
}
|
1152
|
+
/**
|
1153
|
+
* Parse the assistant from Assistant resource.
|
1154
|
+
*
|
1155
|
+
* @param {string} assistantName
|
1156
|
+
* A fully-qualified path representing Assistant resource.
|
1157
|
+
* @returns {string} A string representing the assistant.
|
1158
|
+
*/
|
1159
|
+
matchAssistantFromAssistantName(assistantName) {
|
1160
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1161
|
+
}
|
977
1162
|
/**
|
978
1163
|
* Return a fully-qualified engine resource name string.
|
979
1164
|
*
|
@@ -1031,6 +1216,51 @@ class DocumentServiceClient {
|
|
1031
1216
|
matchEngineFromEngineName(engineName) {
|
1032
1217
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
1033
1218
|
}
|
1219
|
+
/**
|
1220
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1221
|
+
*
|
1222
|
+
* @param {string} project
|
1223
|
+
* @param {string} location
|
1224
|
+
* @param {string} identity_mapping_store
|
1225
|
+
* @returns {string} Resource name string.
|
1226
|
+
*/
|
1227
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1228
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1229
|
+
project: project,
|
1230
|
+
location: location,
|
1231
|
+
identity_mapping_store: identityMappingStore,
|
1232
|
+
});
|
1233
|
+
}
|
1234
|
+
/**
|
1235
|
+
* Parse the project from IdentityMappingStore resource.
|
1236
|
+
*
|
1237
|
+
* @param {string} identityMappingStoreName
|
1238
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1239
|
+
* @returns {string} A string representing the project.
|
1240
|
+
*/
|
1241
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1242
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1243
|
+
}
|
1244
|
+
/**
|
1245
|
+
* Parse the location from IdentityMappingStore resource.
|
1246
|
+
*
|
1247
|
+
* @param {string} identityMappingStoreName
|
1248
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1249
|
+
* @returns {string} A string representing the location.
|
1250
|
+
*/
|
1251
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1252
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1253
|
+
}
|
1254
|
+
/**
|
1255
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1256
|
+
*
|
1257
|
+
* @param {string} identityMappingStoreName
|
1258
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1259
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1260
|
+
*/
|
1261
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1262
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1263
|
+
}
|
1034
1264
|
/**
|
1035
1265
|
* Return a fully-qualified project resource name string.
|
1036
1266
|
*
|
@@ -1052,6 +1282,84 @@ class DocumentServiceClient {
|
|
1052
1282
|
matchProjectFromProjectName(projectName) {
|
1053
1283
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
1054
1284
|
}
|
1285
|
+
/**
|
1286
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1287
|
+
*
|
1288
|
+
* @param {string} project
|
1289
|
+
* @param {string} location
|
1290
|
+
* @returns {string} Resource name string.
|
1291
|
+
*/
|
1292
|
+
projectLocationCmekConfigPath(project, location) {
|
1293
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1294
|
+
project: project,
|
1295
|
+
location: location,
|
1296
|
+
});
|
1297
|
+
}
|
1298
|
+
/**
|
1299
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1300
|
+
*
|
1301
|
+
* @param {string} projectLocationCmekConfigName
|
1302
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1303
|
+
* @returns {string} A string representing the project.
|
1304
|
+
*/
|
1305
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1306
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1307
|
+
}
|
1308
|
+
/**
|
1309
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1310
|
+
*
|
1311
|
+
* @param {string} projectLocationCmekConfigName
|
1312
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1313
|
+
* @returns {string} A string representing the location.
|
1314
|
+
*/
|
1315
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1316
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1317
|
+
}
|
1318
|
+
/**
|
1319
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1320
|
+
*
|
1321
|
+
* @param {string} project
|
1322
|
+
* @param {string} location
|
1323
|
+
* @param {string} cmek_config
|
1324
|
+
* @returns {string} Resource name string.
|
1325
|
+
*/
|
1326
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1327
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1328
|
+
project: project,
|
1329
|
+
location: location,
|
1330
|
+
cmek_config: cmekConfig,
|
1331
|
+
});
|
1332
|
+
}
|
1333
|
+
/**
|
1334
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1335
|
+
*
|
1336
|
+
* @param {string} projectLocationCmekConfigsName
|
1337
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1338
|
+
* @returns {string} A string representing the project.
|
1339
|
+
*/
|
1340
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1341
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1342
|
+
}
|
1343
|
+
/**
|
1344
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1345
|
+
*
|
1346
|
+
* @param {string} projectLocationCmekConfigsName
|
1347
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1348
|
+
* @returns {string} A string representing the location.
|
1349
|
+
*/
|
1350
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1351
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1352
|
+
}
|
1353
|
+
/**
|
1354
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1355
|
+
*
|
1356
|
+
* @param {string} projectLocationCmekConfigsName
|
1357
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1358
|
+
* @returns {string} A string representing the cmek_config.
|
1359
|
+
*/
|
1360
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1361
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1362
|
+
}
|
1055
1363
|
/**
|
1056
1364
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
1057
1365
|
*
|
@@ -1755,154 +2063,154 @@ class DocumentServiceClient {
|
|
1755
2063
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1756
2064
|
}
|
1757
2065
|
/**
|
1758
|
-
* Return a fully-qualified
|
2066
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1759
2067
|
*
|
1760
2068
|
* @param {string} project
|
1761
2069
|
* @param {string} location
|
1762
2070
|
* @param {string} collection
|
1763
2071
|
* @param {string} data_store
|
1764
2072
|
* @param {string} session
|
2073
|
+
* @param {string} answer
|
1765
2074
|
* @returns {string} Resource name string.
|
1766
2075
|
*/
|
1767
|
-
|
1768
|
-
return this.pathTemplates.
|
2076
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2077
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1769
2078
|
project: project,
|
1770
2079
|
location: location,
|
1771
2080
|
collection: collection,
|
1772
2081
|
data_store: dataStore,
|
1773
2082
|
session: session,
|
2083
|
+
answer: answer,
|
1774
2084
|
});
|
1775
2085
|
}
|
1776
2086
|
/**
|
1777
|
-
* Parse the project from
|
2087
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1778
2088
|
*
|
1779
|
-
* @param {string}
|
1780
|
-
* A fully-qualified path representing
|
2089
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2090
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1781
2091
|
* @returns {string} A string representing the project.
|
1782
2092
|
*/
|
1783
|
-
|
1784
|
-
return this.pathTemplates.
|
2093
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2094
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1785
2095
|
}
|
1786
2096
|
/**
|
1787
|
-
* Parse the location from
|
2097
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1788
2098
|
*
|
1789
|
-
* @param {string}
|
1790
|
-
* A fully-qualified path representing
|
2099
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2100
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1791
2101
|
* @returns {string} A string representing the location.
|
1792
2102
|
*/
|
1793
|
-
|
1794
|
-
return this.pathTemplates.
|
2103
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2104
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1795
2105
|
}
|
1796
2106
|
/**
|
1797
|
-
* Parse the collection from
|
2107
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1798
2108
|
*
|
1799
|
-
* @param {string}
|
1800
|
-
* A fully-qualified path representing
|
2109
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2110
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1801
2111
|
* @returns {string} A string representing the collection.
|
1802
2112
|
*/
|
1803
|
-
|
1804
|
-
return this.pathTemplates.
|
2113
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2114
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1805
2115
|
}
|
1806
2116
|
/**
|
1807
|
-
* Parse the data_store from
|
2117
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1808
2118
|
*
|
1809
|
-
* @param {string}
|
1810
|
-
* A fully-qualified path representing
|
2119
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2120
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1811
2121
|
* @returns {string} A string representing the data_store.
|
1812
2122
|
*/
|
1813
|
-
|
1814
|
-
return this.pathTemplates.
|
2123
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2124
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1815
2125
|
}
|
1816
2126
|
/**
|
1817
|
-
* Parse the session from
|
2127
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1818
2128
|
*
|
1819
|
-
* @param {string}
|
1820
|
-
* A fully-qualified path representing
|
2129
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2130
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1821
2131
|
* @returns {string} A string representing the session.
|
1822
2132
|
*/
|
1823
|
-
|
1824
|
-
return this.pathTemplates.
|
2133
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2134
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1825
2135
|
}
|
1826
2136
|
/**
|
1827
|
-
*
|
2137
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2138
|
+
*
|
2139
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2140
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2141
|
+
* @returns {string} A string representing the answer.
|
2142
|
+
*/
|
2143
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2144
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2145
|
+
}
|
2146
|
+
/**
|
2147
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1828
2148
|
*
|
1829
2149
|
* @param {string} project
|
1830
2150
|
* @param {string} location
|
1831
2151
|
* @param {string} collection
|
1832
2152
|
* @param {string} data_store
|
1833
2153
|
* @param {string} session
|
1834
|
-
* @param {string} answer
|
1835
2154
|
* @returns {string} Resource name string.
|
1836
2155
|
*/
|
1837
|
-
|
1838
|
-
return this.pathTemplates.
|
2156
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2157
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1839
2158
|
project: project,
|
1840
2159
|
location: location,
|
1841
2160
|
collection: collection,
|
1842
2161
|
data_store: dataStore,
|
1843
2162
|
session: session,
|
1844
|
-
answer: answer,
|
1845
2163
|
});
|
1846
2164
|
}
|
1847
2165
|
/**
|
1848
|
-
* Parse the project from
|
2166
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1849
2167
|
*
|
1850
|
-
* @param {string}
|
1851
|
-
* A fully-qualified path representing
|
2168
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2169
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1852
2170
|
* @returns {string} A string representing the project.
|
1853
2171
|
*/
|
1854
|
-
|
1855
|
-
return this.pathTemplates.
|
2172
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2173
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1856
2174
|
}
|
1857
2175
|
/**
|
1858
|
-
* Parse the location from
|
2176
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1859
2177
|
*
|
1860
|
-
* @param {string}
|
1861
|
-
* A fully-qualified path representing
|
2178
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2179
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1862
2180
|
* @returns {string} A string representing the location.
|
1863
2181
|
*/
|
1864
|
-
|
1865
|
-
return this.pathTemplates.
|
2182
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2183
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1866
2184
|
}
|
1867
2185
|
/**
|
1868
|
-
* Parse the collection from
|
2186
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1869
2187
|
*
|
1870
|
-
* @param {string}
|
1871
|
-
* A fully-qualified path representing
|
2188
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2189
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1872
2190
|
* @returns {string} A string representing the collection.
|
1873
2191
|
*/
|
1874
|
-
|
1875
|
-
return this.pathTemplates.
|
2192
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2193
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1876
2194
|
}
|
1877
2195
|
/**
|
1878
|
-
* Parse the data_store from
|
2196
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1879
2197
|
*
|
1880
|
-
* @param {string}
|
1881
|
-
* A fully-qualified path representing
|
2198
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2199
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1882
2200
|
* @returns {string} A string representing the data_store.
|
1883
2201
|
*/
|
1884
|
-
|
1885
|
-
return this.pathTemplates.
|
2202
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2203
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1886
2204
|
}
|
1887
2205
|
/**
|
1888
|
-
* Parse the session from
|
2206
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1889
2207
|
*
|
1890
|
-
* @param {string}
|
1891
|
-
* A fully-qualified path representing
|
2208
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2209
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1892
2210
|
* @returns {string} A string representing the session.
|
1893
2211
|
*/
|
1894
|
-
|
1895
|
-
return this.pathTemplates.
|
1896
|
-
}
|
1897
|
-
/**
|
1898
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1899
|
-
*
|
1900
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1901
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1902
|
-
* @returns {string} A string representing the answer.
|
1903
|
-
*/
|
1904
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1905
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2212
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2213
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1906
2214
|
}
|
1907
2215
|
/**
|
1908
2216
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2307,154 +2615,154 @@ class DocumentServiceClient {
|
|
2307
2615
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2308
2616
|
}
|
2309
2617
|
/**
|
2310
|
-
* Return a fully-qualified
|
2618
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2311
2619
|
*
|
2312
2620
|
* @param {string} project
|
2313
2621
|
* @param {string} location
|
2314
2622
|
* @param {string} collection
|
2315
2623
|
* @param {string} engine
|
2316
2624
|
* @param {string} session
|
2625
|
+
* @param {string} answer
|
2317
2626
|
* @returns {string} Resource name string.
|
2318
2627
|
*/
|
2319
|
-
|
2320
|
-
return this.pathTemplates.
|
2628
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2629
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2321
2630
|
project: project,
|
2322
2631
|
location: location,
|
2323
2632
|
collection: collection,
|
2324
2633
|
engine: engine,
|
2325
2634
|
session: session,
|
2635
|
+
answer: answer,
|
2326
2636
|
});
|
2327
2637
|
}
|
2328
2638
|
/**
|
2329
|
-
* Parse the project from
|
2639
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2330
2640
|
*
|
2331
|
-
* @param {string}
|
2332
|
-
* A fully-qualified path representing
|
2641
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2642
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2333
2643
|
* @returns {string} A string representing the project.
|
2334
2644
|
*/
|
2335
|
-
|
2336
|
-
return this.pathTemplates.
|
2645
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2646
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2337
2647
|
}
|
2338
2648
|
/**
|
2339
|
-
* Parse the location from
|
2649
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2340
2650
|
*
|
2341
|
-
* @param {string}
|
2342
|
-
* A fully-qualified path representing
|
2651
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2652
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2343
2653
|
* @returns {string} A string representing the location.
|
2344
2654
|
*/
|
2345
|
-
|
2346
|
-
return this.pathTemplates.
|
2655
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2656
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2347
2657
|
}
|
2348
2658
|
/**
|
2349
|
-
* Parse the collection from
|
2659
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2350
2660
|
*
|
2351
|
-
* @param {string}
|
2352
|
-
* A fully-qualified path representing
|
2661
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2662
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2353
2663
|
* @returns {string} A string representing the collection.
|
2354
2664
|
*/
|
2355
|
-
|
2356
|
-
return this.pathTemplates.
|
2665
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2666
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2357
2667
|
}
|
2358
2668
|
/**
|
2359
|
-
* Parse the engine from
|
2669
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2360
2670
|
*
|
2361
|
-
* @param {string}
|
2362
|
-
* A fully-qualified path representing
|
2671
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2672
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2363
2673
|
* @returns {string} A string representing the engine.
|
2364
2674
|
*/
|
2365
|
-
|
2366
|
-
return this.pathTemplates.
|
2675
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2676
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2367
2677
|
}
|
2368
2678
|
/**
|
2369
|
-
* Parse the session from
|
2679
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2370
2680
|
*
|
2371
|
-
* @param {string}
|
2372
|
-
* A fully-qualified path representing
|
2681
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2682
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2373
2683
|
* @returns {string} A string representing the session.
|
2374
2684
|
*/
|
2375
|
-
|
2376
|
-
return this.pathTemplates.
|
2685
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2686
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2377
2687
|
}
|
2378
2688
|
/**
|
2379
|
-
*
|
2689
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2690
|
+
*
|
2691
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2692
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2693
|
+
* @returns {string} A string representing the answer.
|
2694
|
+
*/
|
2695
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2696
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2697
|
+
}
|
2698
|
+
/**
|
2699
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2380
2700
|
*
|
2381
2701
|
* @param {string} project
|
2382
2702
|
* @param {string} location
|
2383
2703
|
* @param {string} collection
|
2384
2704
|
* @param {string} engine
|
2385
2705
|
* @param {string} session
|
2386
|
-
* @param {string} answer
|
2387
2706
|
* @returns {string} Resource name string.
|
2388
2707
|
*/
|
2389
|
-
|
2390
|
-
return this.pathTemplates.
|
2708
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2709
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2391
2710
|
project: project,
|
2392
2711
|
location: location,
|
2393
2712
|
collection: collection,
|
2394
2713
|
engine: engine,
|
2395
2714
|
session: session,
|
2396
|
-
answer: answer,
|
2397
2715
|
});
|
2398
2716
|
}
|
2399
2717
|
/**
|
2400
|
-
* Parse the project from
|
2718
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2401
2719
|
*
|
2402
|
-
* @param {string}
|
2403
|
-
* A fully-qualified path representing
|
2720
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2721
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2404
2722
|
* @returns {string} A string representing the project.
|
2405
2723
|
*/
|
2406
|
-
|
2407
|
-
return this.pathTemplates.
|
2724
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2725
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2408
2726
|
}
|
2409
2727
|
/**
|
2410
|
-
* Parse the location from
|
2728
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2411
2729
|
*
|
2412
|
-
* @param {string}
|
2413
|
-
* A fully-qualified path representing
|
2730
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2731
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2414
2732
|
* @returns {string} A string representing the location.
|
2415
2733
|
*/
|
2416
|
-
|
2417
|
-
return this.pathTemplates.
|
2734
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2735
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2418
2736
|
}
|
2419
2737
|
/**
|
2420
|
-
* Parse the collection from
|
2738
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2421
2739
|
*
|
2422
|
-
* @param {string}
|
2423
|
-
* A fully-qualified path representing
|
2740
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2741
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2424
2742
|
* @returns {string} A string representing the collection.
|
2425
2743
|
*/
|
2426
|
-
|
2427
|
-
return this.pathTemplates.
|
2744
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2745
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2428
2746
|
}
|
2429
2747
|
/**
|
2430
|
-
* Parse the engine from
|
2748
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2431
2749
|
*
|
2432
|
-
* @param {string}
|
2433
|
-
* A fully-qualified path representing
|
2750
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2751
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2434
2752
|
* @returns {string} A string representing the engine.
|
2435
2753
|
*/
|
2436
|
-
|
2437
|
-
return this.pathTemplates.
|
2754
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2755
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2438
2756
|
}
|
2439
2757
|
/**
|
2440
|
-
* Parse the session from
|
2758
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2441
2759
|
*
|
2442
|
-
* @param {string}
|
2443
|
-
* A fully-qualified path representing
|
2760
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2761
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2444
2762
|
* @returns {string} A string representing the session.
|
2445
2763
|
*/
|
2446
|
-
|
2447
|
-
return this.pathTemplates.
|
2448
|
-
}
|
2449
|
-
/**
|
2450
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2451
|
-
*
|
2452
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2453
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2454
|
-
* @returns {string} A string representing the answer.
|
2455
|
-
*/
|
2456
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2457
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2764
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2765
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2458
2766
|
}
|
2459
2767
|
/**
|
2460
2768
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3038,63 +3346,6 @@ class DocumentServiceClient {
|
|
3038
3346
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3039
3347
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3040
3348
|
}
|
3041
|
-
/**
|
3042
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3043
|
-
*
|
3044
|
-
* @param {string} project
|
3045
|
-
* @param {string} location
|
3046
|
-
* @param {string} data_store
|
3047
|
-
* @param {string} session
|
3048
|
-
* @returns {string} Resource name string.
|
3049
|
-
*/
|
3050
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3051
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3052
|
-
project: project,
|
3053
|
-
location: location,
|
3054
|
-
data_store: dataStore,
|
3055
|
-
session: session,
|
3056
|
-
});
|
3057
|
-
}
|
3058
|
-
/**
|
3059
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3060
|
-
*
|
3061
|
-
* @param {string} projectLocationDataStoreSessionName
|
3062
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3063
|
-
* @returns {string} A string representing the project.
|
3064
|
-
*/
|
3065
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3066
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3067
|
-
}
|
3068
|
-
/**
|
3069
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3070
|
-
*
|
3071
|
-
* @param {string} projectLocationDataStoreSessionName
|
3072
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3073
|
-
* @returns {string} A string representing the location.
|
3074
|
-
*/
|
3075
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3076
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3077
|
-
}
|
3078
|
-
/**
|
3079
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3080
|
-
*
|
3081
|
-
* @param {string} projectLocationDataStoreSessionName
|
3082
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3083
|
-
* @returns {string} A string representing the data_store.
|
3084
|
-
*/
|
3085
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3086
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3087
|
-
}
|
3088
|
-
/**
|
3089
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3090
|
-
*
|
3091
|
-
* @param {string} projectLocationDataStoreSessionName
|
3092
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3093
|
-
* @returns {string} A string representing the session.
|
3094
|
-
*/
|
3095
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3096
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3097
|
-
}
|
3098
3349
|
/**
|
3099
3350
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3100
3351
|
*
|
@@ -3164,6 +3415,63 @@ class DocumentServiceClient {
|
|
3164
3415
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3165
3416
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3166
3417
|
}
|
3418
|
+
/**
|
3419
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3420
|
+
*
|
3421
|
+
* @param {string} project
|
3422
|
+
* @param {string} location
|
3423
|
+
* @param {string} data_store
|
3424
|
+
* @param {string} session
|
3425
|
+
* @returns {string} Resource name string.
|
3426
|
+
*/
|
3427
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3428
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3429
|
+
project: project,
|
3430
|
+
location: location,
|
3431
|
+
data_store: dataStore,
|
3432
|
+
session: session,
|
3433
|
+
});
|
3434
|
+
}
|
3435
|
+
/**
|
3436
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3437
|
+
*
|
3438
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3439
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3440
|
+
* @returns {string} A string representing the project.
|
3441
|
+
*/
|
3442
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3443
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3444
|
+
}
|
3445
|
+
/**
|
3446
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3447
|
+
*
|
3448
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3449
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3450
|
+
* @returns {string} A string representing the location.
|
3451
|
+
*/
|
3452
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3453
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3454
|
+
}
|
3455
|
+
/**
|
3456
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3457
|
+
*
|
3458
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3459
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3460
|
+
* @returns {string} A string representing the data_store.
|
3461
|
+
*/
|
3462
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3463
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3464
|
+
}
|
3465
|
+
/**
|
3466
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3467
|
+
*
|
3468
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3469
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3470
|
+
* @returns {string} A string representing the session.
|
3471
|
+
*/
|
3472
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3473
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3474
|
+
}
|
3167
3475
|
/**
|
3168
3476
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3169
3477
|
*
|