@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
@@ -165,6 +165,8 @@ class ControlServiceClient {
|
|
165
165
|
// identifiers to uniquely identify resources within the API.
|
166
166
|
// Create useful helper objects for these.
|
167
167
|
this.pathTemplates = {
|
168
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
169
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
168
170
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
169
171
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
170
172
|
locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
|
@@ -180,16 +182,16 @@ class ControlServiceClient {
|
|
180
182
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
181
183
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
182
184
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
183
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
185
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
185
187
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
186
188
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
187
189
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
188
190
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
189
191
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
190
192
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
191
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
193
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
194
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
193
195
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
194
196
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
195
197
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -199,8 +201,8 @@ class ControlServiceClient {
|
|
199
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
203
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
202
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
204
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
205
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
204
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
207
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
206
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -650,6 +652,156 @@ class ControlServiceClient {
|
|
650
652
|
// --------------------
|
651
653
|
// -- Path templates --
|
652
654
|
// --------------------
|
655
|
+
/**
|
656
|
+
* Return a fully-qualified assistAnswer resource name string.
|
657
|
+
*
|
658
|
+
* @param {string} project
|
659
|
+
* @param {string} location
|
660
|
+
* @param {string} collection
|
661
|
+
* @param {string} engine
|
662
|
+
* @param {string} session
|
663
|
+
* @param {string} assist_answer
|
664
|
+
* @returns {string} Resource name string.
|
665
|
+
*/
|
666
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
667
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
668
|
+
project: project,
|
669
|
+
location: location,
|
670
|
+
collection: collection,
|
671
|
+
engine: engine,
|
672
|
+
session: session,
|
673
|
+
assist_answer: assistAnswer,
|
674
|
+
});
|
675
|
+
}
|
676
|
+
/**
|
677
|
+
* Parse the project from AssistAnswer resource.
|
678
|
+
*
|
679
|
+
* @param {string} assistAnswerName
|
680
|
+
* A fully-qualified path representing AssistAnswer resource.
|
681
|
+
* @returns {string} A string representing the project.
|
682
|
+
*/
|
683
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
684
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
685
|
+
}
|
686
|
+
/**
|
687
|
+
* Parse the location from AssistAnswer resource.
|
688
|
+
*
|
689
|
+
* @param {string} assistAnswerName
|
690
|
+
* A fully-qualified path representing AssistAnswer resource.
|
691
|
+
* @returns {string} A string representing the location.
|
692
|
+
*/
|
693
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
694
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
695
|
+
}
|
696
|
+
/**
|
697
|
+
* Parse the collection from AssistAnswer resource.
|
698
|
+
*
|
699
|
+
* @param {string} assistAnswerName
|
700
|
+
* A fully-qualified path representing AssistAnswer resource.
|
701
|
+
* @returns {string} A string representing the collection.
|
702
|
+
*/
|
703
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
704
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
705
|
+
}
|
706
|
+
/**
|
707
|
+
* Parse the engine from AssistAnswer resource.
|
708
|
+
*
|
709
|
+
* @param {string} assistAnswerName
|
710
|
+
* A fully-qualified path representing AssistAnswer resource.
|
711
|
+
* @returns {string} A string representing the engine.
|
712
|
+
*/
|
713
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
714
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
715
|
+
}
|
716
|
+
/**
|
717
|
+
* Parse the session from AssistAnswer resource.
|
718
|
+
*
|
719
|
+
* @param {string} assistAnswerName
|
720
|
+
* A fully-qualified path representing AssistAnswer resource.
|
721
|
+
* @returns {string} A string representing the session.
|
722
|
+
*/
|
723
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
724
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
725
|
+
}
|
726
|
+
/**
|
727
|
+
* Parse the assist_answer from AssistAnswer resource.
|
728
|
+
*
|
729
|
+
* @param {string} assistAnswerName
|
730
|
+
* A fully-qualified path representing AssistAnswer resource.
|
731
|
+
* @returns {string} A string representing the assist_answer.
|
732
|
+
*/
|
733
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
734
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
735
|
+
}
|
736
|
+
/**
|
737
|
+
* Return a fully-qualified assistant resource name string.
|
738
|
+
*
|
739
|
+
* @param {string} project
|
740
|
+
* @param {string} location
|
741
|
+
* @param {string} collection
|
742
|
+
* @param {string} engine
|
743
|
+
* @param {string} assistant
|
744
|
+
* @returns {string} Resource name string.
|
745
|
+
*/
|
746
|
+
assistantPath(project, location, collection, engine, assistant) {
|
747
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
748
|
+
project: project,
|
749
|
+
location: location,
|
750
|
+
collection: collection,
|
751
|
+
engine: engine,
|
752
|
+
assistant: assistant,
|
753
|
+
});
|
754
|
+
}
|
755
|
+
/**
|
756
|
+
* Parse the project from Assistant resource.
|
757
|
+
*
|
758
|
+
* @param {string} assistantName
|
759
|
+
* A fully-qualified path representing Assistant resource.
|
760
|
+
* @returns {string} A string representing the project.
|
761
|
+
*/
|
762
|
+
matchProjectFromAssistantName(assistantName) {
|
763
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
764
|
+
}
|
765
|
+
/**
|
766
|
+
* Parse the location from Assistant resource.
|
767
|
+
*
|
768
|
+
* @param {string} assistantName
|
769
|
+
* A fully-qualified path representing Assistant resource.
|
770
|
+
* @returns {string} A string representing the location.
|
771
|
+
*/
|
772
|
+
matchLocationFromAssistantName(assistantName) {
|
773
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
774
|
+
}
|
775
|
+
/**
|
776
|
+
* Parse the collection from Assistant resource.
|
777
|
+
*
|
778
|
+
* @param {string} assistantName
|
779
|
+
* A fully-qualified path representing Assistant resource.
|
780
|
+
* @returns {string} A string representing the collection.
|
781
|
+
*/
|
782
|
+
matchCollectionFromAssistantName(assistantName) {
|
783
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
784
|
+
}
|
785
|
+
/**
|
786
|
+
* Parse the engine from Assistant resource.
|
787
|
+
*
|
788
|
+
* @param {string} assistantName
|
789
|
+
* A fully-qualified path representing Assistant resource.
|
790
|
+
* @returns {string} A string representing the engine.
|
791
|
+
*/
|
792
|
+
matchEngineFromAssistantName(assistantName) {
|
793
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
794
|
+
}
|
795
|
+
/**
|
796
|
+
* Parse the assistant from Assistant resource.
|
797
|
+
*
|
798
|
+
* @param {string} assistantName
|
799
|
+
* A fully-qualified path representing Assistant resource.
|
800
|
+
* @returns {string} A string representing the assistant.
|
801
|
+
*/
|
802
|
+
matchAssistantFromAssistantName(assistantName) {
|
803
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
804
|
+
}
|
653
805
|
/**
|
654
806
|
* Return a fully-qualified engine resource name string.
|
655
807
|
*
|
@@ -1518,154 +1670,154 @@ class ControlServiceClient {
|
|
1518
1670
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1519
1671
|
}
|
1520
1672
|
/**
|
1521
|
-
* Return a fully-qualified
|
1673
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1522
1674
|
*
|
1523
1675
|
* @param {string} project
|
1524
1676
|
* @param {string} location
|
1525
1677
|
* @param {string} collection
|
1526
1678
|
* @param {string} data_store
|
1527
1679
|
* @param {string} session
|
1680
|
+
* @param {string} answer
|
1528
1681
|
* @returns {string} Resource name string.
|
1529
1682
|
*/
|
1530
|
-
|
1531
|
-
return this.pathTemplates.
|
1683
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1684
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1532
1685
|
project: project,
|
1533
1686
|
location: location,
|
1534
1687
|
collection: collection,
|
1535
1688
|
data_store: dataStore,
|
1536
1689
|
session: session,
|
1690
|
+
answer: answer,
|
1537
1691
|
});
|
1538
1692
|
}
|
1539
1693
|
/**
|
1540
|
-
* Parse the project from
|
1694
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1541
1695
|
*
|
1542
|
-
* @param {string}
|
1543
|
-
* A fully-qualified path representing
|
1696
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1697
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1544
1698
|
* @returns {string} A string representing the project.
|
1545
1699
|
*/
|
1546
|
-
|
1547
|
-
return this.pathTemplates.
|
1700
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1701
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1548
1702
|
}
|
1549
1703
|
/**
|
1550
|
-
* Parse the location from
|
1704
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1551
1705
|
*
|
1552
|
-
* @param {string}
|
1553
|
-
* A fully-qualified path representing
|
1706
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1707
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1554
1708
|
* @returns {string} A string representing the location.
|
1555
1709
|
*/
|
1556
|
-
|
1557
|
-
return this.pathTemplates.
|
1710
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1711
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1558
1712
|
}
|
1559
1713
|
/**
|
1560
|
-
* Parse the collection from
|
1714
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1561
1715
|
*
|
1562
|
-
* @param {string}
|
1563
|
-
* A fully-qualified path representing
|
1716
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1717
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1564
1718
|
* @returns {string} A string representing the collection.
|
1565
1719
|
*/
|
1566
|
-
|
1567
|
-
return this.pathTemplates.
|
1720
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1721
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1568
1722
|
}
|
1569
1723
|
/**
|
1570
|
-
* Parse the data_store from
|
1724
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1571
1725
|
*
|
1572
|
-
* @param {string}
|
1573
|
-
* A fully-qualified path representing
|
1726
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1727
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1574
1728
|
* @returns {string} A string representing the data_store.
|
1575
1729
|
*/
|
1576
|
-
|
1577
|
-
return this.pathTemplates.
|
1730
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1731
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1578
1732
|
}
|
1579
1733
|
/**
|
1580
|
-
* Parse the session from
|
1734
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1581
1735
|
*
|
1582
|
-
* @param {string}
|
1583
|
-
* A fully-qualified path representing
|
1736
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1737
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1584
1738
|
* @returns {string} A string representing the session.
|
1585
1739
|
*/
|
1586
|
-
|
1587
|
-
return this.pathTemplates.
|
1740
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1741
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1588
1742
|
}
|
1589
1743
|
/**
|
1590
|
-
*
|
1744
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1745
|
+
*
|
1746
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1747
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1748
|
+
* @returns {string} A string representing the answer.
|
1749
|
+
*/
|
1750
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1751
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1752
|
+
}
|
1753
|
+
/**
|
1754
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1591
1755
|
*
|
1592
1756
|
* @param {string} project
|
1593
1757
|
* @param {string} location
|
1594
1758
|
* @param {string} collection
|
1595
1759
|
* @param {string} data_store
|
1596
1760
|
* @param {string} session
|
1597
|
-
* @param {string} answer
|
1598
1761
|
* @returns {string} Resource name string.
|
1599
1762
|
*/
|
1600
|
-
|
1601
|
-
return this.pathTemplates.
|
1763
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1764
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1602
1765
|
project: project,
|
1603
1766
|
location: location,
|
1604
1767
|
collection: collection,
|
1605
1768
|
data_store: dataStore,
|
1606
1769
|
session: session,
|
1607
|
-
answer: answer,
|
1608
1770
|
});
|
1609
1771
|
}
|
1610
1772
|
/**
|
1611
|
-
* Parse the project from
|
1773
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1612
1774
|
*
|
1613
|
-
* @param {string}
|
1614
|
-
* A fully-qualified path representing
|
1775
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1776
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1615
1777
|
* @returns {string} A string representing the project.
|
1616
1778
|
*/
|
1617
|
-
|
1618
|
-
return this.pathTemplates.
|
1779
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1780
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1619
1781
|
}
|
1620
1782
|
/**
|
1621
|
-
* Parse the location from
|
1783
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1622
1784
|
*
|
1623
|
-
* @param {string}
|
1624
|
-
* A fully-qualified path representing
|
1785
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1786
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1625
1787
|
* @returns {string} A string representing the location.
|
1626
1788
|
*/
|
1627
|
-
|
1628
|
-
return this.pathTemplates.
|
1789
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1790
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1629
1791
|
}
|
1630
1792
|
/**
|
1631
|
-
* Parse the collection from
|
1793
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1632
1794
|
*
|
1633
|
-
* @param {string}
|
1634
|
-
* A fully-qualified path representing
|
1795
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1796
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1635
1797
|
* @returns {string} A string representing the collection.
|
1636
1798
|
*/
|
1637
|
-
|
1638
|
-
return this.pathTemplates.
|
1799
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1800
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1639
1801
|
}
|
1640
1802
|
/**
|
1641
|
-
* Parse the data_store from
|
1803
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1642
1804
|
*
|
1643
|
-
* @param {string}
|
1644
|
-
* A fully-qualified path representing
|
1805
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1806
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1645
1807
|
* @returns {string} A string representing the data_store.
|
1646
1808
|
*/
|
1647
|
-
|
1648
|
-
return this.pathTemplates.
|
1809
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1810
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1649
1811
|
}
|
1650
1812
|
/**
|
1651
|
-
* Parse the session from
|
1813
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1652
1814
|
*
|
1653
|
-
* @param {string}
|
1654
|
-
* A fully-qualified path representing
|
1815
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1816
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1655
1817
|
* @returns {string} A string representing the session.
|
1656
1818
|
*/
|
1657
|
-
|
1658
|
-
return this.pathTemplates.
|
1659
|
-
}
|
1660
|
-
/**
|
1661
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1662
|
-
*
|
1663
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1664
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1665
|
-
* @returns {string} A string representing the answer.
|
1666
|
-
*/
|
1667
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1668
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1819
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1820
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1669
1821
|
}
|
1670
1822
|
/**
|
1671
1823
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2070,154 +2222,154 @@ class ControlServiceClient {
|
|
2070
2222
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2071
2223
|
}
|
2072
2224
|
/**
|
2073
|
-
* Return a fully-qualified
|
2225
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2074
2226
|
*
|
2075
2227
|
* @param {string} project
|
2076
2228
|
* @param {string} location
|
2077
2229
|
* @param {string} collection
|
2078
2230
|
* @param {string} engine
|
2079
2231
|
* @param {string} session
|
2232
|
+
* @param {string} answer
|
2080
2233
|
* @returns {string} Resource name string.
|
2081
2234
|
*/
|
2082
|
-
|
2083
|
-
return this.pathTemplates.
|
2235
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2236
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2084
2237
|
project: project,
|
2085
2238
|
location: location,
|
2086
2239
|
collection: collection,
|
2087
2240
|
engine: engine,
|
2088
2241
|
session: session,
|
2242
|
+
answer: answer,
|
2089
2243
|
});
|
2090
2244
|
}
|
2091
2245
|
/**
|
2092
|
-
* Parse the project from
|
2246
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2093
2247
|
*
|
2094
|
-
* @param {string}
|
2095
|
-
* A fully-qualified path representing
|
2248
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2249
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2096
2250
|
* @returns {string} A string representing the project.
|
2097
2251
|
*/
|
2098
|
-
|
2099
|
-
return this.pathTemplates.
|
2252
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2253
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2100
2254
|
}
|
2101
2255
|
/**
|
2102
|
-
* Parse the location from
|
2256
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2103
2257
|
*
|
2104
|
-
* @param {string}
|
2105
|
-
* A fully-qualified path representing
|
2258
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2259
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2106
2260
|
* @returns {string} A string representing the location.
|
2107
2261
|
*/
|
2108
|
-
|
2109
|
-
return this.pathTemplates.
|
2262
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2263
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2110
2264
|
}
|
2111
2265
|
/**
|
2112
|
-
* Parse the collection from
|
2266
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2113
2267
|
*
|
2114
|
-
* @param {string}
|
2115
|
-
* A fully-qualified path representing
|
2268
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2269
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2116
2270
|
* @returns {string} A string representing the collection.
|
2117
2271
|
*/
|
2118
|
-
|
2119
|
-
return this.pathTemplates.
|
2272
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2273
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2120
2274
|
}
|
2121
2275
|
/**
|
2122
|
-
* Parse the engine from
|
2276
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2123
2277
|
*
|
2124
|
-
* @param {string}
|
2125
|
-
* A fully-qualified path representing
|
2278
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2279
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2126
2280
|
* @returns {string} A string representing the engine.
|
2127
2281
|
*/
|
2128
|
-
|
2129
|
-
return this.pathTemplates.
|
2282
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2283
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2130
2284
|
}
|
2131
2285
|
/**
|
2132
|
-
* Parse the session from
|
2286
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2133
2287
|
*
|
2134
|
-
* @param {string}
|
2135
|
-
* A fully-qualified path representing
|
2288
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2289
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2136
2290
|
* @returns {string} A string representing the session.
|
2137
2291
|
*/
|
2138
|
-
|
2139
|
-
return this.pathTemplates.
|
2292
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2293
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2140
2294
|
}
|
2141
2295
|
/**
|
2142
|
-
*
|
2296
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2297
|
+
*
|
2298
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2299
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2300
|
+
* @returns {string} A string representing the answer.
|
2301
|
+
*/
|
2302
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2303
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2304
|
+
}
|
2305
|
+
/**
|
2306
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2143
2307
|
*
|
2144
2308
|
* @param {string} project
|
2145
2309
|
* @param {string} location
|
2146
2310
|
* @param {string} collection
|
2147
2311
|
* @param {string} engine
|
2148
2312
|
* @param {string} session
|
2149
|
-
* @param {string} answer
|
2150
2313
|
* @returns {string} Resource name string.
|
2151
2314
|
*/
|
2152
|
-
|
2153
|
-
return this.pathTemplates.
|
2315
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2316
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2154
2317
|
project: project,
|
2155
2318
|
location: location,
|
2156
2319
|
collection: collection,
|
2157
2320
|
engine: engine,
|
2158
2321
|
session: session,
|
2159
|
-
answer: answer,
|
2160
2322
|
});
|
2161
2323
|
}
|
2162
2324
|
/**
|
2163
|
-
* Parse the project from
|
2325
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2164
2326
|
*
|
2165
|
-
* @param {string}
|
2166
|
-
* A fully-qualified path representing
|
2327
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2328
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2167
2329
|
* @returns {string} A string representing the project.
|
2168
2330
|
*/
|
2169
|
-
|
2170
|
-
return this.pathTemplates.
|
2331
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2332
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2171
2333
|
}
|
2172
2334
|
/**
|
2173
|
-
* Parse the location from
|
2335
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2174
2336
|
*
|
2175
|
-
* @param {string}
|
2176
|
-
* A fully-qualified path representing
|
2337
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2338
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2177
2339
|
* @returns {string} A string representing the location.
|
2178
2340
|
*/
|
2179
|
-
|
2180
|
-
return this.pathTemplates.
|
2341
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2342
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2181
2343
|
}
|
2182
2344
|
/**
|
2183
|
-
* Parse the collection from
|
2345
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2184
2346
|
*
|
2185
|
-
* @param {string}
|
2186
|
-
* A fully-qualified path representing
|
2347
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2348
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2187
2349
|
* @returns {string} A string representing the collection.
|
2188
2350
|
*/
|
2189
|
-
|
2190
|
-
return this.pathTemplates.
|
2351
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2352
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2191
2353
|
}
|
2192
2354
|
/**
|
2193
|
-
* Parse the engine from
|
2355
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2194
2356
|
*
|
2195
|
-
* @param {string}
|
2196
|
-
* A fully-qualified path representing
|
2357
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2358
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2197
2359
|
* @returns {string} A string representing the engine.
|
2198
2360
|
*/
|
2199
|
-
|
2200
|
-
return this.pathTemplates.
|
2361
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2362
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2201
2363
|
}
|
2202
2364
|
/**
|
2203
|
-
* Parse the session from
|
2365
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2204
2366
|
*
|
2205
|
-
* @param {string}
|
2206
|
-
* A fully-qualified path representing
|
2367
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2368
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2207
2369
|
* @returns {string} A string representing the session.
|
2208
2370
|
*/
|
2209
|
-
|
2210
|
-
return this.pathTemplates.
|
2211
|
-
}
|
2212
|
-
/**
|
2213
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2214
|
-
*
|
2215
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2216
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2217
|
-
* @returns {string} A string representing the answer.
|
2218
|
-
*/
|
2219
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2220
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2371
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2372
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2221
2373
|
}
|
2222
2374
|
/**
|
2223
2375
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2744,63 +2896,6 @@ class ControlServiceClient {
|
|
2744
2896
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2745
2897
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2746
2898
|
}
|
2747
|
-
/**
|
2748
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2749
|
-
*
|
2750
|
-
* @param {string} project
|
2751
|
-
* @param {string} location
|
2752
|
-
* @param {string} data_store
|
2753
|
-
* @param {string} session
|
2754
|
-
* @returns {string} Resource name string.
|
2755
|
-
*/
|
2756
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2757
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2758
|
-
project: project,
|
2759
|
-
location: location,
|
2760
|
-
data_store: dataStore,
|
2761
|
-
session: session,
|
2762
|
-
});
|
2763
|
-
}
|
2764
|
-
/**
|
2765
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2766
|
-
*
|
2767
|
-
* @param {string} projectLocationDataStoreSessionName
|
2768
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2769
|
-
* @returns {string} A string representing the project.
|
2770
|
-
*/
|
2771
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2772
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2773
|
-
}
|
2774
|
-
/**
|
2775
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2776
|
-
*
|
2777
|
-
* @param {string} projectLocationDataStoreSessionName
|
2778
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2779
|
-
* @returns {string} A string representing the location.
|
2780
|
-
*/
|
2781
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2782
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2783
|
-
}
|
2784
|
-
/**
|
2785
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2786
|
-
*
|
2787
|
-
* @param {string} projectLocationDataStoreSessionName
|
2788
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2789
|
-
* @returns {string} A string representing the data_store.
|
2790
|
-
*/
|
2791
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2792
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2793
|
-
}
|
2794
|
-
/**
|
2795
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2796
|
-
*
|
2797
|
-
* @param {string} projectLocationDataStoreSessionName
|
2798
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2799
|
-
* @returns {string} A string representing the session.
|
2800
|
-
*/
|
2801
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2802
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2803
|
-
}
|
2804
2899
|
/**
|
2805
2900
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2806
2901
|
*
|
@@ -2870,6 +2965,63 @@ class ControlServiceClient {
|
|
2870
2965
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2871
2966
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2872
2967
|
}
|
2968
|
+
/**
|
2969
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2970
|
+
*
|
2971
|
+
* @param {string} project
|
2972
|
+
* @param {string} location
|
2973
|
+
* @param {string} data_store
|
2974
|
+
* @param {string} session
|
2975
|
+
* @returns {string} Resource name string.
|
2976
|
+
*/
|
2977
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2978
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2979
|
+
project: project,
|
2980
|
+
location: location,
|
2981
|
+
data_store: dataStore,
|
2982
|
+
session: session,
|
2983
|
+
});
|
2984
|
+
}
|
2985
|
+
/**
|
2986
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2987
|
+
*
|
2988
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2989
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2990
|
+
* @returns {string} A string representing the project.
|
2991
|
+
*/
|
2992
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2993
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2994
|
+
}
|
2995
|
+
/**
|
2996
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2997
|
+
*
|
2998
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2999
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3000
|
+
* @returns {string} A string representing the location.
|
3001
|
+
*/
|
3002
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3003
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3004
|
+
}
|
3005
|
+
/**
|
3006
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3007
|
+
*
|
3008
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3009
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3010
|
+
* @returns {string} A string representing the data_store.
|
3011
|
+
*/
|
3012
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3013
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3014
|
+
}
|
3015
|
+
/**
|
3016
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3017
|
+
*
|
3018
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3019
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3020
|
+
* @returns {string} A string representing the session.
|
3021
|
+
*/
|
3022
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3023
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3024
|
+
}
|
2873
3025
|
/**
|
2874
3026
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2875
3027
|
*
|