@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
@@ -163,8 +163,13 @@ class CompletionServiceClient {
|
|
163
163
|
// identifiers to uniquely identify resources within the API.
|
164
164
|
// Create useful helper objects for these.
|
165
165
|
this.pathTemplates = {
|
166
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
167
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
166
168
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
169
|
+
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
167
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
171
|
+
projectLocationCmekConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfig'),
|
172
|
+
projectLocationCmekConfigsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/cmekConfigs/{cmek_config}'),
|
168
173
|
projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
|
169
174
|
projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
170
175
|
projectLocationCollectionDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -174,16 +179,16 @@ class CompletionServiceClient {
|
|
174
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
175
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
176
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
177
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
178
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
180
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
181
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,13 +198,13 @@ class CompletionServiceClient {
|
|
193
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
200
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
201
206
|
};
|
202
|
-
const protoFilesRoot = this._gaxModule.
|
207
|
+
const protoFilesRoot = this._gaxModule.protobufFromJSON(jsonProtos);
|
203
208
|
// This API contains "long-running operations", which return a
|
204
209
|
// an Operation object that allows for tracking of the operation,
|
205
210
|
// rather than holding a request open.
|
@@ -209,7 +214,7 @@ class CompletionServiceClient {
|
|
209
214
|
};
|
210
215
|
if (opts.fallback) {
|
211
216
|
lroOptions.protoJson = protoFilesRoot;
|
212
|
-
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: '*', }],
|
217
|
+
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: '*', }],
|
213
218
|
}, { 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/*}', }],
|
214
219
|
}, { 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', }],
|
215
220
|
}];
|
@@ -368,6 +373,12 @@ class CompletionServiceClient {
|
|
368
373
|
?.then(([response, options, rawResponse]) => {
|
369
374
|
this._log.info('completeQuery response %j', response);
|
370
375
|
return [response, options, rawResponse];
|
376
|
+
}).catch((error) => {
|
377
|
+
if (error && 'statusDetails' in error && error.statusDetails instanceof Array) {
|
378
|
+
const protos = this._gaxModule.protobuf.Root.fromJSON(jsonProtos);
|
379
|
+
error.statusDetails = (0, google_gax_1.decodeAnyProtosInArray)(error.statusDetails, protos);
|
380
|
+
}
|
381
|
+
throw error;
|
371
382
|
});
|
372
383
|
}
|
373
384
|
importSuggestionDenyListEntries(request, optionsOrCallback, callback) {
|
@@ -800,6 +811,156 @@ class CompletionServiceClient {
|
|
800
811
|
// --------------------
|
801
812
|
// -- Path templates --
|
802
813
|
// --------------------
|
814
|
+
/**
|
815
|
+
* Return a fully-qualified assistAnswer resource name string.
|
816
|
+
*
|
817
|
+
* @param {string} project
|
818
|
+
* @param {string} location
|
819
|
+
* @param {string} collection
|
820
|
+
* @param {string} engine
|
821
|
+
* @param {string} session
|
822
|
+
* @param {string} assist_answer
|
823
|
+
* @returns {string} Resource name string.
|
824
|
+
*/
|
825
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
826
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
827
|
+
project: project,
|
828
|
+
location: location,
|
829
|
+
collection: collection,
|
830
|
+
engine: engine,
|
831
|
+
session: session,
|
832
|
+
assist_answer: assistAnswer,
|
833
|
+
});
|
834
|
+
}
|
835
|
+
/**
|
836
|
+
* Parse the project from AssistAnswer resource.
|
837
|
+
*
|
838
|
+
* @param {string} assistAnswerName
|
839
|
+
* A fully-qualified path representing AssistAnswer resource.
|
840
|
+
* @returns {string} A string representing the project.
|
841
|
+
*/
|
842
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
843
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
844
|
+
}
|
845
|
+
/**
|
846
|
+
* Parse the location from AssistAnswer resource.
|
847
|
+
*
|
848
|
+
* @param {string} assistAnswerName
|
849
|
+
* A fully-qualified path representing AssistAnswer resource.
|
850
|
+
* @returns {string} A string representing the location.
|
851
|
+
*/
|
852
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
853
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
854
|
+
}
|
855
|
+
/**
|
856
|
+
* Parse the collection from AssistAnswer resource.
|
857
|
+
*
|
858
|
+
* @param {string} assistAnswerName
|
859
|
+
* A fully-qualified path representing AssistAnswer resource.
|
860
|
+
* @returns {string} A string representing the collection.
|
861
|
+
*/
|
862
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
863
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
864
|
+
}
|
865
|
+
/**
|
866
|
+
* Parse the engine from AssistAnswer resource.
|
867
|
+
*
|
868
|
+
* @param {string} assistAnswerName
|
869
|
+
* A fully-qualified path representing AssistAnswer resource.
|
870
|
+
* @returns {string} A string representing the engine.
|
871
|
+
*/
|
872
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
873
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
874
|
+
}
|
875
|
+
/**
|
876
|
+
* Parse the session from AssistAnswer resource.
|
877
|
+
*
|
878
|
+
* @param {string} assistAnswerName
|
879
|
+
* A fully-qualified path representing AssistAnswer resource.
|
880
|
+
* @returns {string} A string representing the session.
|
881
|
+
*/
|
882
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
883
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
884
|
+
}
|
885
|
+
/**
|
886
|
+
* Parse the assist_answer from AssistAnswer resource.
|
887
|
+
*
|
888
|
+
* @param {string} assistAnswerName
|
889
|
+
* A fully-qualified path representing AssistAnswer resource.
|
890
|
+
* @returns {string} A string representing the assist_answer.
|
891
|
+
*/
|
892
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
893
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
894
|
+
}
|
895
|
+
/**
|
896
|
+
* Return a fully-qualified assistant resource name string.
|
897
|
+
*
|
898
|
+
* @param {string} project
|
899
|
+
* @param {string} location
|
900
|
+
* @param {string} collection
|
901
|
+
* @param {string} engine
|
902
|
+
* @param {string} assistant
|
903
|
+
* @returns {string} Resource name string.
|
904
|
+
*/
|
905
|
+
assistantPath(project, location, collection, engine, assistant) {
|
906
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
907
|
+
project: project,
|
908
|
+
location: location,
|
909
|
+
collection: collection,
|
910
|
+
engine: engine,
|
911
|
+
assistant: assistant,
|
912
|
+
});
|
913
|
+
}
|
914
|
+
/**
|
915
|
+
* Parse the project from Assistant resource.
|
916
|
+
*
|
917
|
+
* @param {string} assistantName
|
918
|
+
* A fully-qualified path representing Assistant resource.
|
919
|
+
* @returns {string} A string representing the project.
|
920
|
+
*/
|
921
|
+
matchProjectFromAssistantName(assistantName) {
|
922
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
923
|
+
}
|
924
|
+
/**
|
925
|
+
* Parse the location from Assistant resource.
|
926
|
+
*
|
927
|
+
* @param {string} assistantName
|
928
|
+
* A fully-qualified path representing Assistant resource.
|
929
|
+
* @returns {string} A string representing the location.
|
930
|
+
*/
|
931
|
+
matchLocationFromAssistantName(assistantName) {
|
932
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
933
|
+
}
|
934
|
+
/**
|
935
|
+
* Parse the collection from Assistant resource.
|
936
|
+
*
|
937
|
+
* @param {string} assistantName
|
938
|
+
* A fully-qualified path representing Assistant resource.
|
939
|
+
* @returns {string} A string representing the collection.
|
940
|
+
*/
|
941
|
+
matchCollectionFromAssistantName(assistantName) {
|
942
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
943
|
+
}
|
944
|
+
/**
|
945
|
+
* Parse the engine from Assistant resource.
|
946
|
+
*
|
947
|
+
* @param {string} assistantName
|
948
|
+
* A fully-qualified path representing Assistant resource.
|
949
|
+
* @returns {string} A string representing the engine.
|
950
|
+
*/
|
951
|
+
matchEngineFromAssistantName(assistantName) {
|
952
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
953
|
+
}
|
954
|
+
/**
|
955
|
+
* Parse the assistant from Assistant resource.
|
956
|
+
*
|
957
|
+
* @param {string} assistantName
|
958
|
+
* A fully-qualified path representing Assistant resource.
|
959
|
+
* @returns {string} A string representing the assistant.
|
960
|
+
*/
|
961
|
+
matchAssistantFromAssistantName(assistantName) {
|
962
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
963
|
+
}
|
803
964
|
/**
|
804
965
|
* Return a fully-qualified engine resource name string.
|
805
966
|
*
|
@@ -857,6 +1018,51 @@ class CompletionServiceClient {
|
|
857
1018
|
matchEngineFromEngineName(engineName) {
|
858
1019
|
return this.pathTemplates.enginePathTemplate.match(engineName).engine;
|
859
1020
|
}
|
1021
|
+
/**
|
1022
|
+
* Return a fully-qualified identityMappingStore resource name string.
|
1023
|
+
*
|
1024
|
+
* @param {string} project
|
1025
|
+
* @param {string} location
|
1026
|
+
* @param {string} identity_mapping_store
|
1027
|
+
* @returns {string} Resource name string.
|
1028
|
+
*/
|
1029
|
+
identityMappingStorePath(project, location, identityMappingStore) {
|
1030
|
+
return this.pathTemplates.identityMappingStorePathTemplate.render({
|
1031
|
+
project: project,
|
1032
|
+
location: location,
|
1033
|
+
identity_mapping_store: identityMappingStore,
|
1034
|
+
});
|
1035
|
+
}
|
1036
|
+
/**
|
1037
|
+
* Parse the project from IdentityMappingStore resource.
|
1038
|
+
*
|
1039
|
+
* @param {string} identityMappingStoreName
|
1040
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1041
|
+
* @returns {string} A string representing the project.
|
1042
|
+
*/
|
1043
|
+
matchProjectFromIdentityMappingStoreName(identityMappingStoreName) {
|
1044
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).project;
|
1045
|
+
}
|
1046
|
+
/**
|
1047
|
+
* Parse the location from IdentityMappingStore resource.
|
1048
|
+
*
|
1049
|
+
* @param {string} identityMappingStoreName
|
1050
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1051
|
+
* @returns {string} A string representing the location.
|
1052
|
+
*/
|
1053
|
+
matchLocationFromIdentityMappingStoreName(identityMappingStoreName) {
|
1054
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).location;
|
1055
|
+
}
|
1056
|
+
/**
|
1057
|
+
* Parse the identity_mapping_store from IdentityMappingStore resource.
|
1058
|
+
*
|
1059
|
+
* @param {string} identityMappingStoreName
|
1060
|
+
* A fully-qualified path representing IdentityMappingStore resource.
|
1061
|
+
* @returns {string} A string representing the identity_mapping_store.
|
1062
|
+
*/
|
1063
|
+
matchIdentityMappingStoreFromIdentityMappingStoreName(identityMappingStoreName) {
|
1064
|
+
return this.pathTemplates.identityMappingStorePathTemplate.match(identityMappingStoreName).identity_mapping_store;
|
1065
|
+
}
|
860
1066
|
/**
|
861
1067
|
* Return a fully-qualified project resource name string.
|
862
1068
|
*
|
@@ -878,6 +1084,84 @@ class CompletionServiceClient {
|
|
878
1084
|
matchProjectFromProjectName(projectName) {
|
879
1085
|
return this.pathTemplates.projectPathTemplate.match(projectName).project;
|
880
1086
|
}
|
1087
|
+
/**
|
1088
|
+
* Return a fully-qualified projectLocationCmekConfig resource name string.
|
1089
|
+
*
|
1090
|
+
* @param {string} project
|
1091
|
+
* @param {string} location
|
1092
|
+
* @returns {string} Resource name string.
|
1093
|
+
*/
|
1094
|
+
projectLocationCmekConfigPath(project, location) {
|
1095
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.render({
|
1096
|
+
project: project,
|
1097
|
+
location: location,
|
1098
|
+
});
|
1099
|
+
}
|
1100
|
+
/**
|
1101
|
+
* Parse the project from ProjectLocationCmekConfig resource.
|
1102
|
+
*
|
1103
|
+
* @param {string} projectLocationCmekConfigName
|
1104
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1105
|
+
* @returns {string} A string representing the project.
|
1106
|
+
*/
|
1107
|
+
matchProjectFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1108
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).project;
|
1109
|
+
}
|
1110
|
+
/**
|
1111
|
+
* Parse the location from ProjectLocationCmekConfig resource.
|
1112
|
+
*
|
1113
|
+
* @param {string} projectLocationCmekConfigName
|
1114
|
+
* A fully-qualified path representing project_location_cmekConfig resource.
|
1115
|
+
* @returns {string} A string representing the location.
|
1116
|
+
*/
|
1117
|
+
matchLocationFromProjectLocationCmekConfigName(projectLocationCmekConfigName) {
|
1118
|
+
return this.pathTemplates.projectLocationCmekConfigPathTemplate.match(projectLocationCmekConfigName).location;
|
1119
|
+
}
|
1120
|
+
/**
|
1121
|
+
* Return a fully-qualified projectLocationCmekConfigs resource name string.
|
1122
|
+
*
|
1123
|
+
* @param {string} project
|
1124
|
+
* @param {string} location
|
1125
|
+
* @param {string} cmek_config
|
1126
|
+
* @returns {string} Resource name string.
|
1127
|
+
*/
|
1128
|
+
projectLocationCmekConfigsPath(project, location, cmekConfig) {
|
1129
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.render({
|
1130
|
+
project: project,
|
1131
|
+
location: location,
|
1132
|
+
cmek_config: cmekConfig,
|
1133
|
+
});
|
1134
|
+
}
|
1135
|
+
/**
|
1136
|
+
* Parse the project from ProjectLocationCmekConfigs resource.
|
1137
|
+
*
|
1138
|
+
* @param {string} projectLocationCmekConfigsName
|
1139
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1140
|
+
* @returns {string} A string representing the project.
|
1141
|
+
*/
|
1142
|
+
matchProjectFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1143
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).project;
|
1144
|
+
}
|
1145
|
+
/**
|
1146
|
+
* Parse the location from ProjectLocationCmekConfigs resource.
|
1147
|
+
*
|
1148
|
+
* @param {string} projectLocationCmekConfigsName
|
1149
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1150
|
+
* @returns {string} A string representing the location.
|
1151
|
+
*/
|
1152
|
+
matchLocationFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1153
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).location;
|
1154
|
+
}
|
1155
|
+
/**
|
1156
|
+
* Parse the cmek_config from ProjectLocationCmekConfigs resource.
|
1157
|
+
*
|
1158
|
+
* @param {string} projectLocationCmekConfigsName
|
1159
|
+
* A fully-qualified path representing project_location_cmekConfigs resource.
|
1160
|
+
* @returns {string} A string representing the cmek_config.
|
1161
|
+
*/
|
1162
|
+
matchCmekConfigFromProjectLocationCmekConfigsName(projectLocationCmekConfigsName) {
|
1163
|
+
return this.pathTemplates.projectLocationCmekConfigsPathTemplate.match(projectLocationCmekConfigsName).cmek_config;
|
1164
|
+
}
|
881
1165
|
/**
|
882
1166
|
* Return a fully-qualified projectLocationCollectionDataStore resource name string.
|
883
1167
|
*
|
@@ -1512,154 +1796,154 @@ class CompletionServiceClient {
|
|
1512
1796
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1513
1797
|
}
|
1514
1798
|
/**
|
1515
|
-
* Return a fully-qualified
|
1799
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1516
1800
|
*
|
1517
1801
|
* @param {string} project
|
1518
1802
|
* @param {string} location
|
1519
1803
|
* @param {string} collection
|
1520
1804
|
* @param {string} data_store
|
1521
1805
|
* @param {string} session
|
1806
|
+
* @param {string} answer
|
1522
1807
|
* @returns {string} Resource name string.
|
1523
1808
|
*/
|
1524
|
-
|
1525
|
-
return this.pathTemplates.
|
1809
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1810
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1526
1811
|
project: project,
|
1527
1812
|
location: location,
|
1528
1813
|
collection: collection,
|
1529
1814
|
data_store: dataStore,
|
1530
1815
|
session: session,
|
1816
|
+
answer: answer,
|
1531
1817
|
});
|
1532
1818
|
}
|
1533
1819
|
/**
|
1534
|
-
* Parse the project from
|
1820
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1535
1821
|
*
|
1536
|
-
* @param {string}
|
1537
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1823
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1538
1824
|
* @returns {string} A string representing the project.
|
1539
1825
|
*/
|
1540
|
-
|
1541
|
-
return this.pathTemplates.
|
1826
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1542
1828
|
}
|
1543
1829
|
/**
|
1544
|
-
* Parse the location from
|
1830
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1545
1831
|
*
|
1546
|
-
* @param {string}
|
1547
|
-
* A fully-qualified path representing
|
1832
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1833
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1548
1834
|
* @returns {string} A string representing the location.
|
1549
1835
|
*/
|
1550
|
-
|
1551
|
-
return this.pathTemplates.
|
1836
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1837
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1552
1838
|
}
|
1553
1839
|
/**
|
1554
|
-
* Parse the collection from
|
1840
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1555
1841
|
*
|
1556
|
-
* @param {string}
|
1557
|
-
* A fully-qualified path representing
|
1842
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1843
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1558
1844
|
* @returns {string} A string representing the collection.
|
1559
1845
|
*/
|
1560
|
-
|
1561
|
-
return this.pathTemplates.
|
1846
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1847
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1562
1848
|
}
|
1563
1849
|
/**
|
1564
|
-
* Parse the data_store from
|
1850
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1565
1851
|
*
|
1566
|
-
* @param {string}
|
1567
|
-
* A fully-qualified path representing
|
1852
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1853
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1568
1854
|
* @returns {string} A string representing the data_store.
|
1569
1855
|
*/
|
1570
|
-
|
1571
|
-
return this.pathTemplates.
|
1856
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1572
1858
|
}
|
1573
1859
|
/**
|
1574
|
-
* Parse the session from
|
1860
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1575
1861
|
*
|
1576
|
-
* @param {string}
|
1577
|
-
* A fully-qualified path representing
|
1862
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1863
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1578
1864
|
* @returns {string} A string representing the session.
|
1579
1865
|
*/
|
1580
|
-
|
1581
|
-
return this.pathTemplates.
|
1866
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1867
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1582
1868
|
}
|
1583
1869
|
/**
|
1584
|
-
*
|
1870
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1871
|
+
*
|
1872
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1873
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1874
|
+
* @returns {string} A string representing the answer.
|
1875
|
+
*/
|
1876
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1877
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1878
|
+
}
|
1879
|
+
/**
|
1880
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1585
1881
|
*
|
1586
1882
|
* @param {string} project
|
1587
1883
|
* @param {string} location
|
1588
1884
|
* @param {string} collection
|
1589
1885
|
* @param {string} data_store
|
1590
1886
|
* @param {string} session
|
1591
|
-
* @param {string} answer
|
1592
1887
|
* @returns {string} Resource name string.
|
1593
1888
|
*/
|
1594
|
-
|
1595
|
-
return this.pathTemplates.
|
1889
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1890
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1596
1891
|
project: project,
|
1597
1892
|
location: location,
|
1598
1893
|
collection: collection,
|
1599
1894
|
data_store: dataStore,
|
1600
1895
|
session: session,
|
1601
|
-
answer: answer,
|
1602
1896
|
});
|
1603
1897
|
}
|
1604
1898
|
/**
|
1605
|
-
* Parse the project from
|
1899
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1606
1900
|
*
|
1607
|
-
* @param {string}
|
1608
|
-
* A fully-qualified path representing
|
1901
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1902
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1609
1903
|
* @returns {string} A string representing the project.
|
1610
1904
|
*/
|
1611
|
-
|
1612
|
-
return this.pathTemplates.
|
1905
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1906
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1613
1907
|
}
|
1614
1908
|
/**
|
1615
|
-
* Parse the location from
|
1909
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1616
1910
|
*
|
1617
|
-
* @param {string}
|
1618
|
-
* A fully-qualified path representing
|
1911
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1912
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1619
1913
|
* @returns {string} A string representing the location.
|
1620
1914
|
*/
|
1621
|
-
|
1622
|
-
return this.pathTemplates.
|
1915
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1916
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1623
1917
|
}
|
1624
1918
|
/**
|
1625
|
-
* Parse the collection from
|
1919
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1626
1920
|
*
|
1627
|
-
* @param {string}
|
1628
|
-
* A fully-qualified path representing
|
1921
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1922
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1629
1923
|
* @returns {string} A string representing the collection.
|
1630
1924
|
*/
|
1631
|
-
|
1632
|
-
return this.pathTemplates.
|
1925
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1926
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1633
1927
|
}
|
1634
1928
|
/**
|
1635
|
-
* Parse the data_store from
|
1929
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1636
1930
|
*
|
1637
|
-
* @param {string}
|
1638
|
-
* A fully-qualified path representing
|
1931
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1932
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1639
1933
|
* @returns {string} A string representing the data_store.
|
1640
1934
|
*/
|
1641
|
-
|
1642
|
-
return this.pathTemplates.
|
1935
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1936
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1643
1937
|
}
|
1644
1938
|
/**
|
1645
|
-
* Parse the session from
|
1939
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1646
1940
|
*
|
1647
|
-
* @param {string}
|
1648
|
-
* A fully-qualified path representing
|
1941
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1942
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1649
1943
|
* @returns {string} A string representing the session.
|
1650
1944
|
*/
|
1651
|
-
|
1652
|
-
return this.pathTemplates.
|
1653
|
-
}
|
1654
|
-
/**
|
1655
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1656
|
-
*
|
1657
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1658
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1659
|
-
* @returns {string} A string representing the answer.
|
1660
|
-
*/
|
1661
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1662
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1945
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1946
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1663
1947
|
}
|
1664
1948
|
/**
|
1665
1949
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2064,154 +2348,154 @@ class CompletionServiceClient {
|
|
2064
2348
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2065
2349
|
}
|
2066
2350
|
/**
|
2067
|
-
* Return a fully-qualified
|
2351
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2068
2352
|
*
|
2069
2353
|
* @param {string} project
|
2070
2354
|
* @param {string} location
|
2071
2355
|
* @param {string} collection
|
2072
2356
|
* @param {string} engine
|
2073
2357
|
* @param {string} session
|
2358
|
+
* @param {string} answer
|
2074
2359
|
* @returns {string} Resource name string.
|
2075
2360
|
*/
|
2076
|
-
|
2077
|
-
return this.pathTemplates.
|
2361
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2362
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2078
2363
|
project: project,
|
2079
2364
|
location: location,
|
2080
2365
|
collection: collection,
|
2081
2366
|
engine: engine,
|
2082
2367
|
session: session,
|
2368
|
+
answer: answer,
|
2083
2369
|
});
|
2084
2370
|
}
|
2085
2371
|
/**
|
2086
|
-
* Parse the project from
|
2372
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2087
2373
|
*
|
2088
|
-
* @param {string}
|
2089
|
-
* A fully-qualified path representing
|
2374
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2375
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2090
2376
|
* @returns {string} A string representing the project.
|
2091
2377
|
*/
|
2092
|
-
|
2093
|
-
return this.pathTemplates.
|
2378
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2379
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2094
2380
|
}
|
2095
2381
|
/**
|
2096
|
-
* Parse the location from
|
2382
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2097
2383
|
*
|
2098
|
-
* @param {string}
|
2099
|
-
* A fully-qualified path representing
|
2384
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2385
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2100
2386
|
* @returns {string} A string representing the location.
|
2101
2387
|
*/
|
2102
|
-
|
2103
|
-
return this.pathTemplates.
|
2388
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2389
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2104
2390
|
}
|
2105
2391
|
/**
|
2106
|
-
* Parse the collection from
|
2392
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2107
2393
|
*
|
2108
|
-
* @param {string}
|
2109
|
-
* A fully-qualified path representing
|
2394
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2395
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2110
2396
|
* @returns {string} A string representing the collection.
|
2111
2397
|
*/
|
2112
|
-
|
2113
|
-
return this.pathTemplates.
|
2398
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2399
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2114
2400
|
}
|
2115
2401
|
/**
|
2116
|
-
* Parse the engine from
|
2402
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2117
2403
|
*
|
2118
|
-
* @param {string}
|
2119
|
-
* A fully-qualified path representing
|
2404
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2405
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2120
2406
|
* @returns {string} A string representing the engine.
|
2121
2407
|
*/
|
2122
|
-
|
2123
|
-
return this.pathTemplates.
|
2408
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2409
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2124
2410
|
}
|
2125
2411
|
/**
|
2126
|
-
* Parse the session from
|
2412
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2127
2413
|
*
|
2128
|
-
* @param {string}
|
2129
|
-
* A fully-qualified path representing
|
2414
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2415
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2130
2416
|
* @returns {string} A string representing the session.
|
2131
2417
|
*/
|
2132
|
-
|
2133
|
-
return this.pathTemplates.
|
2418
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2419
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2134
2420
|
}
|
2135
2421
|
/**
|
2136
|
-
*
|
2422
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2423
|
+
*
|
2424
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2425
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2426
|
+
* @returns {string} A string representing the answer.
|
2427
|
+
*/
|
2428
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2429
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2430
|
+
}
|
2431
|
+
/**
|
2432
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2137
2433
|
*
|
2138
2434
|
* @param {string} project
|
2139
2435
|
* @param {string} location
|
2140
2436
|
* @param {string} collection
|
2141
2437
|
* @param {string} engine
|
2142
2438
|
* @param {string} session
|
2143
|
-
* @param {string} answer
|
2144
2439
|
* @returns {string} Resource name string.
|
2145
2440
|
*/
|
2146
|
-
|
2147
|
-
return this.pathTemplates.
|
2441
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2442
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2148
2443
|
project: project,
|
2149
2444
|
location: location,
|
2150
2445
|
collection: collection,
|
2151
2446
|
engine: engine,
|
2152
2447
|
session: session,
|
2153
|
-
answer: answer,
|
2154
2448
|
});
|
2155
2449
|
}
|
2156
2450
|
/**
|
2157
|
-
* Parse the project from
|
2451
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2158
2452
|
*
|
2159
|
-
* @param {string}
|
2160
|
-
* A fully-qualified path representing
|
2453
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2161
2455
|
* @returns {string} A string representing the project.
|
2162
2456
|
*/
|
2163
|
-
|
2164
|
-
return this.pathTemplates.
|
2457
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2165
2459
|
}
|
2166
2460
|
/**
|
2167
|
-
* Parse the location from
|
2461
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2168
2462
|
*
|
2169
|
-
* @param {string}
|
2170
|
-
* A fully-qualified path representing
|
2463
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2171
2465
|
* @returns {string} A string representing the location.
|
2172
2466
|
*/
|
2173
|
-
|
2174
|
-
return this.pathTemplates.
|
2467
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2175
2469
|
}
|
2176
2470
|
/**
|
2177
|
-
* Parse the collection from
|
2471
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2178
2472
|
*
|
2179
|
-
* @param {string}
|
2180
|
-
* A fully-qualified path representing
|
2473
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2181
2475
|
* @returns {string} A string representing the collection.
|
2182
2476
|
*/
|
2183
|
-
|
2184
|
-
return this.pathTemplates.
|
2477
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2185
2479
|
}
|
2186
2480
|
/**
|
2187
|
-
* Parse the engine from
|
2481
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2188
2482
|
*
|
2189
|
-
* @param {string}
|
2190
|
-
* A fully-qualified path representing
|
2483
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2484
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2191
2485
|
* @returns {string} A string representing the engine.
|
2192
2486
|
*/
|
2193
|
-
|
2194
|
-
return this.pathTemplates.
|
2487
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2488
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2195
2489
|
}
|
2196
2490
|
/**
|
2197
|
-
* Parse the session from
|
2491
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2198
2492
|
*
|
2199
|
-
* @param {string}
|
2200
|
-
* A fully-qualified path representing
|
2493
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2494
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2201
2495
|
* @returns {string} A string representing the session.
|
2202
2496
|
*/
|
2203
|
-
|
2204
|
-
return this.pathTemplates.
|
2205
|
-
}
|
2206
|
-
/**
|
2207
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2208
|
-
*
|
2209
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2210
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2211
|
-
* @returns {string} A string representing the answer.
|
2212
|
-
*/
|
2213
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2214
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2497
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2498
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2215
2499
|
}
|
2216
2500
|
/**
|
2217
2501
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2738,63 +3022,6 @@ class CompletionServiceClient {
|
|
2738
3022
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2739
3023
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2740
3024
|
}
|
2741
|
-
/**
|
2742
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2743
|
-
*
|
2744
|
-
* @param {string} project
|
2745
|
-
* @param {string} location
|
2746
|
-
* @param {string} data_store
|
2747
|
-
* @param {string} session
|
2748
|
-
* @returns {string} Resource name string.
|
2749
|
-
*/
|
2750
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2751
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2752
|
-
project: project,
|
2753
|
-
location: location,
|
2754
|
-
data_store: dataStore,
|
2755
|
-
session: session,
|
2756
|
-
});
|
2757
|
-
}
|
2758
|
-
/**
|
2759
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2760
|
-
*
|
2761
|
-
* @param {string} projectLocationDataStoreSessionName
|
2762
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2763
|
-
* @returns {string} A string representing the project.
|
2764
|
-
*/
|
2765
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2766
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2767
|
-
}
|
2768
|
-
/**
|
2769
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2770
|
-
*
|
2771
|
-
* @param {string} projectLocationDataStoreSessionName
|
2772
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2773
|
-
* @returns {string} A string representing the location.
|
2774
|
-
*/
|
2775
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2776
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2777
|
-
}
|
2778
|
-
/**
|
2779
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2780
|
-
*
|
2781
|
-
* @param {string} projectLocationDataStoreSessionName
|
2782
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2783
|
-
* @returns {string} A string representing the data_store.
|
2784
|
-
*/
|
2785
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2786
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2787
|
-
}
|
2788
|
-
/**
|
2789
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2790
|
-
*
|
2791
|
-
* @param {string} projectLocationDataStoreSessionName
|
2792
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2793
|
-
* @returns {string} A string representing the session.
|
2794
|
-
*/
|
2795
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2796
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2797
|
-
}
|
2798
3025
|
/**
|
2799
3026
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2800
3027
|
*
|
@@ -2864,6 +3091,63 @@ class CompletionServiceClient {
|
|
2864
3091
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2865
3092
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2866
3093
|
}
|
3094
|
+
/**
|
3095
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3096
|
+
*
|
3097
|
+
* @param {string} project
|
3098
|
+
* @param {string} location
|
3099
|
+
* @param {string} data_store
|
3100
|
+
* @param {string} session
|
3101
|
+
* @returns {string} Resource name string.
|
3102
|
+
*/
|
3103
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3104
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3105
|
+
project: project,
|
3106
|
+
location: location,
|
3107
|
+
data_store: dataStore,
|
3108
|
+
session: session,
|
3109
|
+
});
|
3110
|
+
}
|
3111
|
+
/**
|
3112
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3113
|
+
*
|
3114
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3115
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3116
|
+
* @returns {string} A string representing the project.
|
3117
|
+
*/
|
3118
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3119
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3120
|
+
}
|
3121
|
+
/**
|
3122
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3123
|
+
*
|
3124
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3125
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3126
|
+
* @returns {string} A string representing the location.
|
3127
|
+
*/
|
3128
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3129
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3130
|
+
}
|
3131
|
+
/**
|
3132
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3133
|
+
*
|
3134
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3135
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3136
|
+
* @returns {string} A string representing the data_store.
|
3137
|
+
*/
|
3138
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3139
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3140
|
+
}
|
3141
|
+
/**
|
3142
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3143
|
+
*
|
3144
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3145
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3146
|
+
* @returns {string} A string representing the session.
|
3147
|
+
*/
|
3148
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3149
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3150
|
+
}
|
2867
3151
|
/**
|
2868
3152
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2869
3153
|
*
|