@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -163,6 +163,8 @@ class UserEventServiceClient {
|
|
163
163
|
// identifiers to uniquely identify resources within the API.
|
164
164
|
// Create useful helper objects for these.
|
165
165
|
this.pathTemplates = {
|
166
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
167
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
166
168
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
167
169
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -177,16 +179,16 @@ class UserEventServiceClient {
|
|
177
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +198,8 @@ class UserEventServiceClient {
|
|
196
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -743,6 +745,156 @@ class UserEventServiceClient {
|
|
743
745
|
// --------------------
|
744
746
|
// -- Path templates --
|
745
747
|
// --------------------
|
748
|
+
/**
|
749
|
+
* Return a fully-qualified assistAnswer resource name string.
|
750
|
+
*
|
751
|
+
* @param {string} project
|
752
|
+
* @param {string} location
|
753
|
+
* @param {string} collection
|
754
|
+
* @param {string} engine
|
755
|
+
* @param {string} session
|
756
|
+
* @param {string} assist_answer
|
757
|
+
* @returns {string} Resource name string.
|
758
|
+
*/
|
759
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
760
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
761
|
+
project: project,
|
762
|
+
location: location,
|
763
|
+
collection: collection,
|
764
|
+
engine: engine,
|
765
|
+
session: session,
|
766
|
+
assist_answer: assistAnswer,
|
767
|
+
});
|
768
|
+
}
|
769
|
+
/**
|
770
|
+
* Parse the project from AssistAnswer resource.
|
771
|
+
*
|
772
|
+
* @param {string} assistAnswerName
|
773
|
+
* A fully-qualified path representing AssistAnswer resource.
|
774
|
+
* @returns {string} A string representing the project.
|
775
|
+
*/
|
776
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
777
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
778
|
+
}
|
779
|
+
/**
|
780
|
+
* Parse the location from AssistAnswer resource.
|
781
|
+
*
|
782
|
+
* @param {string} assistAnswerName
|
783
|
+
* A fully-qualified path representing AssistAnswer resource.
|
784
|
+
* @returns {string} A string representing the location.
|
785
|
+
*/
|
786
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
787
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
788
|
+
}
|
789
|
+
/**
|
790
|
+
* Parse the collection from AssistAnswer resource.
|
791
|
+
*
|
792
|
+
* @param {string} assistAnswerName
|
793
|
+
* A fully-qualified path representing AssistAnswer resource.
|
794
|
+
* @returns {string} A string representing the collection.
|
795
|
+
*/
|
796
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
797
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
798
|
+
}
|
799
|
+
/**
|
800
|
+
* Parse the engine from AssistAnswer resource.
|
801
|
+
*
|
802
|
+
* @param {string} assistAnswerName
|
803
|
+
* A fully-qualified path representing AssistAnswer resource.
|
804
|
+
* @returns {string} A string representing the engine.
|
805
|
+
*/
|
806
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
807
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
808
|
+
}
|
809
|
+
/**
|
810
|
+
* Parse the session from AssistAnswer resource.
|
811
|
+
*
|
812
|
+
* @param {string} assistAnswerName
|
813
|
+
* A fully-qualified path representing AssistAnswer resource.
|
814
|
+
* @returns {string} A string representing the session.
|
815
|
+
*/
|
816
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
817
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
818
|
+
}
|
819
|
+
/**
|
820
|
+
* Parse the assist_answer from AssistAnswer resource.
|
821
|
+
*
|
822
|
+
* @param {string} assistAnswerName
|
823
|
+
* A fully-qualified path representing AssistAnswer resource.
|
824
|
+
* @returns {string} A string representing the assist_answer.
|
825
|
+
*/
|
826
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
827
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
828
|
+
}
|
829
|
+
/**
|
830
|
+
* Return a fully-qualified assistant resource name string.
|
831
|
+
*
|
832
|
+
* @param {string} project
|
833
|
+
* @param {string} location
|
834
|
+
* @param {string} collection
|
835
|
+
* @param {string} engine
|
836
|
+
* @param {string} assistant
|
837
|
+
* @returns {string} Resource name string.
|
838
|
+
*/
|
839
|
+
assistantPath(project, location, collection, engine, assistant) {
|
840
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
841
|
+
project: project,
|
842
|
+
location: location,
|
843
|
+
collection: collection,
|
844
|
+
engine: engine,
|
845
|
+
assistant: assistant,
|
846
|
+
});
|
847
|
+
}
|
848
|
+
/**
|
849
|
+
* Parse the project from Assistant resource.
|
850
|
+
*
|
851
|
+
* @param {string} assistantName
|
852
|
+
* A fully-qualified path representing Assistant resource.
|
853
|
+
* @returns {string} A string representing the project.
|
854
|
+
*/
|
855
|
+
matchProjectFromAssistantName(assistantName) {
|
856
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
857
|
+
}
|
858
|
+
/**
|
859
|
+
* Parse the location from Assistant resource.
|
860
|
+
*
|
861
|
+
* @param {string} assistantName
|
862
|
+
* A fully-qualified path representing Assistant resource.
|
863
|
+
* @returns {string} A string representing the location.
|
864
|
+
*/
|
865
|
+
matchLocationFromAssistantName(assistantName) {
|
866
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
867
|
+
}
|
868
|
+
/**
|
869
|
+
* Parse the collection from Assistant resource.
|
870
|
+
*
|
871
|
+
* @param {string} assistantName
|
872
|
+
* A fully-qualified path representing Assistant resource.
|
873
|
+
* @returns {string} A string representing the collection.
|
874
|
+
*/
|
875
|
+
matchCollectionFromAssistantName(assistantName) {
|
876
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
877
|
+
}
|
878
|
+
/**
|
879
|
+
* Parse the engine from Assistant resource.
|
880
|
+
*
|
881
|
+
* @param {string} assistantName
|
882
|
+
* A fully-qualified path representing Assistant resource.
|
883
|
+
* @returns {string} A string representing the engine.
|
884
|
+
*/
|
885
|
+
matchEngineFromAssistantName(assistantName) {
|
886
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
887
|
+
}
|
888
|
+
/**
|
889
|
+
* Parse the assistant from Assistant resource.
|
890
|
+
*
|
891
|
+
* @param {string} assistantName
|
892
|
+
* A fully-qualified path representing Assistant resource.
|
893
|
+
* @returns {string} A string representing the assistant.
|
894
|
+
*/
|
895
|
+
matchAssistantFromAssistantName(assistantName) {
|
896
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
897
|
+
}
|
746
898
|
/**
|
747
899
|
* Return a fully-qualified engine resource name string.
|
748
900
|
*
|
@@ -1578,154 +1730,154 @@ class UserEventServiceClient {
|
|
1578
1730
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1579
1731
|
}
|
1580
1732
|
/**
|
1581
|
-
* Return a fully-qualified
|
1733
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1582
1734
|
*
|
1583
1735
|
* @param {string} project
|
1584
1736
|
* @param {string} location
|
1585
1737
|
* @param {string} collection
|
1586
1738
|
* @param {string} data_store
|
1587
1739
|
* @param {string} session
|
1740
|
+
* @param {string} answer
|
1588
1741
|
* @returns {string} Resource name string.
|
1589
1742
|
*/
|
1590
|
-
|
1591
|
-
return this.pathTemplates.
|
1743
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1744
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1592
1745
|
project: project,
|
1593
1746
|
location: location,
|
1594
1747
|
collection: collection,
|
1595
1748
|
data_store: dataStore,
|
1596
1749
|
session: session,
|
1750
|
+
answer: answer,
|
1597
1751
|
});
|
1598
1752
|
}
|
1599
1753
|
/**
|
1600
|
-
* Parse the project from
|
1754
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1601
1755
|
*
|
1602
|
-
* @param {string}
|
1603
|
-
* A fully-qualified path representing
|
1756
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1757
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1604
1758
|
* @returns {string} A string representing the project.
|
1605
1759
|
*/
|
1606
|
-
|
1607
|
-
return this.pathTemplates.
|
1760
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1761
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1608
1762
|
}
|
1609
1763
|
/**
|
1610
|
-
* Parse the location from
|
1764
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1611
1765
|
*
|
1612
|
-
* @param {string}
|
1613
|
-
* A fully-qualified path representing
|
1766
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1767
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1614
1768
|
* @returns {string} A string representing the location.
|
1615
1769
|
*/
|
1616
|
-
|
1617
|
-
return this.pathTemplates.
|
1770
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1771
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1618
1772
|
}
|
1619
1773
|
/**
|
1620
|
-
* Parse the collection from
|
1774
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1621
1775
|
*
|
1622
|
-
* @param {string}
|
1623
|
-
* A fully-qualified path representing
|
1776
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1777
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1624
1778
|
* @returns {string} A string representing the collection.
|
1625
1779
|
*/
|
1626
|
-
|
1627
|
-
return this.pathTemplates.
|
1780
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1781
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1628
1782
|
}
|
1629
1783
|
/**
|
1630
|
-
* Parse the data_store from
|
1784
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1631
1785
|
*
|
1632
|
-
* @param {string}
|
1633
|
-
* A fully-qualified path representing
|
1786
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1787
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1634
1788
|
* @returns {string} A string representing the data_store.
|
1635
1789
|
*/
|
1636
|
-
|
1637
|
-
return this.pathTemplates.
|
1790
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1791
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1638
1792
|
}
|
1639
1793
|
/**
|
1640
|
-
* Parse the session from
|
1794
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1641
1795
|
*
|
1642
|
-
* @param {string}
|
1643
|
-
* A fully-qualified path representing
|
1796
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1797
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1644
1798
|
* @returns {string} A string representing the session.
|
1645
1799
|
*/
|
1646
|
-
|
1647
|
-
return this.pathTemplates.
|
1800
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1801
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1648
1802
|
}
|
1649
1803
|
/**
|
1650
|
-
*
|
1804
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1805
|
+
*
|
1806
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1807
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1808
|
+
* @returns {string} A string representing the answer.
|
1809
|
+
*/
|
1810
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1811
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1812
|
+
}
|
1813
|
+
/**
|
1814
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1651
1815
|
*
|
1652
1816
|
* @param {string} project
|
1653
1817
|
* @param {string} location
|
1654
1818
|
* @param {string} collection
|
1655
1819
|
* @param {string} data_store
|
1656
1820
|
* @param {string} session
|
1657
|
-
* @param {string} answer
|
1658
1821
|
* @returns {string} Resource name string.
|
1659
1822
|
*/
|
1660
|
-
|
1661
|
-
return this.pathTemplates.
|
1823
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1824
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1662
1825
|
project: project,
|
1663
1826
|
location: location,
|
1664
1827
|
collection: collection,
|
1665
1828
|
data_store: dataStore,
|
1666
1829
|
session: session,
|
1667
|
-
answer: answer,
|
1668
1830
|
});
|
1669
1831
|
}
|
1670
1832
|
/**
|
1671
|
-
* Parse the project from
|
1833
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1672
1834
|
*
|
1673
|
-
* @param {string}
|
1674
|
-
* A fully-qualified path representing
|
1835
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1836
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1675
1837
|
* @returns {string} A string representing the project.
|
1676
1838
|
*/
|
1677
|
-
|
1678
|
-
return this.pathTemplates.
|
1839
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1840
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1679
1841
|
}
|
1680
1842
|
/**
|
1681
|
-
* Parse the location from
|
1843
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1682
1844
|
*
|
1683
|
-
* @param {string}
|
1684
|
-
* A fully-qualified path representing
|
1845
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1846
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1685
1847
|
* @returns {string} A string representing the location.
|
1686
1848
|
*/
|
1687
|
-
|
1688
|
-
return this.pathTemplates.
|
1849
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1850
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1689
1851
|
}
|
1690
1852
|
/**
|
1691
|
-
* Parse the collection from
|
1853
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1692
1854
|
*
|
1693
|
-
* @param {string}
|
1694
|
-
* A fully-qualified path representing
|
1855
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1856
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1695
1857
|
* @returns {string} A string representing the collection.
|
1696
1858
|
*/
|
1697
|
-
|
1698
|
-
return this.pathTemplates.
|
1859
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1860
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1699
1861
|
}
|
1700
1862
|
/**
|
1701
|
-
* Parse the data_store from
|
1863
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1702
1864
|
*
|
1703
|
-
* @param {string}
|
1704
|
-
* A fully-qualified path representing
|
1865
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1866
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1705
1867
|
* @returns {string} A string representing the data_store.
|
1706
1868
|
*/
|
1707
|
-
|
1708
|
-
return this.pathTemplates.
|
1869
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1870
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1709
1871
|
}
|
1710
1872
|
/**
|
1711
|
-
* Parse the session from
|
1873
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1712
1874
|
*
|
1713
|
-
* @param {string}
|
1714
|
-
* A fully-qualified path representing
|
1875
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1876
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1715
1877
|
* @returns {string} A string representing the session.
|
1716
1878
|
*/
|
1717
|
-
|
1718
|
-
return this.pathTemplates.
|
1719
|
-
}
|
1720
|
-
/**
|
1721
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1722
|
-
*
|
1723
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1724
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1725
|
-
* @returns {string} A string representing the answer.
|
1726
|
-
*/
|
1727
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1728
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1879
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1880
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1729
1881
|
}
|
1730
1882
|
/**
|
1731
1883
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2130,154 +2282,154 @@ class UserEventServiceClient {
|
|
2130
2282
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2131
2283
|
}
|
2132
2284
|
/**
|
2133
|
-
* Return a fully-qualified
|
2285
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2134
2286
|
*
|
2135
2287
|
* @param {string} project
|
2136
2288
|
* @param {string} location
|
2137
2289
|
* @param {string} collection
|
2138
2290
|
* @param {string} engine
|
2139
2291
|
* @param {string} session
|
2292
|
+
* @param {string} answer
|
2140
2293
|
* @returns {string} Resource name string.
|
2141
2294
|
*/
|
2142
|
-
|
2143
|
-
return this.pathTemplates.
|
2295
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2296
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2144
2297
|
project: project,
|
2145
2298
|
location: location,
|
2146
2299
|
collection: collection,
|
2147
2300
|
engine: engine,
|
2148
2301
|
session: session,
|
2302
|
+
answer: answer,
|
2149
2303
|
});
|
2150
2304
|
}
|
2151
2305
|
/**
|
2152
|
-
* Parse the project from
|
2306
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2153
2307
|
*
|
2154
|
-
* @param {string}
|
2155
|
-
* A fully-qualified path representing
|
2308
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2309
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2156
2310
|
* @returns {string} A string representing the project.
|
2157
2311
|
*/
|
2158
|
-
|
2159
|
-
return this.pathTemplates.
|
2312
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2313
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2160
2314
|
}
|
2161
2315
|
/**
|
2162
|
-
* Parse the location from
|
2316
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2163
2317
|
*
|
2164
|
-
* @param {string}
|
2165
|
-
* A fully-qualified path representing
|
2318
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2319
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2166
2320
|
* @returns {string} A string representing the location.
|
2167
2321
|
*/
|
2168
|
-
|
2169
|
-
return this.pathTemplates.
|
2322
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2323
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2170
2324
|
}
|
2171
2325
|
/**
|
2172
|
-
* Parse the collection from
|
2326
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2173
2327
|
*
|
2174
|
-
* @param {string}
|
2175
|
-
* A fully-qualified path representing
|
2328
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2329
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2176
2330
|
* @returns {string} A string representing the collection.
|
2177
2331
|
*/
|
2178
|
-
|
2179
|
-
return this.pathTemplates.
|
2332
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2333
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2180
2334
|
}
|
2181
2335
|
/**
|
2182
|
-
* Parse the engine from
|
2336
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2183
2337
|
*
|
2184
|
-
* @param {string}
|
2185
|
-
* A fully-qualified path representing
|
2338
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2339
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2186
2340
|
* @returns {string} A string representing the engine.
|
2187
2341
|
*/
|
2188
|
-
|
2189
|
-
return this.pathTemplates.
|
2342
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2343
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2190
2344
|
}
|
2191
2345
|
/**
|
2192
|
-
* Parse the session from
|
2346
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2193
2347
|
*
|
2194
|
-
* @param {string}
|
2195
|
-
* A fully-qualified path representing
|
2348
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2349
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2196
2350
|
* @returns {string} A string representing the session.
|
2197
2351
|
*/
|
2198
|
-
|
2199
|
-
return this.pathTemplates.
|
2352
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2353
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2200
2354
|
}
|
2201
2355
|
/**
|
2202
|
-
*
|
2356
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2357
|
+
*
|
2358
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2359
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2360
|
+
* @returns {string} A string representing the answer.
|
2361
|
+
*/
|
2362
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2363
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2364
|
+
}
|
2365
|
+
/**
|
2366
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2203
2367
|
*
|
2204
2368
|
* @param {string} project
|
2205
2369
|
* @param {string} location
|
2206
2370
|
* @param {string} collection
|
2207
2371
|
* @param {string} engine
|
2208
2372
|
* @param {string} session
|
2209
|
-
* @param {string} answer
|
2210
2373
|
* @returns {string} Resource name string.
|
2211
2374
|
*/
|
2212
|
-
|
2213
|
-
return this.pathTemplates.
|
2375
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2376
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2214
2377
|
project: project,
|
2215
2378
|
location: location,
|
2216
2379
|
collection: collection,
|
2217
2380
|
engine: engine,
|
2218
2381
|
session: session,
|
2219
|
-
answer: answer,
|
2220
2382
|
});
|
2221
2383
|
}
|
2222
2384
|
/**
|
2223
|
-
* Parse the project from
|
2385
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2224
2386
|
*
|
2225
|
-
* @param {string}
|
2226
|
-
* A fully-qualified path representing
|
2387
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2388
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2227
2389
|
* @returns {string} A string representing the project.
|
2228
2390
|
*/
|
2229
|
-
|
2230
|
-
return this.pathTemplates.
|
2391
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2392
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2231
2393
|
}
|
2232
2394
|
/**
|
2233
|
-
* Parse the location from
|
2395
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2234
2396
|
*
|
2235
|
-
* @param {string}
|
2236
|
-
* A fully-qualified path representing
|
2397
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2398
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2237
2399
|
* @returns {string} A string representing the location.
|
2238
2400
|
*/
|
2239
|
-
|
2240
|
-
return this.pathTemplates.
|
2401
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2402
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2241
2403
|
}
|
2242
2404
|
/**
|
2243
|
-
* Parse the collection from
|
2405
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2244
2406
|
*
|
2245
|
-
* @param {string}
|
2246
|
-
* A fully-qualified path representing
|
2407
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2408
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2247
2409
|
* @returns {string} A string representing the collection.
|
2248
2410
|
*/
|
2249
|
-
|
2250
|
-
return this.pathTemplates.
|
2411
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2412
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2251
2413
|
}
|
2252
2414
|
/**
|
2253
|
-
* Parse the engine from
|
2415
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2254
2416
|
*
|
2255
|
-
* @param {string}
|
2256
|
-
* A fully-qualified path representing
|
2417
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2418
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2257
2419
|
* @returns {string} A string representing the engine.
|
2258
2420
|
*/
|
2259
|
-
|
2260
|
-
return this.pathTemplates.
|
2421
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2422
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2261
2423
|
}
|
2262
2424
|
/**
|
2263
|
-
* Parse the session from
|
2425
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2264
2426
|
*
|
2265
|
-
* @param {string}
|
2266
|
-
* A fully-qualified path representing
|
2427
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2428
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2267
2429
|
* @returns {string} A string representing the session.
|
2268
2430
|
*/
|
2269
|
-
|
2270
|
-
return this.pathTemplates.
|
2271
|
-
}
|
2272
|
-
/**
|
2273
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2274
|
-
*
|
2275
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2276
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2277
|
-
* @returns {string} A string representing the answer.
|
2278
|
-
*/
|
2279
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2280
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2431
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2432
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2281
2433
|
}
|
2282
2434
|
/**
|
2283
2435
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2804,63 +2956,6 @@ class UserEventServiceClient {
|
|
2804
2956
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2805
2957
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2806
2958
|
}
|
2807
|
-
/**
|
2808
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2809
|
-
*
|
2810
|
-
* @param {string} project
|
2811
|
-
* @param {string} location
|
2812
|
-
* @param {string} data_store
|
2813
|
-
* @param {string} session
|
2814
|
-
* @returns {string} Resource name string.
|
2815
|
-
*/
|
2816
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2817
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2818
|
-
project: project,
|
2819
|
-
location: location,
|
2820
|
-
data_store: dataStore,
|
2821
|
-
session: session,
|
2822
|
-
});
|
2823
|
-
}
|
2824
|
-
/**
|
2825
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2826
|
-
*
|
2827
|
-
* @param {string} projectLocationDataStoreSessionName
|
2828
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2829
|
-
* @returns {string} A string representing the project.
|
2830
|
-
*/
|
2831
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2832
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2833
|
-
}
|
2834
|
-
/**
|
2835
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2836
|
-
*
|
2837
|
-
* @param {string} projectLocationDataStoreSessionName
|
2838
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2839
|
-
* @returns {string} A string representing the location.
|
2840
|
-
*/
|
2841
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2842
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2843
|
-
}
|
2844
|
-
/**
|
2845
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2846
|
-
*
|
2847
|
-
* @param {string} projectLocationDataStoreSessionName
|
2848
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2849
|
-
* @returns {string} A string representing the data_store.
|
2850
|
-
*/
|
2851
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2852
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2853
|
-
}
|
2854
|
-
/**
|
2855
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2856
|
-
*
|
2857
|
-
* @param {string} projectLocationDataStoreSessionName
|
2858
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2859
|
-
* @returns {string} A string representing the session.
|
2860
|
-
*/
|
2861
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2862
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2863
|
-
}
|
2864
2959
|
/**
|
2865
2960
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2866
2961
|
*
|
@@ -2930,6 +3025,63 @@ class UserEventServiceClient {
|
|
2930
3025
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2931
3026
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2932
3027
|
}
|
3028
|
+
/**
|
3029
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3030
|
+
*
|
3031
|
+
* @param {string} project
|
3032
|
+
* @param {string} location
|
3033
|
+
* @param {string} data_store
|
3034
|
+
* @param {string} session
|
3035
|
+
* @returns {string} Resource name string.
|
3036
|
+
*/
|
3037
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3038
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3039
|
+
project: project,
|
3040
|
+
location: location,
|
3041
|
+
data_store: dataStore,
|
3042
|
+
session: session,
|
3043
|
+
});
|
3044
|
+
}
|
3045
|
+
/**
|
3046
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3047
|
+
*
|
3048
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3049
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3050
|
+
* @returns {string} A string representing the project.
|
3051
|
+
*/
|
3052
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3053
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3054
|
+
}
|
3055
|
+
/**
|
3056
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3057
|
+
*
|
3058
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3059
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3060
|
+
* @returns {string} A string representing the location.
|
3061
|
+
*/
|
3062
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3063
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3064
|
+
}
|
3065
|
+
/**
|
3066
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3067
|
+
*
|
3068
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3069
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3070
|
+
* @returns {string} A string representing the data_store.
|
3071
|
+
*/
|
3072
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3073
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3074
|
+
}
|
3075
|
+
/**
|
3076
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3077
|
+
*
|
3078
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3079
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3080
|
+
* @returns {string} A string representing the session.
|
3081
|
+
*/
|
3082
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3083
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3084
|
+
}
|
2933
3085
|
/**
|
2934
3086
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2935
3087
|
*
|