@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 DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
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 DataStoreServiceClient {
|
|
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}'),
|
@@ -900,6 +902,156 @@ class DataStoreServiceClient {
|
|
900
902
|
// --------------------
|
901
903
|
// -- Path templates --
|
902
904
|
// --------------------
|
905
|
+
/**
|
906
|
+
* Return a fully-qualified assistAnswer resource name string.
|
907
|
+
*
|
908
|
+
* @param {string} project
|
909
|
+
* @param {string} location
|
910
|
+
* @param {string} collection
|
911
|
+
* @param {string} engine
|
912
|
+
* @param {string} session
|
913
|
+
* @param {string} assist_answer
|
914
|
+
* @returns {string} Resource name string.
|
915
|
+
*/
|
916
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
917
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
918
|
+
project: project,
|
919
|
+
location: location,
|
920
|
+
collection: collection,
|
921
|
+
engine: engine,
|
922
|
+
session: session,
|
923
|
+
assist_answer: assistAnswer,
|
924
|
+
});
|
925
|
+
}
|
926
|
+
/**
|
927
|
+
* Parse the project from AssistAnswer resource.
|
928
|
+
*
|
929
|
+
* @param {string} assistAnswerName
|
930
|
+
* A fully-qualified path representing AssistAnswer resource.
|
931
|
+
* @returns {string} A string representing the project.
|
932
|
+
*/
|
933
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
934
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
935
|
+
}
|
936
|
+
/**
|
937
|
+
* Parse the location from AssistAnswer resource.
|
938
|
+
*
|
939
|
+
* @param {string} assistAnswerName
|
940
|
+
* A fully-qualified path representing AssistAnswer resource.
|
941
|
+
* @returns {string} A string representing the location.
|
942
|
+
*/
|
943
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
944
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
945
|
+
}
|
946
|
+
/**
|
947
|
+
* Parse the collection from AssistAnswer resource.
|
948
|
+
*
|
949
|
+
* @param {string} assistAnswerName
|
950
|
+
* A fully-qualified path representing AssistAnswer resource.
|
951
|
+
* @returns {string} A string representing the collection.
|
952
|
+
*/
|
953
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
954
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
955
|
+
}
|
956
|
+
/**
|
957
|
+
* Parse the engine from AssistAnswer resource.
|
958
|
+
*
|
959
|
+
* @param {string} assistAnswerName
|
960
|
+
* A fully-qualified path representing AssistAnswer resource.
|
961
|
+
* @returns {string} A string representing the engine.
|
962
|
+
*/
|
963
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
964
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
965
|
+
}
|
966
|
+
/**
|
967
|
+
* Parse the session from AssistAnswer resource.
|
968
|
+
*
|
969
|
+
* @param {string} assistAnswerName
|
970
|
+
* A fully-qualified path representing AssistAnswer resource.
|
971
|
+
* @returns {string} A string representing the session.
|
972
|
+
*/
|
973
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
974
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
975
|
+
}
|
976
|
+
/**
|
977
|
+
* Parse the assist_answer from AssistAnswer resource.
|
978
|
+
*
|
979
|
+
* @param {string} assistAnswerName
|
980
|
+
* A fully-qualified path representing AssistAnswer resource.
|
981
|
+
* @returns {string} A string representing the assist_answer.
|
982
|
+
*/
|
983
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
984
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
985
|
+
}
|
986
|
+
/**
|
987
|
+
* Return a fully-qualified assistant resource name string.
|
988
|
+
*
|
989
|
+
* @param {string} project
|
990
|
+
* @param {string} location
|
991
|
+
* @param {string} collection
|
992
|
+
* @param {string} engine
|
993
|
+
* @param {string} assistant
|
994
|
+
* @returns {string} Resource name string.
|
995
|
+
*/
|
996
|
+
assistantPath(project, location, collection, engine, assistant) {
|
997
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
998
|
+
project: project,
|
999
|
+
location: location,
|
1000
|
+
collection: collection,
|
1001
|
+
engine: engine,
|
1002
|
+
assistant: assistant,
|
1003
|
+
});
|
1004
|
+
}
|
1005
|
+
/**
|
1006
|
+
* Parse the project from Assistant resource.
|
1007
|
+
*
|
1008
|
+
* @param {string} assistantName
|
1009
|
+
* A fully-qualified path representing Assistant resource.
|
1010
|
+
* @returns {string} A string representing the project.
|
1011
|
+
*/
|
1012
|
+
matchProjectFromAssistantName(assistantName) {
|
1013
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1014
|
+
}
|
1015
|
+
/**
|
1016
|
+
* Parse the location from Assistant resource.
|
1017
|
+
*
|
1018
|
+
* @param {string} assistantName
|
1019
|
+
* A fully-qualified path representing Assistant resource.
|
1020
|
+
* @returns {string} A string representing the location.
|
1021
|
+
*/
|
1022
|
+
matchLocationFromAssistantName(assistantName) {
|
1023
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1024
|
+
}
|
1025
|
+
/**
|
1026
|
+
* Parse the collection from Assistant resource.
|
1027
|
+
*
|
1028
|
+
* @param {string} assistantName
|
1029
|
+
* A fully-qualified path representing Assistant resource.
|
1030
|
+
* @returns {string} A string representing the collection.
|
1031
|
+
*/
|
1032
|
+
matchCollectionFromAssistantName(assistantName) {
|
1033
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1034
|
+
}
|
1035
|
+
/**
|
1036
|
+
* Parse the engine from Assistant resource.
|
1037
|
+
*
|
1038
|
+
* @param {string} assistantName
|
1039
|
+
* A fully-qualified path representing Assistant resource.
|
1040
|
+
* @returns {string} A string representing the engine.
|
1041
|
+
*/
|
1042
|
+
matchEngineFromAssistantName(assistantName) {
|
1043
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1044
|
+
}
|
1045
|
+
/**
|
1046
|
+
* Parse the assistant from Assistant resource.
|
1047
|
+
*
|
1048
|
+
* @param {string} assistantName
|
1049
|
+
* A fully-qualified path representing Assistant resource.
|
1050
|
+
* @returns {string} A string representing the assistant.
|
1051
|
+
*/
|
1052
|
+
matchAssistantFromAssistantName(assistantName) {
|
1053
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1054
|
+
}
|
903
1055
|
/**
|
904
1056
|
* Return a fully-qualified collection resource name string.
|
905
1057
|
*
|
@@ -1780,154 +1932,154 @@ class DataStoreServiceClient {
|
|
1780
1932
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1781
1933
|
}
|
1782
1934
|
/**
|
1783
|
-
* Return a fully-qualified
|
1935
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1784
1936
|
*
|
1785
1937
|
* @param {string} project
|
1786
1938
|
* @param {string} location
|
1787
1939
|
* @param {string} collection
|
1788
1940
|
* @param {string} data_store
|
1789
1941
|
* @param {string} session
|
1942
|
+
* @param {string} answer
|
1790
1943
|
* @returns {string} Resource name string.
|
1791
1944
|
*/
|
1792
|
-
|
1793
|
-
return this.pathTemplates.
|
1945
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1946
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1794
1947
|
project: project,
|
1795
1948
|
location: location,
|
1796
1949
|
collection: collection,
|
1797
1950
|
data_store: dataStore,
|
1798
1951
|
session: session,
|
1952
|
+
answer: answer,
|
1799
1953
|
});
|
1800
1954
|
}
|
1801
1955
|
/**
|
1802
|
-
* Parse the project from
|
1956
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1803
1957
|
*
|
1804
|
-
* @param {string}
|
1805
|
-
* A fully-qualified path representing
|
1958
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1959
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1806
1960
|
* @returns {string} A string representing the project.
|
1807
1961
|
*/
|
1808
|
-
|
1809
|
-
return this.pathTemplates.
|
1962
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1963
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1810
1964
|
}
|
1811
1965
|
/**
|
1812
|
-
* Parse the location from
|
1966
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1813
1967
|
*
|
1814
|
-
* @param {string}
|
1815
|
-
* A fully-qualified path representing
|
1968
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1969
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1816
1970
|
* @returns {string} A string representing the location.
|
1817
1971
|
*/
|
1818
|
-
|
1819
|
-
return this.pathTemplates.
|
1972
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1973
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1820
1974
|
}
|
1821
1975
|
/**
|
1822
|
-
* Parse the collection from
|
1976
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1823
1977
|
*
|
1824
|
-
* @param {string}
|
1825
|
-
* A fully-qualified path representing
|
1978
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1979
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1826
1980
|
* @returns {string} A string representing the collection.
|
1827
1981
|
*/
|
1828
|
-
|
1829
|
-
return this.pathTemplates.
|
1982
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1983
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1830
1984
|
}
|
1831
1985
|
/**
|
1832
|
-
* Parse the data_store from
|
1986
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1833
1987
|
*
|
1834
|
-
* @param {string}
|
1835
|
-
* A fully-qualified path representing
|
1988
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1989
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1836
1990
|
* @returns {string} A string representing the data_store.
|
1837
1991
|
*/
|
1838
|
-
|
1839
|
-
return this.pathTemplates.
|
1992
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1993
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1840
1994
|
}
|
1841
1995
|
/**
|
1842
|
-
* Parse the session from
|
1996
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1843
1997
|
*
|
1844
|
-
* @param {string}
|
1845
|
-
* A fully-qualified path representing
|
1998
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1999
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1846
2000
|
* @returns {string} A string representing the session.
|
1847
2001
|
*/
|
1848
|
-
|
1849
|
-
return this.pathTemplates.
|
2002
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2003
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1850
2004
|
}
|
1851
2005
|
/**
|
1852
|
-
*
|
2006
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2007
|
+
*
|
2008
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2009
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2010
|
+
* @returns {string} A string representing the answer.
|
2011
|
+
*/
|
2012
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2013
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2014
|
+
}
|
2015
|
+
/**
|
2016
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1853
2017
|
*
|
1854
2018
|
* @param {string} project
|
1855
2019
|
* @param {string} location
|
1856
2020
|
* @param {string} collection
|
1857
2021
|
* @param {string} data_store
|
1858
2022
|
* @param {string} session
|
1859
|
-
* @param {string} answer
|
1860
2023
|
* @returns {string} Resource name string.
|
1861
2024
|
*/
|
1862
|
-
|
1863
|
-
return this.pathTemplates.
|
2025
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2026
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1864
2027
|
project: project,
|
1865
2028
|
location: location,
|
1866
2029
|
collection: collection,
|
1867
2030
|
data_store: dataStore,
|
1868
2031
|
session: session,
|
1869
|
-
answer: answer,
|
1870
2032
|
});
|
1871
2033
|
}
|
1872
2034
|
/**
|
1873
|
-
* Parse the project from
|
2035
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1874
2036
|
*
|
1875
|
-
* @param {string}
|
1876
|
-
* A fully-qualified path representing
|
2037
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2038
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1877
2039
|
* @returns {string} A string representing the project.
|
1878
2040
|
*/
|
1879
|
-
|
1880
|
-
return this.pathTemplates.
|
2041
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2042
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1881
2043
|
}
|
1882
2044
|
/**
|
1883
|
-
* Parse the location from
|
2045
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1884
2046
|
*
|
1885
|
-
* @param {string}
|
1886
|
-
* A fully-qualified path representing
|
2047
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2048
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1887
2049
|
* @returns {string} A string representing the location.
|
1888
2050
|
*/
|
1889
|
-
|
1890
|
-
return this.pathTemplates.
|
2051
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2052
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1891
2053
|
}
|
1892
2054
|
/**
|
1893
|
-
* Parse the collection from
|
2055
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1894
2056
|
*
|
1895
|
-
* @param {string}
|
1896
|
-
* A fully-qualified path representing
|
2057
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2058
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1897
2059
|
* @returns {string} A string representing the collection.
|
1898
2060
|
*/
|
1899
|
-
|
1900
|
-
return this.pathTemplates.
|
2061
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2062
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1901
2063
|
}
|
1902
2064
|
/**
|
1903
|
-
* Parse the data_store from
|
2065
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1904
2066
|
*
|
1905
|
-
* @param {string}
|
1906
|
-
* A fully-qualified path representing
|
2067
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2068
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1907
2069
|
* @returns {string} A string representing the data_store.
|
1908
2070
|
*/
|
1909
|
-
|
1910
|
-
return this.pathTemplates.
|
2071
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2072
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1911
2073
|
}
|
1912
2074
|
/**
|
1913
|
-
* Parse the session from
|
2075
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1914
2076
|
*
|
1915
|
-
* @param {string}
|
1916
|
-
* A fully-qualified path representing
|
2077
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2078
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1917
2079
|
* @returns {string} A string representing the session.
|
1918
2080
|
*/
|
1919
|
-
|
1920
|
-
return this.pathTemplates.
|
1921
|
-
}
|
1922
|
-
/**
|
1923
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1924
|
-
*
|
1925
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1926
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1927
|
-
* @returns {string} A string representing the answer.
|
1928
|
-
*/
|
1929
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1930
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2081
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2082
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1931
2083
|
}
|
1932
2084
|
/**
|
1933
2085
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2332,154 +2484,154 @@ class DataStoreServiceClient {
|
|
2332
2484
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2333
2485
|
}
|
2334
2486
|
/**
|
2335
|
-
* Return a fully-qualified
|
2487
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2336
2488
|
*
|
2337
2489
|
* @param {string} project
|
2338
2490
|
* @param {string} location
|
2339
2491
|
* @param {string} collection
|
2340
2492
|
* @param {string} engine
|
2341
2493
|
* @param {string} session
|
2494
|
+
* @param {string} answer
|
2342
2495
|
* @returns {string} Resource name string.
|
2343
2496
|
*/
|
2344
|
-
|
2345
|
-
return this.pathTemplates.
|
2497
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2498
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2346
2499
|
project: project,
|
2347
2500
|
location: location,
|
2348
2501
|
collection: collection,
|
2349
2502
|
engine: engine,
|
2350
2503
|
session: session,
|
2504
|
+
answer: answer,
|
2351
2505
|
});
|
2352
2506
|
}
|
2353
2507
|
/**
|
2354
|
-
* Parse the project from
|
2508
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2355
2509
|
*
|
2356
|
-
* @param {string}
|
2357
|
-
* A fully-qualified path representing
|
2510
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2511
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2358
2512
|
* @returns {string} A string representing the project.
|
2359
2513
|
*/
|
2360
|
-
|
2361
|
-
return this.pathTemplates.
|
2514
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2515
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2362
2516
|
}
|
2363
2517
|
/**
|
2364
|
-
* Parse the location from
|
2518
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2365
2519
|
*
|
2366
|
-
* @param {string}
|
2367
|
-
* A fully-qualified path representing
|
2520
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2521
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2368
2522
|
* @returns {string} A string representing the location.
|
2369
2523
|
*/
|
2370
|
-
|
2371
|
-
return this.pathTemplates.
|
2524
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2525
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2372
2526
|
}
|
2373
2527
|
/**
|
2374
|
-
* Parse the collection from
|
2528
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2375
2529
|
*
|
2376
|
-
* @param {string}
|
2377
|
-
* A fully-qualified path representing
|
2530
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2531
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2378
2532
|
* @returns {string} A string representing the collection.
|
2379
2533
|
*/
|
2380
|
-
|
2381
|
-
return this.pathTemplates.
|
2534
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2535
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2382
2536
|
}
|
2383
2537
|
/**
|
2384
|
-
* Parse the engine from
|
2538
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2385
2539
|
*
|
2386
|
-
* @param {string}
|
2387
|
-
* A fully-qualified path representing
|
2540
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2541
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2388
2542
|
* @returns {string} A string representing the engine.
|
2389
2543
|
*/
|
2390
|
-
|
2391
|
-
return this.pathTemplates.
|
2544
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2545
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2392
2546
|
}
|
2393
2547
|
/**
|
2394
|
-
* Parse the session from
|
2548
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2395
2549
|
*
|
2396
|
-
* @param {string}
|
2397
|
-
* A fully-qualified path representing
|
2550
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2551
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2398
2552
|
* @returns {string} A string representing the session.
|
2399
2553
|
*/
|
2400
|
-
|
2401
|
-
return this.pathTemplates.
|
2554
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2555
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2402
2556
|
}
|
2403
2557
|
/**
|
2404
|
-
*
|
2558
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2559
|
+
*
|
2560
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2561
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2562
|
+
* @returns {string} A string representing the answer.
|
2563
|
+
*/
|
2564
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2565
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2566
|
+
}
|
2567
|
+
/**
|
2568
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2405
2569
|
*
|
2406
2570
|
* @param {string} project
|
2407
2571
|
* @param {string} location
|
2408
2572
|
* @param {string} collection
|
2409
2573
|
* @param {string} engine
|
2410
2574
|
* @param {string} session
|
2411
|
-
* @param {string} answer
|
2412
2575
|
* @returns {string} Resource name string.
|
2413
2576
|
*/
|
2414
|
-
|
2415
|
-
return this.pathTemplates.
|
2577
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2578
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2416
2579
|
project: project,
|
2417
2580
|
location: location,
|
2418
2581
|
collection: collection,
|
2419
2582
|
engine: engine,
|
2420
2583
|
session: session,
|
2421
|
-
answer: answer,
|
2422
2584
|
});
|
2423
2585
|
}
|
2424
2586
|
/**
|
2425
|
-
* Parse the project from
|
2587
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2426
2588
|
*
|
2427
|
-
* @param {string}
|
2428
|
-
* A fully-qualified path representing
|
2589
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2590
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2429
2591
|
* @returns {string} A string representing the project.
|
2430
2592
|
*/
|
2431
|
-
|
2432
|
-
return this.pathTemplates.
|
2593
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2594
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2433
2595
|
}
|
2434
2596
|
/**
|
2435
|
-
* Parse the location from
|
2597
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2436
2598
|
*
|
2437
|
-
* @param {string}
|
2438
|
-
* A fully-qualified path representing
|
2599
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2600
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2439
2601
|
* @returns {string} A string representing the location.
|
2440
2602
|
*/
|
2441
|
-
|
2442
|
-
return this.pathTemplates.
|
2603
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2604
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2443
2605
|
}
|
2444
2606
|
/**
|
2445
|
-
* Parse the collection from
|
2607
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2446
2608
|
*
|
2447
|
-
* @param {string}
|
2448
|
-
* A fully-qualified path representing
|
2609
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2610
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2449
2611
|
* @returns {string} A string representing the collection.
|
2450
2612
|
*/
|
2451
|
-
|
2452
|
-
return this.pathTemplates.
|
2613
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2614
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2453
2615
|
}
|
2454
2616
|
/**
|
2455
|
-
* Parse the engine from
|
2617
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2456
2618
|
*
|
2457
|
-
* @param {string}
|
2458
|
-
* A fully-qualified path representing
|
2619
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2620
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2459
2621
|
* @returns {string} A string representing the engine.
|
2460
2622
|
*/
|
2461
|
-
|
2462
|
-
return this.pathTemplates.
|
2623
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2624
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2463
2625
|
}
|
2464
2626
|
/**
|
2465
|
-
* Parse the session from
|
2627
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2466
2628
|
*
|
2467
|
-
* @param {string}
|
2468
|
-
* A fully-qualified path representing
|
2629
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2630
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2469
2631
|
* @returns {string} A string representing the session.
|
2470
2632
|
*/
|
2471
|
-
|
2472
|
-
return this.pathTemplates.
|
2473
|
-
}
|
2474
|
-
/**
|
2475
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2476
|
-
*
|
2477
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2478
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2479
|
-
* @returns {string} A string representing the answer.
|
2480
|
-
*/
|
2481
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2482
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2633
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2634
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2483
2635
|
}
|
2484
2636
|
/**
|
2485
2637
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3006,63 +3158,6 @@ class DataStoreServiceClient {
|
|
3006
3158
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3007
3159
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3008
3160
|
}
|
3009
|
-
/**
|
3010
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3011
|
-
*
|
3012
|
-
* @param {string} project
|
3013
|
-
* @param {string} location
|
3014
|
-
* @param {string} data_store
|
3015
|
-
* @param {string} session
|
3016
|
-
* @returns {string} Resource name string.
|
3017
|
-
*/
|
3018
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3019
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3020
|
-
project: project,
|
3021
|
-
location: location,
|
3022
|
-
data_store: dataStore,
|
3023
|
-
session: session,
|
3024
|
-
});
|
3025
|
-
}
|
3026
|
-
/**
|
3027
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3028
|
-
*
|
3029
|
-
* @param {string} projectLocationDataStoreSessionName
|
3030
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3031
|
-
* @returns {string} A string representing the project.
|
3032
|
-
*/
|
3033
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3034
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3035
|
-
}
|
3036
|
-
/**
|
3037
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3038
|
-
*
|
3039
|
-
* @param {string} projectLocationDataStoreSessionName
|
3040
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3041
|
-
* @returns {string} A string representing the location.
|
3042
|
-
*/
|
3043
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3044
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3045
|
-
}
|
3046
|
-
/**
|
3047
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3048
|
-
*
|
3049
|
-
* @param {string} projectLocationDataStoreSessionName
|
3050
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3051
|
-
* @returns {string} A string representing the data_store.
|
3052
|
-
*/
|
3053
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3054
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3055
|
-
}
|
3056
|
-
/**
|
3057
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3058
|
-
*
|
3059
|
-
* @param {string} projectLocationDataStoreSessionName
|
3060
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3061
|
-
* @returns {string} A string representing the session.
|
3062
|
-
*/
|
3063
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3064
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3065
|
-
}
|
3066
3161
|
/**
|
3067
3162
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3068
3163
|
*
|
@@ -3132,6 +3227,63 @@ class DataStoreServiceClient {
|
|
3132
3227
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3133
3228
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3134
3229
|
}
|
3230
|
+
/**
|
3231
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3232
|
+
*
|
3233
|
+
* @param {string} project
|
3234
|
+
* @param {string} location
|
3235
|
+
* @param {string} data_store
|
3236
|
+
* @param {string} session
|
3237
|
+
* @returns {string} Resource name string.
|
3238
|
+
*/
|
3239
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3240
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3241
|
+
project: project,
|
3242
|
+
location: location,
|
3243
|
+
data_store: dataStore,
|
3244
|
+
session: session,
|
3245
|
+
});
|
3246
|
+
}
|
3247
|
+
/**
|
3248
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3249
|
+
*
|
3250
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3251
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3252
|
+
* @returns {string} A string representing the project.
|
3253
|
+
*/
|
3254
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3255
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3256
|
+
}
|
3257
|
+
/**
|
3258
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3259
|
+
*
|
3260
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3261
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3262
|
+
* @returns {string} A string representing the location.
|
3263
|
+
*/
|
3264
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3265
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3266
|
+
}
|
3267
|
+
/**
|
3268
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3269
|
+
*
|
3270
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3271
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3272
|
+
* @returns {string} A string representing the data_store.
|
3273
|
+
*/
|
3274
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3275
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3276
|
+
}
|
3277
|
+
/**
|
3278
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3279
|
+
*
|
3280
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3281
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3282
|
+
* @returns {string} A string representing the session.
|
3283
|
+
*/
|
3284
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3285
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3286
|
+
}
|
3135
3287
|
/**
|
3136
3288
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3137
3289
|
*
|