@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
@@ -164,6 +164,8 @@ class EngineServiceClient {
|
|
164
164
|
// identifiers to uniquely identify resources within the API.
|
165
165
|
// Create useful helper objects for these.
|
166
166
|
this.pathTemplates = {
|
167
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
168
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
167
169
|
collectionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}'),
|
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}'),
|
@@ -179,16 +181,16 @@ class EngineServiceClient {
|
|
179
181
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
180
182
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
181
183
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
182
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
184
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
185
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
185
187
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
186
188
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
187
189
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
188
190
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
189
191
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
190
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
192
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
193
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
192
194
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
193
195
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
194
196
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -198,8 +200,8 @@ class EngineServiceClient {
|
|
198
200
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
199
201
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
200
202
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
201
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
203
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
204
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
205
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
204
206
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
205
207
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -864,6 +866,156 @@ class EngineServiceClient {
|
|
864
866
|
// --------------------
|
865
867
|
// -- Path templates --
|
866
868
|
// --------------------
|
869
|
+
/**
|
870
|
+
* Return a fully-qualified assistAnswer resource name string.
|
871
|
+
*
|
872
|
+
* @param {string} project
|
873
|
+
* @param {string} location
|
874
|
+
* @param {string} collection
|
875
|
+
* @param {string} engine
|
876
|
+
* @param {string} session
|
877
|
+
* @param {string} assist_answer
|
878
|
+
* @returns {string} Resource name string.
|
879
|
+
*/
|
880
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
881
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
882
|
+
project: project,
|
883
|
+
location: location,
|
884
|
+
collection: collection,
|
885
|
+
engine: engine,
|
886
|
+
session: session,
|
887
|
+
assist_answer: assistAnswer,
|
888
|
+
});
|
889
|
+
}
|
890
|
+
/**
|
891
|
+
* Parse the project from AssistAnswer resource.
|
892
|
+
*
|
893
|
+
* @param {string} assistAnswerName
|
894
|
+
* A fully-qualified path representing AssistAnswer resource.
|
895
|
+
* @returns {string} A string representing the project.
|
896
|
+
*/
|
897
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
898
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
899
|
+
}
|
900
|
+
/**
|
901
|
+
* Parse the location from AssistAnswer resource.
|
902
|
+
*
|
903
|
+
* @param {string} assistAnswerName
|
904
|
+
* A fully-qualified path representing AssistAnswer resource.
|
905
|
+
* @returns {string} A string representing the location.
|
906
|
+
*/
|
907
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
908
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
909
|
+
}
|
910
|
+
/**
|
911
|
+
* Parse the collection from AssistAnswer resource.
|
912
|
+
*
|
913
|
+
* @param {string} assistAnswerName
|
914
|
+
* A fully-qualified path representing AssistAnswer resource.
|
915
|
+
* @returns {string} A string representing the collection.
|
916
|
+
*/
|
917
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
918
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
919
|
+
}
|
920
|
+
/**
|
921
|
+
* Parse the engine from AssistAnswer resource.
|
922
|
+
*
|
923
|
+
* @param {string} assistAnswerName
|
924
|
+
* A fully-qualified path representing AssistAnswer resource.
|
925
|
+
* @returns {string} A string representing the engine.
|
926
|
+
*/
|
927
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
928
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
929
|
+
}
|
930
|
+
/**
|
931
|
+
* Parse the session from AssistAnswer resource.
|
932
|
+
*
|
933
|
+
* @param {string} assistAnswerName
|
934
|
+
* A fully-qualified path representing AssistAnswer resource.
|
935
|
+
* @returns {string} A string representing the session.
|
936
|
+
*/
|
937
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
938
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
939
|
+
}
|
940
|
+
/**
|
941
|
+
* Parse the assist_answer from AssistAnswer resource.
|
942
|
+
*
|
943
|
+
* @param {string} assistAnswerName
|
944
|
+
* A fully-qualified path representing AssistAnswer resource.
|
945
|
+
* @returns {string} A string representing the assist_answer.
|
946
|
+
*/
|
947
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
948
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
949
|
+
}
|
950
|
+
/**
|
951
|
+
* Return a fully-qualified assistant resource name string.
|
952
|
+
*
|
953
|
+
* @param {string} project
|
954
|
+
* @param {string} location
|
955
|
+
* @param {string} collection
|
956
|
+
* @param {string} engine
|
957
|
+
* @param {string} assistant
|
958
|
+
* @returns {string} Resource name string.
|
959
|
+
*/
|
960
|
+
assistantPath(project, location, collection, engine, assistant) {
|
961
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
962
|
+
project: project,
|
963
|
+
location: location,
|
964
|
+
collection: collection,
|
965
|
+
engine: engine,
|
966
|
+
assistant: assistant,
|
967
|
+
});
|
968
|
+
}
|
969
|
+
/**
|
970
|
+
* Parse the project from Assistant resource.
|
971
|
+
*
|
972
|
+
* @param {string} assistantName
|
973
|
+
* A fully-qualified path representing Assistant resource.
|
974
|
+
* @returns {string} A string representing the project.
|
975
|
+
*/
|
976
|
+
matchProjectFromAssistantName(assistantName) {
|
977
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
978
|
+
}
|
979
|
+
/**
|
980
|
+
* Parse the location from Assistant resource.
|
981
|
+
*
|
982
|
+
* @param {string} assistantName
|
983
|
+
* A fully-qualified path representing Assistant resource.
|
984
|
+
* @returns {string} A string representing the location.
|
985
|
+
*/
|
986
|
+
matchLocationFromAssistantName(assistantName) {
|
987
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
988
|
+
}
|
989
|
+
/**
|
990
|
+
* Parse the collection from Assistant resource.
|
991
|
+
*
|
992
|
+
* @param {string} assistantName
|
993
|
+
* A fully-qualified path representing Assistant resource.
|
994
|
+
* @returns {string} A string representing the collection.
|
995
|
+
*/
|
996
|
+
matchCollectionFromAssistantName(assistantName) {
|
997
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
998
|
+
}
|
999
|
+
/**
|
1000
|
+
* Parse the engine from Assistant resource.
|
1001
|
+
*
|
1002
|
+
* @param {string} assistantName
|
1003
|
+
* A fully-qualified path representing Assistant resource.
|
1004
|
+
* @returns {string} A string representing the engine.
|
1005
|
+
*/
|
1006
|
+
matchEngineFromAssistantName(assistantName) {
|
1007
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1008
|
+
}
|
1009
|
+
/**
|
1010
|
+
* Parse the assistant from Assistant resource.
|
1011
|
+
*
|
1012
|
+
* @param {string} assistantName
|
1013
|
+
* A fully-qualified path representing Assistant resource.
|
1014
|
+
* @returns {string} A string representing the assistant.
|
1015
|
+
*/
|
1016
|
+
matchAssistantFromAssistantName(assistantName) {
|
1017
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1018
|
+
}
|
867
1019
|
/**
|
868
1020
|
* Return a fully-qualified collection resource name string.
|
869
1021
|
*
|
@@ -1744,154 +1896,154 @@ class EngineServiceClient {
|
|
1744
1896
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1745
1897
|
}
|
1746
1898
|
/**
|
1747
|
-
* Return a fully-qualified
|
1899
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1748
1900
|
*
|
1749
1901
|
* @param {string} project
|
1750
1902
|
* @param {string} location
|
1751
1903
|
* @param {string} collection
|
1752
1904
|
* @param {string} data_store
|
1753
1905
|
* @param {string} session
|
1906
|
+
* @param {string} answer
|
1754
1907
|
* @returns {string} Resource name string.
|
1755
1908
|
*/
|
1756
|
-
|
1757
|
-
return this.pathTemplates.
|
1909
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1910
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1758
1911
|
project: project,
|
1759
1912
|
location: location,
|
1760
1913
|
collection: collection,
|
1761
1914
|
data_store: dataStore,
|
1762
1915
|
session: session,
|
1916
|
+
answer: answer,
|
1763
1917
|
});
|
1764
1918
|
}
|
1765
1919
|
/**
|
1766
|
-
* Parse the project from
|
1920
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1767
1921
|
*
|
1768
|
-
* @param {string}
|
1769
|
-
* A fully-qualified path representing
|
1922
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1923
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1770
1924
|
* @returns {string} A string representing the project.
|
1771
1925
|
*/
|
1772
|
-
|
1773
|
-
return this.pathTemplates.
|
1926
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1927
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1774
1928
|
}
|
1775
1929
|
/**
|
1776
|
-
* Parse the location from
|
1930
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1777
1931
|
*
|
1778
|
-
* @param {string}
|
1779
|
-
* A fully-qualified path representing
|
1932
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1933
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1780
1934
|
* @returns {string} A string representing the location.
|
1781
1935
|
*/
|
1782
|
-
|
1783
|
-
return this.pathTemplates.
|
1936
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1937
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1784
1938
|
}
|
1785
1939
|
/**
|
1786
|
-
* Parse the collection from
|
1940
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1787
1941
|
*
|
1788
|
-
* @param {string}
|
1789
|
-
* A fully-qualified path representing
|
1942
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1943
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1790
1944
|
* @returns {string} A string representing the collection.
|
1791
1945
|
*/
|
1792
|
-
|
1793
|
-
return this.pathTemplates.
|
1946
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1947
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1794
1948
|
}
|
1795
1949
|
/**
|
1796
|
-
* Parse the data_store from
|
1950
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1797
1951
|
*
|
1798
|
-
* @param {string}
|
1799
|
-
* A fully-qualified path representing
|
1952
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1953
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1800
1954
|
* @returns {string} A string representing the data_store.
|
1801
1955
|
*/
|
1802
|
-
|
1803
|
-
return this.pathTemplates.
|
1956
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1957
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1804
1958
|
}
|
1805
1959
|
/**
|
1806
|
-
* Parse the session from
|
1960
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1807
1961
|
*
|
1808
|
-
* @param {string}
|
1809
|
-
* A fully-qualified path representing
|
1962
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1963
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1810
1964
|
* @returns {string} A string representing the session.
|
1811
1965
|
*/
|
1812
|
-
|
1813
|
-
return this.pathTemplates.
|
1966
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1967
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1814
1968
|
}
|
1815
1969
|
/**
|
1816
|
-
*
|
1970
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1971
|
+
*
|
1972
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1973
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1974
|
+
* @returns {string} A string representing the answer.
|
1975
|
+
*/
|
1976
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1977
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1978
|
+
}
|
1979
|
+
/**
|
1980
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1817
1981
|
*
|
1818
1982
|
* @param {string} project
|
1819
1983
|
* @param {string} location
|
1820
1984
|
* @param {string} collection
|
1821
1985
|
* @param {string} data_store
|
1822
1986
|
* @param {string} session
|
1823
|
-
* @param {string} answer
|
1824
1987
|
* @returns {string} Resource name string.
|
1825
1988
|
*/
|
1826
|
-
|
1827
|
-
return this.pathTemplates.
|
1989
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1990
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1828
1991
|
project: project,
|
1829
1992
|
location: location,
|
1830
1993
|
collection: collection,
|
1831
1994
|
data_store: dataStore,
|
1832
1995
|
session: session,
|
1833
|
-
answer: answer,
|
1834
1996
|
});
|
1835
1997
|
}
|
1836
1998
|
/**
|
1837
|
-
* Parse the project from
|
1999
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1838
2000
|
*
|
1839
|
-
* @param {string}
|
1840
|
-
* A fully-qualified path representing
|
2001
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2002
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1841
2003
|
* @returns {string} A string representing the project.
|
1842
2004
|
*/
|
1843
|
-
|
1844
|
-
return this.pathTemplates.
|
2005
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2006
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1845
2007
|
}
|
1846
2008
|
/**
|
1847
|
-
* Parse the location from
|
2009
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1848
2010
|
*
|
1849
|
-
* @param {string}
|
1850
|
-
* A fully-qualified path representing
|
2011
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2012
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1851
2013
|
* @returns {string} A string representing the location.
|
1852
2014
|
*/
|
1853
|
-
|
1854
|
-
return this.pathTemplates.
|
2015
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2016
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1855
2017
|
}
|
1856
2018
|
/**
|
1857
|
-
* Parse the collection from
|
2019
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1858
2020
|
*
|
1859
|
-
* @param {string}
|
1860
|
-
* A fully-qualified path representing
|
2021
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2022
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1861
2023
|
* @returns {string} A string representing the collection.
|
1862
2024
|
*/
|
1863
|
-
|
1864
|
-
return this.pathTemplates.
|
2025
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1865
2027
|
}
|
1866
2028
|
/**
|
1867
|
-
* Parse the data_store from
|
2029
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1868
2030
|
*
|
1869
|
-
* @param {string}
|
1870
|
-
* A fully-qualified path representing
|
2031
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2032
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1871
2033
|
* @returns {string} A string representing the data_store.
|
1872
2034
|
*/
|
1873
|
-
|
1874
|
-
return this.pathTemplates.
|
2035
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2036
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1875
2037
|
}
|
1876
2038
|
/**
|
1877
|
-
* Parse the session from
|
2039
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1878
2040
|
*
|
1879
|
-
* @param {string}
|
1880
|
-
* A fully-qualified path representing
|
2041
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2042
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1881
2043
|
* @returns {string} A string representing the session.
|
1882
2044
|
*/
|
1883
|
-
|
1884
|
-
return this.pathTemplates.
|
1885
|
-
}
|
1886
|
-
/**
|
1887
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1888
|
-
*
|
1889
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1890
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1891
|
-
* @returns {string} A string representing the answer.
|
1892
|
-
*/
|
1893
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1894
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2045
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2046
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1895
2047
|
}
|
1896
2048
|
/**
|
1897
2049
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2296,154 +2448,154 @@ class EngineServiceClient {
|
|
2296
2448
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2297
2449
|
}
|
2298
2450
|
/**
|
2299
|
-
* Return a fully-qualified
|
2451
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2300
2452
|
*
|
2301
2453
|
* @param {string} project
|
2302
2454
|
* @param {string} location
|
2303
2455
|
* @param {string} collection
|
2304
2456
|
* @param {string} engine
|
2305
2457
|
* @param {string} session
|
2458
|
+
* @param {string} answer
|
2306
2459
|
* @returns {string} Resource name string.
|
2307
2460
|
*/
|
2308
|
-
|
2309
|
-
return this.pathTemplates.
|
2461
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2462
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2310
2463
|
project: project,
|
2311
2464
|
location: location,
|
2312
2465
|
collection: collection,
|
2313
2466
|
engine: engine,
|
2314
2467
|
session: session,
|
2468
|
+
answer: answer,
|
2315
2469
|
});
|
2316
2470
|
}
|
2317
2471
|
/**
|
2318
|
-
* Parse the project from
|
2472
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2319
2473
|
*
|
2320
|
-
* @param {string}
|
2321
|
-
* A fully-qualified path representing
|
2474
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2475
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2322
2476
|
* @returns {string} A string representing the project.
|
2323
2477
|
*/
|
2324
|
-
|
2325
|
-
return this.pathTemplates.
|
2478
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2479
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2326
2480
|
}
|
2327
2481
|
/**
|
2328
|
-
* Parse the location from
|
2482
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2329
2483
|
*
|
2330
|
-
* @param {string}
|
2331
|
-
* A fully-qualified path representing
|
2484
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2485
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2332
2486
|
* @returns {string} A string representing the location.
|
2333
2487
|
*/
|
2334
|
-
|
2335
|
-
return this.pathTemplates.
|
2488
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2489
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2336
2490
|
}
|
2337
2491
|
/**
|
2338
|
-
* Parse the collection from
|
2492
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2339
2493
|
*
|
2340
|
-
* @param {string}
|
2341
|
-
* A fully-qualified path representing
|
2494
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2495
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2342
2496
|
* @returns {string} A string representing the collection.
|
2343
2497
|
*/
|
2344
|
-
|
2345
|
-
return this.pathTemplates.
|
2498
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2499
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2346
2500
|
}
|
2347
2501
|
/**
|
2348
|
-
* Parse the engine from
|
2502
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2349
2503
|
*
|
2350
|
-
* @param {string}
|
2351
|
-
* A fully-qualified path representing
|
2504
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2505
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2352
2506
|
* @returns {string} A string representing the engine.
|
2353
2507
|
*/
|
2354
|
-
|
2355
|
-
return this.pathTemplates.
|
2508
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2509
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2356
2510
|
}
|
2357
2511
|
/**
|
2358
|
-
* Parse the session from
|
2512
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2359
2513
|
*
|
2360
|
-
* @param {string}
|
2361
|
-
* A fully-qualified path representing
|
2514
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2515
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2362
2516
|
* @returns {string} A string representing the session.
|
2363
2517
|
*/
|
2364
|
-
|
2365
|
-
return this.pathTemplates.
|
2518
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2519
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2366
2520
|
}
|
2367
2521
|
/**
|
2368
|
-
*
|
2522
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2523
|
+
*
|
2524
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2525
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2526
|
+
* @returns {string} A string representing the answer.
|
2527
|
+
*/
|
2528
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2529
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2530
|
+
}
|
2531
|
+
/**
|
2532
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2369
2533
|
*
|
2370
2534
|
* @param {string} project
|
2371
2535
|
* @param {string} location
|
2372
2536
|
* @param {string} collection
|
2373
2537
|
* @param {string} engine
|
2374
2538
|
* @param {string} session
|
2375
|
-
* @param {string} answer
|
2376
2539
|
* @returns {string} Resource name string.
|
2377
2540
|
*/
|
2378
|
-
|
2379
|
-
return this.pathTemplates.
|
2541
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2542
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2380
2543
|
project: project,
|
2381
2544
|
location: location,
|
2382
2545
|
collection: collection,
|
2383
2546
|
engine: engine,
|
2384
2547
|
session: session,
|
2385
|
-
answer: answer,
|
2386
2548
|
});
|
2387
2549
|
}
|
2388
2550
|
/**
|
2389
|
-
* Parse the project from
|
2551
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2390
2552
|
*
|
2391
|
-
* @param {string}
|
2392
|
-
* A fully-qualified path representing
|
2553
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2554
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2393
2555
|
* @returns {string} A string representing the project.
|
2394
2556
|
*/
|
2395
|
-
|
2396
|
-
return this.pathTemplates.
|
2557
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2558
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2397
2559
|
}
|
2398
2560
|
/**
|
2399
|
-
* Parse the location from
|
2561
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2400
2562
|
*
|
2401
|
-
* @param {string}
|
2402
|
-
* A fully-qualified path representing
|
2563
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2564
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2403
2565
|
* @returns {string} A string representing the location.
|
2404
2566
|
*/
|
2405
|
-
|
2406
|
-
return this.pathTemplates.
|
2567
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2568
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2407
2569
|
}
|
2408
2570
|
/**
|
2409
|
-
* Parse the collection from
|
2571
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2410
2572
|
*
|
2411
|
-
* @param {string}
|
2412
|
-
* A fully-qualified path representing
|
2573
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2574
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2413
2575
|
* @returns {string} A string representing the collection.
|
2414
2576
|
*/
|
2415
|
-
|
2416
|
-
return this.pathTemplates.
|
2577
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2578
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2417
2579
|
}
|
2418
2580
|
/**
|
2419
|
-
* Parse the engine from
|
2581
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2420
2582
|
*
|
2421
|
-
* @param {string}
|
2422
|
-
* A fully-qualified path representing
|
2583
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2584
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2423
2585
|
* @returns {string} A string representing the engine.
|
2424
2586
|
*/
|
2425
|
-
|
2426
|
-
return this.pathTemplates.
|
2587
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2588
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2427
2589
|
}
|
2428
2590
|
/**
|
2429
|
-
* Parse the session from
|
2591
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2430
2592
|
*
|
2431
|
-
* @param {string}
|
2432
|
-
* A fully-qualified path representing
|
2593
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2594
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2433
2595
|
* @returns {string} A string representing the session.
|
2434
2596
|
*/
|
2435
|
-
|
2436
|
-
return this.pathTemplates.
|
2437
|
-
}
|
2438
|
-
/**
|
2439
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2440
|
-
*
|
2441
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2442
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2443
|
-
* @returns {string} A string representing the answer.
|
2444
|
-
*/
|
2445
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2446
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2597
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2598
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2447
2599
|
}
|
2448
2600
|
/**
|
2449
2601
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2970,63 +3122,6 @@ class EngineServiceClient {
|
|
2970
3122
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2971
3123
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2972
3124
|
}
|
2973
|
-
/**
|
2974
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2975
|
-
*
|
2976
|
-
* @param {string} project
|
2977
|
-
* @param {string} location
|
2978
|
-
* @param {string} data_store
|
2979
|
-
* @param {string} session
|
2980
|
-
* @returns {string} Resource name string.
|
2981
|
-
*/
|
2982
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2983
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2984
|
-
project: project,
|
2985
|
-
location: location,
|
2986
|
-
data_store: dataStore,
|
2987
|
-
session: session,
|
2988
|
-
});
|
2989
|
-
}
|
2990
|
-
/**
|
2991
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2992
|
-
*
|
2993
|
-
* @param {string} projectLocationDataStoreSessionName
|
2994
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2995
|
-
* @returns {string} A string representing the project.
|
2996
|
-
*/
|
2997
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2998
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2999
|
-
}
|
3000
|
-
/**
|
3001
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3002
|
-
*
|
3003
|
-
* @param {string} projectLocationDataStoreSessionName
|
3004
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3005
|
-
* @returns {string} A string representing the location.
|
3006
|
-
*/
|
3007
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3008
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3009
|
-
}
|
3010
|
-
/**
|
3011
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3012
|
-
*
|
3013
|
-
* @param {string} projectLocationDataStoreSessionName
|
3014
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3015
|
-
* @returns {string} A string representing the data_store.
|
3016
|
-
*/
|
3017
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3018
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3019
|
-
}
|
3020
|
-
/**
|
3021
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3022
|
-
*
|
3023
|
-
* @param {string} projectLocationDataStoreSessionName
|
3024
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3025
|
-
* @returns {string} A string representing the session.
|
3026
|
-
*/
|
3027
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3028
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3029
|
-
}
|
3030
3125
|
/**
|
3031
3126
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3032
3127
|
*
|
@@ -3096,6 +3191,63 @@ class EngineServiceClient {
|
|
3096
3191
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3097
3192
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3098
3193
|
}
|
3194
|
+
/**
|
3195
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3196
|
+
*
|
3197
|
+
* @param {string} project
|
3198
|
+
* @param {string} location
|
3199
|
+
* @param {string} data_store
|
3200
|
+
* @param {string} session
|
3201
|
+
* @returns {string} Resource name string.
|
3202
|
+
*/
|
3203
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3204
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3205
|
+
project: project,
|
3206
|
+
location: location,
|
3207
|
+
data_store: dataStore,
|
3208
|
+
session: session,
|
3209
|
+
});
|
3210
|
+
}
|
3211
|
+
/**
|
3212
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3213
|
+
*
|
3214
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3215
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3216
|
+
* @returns {string} A string representing the project.
|
3217
|
+
*/
|
3218
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3219
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3220
|
+
}
|
3221
|
+
/**
|
3222
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3223
|
+
*
|
3224
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3225
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3226
|
+
* @returns {string} A string representing the location.
|
3227
|
+
*/
|
3228
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3229
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3230
|
+
}
|
3231
|
+
/**
|
3232
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3233
|
+
*
|
3234
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3235
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3236
|
+
* @returns {string} A string representing the data_store.
|
3237
|
+
*/
|
3238
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3239
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3240
|
+
}
|
3241
|
+
/**
|
3242
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3243
|
+
*
|
3244
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3245
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3246
|
+
* @returns {string} A string representing the session.
|
3247
|
+
*/
|
3248
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3249
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3250
|
+
}
|
3099
3251
|
/**
|
3100
3252
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3101
3253
|
*
|