@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 DocumentServiceClient {
|
|
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
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
168
170
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
169
171
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -179,16 +181,16 @@ class DocumentServiceClient {
|
|
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
|
projectLocationDataStoreBranchPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}'),
|
194
196
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
@@ -199,8 +201,8 @@ class DocumentServiceClient {
|
|
199
201
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
200
202
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
201
203
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
202
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
203
204
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
205
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
204
206
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
205
207
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
206
208
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1007,6 +1009,156 @@ class DocumentServiceClient {
|
|
1007
1009
|
// --------------------
|
1008
1010
|
// -- Path templates --
|
1009
1011
|
// --------------------
|
1012
|
+
/**
|
1013
|
+
* Return a fully-qualified assistAnswer resource name string.
|
1014
|
+
*
|
1015
|
+
* @param {string} project
|
1016
|
+
* @param {string} location
|
1017
|
+
* @param {string} collection
|
1018
|
+
* @param {string} engine
|
1019
|
+
* @param {string} session
|
1020
|
+
* @param {string} assist_answer
|
1021
|
+
* @returns {string} Resource name string.
|
1022
|
+
*/
|
1023
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
1024
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
1025
|
+
project: project,
|
1026
|
+
location: location,
|
1027
|
+
collection: collection,
|
1028
|
+
engine: engine,
|
1029
|
+
session: session,
|
1030
|
+
assist_answer: assistAnswer,
|
1031
|
+
});
|
1032
|
+
}
|
1033
|
+
/**
|
1034
|
+
* Parse the project from AssistAnswer resource.
|
1035
|
+
*
|
1036
|
+
* @param {string} assistAnswerName
|
1037
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1038
|
+
* @returns {string} A string representing the project.
|
1039
|
+
*/
|
1040
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
1041
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
1042
|
+
}
|
1043
|
+
/**
|
1044
|
+
* Parse the location from AssistAnswer resource.
|
1045
|
+
*
|
1046
|
+
* @param {string} assistAnswerName
|
1047
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1048
|
+
* @returns {string} A string representing the location.
|
1049
|
+
*/
|
1050
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
1051
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
1052
|
+
}
|
1053
|
+
/**
|
1054
|
+
* Parse the collection from AssistAnswer resource.
|
1055
|
+
*
|
1056
|
+
* @param {string} assistAnswerName
|
1057
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1058
|
+
* @returns {string} A string representing the collection.
|
1059
|
+
*/
|
1060
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
1061
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
1062
|
+
}
|
1063
|
+
/**
|
1064
|
+
* Parse the engine from AssistAnswer resource.
|
1065
|
+
*
|
1066
|
+
* @param {string} assistAnswerName
|
1067
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1068
|
+
* @returns {string} A string representing the engine.
|
1069
|
+
*/
|
1070
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
1071
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
1072
|
+
}
|
1073
|
+
/**
|
1074
|
+
* Parse the session from AssistAnswer resource.
|
1075
|
+
*
|
1076
|
+
* @param {string} assistAnswerName
|
1077
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1078
|
+
* @returns {string} A string representing the session.
|
1079
|
+
*/
|
1080
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
1081
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* Parse the assist_answer from AssistAnswer resource.
|
1085
|
+
*
|
1086
|
+
* @param {string} assistAnswerName
|
1087
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1088
|
+
* @returns {string} A string representing the assist_answer.
|
1089
|
+
*/
|
1090
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
1091
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
1092
|
+
}
|
1093
|
+
/**
|
1094
|
+
* Return a fully-qualified assistant resource name string.
|
1095
|
+
*
|
1096
|
+
* @param {string} project
|
1097
|
+
* @param {string} location
|
1098
|
+
* @param {string} collection
|
1099
|
+
* @param {string} engine
|
1100
|
+
* @param {string} assistant
|
1101
|
+
* @returns {string} Resource name string.
|
1102
|
+
*/
|
1103
|
+
assistantPath(project, location, collection, engine, assistant) {
|
1104
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
1105
|
+
project: project,
|
1106
|
+
location: location,
|
1107
|
+
collection: collection,
|
1108
|
+
engine: engine,
|
1109
|
+
assistant: assistant,
|
1110
|
+
});
|
1111
|
+
}
|
1112
|
+
/**
|
1113
|
+
* Parse the project from Assistant resource.
|
1114
|
+
*
|
1115
|
+
* @param {string} assistantName
|
1116
|
+
* A fully-qualified path representing Assistant resource.
|
1117
|
+
* @returns {string} A string representing the project.
|
1118
|
+
*/
|
1119
|
+
matchProjectFromAssistantName(assistantName) {
|
1120
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1121
|
+
}
|
1122
|
+
/**
|
1123
|
+
* Parse the location from Assistant resource.
|
1124
|
+
*
|
1125
|
+
* @param {string} assistantName
|
1126
|
+
* A fully-qualified path representing Assistant resource.
|
1127
|
+
* @returns {string} A string representing the location.
|
1128
|
+
*/
|
1129
|
+
matchLocationFromAssistantName(assistantName) {
|
1130
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1131
|
+
}
|
1132
|
+
/**
|
1133
|
+
* Parse the collection from Assistant resource.
|
1134
|
+
*
|
1135
|
+
* @param {string} assistantName
|
1136
|
+
* A fully-qualified path representing Assistant resource.
|
1137
|
+
* @returns {string} A string representing the collection.
|
1138
|
+
*/
|
1139
|
+
matchCollectionFromAssistantName(assistantName) {
|
1140
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1141
|
+
}
|
1142
|
+
/**
|
1143
|
+
* Parse the engine from Assistant resource.
|
1144
|
+
*
|
1145
|
+
* @param {string} assistantName
|
1146
|
+
* A fully-qualified path representing Assistant resource.
|
1147
|
+
* @returns {string} A string representing the engine.
|
1148
|
+
*/
|
1149
|
+
matchEngineFromAssistantName(assistantName) {
|
1150
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1151
|
+
}
|
1152
|
+
/**
|
1153
|
+
* Parse the assistant from Assistant resource.
|
1154
|
+
*
|
1155
|
+
* @param {string} assistantName
|
1156
|
+
* A fully-qualified path representing Assistant resource.
|
1157
|
+
* @returns {string} A string representing the assistant.
|
1158
|
+
*/
|
1159
|
+
matchAssistantFromAssistantName(assistantName) {
|
1160
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1161
|
+
}
|
1010
1162
|
/**
|
1011
1163
|
* Return a fully-qualified engine resource name string.
|
1012
1164
|
*
|
@@ -1911,154 +2063,154 @@ class DocumentServiceClient {
|
|
1911
2063
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1912
2064
|
}
|
1913
2065
|
/**
|
1914
|
-
* Return a fully-qualified
|
2066
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1915
2067
|
*
|
1916
2068
|
* @param {string} project
|
1917
2069
|
* @param {string} location
|
1918
2070
|
* @param {string} collection
|
1919
2071
|
* @param {string} data_store
|
1920
2072
|
* @param {string} session
|
2073
|
+
* @param {string} answer
|
1921
2074
|
* @returns {string} Resource name string.
|
1922
2075
|
*/
|
1923
|
-
|
1924
|
-
return this.pathTemplates.
|
2076
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2077
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1925
2078
|
project: project,
|
1926
2079
|
location: location,
|
1927
2080
|
collection: collection,
|
1928
2081
|
data_store: dataStore,
|
1929
2082
|
session: session,
|
2083
|
+
answer: answer,
|
1930
2084
|
});
|
1931
2085
|
}
|
1932
2086
|
/**
|
1933
|
-
* Parse the project from
|
2087
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1934
2088
|
*
|
1935
|
-
* @param {string}
|
1936
|
-
* A fully-qualified path representing
|
2089
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2090
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1937
2091
|
* @returns {string} A string representing the project.
|
1938
2092
|
*/
|
1939
|
-
|
1940
|
-
return this.pathTemplates.
|
2093
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2094
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1941
2095
|
}
|
1942
2096
|
/**
|
1943
|
-
* Parse the location from
|
2097
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1944
2098
|
*
|
1945
|
-
* @param {string}
|
1946
|
-
* A fully-qualified path representing
|
2099
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2100
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1947
2101
|
* @returns {string} A string representing the location.
|
1948
2102
|
*/
|
1949
|
-
|
1950
|
-
return this.pathTemplates.
|
2103
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2104
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1951
2105
|
}
|
1952
2106
|
/**
|
1953
|
-
* Parse the collection from
|
2107
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1954
2108
|
*
|
1955
|
-
* @param {string}
|
1956
|
-
* A fully-qualified path representing
|
2109
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2110
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1957
2111
|
* @returns {string} A string representing the collection.
|
1958
2112
|
*/
|
1959
|
-
|
1960
|
-
return this.pathTemplates.
|
2113
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2114
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1961
2115
|
}
|
1962
2116
|
/**
|
1963
|
-
* Parse the data_store from
|
2117
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1964
2118
|
*
|
1965
|
-
* @param {string}
|
1966
|
-
* A fully-qualified path representing
|
2119
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2120
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1967
2121
|
* @returns {string} A string representing the data_store.
|
1968
2122
|
*/
|
1969
|
-
|
1970
|
-
return this.pathTemplates.
|
2123
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2124
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1971
2125
|
}
|
1972
2126
|
/**
|
1973
|
-
* Parse the session from
|
2127
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1974
2128
|
*
|
1975
|
-
* @param {string}
|
1976
|
-
* A fully-qualified path representing
|
2129
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2130
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1977
2131
|
* @returns {string} A string representing the session.
|
1978
2132
|
*/
|
1979
|
-
|
1980
|
-
return this.pathTemplates.
|
2133
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2134
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1981
2135
|
}
|
1982
2136
|
/**
|
1983
|
-
*
|
2137
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2138
|
+
*
|
2139
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2140
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2141
|
+
* @returns {string} A string representing the answer.
|
2142
|
+
*/
|
2143
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2144
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2145
|
+
}
|
2146
|
+
/**
|
2147
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1984
2148
|
*
|
1985
2149
|
* @param {string} project
|
1986
2150
|
* @param {string} location
|
1987
2151
|
* @param {string} collection
|
1988
2152
|
* @param {string} data_store
|
1989
2153
|
* @param {string} session
|
1990
|
-
* @param {string} answer
|
1991
2154
|
* @returns {string} Resource name string.
|
1992
2155
|
*/
|
1993
|
-
|
1994
|
-
return this.pathTemplates.
|
2156
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2157
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1995
2158
|
project: project,
|
1996
2159
|
location: location,
|
1997
2160
|
collection: collection,
|
1998
2161
|
data_store: dataStore,
|
1999
2162
|
session: session,
|
2000
|
-
answer: answer,
|
2001
2163
|
});
|
2002
2164
|
}
|
2003
2165
|
/**
|
2004
|
-
* Parse the project from
|
2166
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2005
2167
|
*
|
2006
|
-
* @param {string}
|
2007
|
-
* A fully-qualified path representing
|
2168
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2169
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2008
2170
|
* @returns {string} A string representing the project.
|
2009
2171
|
*/
|
2010
|
-
|
2011
|
-
return this.pathTemplates.
|
2172
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2173
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2012
2174
|
}
|
2013
2175
|
/**
|
2014
|
-
* Parse the location from
|
2176
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2015
2177
|
*
|
2016
|
-
* @param {string}
|
2017
|
-
* A fully-qualified path representing
|
2178
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2179
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2018
2180
|
* @returns {string} A string representing the location.
|
2019
2181
|
*/
|
2020
|
-
|
2021
|
-
return this.pathTemplates.
|
2182
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2183
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2022
2184
|
}
|
2023
2185
|
/**
|
2024
|
-
* Parse the collection from
|
2186
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2025
2187
|
*
|
2026
|
-
* @param {string}
|
2027
|
-
* A fully-qualified path representing
|
2188
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2189
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2028
2190
|
* @returns {string} A string representing the collection.
|
2029
2191
|
*/
|
2030
|
-
|
2031
|
-
return this.pathTemplates.
|
2192
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2193
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2032
2194
|
}
|
2033
2195
|
/**
|
2034
|
-
* Parse the data_store from
|
2196
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2035
2197
|
*
|
2036
|
-
* @param {string}
|
2037
|
-
* A fully-qualified path representing
|
2198
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2199
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2038
2200
|
* @returns {string} A string representing the data_store.
|
2039
2201
|
*/
|
2040
|
-
|
2041
|
-
return this.pathTemplates.
|
2202
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2203
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2042
2204
|
}
|
2043
2205
|
/**
|
2044
|
-
* Parse the session from
|
2206
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2045
2207
|
*
|
2046
|
-
* @param {string}
|
2047
|
-
* A fully-qualified path representing
|
2208
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2209
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2048
2210
|
* @returns {string} A string representing the session.
|
2049
2211
|
*/
|
2050
|
-
|
2051
|
-
return this.pathTemplates.
|
2052
|
-
}
|
2053
|
-
/**
|
2054
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2055
|
-
*
|
2056
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2057
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2058
|
-
* @returns {string} A string representing the answer.
|
2059
|
-
*/
|
2060
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2061
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2212
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2213
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2062
2214
|
}
|
2063
2215
|
/**
|
2064
2216
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2463,154 +2615,154 @@ class DocumentServiceClient {
|
|
2463
2615
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2464
2616
|
}
|
2465
2617
|
/**
|
2466
|
-
* Return a fully-qualified
|
2618
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2467
2619
|
*
|
2468
2620
|
* @param {string} project
|
2469
2621
|
* @param {string} location
|
2470
2622
|
* @param {string} collection
|
2471
2623
|
* @param {string} engine
|
2472
2624
|
* @param {string} session
|
2625
|
+
* @param {string} answer
|
2473
2626
|
* @returns {string} Resource name string.
|
2474
2627
|
*/
|
2475
|
-
|
2476
|
-
return this.pathTemplates.
|
2628
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2629
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2477
2630
|
project: project,
|
2478
2631
|
location: location,
|
2479
2632
|
collection: collection,
|
2480
2633
|
engine: engine,
|
2481
2634
|
session: session,
|
2635
|
+
answer: answer,
|
2482
2636
|
});
|
2483
2637
|
}
|
2484
2638
|
/**
|
2485
|
-
* Parse the project from
|
2639
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2486
2640
|
*
|
2487
|
-
* @param {string}
|
2488
|
-
* A fully-qualified path representing
|
2641
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2642
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2489
2643
|
* @returns {string} A string representing the project.
|
2490
2644
|
*/
|
2491
|
-
|
2492
|
-
return this.pathTemplates.
|
2645
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2646
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2493
2647
|
}
|
2494
2648
|
/**
|
2495
|
-
* Parse the location from
|
2649
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2496
2650
|
*
|
2497
|
-
* @param {string}
|
2498
|
-
* A fully-qualified path representing
|
2651
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2652
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2499
2653
|
* @returns {string} A string representing the location.
|
2500
2654
|
*/
|
2501
|
-
|
2502
|
-
return this.pathTemplates.
|
2655
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2656
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2503
2657
|
}
|
2504
2658
|
/**
|
2505
|
-
* Parse the collection from
|
2659
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2506
2660
|
*
|
2507
|
-
* @param {string}
|
2508
|
-
* A fully-qualified path representing
|
2661
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2662
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2509
2663
|
* @returns {string} A string representing the collection.
|
2510
2664
|
*/
|
2511
|
-
|
2512
|
-
return this.pathTemplates.
|
2665
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2666
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2513
2667
|
}
|
2514
2668
|
/**
|
2515
|
-
* Parse the engine from
|
2669
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2516
2670
|
*
|
2517
|
-
* @param {string}
|
2518
|
-
* A fully-qualified path representing
|
2671
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2672
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2519
2673
|
* @returns {string} A string representing the engine.
|
2520
2674
|
*/
|
2521
|
-
|
2522
|
-
return this.pathTemplates.
|
2675
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2676
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2523
2677
|
}
|
2524
2678
|
/**
|
2525
|
-
* Parse the session from
|
2679
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2526
2680
|
*
|
2527
|
-
* @param {string}
|
2528
|
-
* A fully-qualified path representing
|
2681
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2682
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2529
2683
|
* @returns {string} A string representing the session.
|
2530
2684
|
*/
|
2531
|
-
|
2532
|
-
return this.pathTemplates.
|
2685
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2686
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2533
2687
|
}
|
2534
2688
|
/**
|
2535
|
-
*
|
2689
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2690
|
+
*
|
2691
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2692
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2693
|
+
* @returns {string} A string representing the answer.
|
2694
|
+
*/
|
2695
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2696
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2697
|
+
}
|
2698
|
+
/**
|
2699
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2536
2700
|
*
|
2537
2701
|
* @param {string} project
|
2538
2702
|
* @param {string} location
|
2539
2703
|
* @param {string} collection
|
2540
2704
|
* @param {string} engine
|
2541
2705
|
* @param {string} session
|
2542
|
-
* @param {string} answer
|
2543
2706
|
* @returns {string} Resource name string.
|
2544
2707
|
*/
|
2545
|
-
|
2546
|
-
return this.pathTemplates.
|
2708
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2709
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2547
2710
|
project: project,
|
2548
2711
|
location: location,
|
2549
2712
|
collection: collection,
|
2550
2713
|
engine: engine,
|
2551
2714
|
session: session,
|
2552
|
-
answer: answer,
|
2553
2715
|
});
|
2554
2716
|
}
|
2555
2717
|
/**
|
2556
|
-
* Parse the project from
|
2718
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2557
2719
|
*
|
2558
|
-
* @param {string}
|
2559
|
-
* A fully-qualified path representing
|
2720
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2721
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2560
2722
|
* @returns {string} A string representing the project.
|
2561
2723
|
*/
|
2562
|
-
|
2563
|
-
return this.pathTemplates.
|
2724
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2725
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2564
2726
|
}
|
2565
2727
|
/**
|
2566
|
-
* Parse the location from
|
2728
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2567
2729
|
*
|
2568
|
-
* @param {string}
|
2569
|
-
* A fully-qualified path representing
|
2730
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2731
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2570
2732
|
* @returns {string} A string representing the location.
|
2571
2733
|
*/
|
2572
|
-
|
2573
|
-
return this.pathTemplates.
|
2734
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2735
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2574
2736
|
}
|
2575
2737
|
/**
|
2576
|
-
* Parse the collection from
|
2738
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2577
2739
|
*
|
2578
|
-
* @param {string}
|
2579
|
-
* A fully-qualified path representing
|
2740
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2741
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2580
2742
|
* @returns {string} A string representing the collection.
|
2581
2743
|
*/
|
2582
|
-
|
2583
|
-
return this.pathTemplates.
|
2744
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2745
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2584
2746
|
}
|
2585
2747
|
/**
|
2586
|
-
* Parse the engine from
|
2748
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2587
2749
|
*
|
2588
|
-
* @param {string}
|
2589
|
-
* A fully-qualified path representing
|
2750
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2751
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2590
2752
|
* @returns {string} A string representing the engine.
|
2591
2753
|
*/
|
2592
|
-
|
2593
|
-
return this.pathTemplates.
|
2754
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2755
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2594
2756
|
}
|
2595
2757
|
/**
|
2596
|
-
* Parse the session from
|
2758
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2597
2759
|
*
|
2598
|
-
* @param {string}
|
2599
|
-
* A fully-qualified path representing
|
2760
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2761
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2600
2762
|
* @returns {string} A string representing the session.
|
2601
2763
|
*/
|
2602
|
-
|
2603
|
-
return this.pathTemplates.
|
2604
|
-
}
|
2605
|
-
/**
|
2606
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2607
|
-
*
|
2608
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2609
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2610
|
-
* @returns {string} A string representing the answer.
|
2611
|
-
*/
|
2612
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2613
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2764
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2765
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2614
2766
|
}
|
2615
2767
|
/**
|
2616
2768
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3194,63 +3346,6 @@ class DocumentServiceClient {
|
|
3194
3346
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3195
3347
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3196
3348
|
}
|
3197
|
-
/**
|
3198
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3199
|
-
*
|
3200
|
-
* @param {string} project
|
3201
|
-
* @param {string} location
|
3202
|
-
* @param {string} data_store
|
3203
|
-
* @param {string} session
|
3204
|
-
* @returns {string} Resource name string.
|
3205
|
-
*/
|
3206
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3207
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3208
|
-
project: project,
|
3209
|
-
location: location,
|
3210
|
-
data_store: dataStore,
|
3211
|
-
session: session,
|
3212
|
-
});
|
3213
|
-
}
|
3214
|
-
/**
|
3215
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3216
|
-
*
|
3217
|
-
* @param {string} projectLocationDataStoreSessionName
|
3218
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3219
|
-
* @returns {string} A string representing the project.
|
3220
|
-
*/
|
3221
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3222
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3223
|
-
}
|
3224
|
-
/**
|
3225
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3226
|
-
*
|
3227
|
-
* @param {string} projectLocationDataStoreSessionName
|
3228
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3229
|
-
* @returns {string} A string representing the location.
|
3230
|
-
*/
|
3231
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3232
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3233
|
-
}
|
3234
|
-
/**
|
3235
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3236
|
-
*
|
3237
|
-
* @param {string} projectLocationDataStoreSessionName
|
3238
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3239
|
-
* @returns {string} A string representing the data_store.
|
3240
|
-
*/
|
3241
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3242
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3243
|
-
}
|
3244
|
-
/**
|
3245
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3246
|
-
*
|
3247
|
-
* @param {string} projectLocationDataStoreSessionName
|
3248
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3249
|
-
* @returns {string} A string representing the session.
|
3250
|
-
*/
|
3251
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3252
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3253
|
-
}
|
3254
3349
|
/**
|
3255
3350
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3256
3351
|
*
|
@@ -3320,6 +3415,63 @@ class DocumentServiceClient {
|
|
3320
3415
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3321
3416
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3322
3417
|
}
|
3418
|
+
/**
|
3419
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3420
|
+
*
|
3421
|
+
* @param {string} project
|
3422
|
+
* @param {string} location
|
3423
|
+
* @param {string} data_store
|
3424
|
+
* @param {string} session
|
3425
|
+
* @returns {string} Resource name string.
|
3426
|
+
*/
|
3427
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3428
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3429
|
+
project: project,
|
3430
|
+
location: location,
|
3431
|
+
data_store: dataStore,
|
3432
|
+
session: session,
|
3433
|
+
});
|
3434
|
+
}
|
3435
|
+
/**
|
3436
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3437
|
+
*
|
3438
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3439
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3440
|
+
* @returns {string} A string representing the project.
|
3441
|
+
*/
|
3442
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3443
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3444
|
+
}
|
3445
|
+
/**
|
3446
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3447
|
+
*
|
3448
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3449
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3450
|
+
* @returns {string} A string representing the location.
|
3451
|
+
*/
|
3452
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3453
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3454
|
+
}
|
3455
|
+
/**
|
3456
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3457
|
+
*
|
3458
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3459
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3460
|
+
* @returns {string} A string representing the data_store.
|
3461
|
+
*/
|
3462
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3463
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3464
|
+
}
|
3465
|
+
/**
|
3466
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3467
|
+
*
|
3468
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3469
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3470
|
+
* @returns {string} A string representing the session.
|
3471
|
+
*/
|
3472
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3473
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3474
|
+
}
|
3323
3475
|
/**
|
3324
3476
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3325
3477
|
*
|