@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 SearchTuningServiceClient {
|
|
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 SearchTuningServiceClient {
|
|
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 SearchTuningServiceClient {
|
|
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}'),
|
@@ -656,6 +658,156 @@ class SearchTuningServiceClient {
|
|
656
658
|
// --------------------
|
657
659
|
// -- Path templates --
|
658
660
|
// --------------------
|
661
|
+
/**
|
662
|
+
* Return a fully-qualified assistAnswer resource name string.
|
663
|
+
*
|
664
|
+
* @param {string} project
|
665
|
+
* @param {string} location
|
666
|
+
* @param {string} collection
|
667
|
+
* @param {string} engine
|
668
|
+
* @param {string} session
|
669
|
+
* @param {string} assist_answer
|
670
|
+
* @returns {string} Resource name string.
|
671
|
+
*/
|
672
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
673
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
674
|
+
project: project,
|
675
|
+
location: location,
|
676
|
+
collection: collection,
|
677
|
+
engine: engine,
|
678
|
+
session: session,
|
679
|
+
assist_answer: assistAnswer,
|
680
|
+
});
|
681
|
+
}
|
682
|
+
/**
|
683
|
+
* Parse the project from AssistAnswer resource.
|
684
|
+
*
|
685
|
+
* @param {string} assistAnswerName
|
686
|
+
* A fully-qualified path representing AssistAnswer resource.
|
687
|
+
* @returns {string} A string representing the project.
|
688
|
+
*/
|
689
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
690
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
691
|
+
}
|
692
|
+
/**
|
693
|
+
* Parse the location from AssistAnswer resource.
|
694
|
+
*
|
695
|
+
* @param {string} assistAnswerName
|
696
|
+
* A fully-qualified path representing AssistAnswer resource.
|
697
|
+
* @returns {string} A string representing the location.
|
698
|
+
*/
|
699
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
700
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
701
|
+
}
|
702
|
+
/**
|
703
|
+
* Parse the collection from AssistAnswer resource.
|
704
|
+
*
|
705
|
+
* @param {string} assistAnswerName
|
706
|
+
* A fully-qualified path representing AssistAnswer resource.
|
707
|
+
* @returns {string} A string representing the collection.
|
708
|
+
*/
|
709
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
710
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
711
|
+
}
|
712
|
+
/**
|
713
|
+
* Parse the engine from AssistAnswer resource.
|
714
|
+
*
|
715
|
+
* @param {string} assistAnswerName
|
716
|
+
* A fully-qualified path representing AssistAnswer resource.
|
717
|
+
* @returns {string} A string representing the engine.
|
718
|
+
*/
|
719
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
720
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
721
|
+
}
|
722
|
+
/**
|
723
|
+
* Parse the session from AssistAnswer resource.
|
724
|
+
*
|
725
|
+
* @param {string} assistAnswerName
|
726
|
+
* A fully-qualified path representing AssistAnswer resource.
|
727
|
+
* @returns {string} A string representing the session.
|
728
|
+
*/
|
729
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
730
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
731
|
+
}
|
732
|
+
/**
|
733
|
+
* Parse the assist_answer from AssistAnswer resource.
|
734
|
+
*
|
735
|
+
* @param {string} assistAnswerName
|
736
|
+
* A fully-qualified path representing AssistAnswer resource.
|
737
|
+
* @returns {string} A string representing the assist_answer.
|
738
|
+
*/
|
739
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
740
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
741
|
+
}
|
742
|
+
/**
|
743
|
+
* Return a fully-qualified assistant resource name string.
|
744
|
+
*
|
745
|
+
* @param {string} project
|
746
|
+
* @param {string} location
|
747
|
+
* @param {string} collection
|
748
|
+
* @param {string} engine
|
749
|
+
* @param {string} assistant
|
750
|
+
* @returns {string} Resource name string.
|
751
|
+
*/
|
752
|
+
assistantPath(project, location, collection, engine, assistant) {
|
753
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
754
|
+
project: project,
|
755
|
+
location: location,
|
756
|
+
collection: collection,
|
757
|
+
engine: engine,
|
758
|
+
assistant: assistant,
|
759
|
+
});
|
760
|
+
}
|
761
|
+
/**
|
762
|
+
* Parse the project from Assistant resource.
|
763
|
+
*
|
764
|
+
* @param {string} assistantName
|
765
|
+
* A fully-qualified path representing Assistant resource.
|
766
|
+
* @returns {string} A string representing the project.
|
767
|
+
*/
|
768
|
+
matchProjectFromAssistantName(assistantName) {
|
769
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
770
|
+
}
|
771
|
+
/**
|
772
|
+
* Parse the location from Assistant resource.
|
773
|
+
*
|
774
|
+
* @param {string} assistantName
|
775
|
+
* A fully-qualified path representing Assistant resource.
|
776
|
+
* @returns {string} A string representing the location.
|
777
|
+
*/
|
778
|
+
matchLocationFromAssistantName(assistantName) {
|
779
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
780
|
+
}
|
781
|
+
/**
|
782
|
+
* Parse the collection from Assistant resource.
|
783
|
+
*
|
784
|
+
* @param {string} assistantName
|
785
|
+
* A fully-qualified path representing Assistant resource.
|
786
|
+
* @returns {string} A string representing the collection.
|
787
|
+
*/
|
788
|
+
matchCollectionFromAssistantName(assistantName) {
|
789
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
790
|
+
}
|
791
|
+
/**
|
792
|
+
* Parse the engine from Assistant resource.
|
793
|
+
*
|
794
|
+
* @param {string} assistantName
|
795
|
+
* A fully-qualified path representing Assistant resource.
|
796
|
+
* @returns {string} A string representing the engine.
|
797
|
+
*/
|
798
|
+
matchEngineFromAssistantName(assistantName) {
|
799
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
800
|
+
}
|
801
|
+
/**
|
802
|
+
* Parse the assistant from Assistant resource.
|
803
|
+
*
|
804
|
+
* @param {string} assistantName
|
805
|
+
* A fully-qualified path representing Assistant resource.
|
806
|
+
* @returns {string} A string representing the assistant.
|
807
|
+
*/
|
808
|
+
matchAssistantFromAssistantName(assistantName) {
|
809
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
810
|
+
}
|
659
811
|
/**
|
660
812
|
* Return a fully-qualified engine resource name string.
|
661
813
|
*
|
@@ -1491,154 +1643,154 @@ class SearchTuningServiceClient {
|
|
1491
1643
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1492
1644
|
}
|
1493
1645
|
/**
|
1494
|
-
* Return a fully-qualified
|
1646
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1495
1647
|
*
|
1496
1648
|
* @param {string} project
|
1497
1649
|
* @param {string} location
|
1498
1650
|
* @param {string} collection
|
1499
1651
|
* @param {string} data_store
|
1500
1652
|
* @param {string} session
|
1653
|
+
* @param {string} answer
|
1501
1654
|
* @returns {string} Resource name string.
|
1502
1655
|
*/
|
1503
|
-
|
1504
|
-
return this.pathTemplates.
|
1656
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1657
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1505
1658
|
project: project,
|
1506
1659
|
location: location,
|
1507
1660
|
collection: collection,
|
1508
1661
|
data_store: dataStore,
|
1509
1662
|
session: session,
|
1663
|
+
answer: answer,
|
1510
1664
|
});
|
1511
1665
|
}
|
1512
1666
|
/**
|
1513
|
-
* Parse the project from
|
1667
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1514
1668
|
*
|
1515
|
-
* @param {string}
|
1516
|
-
* A fully-qualified path representing
|
1669
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1670
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1517
1671
|
* @returns {string} A string representing the project.
|
1518
1672
|
*/
|
1519
|
-
|
1520
|
-
return this.pathTemplates.
|
1673
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1674
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1521
1675
|
}
|
1522
1676
|
/**
|
1523
|
-
* Parse the location from
|
1677
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1524
1678
|
*
|
1525
|
-
* @param {string}
|
1526
|
-
* A fully-qualified path representing
|
1679
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1680
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1527
1681
|
* @returns {string} A string representing the location.
|
1528
1682
|
*/
|
1529
|
-
|
1530
|
-
return this.pathTemplates.
|
1683
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1684
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1531
1685
|
}
|
1532
1686
|
/**
|
1533
|
-
* Parse the collection from
|
1687
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1534
1688
|
*
|
1535
|
-
* @param {string}
|
1536
|
-
* A fully-qualified path representing
|
1689
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1690
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1537
1691
|
* @returns {string} A string representing the collection.
|
1538
1692
|
*/
|
1539
|
-
|
1540
|
-
return this.pathTemplates.
|
1693
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1694
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1541
1695
|
}
|
1542
1696
|
/**
|
1543
|
-
* Parse the data_store from
|
1697
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1544
1698
|
*
|
1545
|
-
* @param {string}
|
1546
|
-
* A fully-qualified path representing
|
1699
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1700
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1547
1701
|
* @returns {string} A string representing the data_store.
|
1548
1702
|
*/
|
1549
|
-
|
1550
|
-
return this.pathTemplates.
|
1703
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1704
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1551
1705
|
}
|
1552
1706
|
/**
|
1553
|
-
* Parse the session from
|
1707
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1554
1708
|
*
|
1555
|
-
* @param {string}
|
1556
|
-
* A fully-qualified path representing
|
1709
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1710
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1557
1711
|
* @returns {string} A string representing the session.
|
1558
1712
|
*/
|
1559
|
-
|
1560
|
-
return this.pathTemplates.
|
1713
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1714
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1561
1715
|
}
|
1562
1716
|
/**
|
1563
|
-
*
|
1717
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1718
|
+
*
|
1719
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1720
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1721
|
+
* @returns {string} A string representing the answer.
|
1722
|
+
*/
|
1723
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1724
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1725
|
+
}
|
1726
|
+
/**
|
1727
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1564
1728
|
*
|
1565
1729
|
* @param {string} project
|
1566
1730
|
* @param {string} location
|
1567
1731
|
* @param {string} collection
|
1568
1732
|
* @param {string} data_store
|
1569
1733
|
* @param {string} session
|
1570
|
-
* @param {string} answer
|
1571
1734
|
* @returns {string} Resource name string.
|
1572
1735
|
*/
|
1573
|
-
|
1574
|
-
return this.pathTemplates.
|
1736
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1737
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1575
1738
|
project: project,
|
1576
1739
|
location: location,
|
1577
1740
|
collection: collection,
|
1578
1741
|
data_store: dataStore,
|
1579
1742
|
session: session,
|
1580
|
-
answer: answer,
|
1581
1743
|
});
|
1582
1744
|
}
|
1583
1745
|
/**
|
1584
|
-
* Parse the project from
|
1746
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1585
1747
|
*
|
1586
|
-
* @param {string}
|
1587
|
-
* A fully-qualified path representing
|
1748
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1749
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1588
1750
|
* @returns {string} A string representing the project.
|
1589
1751
|
*/
|
1590
|
-
|
1591
|
-
return this.pathTemplates.
|
1752
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1753
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1592
1754
|
}
|
1593
1755
|
/**
|
1594
|
-
* Parse the location from
|
1756
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1595
1757
|
*
|
1596
|
-
* @param {string}
|
1597
|
-
* A fully-qualified path representing
|
1758
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1759
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1598
1760
|
* @returns {string} A string representing the location.
|
1599
1761
|
*/
|
1600
|
-
|
1601
|
-
return this.pathTemplates.
|
1762
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1763
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1602
1764
|
}
|
1603
1765
|
/**
|
1604
|
-
* Parse the collection from
|
1766
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1605
1767
|
*
|
1606
|
-
* @param {string}
|
1607
|
-
* A fully-qualified path representing
|
1768
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1769
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1608
1770
|
* @returns {string} A string representing the collection.
|
1609
1771
|
*/
|
1610
|
-
|
1611
|
-
return this.pathTemplates.
|
1772
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1773
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1612
1774
|
}
|
1613
1775
|
/**
|
1614
|
-
* Parse the data_store from
|
1776
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1615
1777
|
*
|
1616
|
-
* @param {string}
|
1617
|
-
* A fully-qualified path representing
|
1778
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1779
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1618
1780
|
* @returns {string} A string representing the data_store.
|
1619
1781
|
*/
|
1620
|
-
|
1621
|
-
return this.pathTemplates.
|
1782
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1783
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1622
1784
|
}
|
1623
1785
|
/**
|
1624
|
-
* Parse the session from
|
1786
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1625
1787
|
*
|
1626
|
-
* @param {string}
|
1627
|
-
* A fully-qualified path representing
|
1788
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1789
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1628
1790
|
* @returns {string} A string representing the session.
|
1629
1791
|
*/
|
1630
|
-
|
1631
|
-
return this.pathTemplates.
|
1632
|
-
}
|
1633
|
-
/**
|
1634
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1635
|
-
*
|
1636
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1637
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1638
|
-
* @returns {string} A string representing the answer.
|
1639
|
-
*/
|
1640
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1641
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1792
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1793
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1642
1794
|
}
|
1643
1795
|
/**
|
1644
1796
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2043,154 +2195,154 @@ class SearchTuningServiceClient {
|
|
2043
2195
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2044
2196
|
}
|
2045
2197
|
/**
|
2046
|
-
* Return a fully-qualified
|
2198
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2047
2199
|
*
|
2048
2200
|
* @param {string} project
|
2049
2201
|
* @param {string} location
|
2050
2202
|
* @param {string} collection
|
2051
2203
|
* @param {string} engine
|
2052
2204
|
* @param {string} session
|
2205
|
+
* @param {string} answer
|
2053
2206
|
* @returns {string} Resource name string.
|
2054
2207
|
*/
|
2055
|
-
|
2056
|
-
return this.pathTemplates.
|
2208
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2209
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2057
2210
|
project: project,
|
2058
2211
|
location: location,
|
2059
2212
|
collection: collection,
|
2060
2213
|
engine: engine,
|
2061
2214
|
session: session,
|
2215
|
+
answer: answer,
|
2062
2216
|
});
|
2063
2217
|
}
|
2064
2218
|
/**
|
2065
|
-
* Parse the project from
|
2219
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2066
2220
|
*
|
2067
|
-
* @param {string}
|
2068
|
-
* A fully-qualified path representing
|
2221
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2222
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2069
2223
|
* @returns {string} A string representing the project.
|
2070
2224
|
*/
|
2071
|
-
|
2072
|
-
return this.pathTemplates.
|
2225
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2226
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2073
2227
|
}
|
2074
2228
|
/**
|
2075
|
-
* Parse the location from
|
2229
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2076
2230
|
*
|
2077
|
-
* @param {string}
|
2078
|
-
* A fully-qualified path representing
|
2231
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2232
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2079
2233
|
* @returns {string} A string representing the location.
|
2080
2234
|
*/
|
2081
|
-
|
2082
|
-
return this.pathTemplates.
|
2235
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2236
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2083
2237
|
}
|
2084
2238
|
/**
|
2085
|
-
* Parse the collection from
|
2239
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2086
2240
|
*
|
2087
|
-
* @param {string}
|
2088
|
-
* A fully-qualified path representing
|
2241
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2242
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2089
2243
|
* @returns {string} A string representing the collection.
|
2090
2244
|
*/
|
2091
|
-
|
2092
|
-
return this.pathTemplates.
|
2245
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2246
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2093
2247
|
}
|
2094
2248
|
/**
|
2095
|
-
* Parse the engine from
|
2249
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2096
2250
|
*
|
2097
|
-
* @param {string}
|
2098
|
-
* A fully-qualified path representing
|
2251
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2252
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2099
2253
|
* @returns {string} A string representing the engine.
|
2100
2254
|
*/
|
2101
|
-
|
2102
|
-
return this.pathTemplates.
|
2255
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2256
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2103
2257
|
}
|
2104
2258
|
/**
|
2105
|
-
* Parse the session from
|
2259
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2106
2260
|
*
|
2107
|
-
* @param {string}
|
2108
|
-
* A fully-qualified path representing
|
2261
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2262
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2109
2263
|
* @returns {string} A string representing the session.
|
2110
2264
|
*/
|
2111
|
-
|
2112
|
-
return this.pathTemplates.
|
2265
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2266
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2113
2267
|
}
|
2114
2268
|
/**
|
2115
|
-
*
|
2269
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2270
|
+
*
|
2271
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2272
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2273
|
+
* @returns {string} A string representing the answer.
|
2274
|
+
*/
|
2275
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2276
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2277
|
+
}
|
2278
|
+
/**
|
2279
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2116
2280
|
*
|
2117
2281
|
* @param {string} project
|
2118
2282
|
* @param {string} location
|
2119
2283
|
* @param {string} collection
|
2120
2284
|
* @param {string} engine
|
2121
2285
|
* @param {string} session
|
2122
|
-
* @param {string} answer
|
2123
2286
|
* @returns {string} Resource name string.
|
2124
2287
|
*/
|
2125
|
-
|
2126
|
-
return this.pathTemplates.
|
2288
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2289
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2127
2290
|
project: project,
|
2128
2291
|
location: location,
|
2129
2292
|
collection: collection,
|
2130
2293
|
engine: engine,
|
2131
2294
|
session: session,
|
2132
|
-
answer: answer,
|
2133
2295
|
});
|
2134
2296
|
}
|
2135
2297
|
/**
|
2136
|
-
* Parse the project from
|
2298
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2137
2299
|
*
|
2138
|
-
* @param {string}
|
2139
|
-
* A fully-qualified path representing
|
2300
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2301
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2140
2302
|
* @returns {string} A string representing the project.
|
2141
2303
|
*/
|
2142
|
-
|
2143
|
-
return this.pathTemplates.
|
2304
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2305
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2144
2306
|
}
|
2145
2307
|
/**
|
2146
|
-
* Parse the location from
|
2308
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2147
2309
|
*
|
2148
|
-
* @param {string}
|
2149
|
-
* A fully-qualified path representing
|
2310
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2311
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2150
2312
|
* @returns {string} A string representing the location.
|
2151
2313
|
*/
|
2152
|
-
|
2153
|
-
return this.pathTemplates.
|
2314
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2315
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2154
2316
|
}
|
2155
2317
|
/**
|
2156
|
-
* Parse the collection from
|
2318
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2157
2319
|
*
|
2158
|
-
* @param {string}
|
2159
|
-
* A fully-qualified path representing
|
2320
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2321
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2160
2322
|
* @returns {string} A string representing the collection.
|
2161
2323
|
*/
|
2162
|
-
|
2163
|
-
return this.pathTemplates.
|
2324
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2325
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2164
2326
|
}
|
2165
2327
|
/**
|
2166
|
-
* Parse the engine from
|
2328
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2167
2329
|
*
|
2168
|
-
* @param {string}
|
2169
|
-
* A fully-qualified path representing
|
2330
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2331
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2170
2332
|
* @returns {string} A string representing the engine.
|
2171
2333
|
*/
|
2172
|
-
|
2173
|
-
return this.pathTemplates.
|
2334
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2335
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2174
2336
|
}
|
2175
2337
|
/**
|
2176
|
-
* Parse the session from
|
2338
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2177
2339
|
*
|
2178
|
-
* @param {string}
|
2179
|
-
* A fully-qualified path representing
|
2340
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2341
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2180
2342
|
* @returns {string} A string representing the session.
|
2181
2343
|
*/
|
2182
|
-
|
2183
|
-
return this.pathTemplates.
|
2184
|
-
}
|
2185
|
-
/**
|
2186
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2187
|
-
*
|
2188
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2189
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2190
|
-
* @returns {string} A string representing the answer.
|
2191
|
-
*/
|
2192
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2193
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2344
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2345
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2194
2346
|
}
|
2195
2347
|
/**
|
2196
2348
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2717,63 +2869,6 @@ class SearchTuningServiceClient {
|
|
2717
2869
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2718
2870
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2719
2871
|
}
|
2720
|
-
/**
|
2721
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2722
|
-
*
|
2723
|
-
* @param {string} project
|
2724
|
-
* @param {string} location
|
2725
|
-
* @param {string} data_store
|
2726
|
-
* @param {string} session
|
2727
|
-
* @returns {string} Resource name string.
|
2728
|
-
*/
|
2729
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2730
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2731
|
-
project: project,
|
2732
|
-
location: location,
|
2733
|
-
data_store: dataStore,
|
2734
|
-
session: session,
|
2735
|
-
});
|
2736
|
-
}
|
2737
|
-
/**
|
2738
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2739
|
-
*
|
2740
|
-
* @param {string} projectLocationDataStoreSessionName
|
2741
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2742
|
-
* @returns {string} A string representing the project.
|
2743
|
-
*/
|
2744
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2745
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2746
|
-
}
|
2747
|
-
/**
|
2748
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2749
|
-
*
|
2750
|
-
* @param {string} projectLocationDataStoreSessionName
|
2751
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2752
|
-
* @returns {string} A string representing the location.
|
2753
|
-
*/
|
2754
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2755
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2756
|
-
}
|
2757
|
-
/**
|
2758
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2759
|
-
*
|
2760
|
-
* @param {string} projectLocationDataStoreSessionName
|
2761
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2762
|
-
* @returns {string} A string representing the data_store.
|
2763
|
-
*/
|
2764
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2765
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2766
|
-
}
|
2767
|
-
/**
|
2768
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2769
|
-
*
|
2770
|
-
* @param {string} projectLocationDataStoreSessionName
|
2771
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2772
|
-
* @returns {string} A string representing the session.
|
2773
|
-
*/
|
2774
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2775
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2776
|
-
}
|
2777
2872
|
/**
|
2778
2873
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2779
2874
|
*
|
@@ -2843,6 +2938,63 @@ class SearchTuningServiceClient {
|
|
2843
2938
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2844
2939
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2845
2940
|
}
|
2941
|
+
/**
|
2942
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2943
|
+
*
|
2944
|
+
* @param {string} project
|
2945
|
+
* @param {string} location
|
2946
|
+
* @param {string} data_store
|
2947
|
+
* @param {string} session
|
2948
|
+
* @returns {string} Resource name string.
|
2949
|
+
*/
|
2950
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2951
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2952
|
+
project: project,
|
2953
|
+
location: location,
|
2954
|
+
data_store: dataStore,
|
2955
|
+
session: session,
|
2956
|
+
});
|
2957
|
+
}
|
2958
|
+
/**
|
2959
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2960
|
+
*
|
2961
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2962
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2963
|
+
* @returns {string} A string representing the project.
|
2964
|
+
*/
|
2965
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2966
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2967
|
+
}
|
2968
|
+
/**
|
2969
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2970
|
+
*
|
2971
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2972
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2973
|
+
* @returns {string} A string representing the location.
|
2974
|
+
*/
|
2975
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2976
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2977
|
+
}
|
2978
|
+
/**
|
2979
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2980
|
+
*
|
2981
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2982
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2983
|
+
* @returns {string} A string representing the data_store.
|
2984
|
+
*/
|
2985
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2986
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2987
|
+
}
|
2988
|
+
/**
|
2989
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2990
|
+
*
|
2991
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2992
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2993
|
+
* @returns {string} A string representing the session.
|
2994
|
+
*/
|
2995
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2996
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2997
|
+
}
|
2846
2998
|
/**
|
2847
2999
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2848
3000
|
*
|