@google-cloud/discoveryengine 2.3.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 +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/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -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/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 +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -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 +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- 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 +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -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 +196 -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 +196 -196
- 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 +196 -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 +244 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -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 +196 -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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +242 -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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -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 +196 -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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- 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 +196 -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 +196 -196
- 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 +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -163,6 +163,8 @@ class ServingConfigServiceClient {
|
|
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}'),
|
167
169
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -177,16 +179,16 @@ class ServingConfigServiceClient {
|
|
177
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
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}'),
|
182
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
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}'),
|
190
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +198,8 @@ class ServingConfigServiceClient {
|
|
196
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
200
|
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
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}'),
|
201
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -406,6 +408,156 @@ class ServingConfigServiceClient {
|
|
406
408
|
// --------------------
|
407
409
|
// -- Path templates --
|
408
410
|
// --------------------
|
411
|
+
/**
|
412
|
+
* Return a fully-qualified assistAnswer resource name string.
|
413
|
+
*
|
414
|
+
* @param {string} project
|
415
|
+
* @param {string} location
|
416
|
+
* @param {string} collection
|
417
|
+
* @param {string} engine
|
418
|
+
* @param {string} session
|
419
|
+
* @param {string} assist_answer
|
420
|
+
* @returns {string} Resource name string.
|
421
|
+
*/
|
422
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
423
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
424
|
+
project: project,
|
425
|
+
location: location,
|
426
|
+
collection: collection,
|
427
|
+
engine: engine,
|
428
|
+
session: session,
|
429
|
+
assist_answer: assistAnswer,
|
430
|
+
});
|
431
|
+
}
|
432
|
+
/**
|
433
|
+
* Parse the project from AssistAnswer resource.
|
434
|
+
*
|
435
|
+
* @param {string} assistAnswerName
|
436
|
+
* A fully-qualified path representing AssistAnswer resource.
|
437
|
+
* @returns {string} A string representing the project.
|
438
|
+
*/
|
439
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
440
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
441
|
+
}
|
442
|
+
/**
|
443
|
+
* Parse the location from AssistAnswer resource.
|
444
|
+
*
|
445
|
+
* @param {string} assistAnswerName
|
446
|
+
* A fully-qualified path representing AssistAnswer resource.
|
447
|
+
* @returns {string} A string representing the location.
|
448
|
+
*/
|
449
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
450
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* Parse the collection from AssistAnswer resource.
|
454
|
+
*
|
455
|
+
* @param {string} assistAnswerName
|
456
|
+
* A fully-qualified path representing AssistAnswer resource.
|
457
|
+
* @returns {string} A string representing the collection.
|
458
|
+
*/
|
459
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
460
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
461
|
+
}
|
462
|
+
/**
|
463
|
+
* Parse the engine from AssistAnswer resource.
|
464
|
+
*
|
465
|
+
* @param {string} assistAnswerName
|
466
|
+
* A fully-qualified path representing AssistAnswer resource.
|
467
|
+
* @returns {string} A string representing the engine.
|
468
|
+
*/
|
469
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
470
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
471
|
+
}
|
472
|
+
/**
|
473
|
+
* Parse the session from AssistAnswer resource.
|
474
|
+
*
|
475
|
+
* @param {string} assistAnswerName
|
476
|
+
* A fully-qualified path representing AssistAnswer resource.
|
477
|
+
* @returns {string} A string representing the session.
|
478
|
+
*/
|
479
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
480
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
481
|
+
}
|
482
|
+
/**
|
483
|
+
* Parse the assist_answer from AssistAnswer resource.
|
484
|
+
*
|
485
|
+
* @param {string} assistAnswerName
|
486
|
+
* A fully-qualified path representing AssistAnswer resource.
|
487
|
+
* @returns {string} A string representing the assist_answer.
|
488
|
+
*/
|
489
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
490
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
491
|
+
}
|
492
|
+
/**
|
493
|
+
* Return a fully-qualified assistant resource name string.
|
494
|
+
*
|
495
|
+
* @param {string} project
|
496
|
+
* @param {string} location
|
497
|
+
* @param {string} collection
|
498
|
+
* @param {string} engine
|
499
|
+
* @param {string} assistant
|
500
|
+
* @returns {string} Resource name string.
|
501
|
+
*/
|
502
|
+
assistantPath(project, location, collection, engine, assistant) {
|
503
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
504
|
+
project: project,
|
505
|
+
location: location,
|
506
|
+
collection: collection,
|
507
|
+
engine: engine,
|
508
|
+
assistant: assistant,
|
509
|
+
});
|
510
|
+
}
|
511
|
+
/**
|
512
|
+
* Parse the project from Assistant resource.
|
513
|
+
*
|
514
|
+
* @param {string} assistantName
|
515
|
+
* A fully-qualified path representing Assistant resource.
|
516
|
+
* @returns {string} A string representing the project.
|
517
|
+
*/
|
518
|
+
matchProjectFromAssistantName(assistantName) {
|
519
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
520
|
+
}
|
521
|
+
/**
|
522
|
+
* Parse the location from Assistant resource.
|
523
|
+
*
|
524
|
+
* @param {string} assistantName
|
525
|
+
* A fully-qualified path representing Assistant resource.
|
526
|
+
* @returns {string} A string representing the location.
|
527
|
+
*/
|
528
|
+
matchLocationFromAssistantName(assistantName) {
|
529
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
530
|
+
}
|
531
|
+
/**
|
532
|
+
* Parse the collection from Assistant resource.
|
533
|
+
*
|
534
|
+
* @param {string} assistantName
|
535
|
+
* A fully-qualified path representing Assistant resource.
|
536
|
+
* @returns {string} A string representing the collection.
|
537
|
+
*/
|
538
|
+
matchCollectionFromAssistantName(assistantName) {
|
539
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
540
|
+
}
|
541
|
+
/**
|
542
|
+
* Parse the engine from Assistant resource.
|
543
|
+
*
|
544
|
+
* @param {string} assistantName
|
545
|
+
* A fully-qualified path representing Assistant resource.
|
546
|
+
* @returns {string} A string representing the engine.
|
547
|
+
*/
|
548
|
+
matchEngineFromAssistantName(assistantName) {
|
549
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
550
|
+
}
|
551
|
+
/**
|
552
|
+
* Parse the assistant from Assistant resource.
|
553
|
+
*
|
554
|
+
* @param {string} assistantName
|
555
|
+
* A fully-qualified path representing Assistant resource.
|
556
|
+
* @returns {string} A string representing the assistant.
|
557
|
+
*/
|
558
|
+
matchAssistantFromAssistantName(assistantName) {
|
559
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
560
|
+
}
|
409
561
|
/**
|
410
562
|
* Return a fully-qualified engine resource name string.
|
411
563
|
*
|
@@ -1241,154 +1393,154 @@ class ServingConfigServiceClient {
|
|
1241
1393
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1242
1394
|
}
|
1243
1395
|
/**
|
1244
|
-
* Return a fully-qualified
|
1396
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1245
1397
|
*
|
1246
1398
|
* @param {string} project
|
1247
1399
|
* @param {string} location
|
1248
1400
|
* @param {string} collection
|
1249
1401
|
* @param {string} data_store
|
1250
1402
|
* @param {string} session
|
1403
|
+
* @param {string} answer
|
1251
1404
|
* @returns {string} Resource name string.
|
1252
1405
|
*/
|
1253
|
-
|
1254
|
-
return this.pathTemplates.
|
1406
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1407
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1255
1408
|
project: project,
|
1256
1409
|
location: location,
|
1257
1410
|
collection: collection,
|
1258
1411
|
data_store: dataStore,
|
1259
1412
|
session: session,
|
1413
|
+
answer: answer,
|
1260
1414
|
});
|
1261
1415
|
}
|
1262
1416
|
/**
|
1263
|
-
* Parse the project from
|
1417
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1264
1418
|
*
|
1265
|
-
* @param {string}
|
1266
|
-
* A fully-qualified path representing
|
1419
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1420
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1267
1421
|
* @returns {string} A string representing the project.
|
1268
1422
|
*/
|
1269
|
-
|
1270
|
-
return this.pathTemplates.
|
1423
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1424
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1271
1425
|
}
|
1272
1426
|
/**
|
1273
|
-
* Parse the location from
|
1427
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1274
1428
|
*
|
1275
|
-
* @param {string}
|
1276
|
-
* A fully-qualified path representing
|
1429
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1430
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1277
1431
|
* @returns {string} A string representing the location.
|
1278
1432
|
*/
|
1279
|
-
|
1280
|
-
return this.pathTemplates.
|
1433
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1434
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1281
1435
|
}
|
1282
1436
|
/**
|
1283
|
-
* Parse the collection from
|
1437
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1284
1438
|
*
|
1285
|
-
* @param {string}
|
1286
|
-
* A fully-qualified path representing
|
1439
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1440
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1287
1441
|
* @returns {string} A string representing the collection.
|
1288
1442
|
*/
|
1289
|
-
|
1290
|
-
return this.pathTemplates.
|
1443
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1444
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1291
1445
|
}
|
1292
1446
|
/**
|
1293
|
-
* Parse the data_store from
|
1447
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1294
1448
|
*
|
1295
|
-
* @param {string}
|
1296
|
-
* A fully-qualified path representing
|
1449
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1450
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1297
1451
|
* @returns {string} A string representing the data_store.
|
1298
1452
|
*/
|
1299
|
-
|
1300
|
-
return this.pathTemplates.
|
1453
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1454
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1301
1455
|
}
|
1302
1456
|
/**
|
1303
|
-
* Parse the session from
|
1457
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1304
1458
|
*
|
1305
|
-
* @param {string}
|
1306
|
-
* A fully-qualified path representing
|
1459
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1460
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1307
1461
|
* @returns {string} A string representing the session.
|
1308
1462
|
*/
|
1309
|
-
|
1310
|
-
return this.pathTemplates.
|
1463
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1464
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1311
1465
|
}
|
1312
1466
|
/**
|
1313
|
-
*
|
1467
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1468
|
+
*
|
1469
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1470
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1471
|
+
* @returns {string} A string representing the answer.
|
1472
|
+
*/
|
1473
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1474
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1475
|
+
}
|
1476
|
+
/**
|
1477
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1314
1478
|
*
|
1315
1479
|
* @param {string} project
|
1316
1480
|
* @param {string} location
|
1317
1481
|
* @param {string} collection
|
1318
1482
|
* @param {string} data_store
|
1319
1483
|
* @param {string} session
|
1320
|
-
* @param {string} answer
|
1321
1484
|
* @returns {string} Resource name string.
|
1322
1485
|
*/
|
1323
|
-
|
1324
|
-
return this.pathTemplates.
|
1486
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1487
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1325
1488
|
project: project,
|
1326
1489
|
location: location,
|
1327
1490
|
collection: collection,
|
1328
1491
|
data_store: dataStore,
|
1329
1492
|
session: session,
|
1330
|
-
answer: answer,
|
1331
1493
|
});
|
1332
1494
|
}
|
1333
1495
|
/**
|
1334
|
-
* Parse the project from
|
1496
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1335
1497
|
*
|
1336
|
-
* @param {string}
|
1337
|
-
* A fully-qualified path representing
|
1498
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1499
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1338
1500
|
* @returns {string} A string representing the project.
|
1339
1501
|
*/
|
1340
|
-
|
1341
|
-
return this.pathTemplates.
|
1502
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1503
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1342
1504
|
}
|
1343
1505
|
/**
|
1344
|
-
* Parse the location from
|
1506
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1345
1507
|
*
|
1346
|
-
* @param {string}
|
1347
|
-
* A fully-qualified path representing
|
1508
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1509
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1348
1510
|
* @returns {string} A string representing the location.
|
1349
1511
|
*/
|
1350
|
-
|
1351
|
-
return this.pathTemplates.
|
1512
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1513
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1352
1514
|
}
|
1353
1515
|
/**
|
1354
|
-
* Parse the collection from
|
1516
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1355
1517
|
*
|
1356
|
-
* @param {string}
|
1357
|
-
* A fully-qualified path representing
|
1518
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1519
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1358
1520
|
* @returns {string} A string representing the collection.
|
1359
1521
|
*/
|
1360
|
-
|
1361
|
-
return this.pathTemplates.
|
1522
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1523
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1362
1524
|
}
|
1363
1525
|
/**
|
1364
|
-
* Parse the data_store from
|
1526
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1365
1527
|
*
|
1366
|
-
* @param {string}
|
1367
|
-
* A fully-qualified path representing
|
1528
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1529
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1368
1530
|
* @returns {string} A string representing the data_store.
|
1369
1531
|
*/
|
1370
|
-
|
1371
|
-
return this.pathTemplates.
|
1532
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1533
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1372
1534
|
}
|
1373
1535
|
/**
|
1374
|
-
* Parse the session from
|
1536
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1375
1537
|
*
|
1376
|
-
* @param {string}
|
1377
|
-
* A fully-qualified path representing
|
1538
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1539
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1378
1540
|
* @returns {string} A string representing the session.
|
1379
1541
|
*/
|
1380
|
-
|
1381
|
-
return this.pathTemplates.
|
1382
|
-
}
|
1383
|
-
/**
|
1384
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1385
|
-
*
|
1386
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1387
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1388
|
-
* @returns {string} A string representing the answer.
|
1389
|
-
*/
|
1390
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1391
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1542
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1543
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1392
1544
|
}
|
1393
1545
|
/**
|
1394
1546
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1793,154 +1945,154 @@ class ServingConfigServiceClient {
|
|
1793
1945
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1794
1946
|
}
|
1795
1947
|
/**
|
1796
|
-
* Return a fully-qualified
|
1948
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1797
1949
|
*
|
1798
1950
|
* @param {string} project
|
1799
1951
|
* @param {string} location
|
1800
1952
|
* @param {string} collection
|
1801
1953
|
* @param {string} engine
|
1802
1954
|
* @param {string} session
|
1955
|
+
* @param {string} answer
|
1803
1956
|
* @returns {string} Resource name string.
|
1804
1957
|
*/
|
1805
|
-
|
1806
|
-
return this.pathTemplates.
|
1958
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1959
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1807
1960
|
project: project,
|
1808
1961
|
location: location,
|
1809
1962
|
collection: collection,
|
1810
1963
|
engine: engine,
|
1811
1964
|
session: session,
|
1965
|
+
answer: answer,
|
1812
1966
|
});
|
1813
1967
|
}
|
1814
1968
|
/**
|
1815
|
-
* Parse the project from
|
1969
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1816
1970
|
*
|
1817
|
-
* @param {string}
|
1818
|
-
* A fully-qualified path representing
|
1971
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1972
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1819
1973
|
* @returns {string} A string representing the project.
|
1820
1974
|
*/
|
1821
|
-
|
1822
|
-
return this.pathTemplates.
|
1975
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1976
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1823
1977
|
}
|
1824
1978
|
/**
|
1825
|
-
* Parse the location from
|
1979
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1826
1980
|
*
|
1827
|
-
* @param {string}
|
1828
|
-
* A fully-qualified path representing
|
1981
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1982
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1829
1983
|
* @returns {string} A string representing the location.
|
1830
1984
|
*/
|
1831
|
-
|
1832
|
-
return this.pathTemplates.
|
1985
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1986
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1833
1987
|
}
|
1834
1988
|
/**
|
1835
|
-
* Parse the collection from
|
1989
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1836
1990
|
*
|
1837
|
-
* @param {string}
|
1838
|
-
* A fully-qualified path representing
|
1991
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1992
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1839
1993
|
* @returns {string} A string representing the collection.
|
1840
1994
|
*/
|
1841
|
-
|
1842
|
-
return this.pathTemplates.
|
1995
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1996
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1843
1997
|
}
|
1844
1998
|
/**
|
1845
|
-
* Parse the engine from
|
1999
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1846
2000
|
*
|
1847
|
-
* @param {string}
|
1848
|
-
* A fully-qualified path representing
|
2001
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2002
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1849
2003
|
* @returns {string} A string representing the engine.
|
1850
2004
|
*/
|
1851
|
-
|
1852
|
-
return this.pathTemplates.
|
2005
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2006
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1853
2007
|
}
|
1854
2008
|
/**
|
1855
|
-
* Parse the session from
|
2009
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1856
2010
|
*
|
1857
|
-
* @param {string}
|
1858
|
-
* A fully-qualified path representing
|
2011
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2012
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1859
2013
|
* @returns {string} A string representing the session.
|
1860
2014
|
*/
|
1861
|
-
|
1862
|
-
return this.pathTemplates.
|
2015
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2016
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1863
2017
|
}
|
1864
2018
|
/**
|
1865
|
-
*
|
2019
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2020
|
+
*
|
2021
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2022
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2023
|
+
* @returns {string} A string representing the answer.
|
2024
|
+
*/
|
2025
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2027
|
+
}
|
2028
|
+
/**
|
2029
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1866
2030
|
*
|
1867
2031
|
* @param {string} project
|
1868
2032
|
* @param {string} location
|
1869
2033
|
* @param {string} collection
|
1870
2034
|
* @param {string} engine
|
1871
2035
|
* @param {string} session
|
1872
|
-
* @param {string} answer
|
1873
2036
|
* @returns {string} Resource name string.
|
1874
2037
|
*/
|
1875
|
-
|
1876
|
-
return this.pathTemplates.
|
2038
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2039
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1877
2040
|
project: project,
|
1878
2041
|
location: location,
|
1879
2042
|
collection: collection,
|
1880
2043
|
engine: engine,
|
1881
2044
|
session: session,
|
1882
|
-
answer: answer,
|
1883
2045
|
});
|
1884
2046
|
}
|
1885
2047
|
/**
|
1886
|
-
* Parse the project from
|
2048
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1887
2049
|
*
|
1888
|
-
* @param {string}
|
1889
|
-
* A fully-qualified path representing
|
2050
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2051
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1890
2052
|
* @returns {string} A string representing the project.
|
1891
2053
|
*/
|
1892
|
-
|
1893
|
-
return this.pathTemplates.
|
2054
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2055
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1894
2056
|
}
|
1895
2057
|
/**
|
1896
|
-
* Parse the location from
|
2058
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1897
2059
|
*
|
1898
|
-
* @param {string}
|
1899
|
-
* A fully-qualified path representing
|
2060
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2061
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1900
2062
|
* @returns {string} A string representing the location.
|
1901
2063
|
*/
|
1902
|
-
|
1903
|
-
return this.pathTemplates.
|
2064
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2065
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1904
2066
|
}
|
1905
2067
|
/**
|
1906
|
-
* Parse the collection from
|
2068
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1907
2069
|
*
|
1908
|
-
* @param {string}
|
1909
|
-
* A fully-qualified path representing
|
2070
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2071
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1910
2072
|
* @returns {string} A string representing the collection.
|
1911
2073
|
*/
|
1912
|
-
|
1913
|
-
return this.pathTemplates.
|
2074
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2075
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1914
2076
|
}
|
1915
2077
|
/**
|
1916
|
-
* Parse the engine from
|
2078
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1917
2079
|
*
|
1918
|
-
* @param {string}
|
1919
|
-
* A fully-qualified path representing
|
2080
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2081
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1920
2082
|
* @returns {string} A string representing the engine.
|
1921
2083
|
*/
|
1922
|
-
|
1923
|
-
return this.pathTemplates.
|
2084
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2085
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1924
2086
|
}
|
1925
2087
|
/**
|
1926
|
-
* Parse the session from
|
2088
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1927
2089
|
*
|
1928
|
-
* @param {string}
|
1929
|
-
* A fully-qualified path representing
|
2090
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2091
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1930
2092
|
* @returns {string} A string representing the session.
|
1931
2093
|
*/
|
1932
|
-
|
1933
|
-
return this.pathTemplates.
|
1934
|
-
}
|
1935
|
-
/**
|
1936
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1937
|
-
*
|
1938
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1939
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1940
|
-
* @returns {string} A string representing the answer.
|
1941
|
-
*/
|
1942
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1943
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2094
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2095
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1944
2096
|
}
|
1945
2097
|
/**
|
1946
2098
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2467,63 +2619,6 @@ class ServingConfigServiceClient {
|
|
2467
2619
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2468
2620
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2469
2621
|
}
|
2470
|
-
/**
|
2471
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2472
|
-
*
|
2473
|
-
* @param {string} project
|
2474
|
-
* @param {string} location
|
2475
|
-
* @param {string} data_store
|
2476
|
-
* @param {string} session
|
2477
|
-
* @returns {string} Resource name string.
|
2478
|
-
*/
|
2479
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2480
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2481
|
-
project: project,
|
2482
|
-
location: location,
|
2483
|
-
data_store: dataStore,
|
2484
|
-
session: session,
|
2485
|
-
});
|
2486
|
-
}
|
2487
|
-
/**
|
2488
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2489
|
-
*
|
2490
|
-
* @param {string} projectLocationDataStoreSessionName
|
2491
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2492
|
-
* @returns {string} A string representing the project.
|
2493
|
-
*/
|
2494
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2495
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2496
|
-
}
|
2497
|
-
/**
|
2498
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2499
|
-
*
|
2500
|
-
* @param {string} projectLocationDataStoreSessionName
|
2501
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2502
|
-
* @returns {string} A string representing the location.
|
2503
|
-
*/
|
2504
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2505
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2506
|
-
}
|
2507
|
-
/**
|
2508
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2509
|
-
*
|
2510
|
-
* @param {string} projectLocationDataStoreSessionName
|
2511
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2512
|
-
* @returns {string} A string representing the data_store.
|
2513
|
-
*/
|
2514
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2515
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2516
|
-
}
|
2517
|
-
/**
|
2518
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2519
|
-
*
|
2520
|
-
* @param {string} projectLocationDataStoreSessionName
|
2521
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2522
|
-
* @returns {string} A string representing the session.
|
2523
|
-
*/
|
2524
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2525
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2526
|
-
}
|
2527
2622
|
/**
|
2528
2623
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2529
2624
|
*
|
@@ -2593,6 +2688,63 @@ class ServingConfigServiceClient {
|
|
2593
2688
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2594
2689
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2595
2690
|
}
|
2691
|
+
/**
|
2692
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2693
|
+
*
|
2694
|
+
* @param {string} project
|
2695
|
+
* @param {string} location
|
2696
|
+
* @param {string} data_store
|
2697
|
+
* @param {string} session
|
2698
|
+
* @returns {string} Resource name string.
|
2699
|
+
*/
|
2700
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2701
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2702
|
+
project: project,
|
2703
|
+
location: location,
|
2704
|
+
data_store: dataStore,
|
2705
|
+
session: session,
|
2706
|
+
});
|
2707
|
+
}
|
2708
|
+
/**
|
2709
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2710
|
+
*
|
2711
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2712
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2713
|
+
* @returns {string} A string representing the project.
|
2714
|
+
*/
|
2715
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2716
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2717
|
+
}
|
2718
|
+
/**
|
2719
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2720
|
+
*
|
2721
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2722
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2723
|
+
* @returns {string} A string representing the location.
|
2724
|
+
*/
|
2725
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2726
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2727
|
+
}
|
2728
|
+
/**
|
2729
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2730
|
+
*
|
2731
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2732
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2733
|
+
* @returns {string} A string representing the data_store.
|
2734
|
+
*/
|
2735
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2736
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2737
|
+
}
|
2738
|
+
/**
|
2739
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2740
|
+
*
|
2741
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2742
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2743
|
+
* @returns {string} A string representing the session.
|
2744
|
+
*/
|
2745
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2746
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2747
|
+
}
|
2596
2748
|
/**
|
2597
2749
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2598
2750
|
*
|