@google-cloud/discoveryengine 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/assist_answer.proto +251 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant.proto +44 -0
- package/build/protos/google/cloud/discoveryengine/v1/assistant_service.proto +217 -0
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +15 -3
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1/session.proto +21 -8
- package/build/protos/google/cloud/discoveryengine/v1/session_service.proto +128 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +15 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +30 -9
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1alpha/session.proto +238 -8
- package/build/protos/google/cloud/discoveryengine/v1alpha/session_service.proto +201 -0
- package/build/protos/google/cloud/discoveryengine/v1beta/conversational_search_service.proto +26 -5
- package/build/protos/google/cloud/discoveryengine/v1beta/search_service.proto +8 -14
- package/build/protos/google/cloud/discoveryengine/v1beta/session.proto +40 -8
- package/build/protos/google/cloud/discoveryengine/v1beta/session_service.proto +128 -0
- package/build/protos/protos.d.ts +15057 -10636
- package/build/protos/protos.js +45523 -34174
- package/build/protos/protos.json +4835 -3203
- package/build/src/index.d.ts +7 -1
- package/build/src/index.js +6 -2
- package/build/src/v1/assistant_service_client.d.ts +2058 -0
- package/build/src/v1/assistant_service_client.js +2957 -0
- package/build/src/v1/assistant_service_client_config.json +43 -0
- package/build/src/v1/assistant_service_proto_list.json +48 -0
- package/build/src/v1/cmek_config_service_client.d.ts +255 -144
- package/build/src/v1/cmek_config_service_client.js +348 -196
- package/build/src/v1/cmek_config_service_proto_list.json +4 -0
- package/build/src/v1/completion_service_client.d.ts +255 -144
- package/build/src/v1/completion_service_client.js +348 -196
- package/build/src/v1/completion_service_proto_list.json +4 -0
- package/build/src/v1/control_service_client.d.ts +255 -144
- package/build/src/v1/control_service_client.js +348 -196
- package/build/src/v1/control_service_proto_list.json +4 -0
- package/build/src/v1/conversational_search_service_client.d.ts +302 -155
- package/build/src/v1/conversational_search_service_client.js +380 -204
- package/build/src/v1/conversational_search_service_proto_list.json +4 -0
- package/build/src/v1/data_store_service_client.d.ts +255 -144
- package/build/src/v1/data_store_service_client.js +348 -196
- package/build/src/v1/data_store_service_proto_list.json +4 -0
- package/build/src/v1/document_service_client.d.ts +255 -144
- package/build/src/v1/document_service_client.js +348 -196
- package/build/src/v1/document_service_proto_list.json +4 -0
- package/build/src/v1/engine_service_client.d.ts +255 -144
- package/build/src/v1/engine_service_client.js +348 -196
- package/build/src/v1/engine_service_proto_list.json +4 -0
- package/build/src/v1/gapic_metadata.json +86 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +255 -144
- package/build/src/v1/grounded_generation_service_client.js +348 -196
- package/build/src/v1/grounded_generation_service_proto_list.json +4 -0
- package/build/src/v1/identity_mapping_store_service_client.d.ts +255 -144
- package/build/src/v1/identity_mapping_store_service_client.js +348 -196
- package/build/src/v1/identity_mapping_store_service_proto_list.json +4 -0
- package/build/src/v1/index.d.ts +2 -0
- package/build/src/v1/index.js +5 -1
- package/build/src/v1/project_service_client.d.ts +255 -144
- package/build/src/v1/project_service_client.js +348 -196
- package/build/src/v1/project_service_proto_list.json +4 -0
- package/build/src/v1/rank_service_client.d.ts +255 -144
- package/build/src/v1/rank_service_client.js +348 -196
- package/build/src/v1/rank_service_proto_list.json +4 -0
- package/build/src/v1/recommendation_service_client.d.ts +255 -144
- package/build/src/v1/recommendation_service_client.js +348 -196
- package/build/src/v1/recommendation_service_proto_list.json +4 -0
- package/build/src/v1/schema_service_client.d.ts +255 -144
- package/build/src/v1/schema_service_client.js +348 -196
- package/build/src/v1/schema_service_proto_list.json +4 -0
- package/build/src/v1/search_service_client.d.ts +303 -228
- package/build/src/v1/search_service_client.js +380 -252
- package/build/src/v1/search_service_proto_list.json +4 -0
- package/build/src/v1/search_tuning_service_client.d.ts +255 -144
- package/build/src/v1/search_tuning_service_client.js +348 -196
- package/build/src/v1/search_tuning_service_proto_list.json +4 -0
- package/build/src/v1/serving_config_service_client.d.ts +255 -144
- package/build/src/v1/serving_config_service_client.js +348 -196
- package/build/src/v1/serving_config_service_proto_list.json +4 -0
- package/build/src/v1/session_service_client.d.ts +2326 -0
- package/build/src/v1/session_service_client.js +3218 -0
- package/build/src/v1/session_service_client_config.json +63 -0
- package/build/src/v1/session_service_proto_list.json +48 -0
- package/build/src/v1/site_search_engine_service_client.d.ts +255 -144
- package/build/src/v1/site_search_engine_service_client.js +348 -196
- package/build/src/v1/site_search_engine_service_proto_list.json +4 -0
- package/build/src/v1/user_event_service_client.d.ts +255 -144
- package/build/src/v1/user_event_service_client.js +348 -196
- package/build/src/v1/user_event_service_proto_list.json +4 -0
- package/build/src/v1/user_license_service_client.d.ts +255 -144
- package/build/src/v1/user_license_service_client.js +348 -196
- package/build/src/v1/user_license_service_proto_list.json +4 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/acl_config_service_client.js +196 -196
- package/build/src/v1alpha/acl_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/chunk_service_client.d.ts +144 -144
- package/build/src/v1alpha/chunk_service_client.js +196 -196
- package/build/src/v1alpha/chunk_service_proto_list.json +1 -0
- package/build/src/v1alpha/completion_service_client.d.ts +144 -144
- package/build/src/v1alpha/completion_service_client.js +196 -196
- package/build/src/v1alpha/completion_service_proto_list.json +1 -0
- package/build/src/v1alpha/control_service_client.d.ts +144 -144
- package/build/src/v1alpha/control_service_client.js +196 -196
- package/build/src/v1alpha/control_service_proto_list.json +1 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +221 -167
- package/build/src/v1alpha/conversational_search_service_client.js +244 -210
- package/build/src/v1alpha/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +144 -144
- package/build/src/v1alpha/data_store_service_client.js +196 -196
- package/build/src/v1alpha/data_store_service_proto_list.json +1 -0
- package/build/src/v1alpha/document_service_client.d.ts +144 -144
- package/build/src/v1alpha/document_service_client.js +196 -196
- package/build/src/v1alpha/document_service_proto_list.json +1 -0
- package/build/src/v1alpha/engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/engine_service_client.js +196 -196
- package/build/src/v1alpha/engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +144 -144
- package/build/src/v1alpha/estimate_billing_service_client.js +196 -196
- package/build/src/v1alpha/estimate_billing_service_proto_list.json +1 -0
- package/build/src/v1alpha/evaluation_service_client.d.ts +144 -144
- package/build/src/v1alpha/evaluation_service_client.js +196 -196
- package/build/src/v1alpha/evaluation_service_proto_list.json +1 -0
- package/build/src/v1alpha/gapic_metadata.json +82 -0
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1alpha/grounded_generation_service_client.js +196 -196
- package/build/src/v1alpha/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/project_service_client.d.ts +144 -144
- package/build/src/v1alpha/project_service_client.js +196 -196
- package/build/src/v1alpha/project_service_proto_list.json +1 -0
- package/build/src/v1alpha/rank_service_client.d.ts +144 -144
- package/build/src/v1alpha/rank_service_client.js +196 -196
- package/build/src/v1alpha/rank_service_proto_list.json +1 -0
- package/build/src/v1alpha/recommendation_service_client.d.ts +144 -144
- package/build/src/v1alpha/recommendation_service_client.js +196 -196
- package/build/src/v1alpha/recommendation_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_service_proto_list.json +1 -0
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1alpha/sample_query_set_service_client.js +196 -196
- package/build/src/v1alpha/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1alpha/schema_service_client.d.ts +144 -144
- package/build/src/v1alpha/schema_service_client.js +196 -196
- package/build/src/v1alpha/schema_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_service_client.d.ts +168 -186
- package/build/src/v1alpha/search_service_client.js +212 -224
- package/build/src/v1alpha/search_service_proto_list.json +1 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1alpha/search_tuning_service_client.js +196 -196
- package/build/src/v1alpha/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1alpha/serving_config_service_client.d.ts +144 -144
- package/build/src/v1alpha/serving_config_service_client.js +196 -196
- package/build/src/v1alpha/serving_config_service_proto_list.json +1 -0
- package/build/src/v1alpha/session_service_client.d.ts +2331 -0
- package/build/src/v1alpha/session_service_client.js +3161 -0
- package/build/src/v1alpha/session_service_client_config.json +68 -0
- package/build/src/v1alpha/session_service_proto_list.json +49 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1alpha/site_search_engine_service_client.js +196 -196
- package/build/src/v1alpha/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +144 -144
- package/build/src/v1alpha/user_event_service_client.js +196 -196
- package/build/src/v1alpha/user_event_service_proto_list.json +1 -0
- package/build/src/v1beta/completion_service_client.d.ts +144 -144
- package/build/src/v1beta/completion_service_client.js +196 -196
- package/build/src/v1beta/completion_service_proto_list.json +1 -0
- package/build/src/v1beta/control_service_client.d.ts +144 -144
- package/build/src/v1beta/control_service_client.js +196 -196
- package/build/src/v1beta/control_service_proto_list.json +1 -0
- package/build/src/v1beta/conversational_search_service_client.d.ts +215 -161
- package/build/src/v1beta/conversational_search_service_client.js +242 -208
- package/build/src/v1beta/conversational_search_service_proto_list.json +1 -0
- package/build/src/v1beta/data_store_service_client.d.ts +144 -144
- package/build/src/v1beta/data_store_service_client.js +196 -196
- package/build/src/v1beta/data_store_service_proto_list.json +1 -0
- package/build/src/v1beta/document_service_client.d.ts +144 -144
- package/build/src/v1beta/document_service_client.js +196 -196
- package/build/src/v1beta/document_service_proto_list.json +1 -0
- package/build/src/v1beta/engine_service_client.d.ts +144 -144
- package/build/src/v1beta/engine_service_client.js +196 -196
- package/build/src/v1beta/engine_service_proto_list.json +1 -0
- package/build/src/v1beta/evaluation_service_client.d.ts +144 -144
- package/build/src/v1beta/evaluation_service_client.js +196 -196
- package/build/src/v1beta/evaluation_service_proto_list.json +1 -0
- package/build/src/v1beta/gapic_metadata.json +68 -0
- package/build/src/v1beta/grounded_generation_service_client.d.ts +144 -144
- package/build/src/v1beta/grounded_generation_service_client.js +196 -196
- package/build/src/v1beta/grounded_generation_service_proto_list.json +1 -0
- package/build/src/v1beta/index.d.ts +1 -0
- package/build/src/v1beta/index.js +3 -1
- package/build/src/v1beta/project_service_client.d.ts +144 -144
- package/build/src/v1beta/project_service_client.js +196 -196
- package/build/src/v1beta/project_service_proto_list.json +1 -0
- package/build/src/v1beta/rank_service_client.d.ts +144 -144
- package/build/src/v1beta/rank_service_client.js +196 -196
- package/build/src/v1beta/rank_service_proto_list.json +1 -0
- package/build/src/v1beta/recommendation_service_client.d.ts +144 -144
- package/build/src/v1beta/recommendation_service_client.js +196 -196
- package/build/src/v1beta/recommendation_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_service_client.js +196 -196
- package/build/src/v1beta/sample_query_service_proto_list.json +1 -0
- package/build/src/v1beta/sample_query_set_service_client.d.ts +144 -144
- package/build/src/v1beta/sample_query_set_service_client.js +196 -196
- package/build/src/v1beta/sample_query_set_service_proto_list.json +1 -0
- package/build/src/v1beta/schema_service_client.d.ts +144 -144
- package/build/src/v1beta/schema_service_client.js +196 -196
- package/build/src/v1beta/schema_service_proto_list.json +1 -0
- package/build/src/v1beta/search_service_client.d.ts +192 -228
- package/build/src/v1beta/search_service_client.js +228 -252
- package/build/src/v1beta/search_service_proto_list.json +1 -0
- package/build/src/v1beta/search_tuning_service_client.d.ts +144 -144
- package/build/src/v1beta/search_tuning_service_client.js +196 -196
- package/build/src/v1beta/search_tuning_service_proto_list.json +1 -0
- package/build/src/v1beta/serving_config_service_client.d.ts +144 -144
- package/build/src/v1beta/serving_config_service_client.js +196 -196
- package/build/src/v1beta/serving_config_service_proto_list.json +1 -0
- package/build/src/v1beta/session_service_client.d.ts +2266 -0
- package/build/src/v1beta/session_service_client.js +3136 -0
- package/build/src/v1beta/session_service_client_config.json +63 -0
- package/build/src/v1beta/session_service_proto_list.json +45 -0
- package/build/src/v1beta/site_search_engine_service_client.d.ts +144 -144
- package/build/src/v1beta/site_search_engine_service_client.js +196 -196
- package/build/src/v1beta/site_search_engine_service_proto_list.json +1 -0
- package/build/src/v1beta/user_event_service_client.d.ts +144 -144
- package/build/src/v1beta/user_event_service_client.js +196 -196
- package/build/src/v1beta/user_event_service_proto_list.json +1 -0
- package/package.json +1 -1
@@ -163,6 +163,8 @@ class SchemaServiceClient {
|
|
163
163
|
// identifiers to uniquely identify resources within the API.
|
164
164
|
// Create useful helper objects for these.
|
165
165
|
this.pathTemplates = {
|
166
|
+
assistAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/assistAnswers/{assist_answer}'),
|
167
|
+
assistantPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/assistants/{assistant}'),
|
166
168
|
enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
|
167
169
|
identityMappingStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}'),
|
168
170
|
projectPathTemplate: new this._gaxModule.PathTemplate('projects/{project}'),
|
@@ -177,16 +179,16 @@ class SchemaServiceClient {
|
|
177
179
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
178
180
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
179
181
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
180
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
181
182
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
183
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
184
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
185
187
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
186
188
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
187
189
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
188
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
189
190
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
191
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
192
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
191
193
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
192
194
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -196,8 +198,8 @@ class SchemaServiceClient {
|
|
196
198
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
197
199
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
198
200
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
199
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
200
201
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
202
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
203
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
202
204
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -895,6 +897,156 @@ class SchemaServiceClient {
|
|
895
897
|
// --------------------
|
896
898
|
// -- Path templates --
|
897
899
|
// --------------------
|
900
|
+
/**
|
901
|
+
* Return a fully-qualified assistAnswer resource name string.
|
902
|
+
*
|
903
|
+
* @param {string} project
|
904
|
+
* @param {string} location
|
905
|
+
* @param {string} collection
|
906
|
+
* @param {string} engine
|
907
|
+
* @param {string} session
|
908
|
+
* @param {string} assist_answer
|
909
|
+
* @returns {string} Resource name string.
|
910
|
+
*/
|
911
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
912
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
913
|
+
project: project,
|
914
|
+
location: location,
|
915
|
+
collection: collection,
|
916
|
+
engine: engine,
|
917
|
+
session: session,
|
918
|
+
assist_answer: assistAnswer,
|
919
|
+
});
|
920
|
+
}
|
921
|
+
/**
|
922
|
+
* Parse the project from AssistAnswer resource.
|
923
|
+
*
|
924
|
+
* @param {string} assistAnswerName
|
925
|
+
* A fully-qualified path representing AssistAnswer resource.
|
926
|
+
* @returns {string} A string representing the project.
|
927
|
+
*/
|
928
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
929
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
930
|
+
}
|
931
|
+
/**
|
932
|
+
* Parse the location from AssistAnswer resource.
|
933
|
+
*
|
934
|
+
* @param {string} assistAnswerName
|
935
|
+
* A fully-qualified path representing AssistAnswer resource.
|
936
|
+
* @returns {string} A string representing the location.
|
937
|
+
*/
|
938
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
939
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
940
|
+
}
|
941
|
+
/**
|
942
|
+
* Parse the collection from AssistAnswer resource.
|
943
|
+
*
|
944
|
+
* @param {string} assistAnswerName
|
945
|
+
* A fully-qualified path representing AssistAnswer resource.
|
946
|
+
* @returns {string} A string representing the collection.
|
947
|
+
*/
|
948
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
949
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
950
|
+
}
|
951
|
+
/**
|
952
|
+
* Parse the engine from AssistAnswer resource.
|
953
|
+
*
|
954
|
+
* @param {string} assistAnswerName
|
955
|
+
* A fully-qualified path representing AssistAnswer resource.
|
956
|
+
* @returns {string} A string representing the engine.
|
957
|
+
*/
|
958
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
959
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
960
|
+
}
|
961
|
+
/**
|
962
|
+
* Parse the session from AssistAnswer resource.
|
963
|
+
*
|
964
|
+
* @param {string} assistAnswerName
|
965
|
+
* A fully-qualified path representing AssistAnswer resource.
|
966
|
+
* @returns {string} A string representing the session.
|
967
|
+
*/
|
968
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
969
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
970
|
+
}
|
971
|
+
/**
|
972
|
+
* Parse the assist_answer from AssistAnswer resource.
|
973
|
+
*
|
974
|
+
* @param {string} assistAnswerName
|
975
|
+
* A fully-qualified path representing AssistAnswer resource.
|
976
|
+
* @returns {string} A string representing the assist_answer.
|
977
|
+
*/
|
978
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
979
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
980
|
+
}
|
981
|
+
/**
|
982
|
+
* Return a fully-qualified assistant resource name string.
|
983
|
+
*
|
984
|
+
* @param {string} project
|
985
|
+
* @param {string} location
|
986
|
+
* @param {string} collection
|
987
|
+
* @param {string} engine
|
988
|
+
* @param {string} assistant
|
989
|
+
* @returns {string} Resource name string.
|
990
|
+
*/
|
991
|
+
assistantPath(project, location, collection, engine, assistant) {
|
992
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
993
|
+
project: project,
|
994
|
+
location: location,
|
995
|
+
collection: collection,
|
996
|
+
engine: engine,
|
997
|
+
assistant: assistant,
|
998
|
+
});
|
999
|
+
}
|
1000
|
+
/**
|
1001
|
+
* Parse the project from Assistant resource.
|
1002
|
+
*
|
1003
|
+
* @param {string} assistantName
|
1004
|
+
* A fully-qualified path representing Assistant resource.
|
1005
|
+
* @returns {string} A string representing the project.
|
1006
|
+
*/
|
1007
|
+
matchProjectFromAssistantName(assistantName) {
|
1008
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1009
|
+
}
|
1010
|
+
/**
|
1011
|
+
* Parse the location from Assistant resource.
|
1012
|
+
*
|
1013
|
+
* @param {string} assistantName
|
1014
|
+
* A fully-qualified path representing Assistant resource.
|
1015
|
+
* @returns {string} A string representing the location.
|
1016
|
+
*/
|
1017
|
+
matchLocationFromAssistantName(assistantName) {
|
1018
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1019
|
+
}
|
1020
|
+
/**
|
1021
|
+
* Parse the collection from Assistant resource.
|
1022
|
+
*
|
1023
|
+
* @param {string} assistantName
|
1024
|
+
* A fully-qualified path representing Assistant resource.
|
1025
|
+
* @returns {string} A string representing the collection.
|
1026
|
+
*/
|
1027
|
+
matchCollectionFromAssistantName(assistantName) {
|
1028
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1029
|
+
}
|
1030
|
+
/**
|
1031
|
+
* Parse the engine from Assistant resource.
|
1032
|
+
*
|
1033
|
+
* @param {string} assistantName
|
1034
|
+
* A fully-qualified path representing Assistant resource.
|
1035
|
+
* @returns {string} A string representing the engine.
|
1036
|
+
*/
|
1037
|
+
matchEngineFromAssistantName(assistantName) {
|
1038
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1039
|
+
}
|
1040
|
+
/**
|
1041
|
+
* Parse the assistant from Assistant resource.
|
1042
|
+
*
|
1043
|
+
* @param {string} assistantName
|
1044
|
+
* A fully-qualified path representing Assistant resource.
|
1045
|
+
* @returns {string} A string representing the assistant.
|
1046
|
+
*/
|
1047
|
+
matchAssistantFromAssistantName(assistantName) {
|
1048
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1049
|
+
}
|
898
1050
|
/**
|
899
1051
|
* Return a fully-qualified engine resource name string.
|
900
1052
|
*
|
@@ -1730,154 +1882,154 @@ class SchemaServiceClient {
|
|
1730
1882
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1731
1883
|
}
|
1732
1884
|
/**
|
1733
|
-
* Return a fully-qualified
|
1885
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1734
1886
|
*
|
1735
1887
|
* @param {string} project
|
1736
1888
|
* @param {string} location
|
1737
1889
|
* @param {string} collection
|
1738
1890
|
* @param {string} data_store
|
1739
1891
|
* @param {string} session
|
1892
|
+
* @param {string} answer
|
1740
1893
|
* @returns {string} Resource name string.
|
1741
1894
|
*/
|
1742
|
-
|
1743
|
-
return this.pathTemplates.
|
1895
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1896
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1744
1897
|
project: project,
|
1745
1898
|
location: location,
|
1746
1899
|
collection: collection,
|
1747
1900
|
data_store: dataStore,
|
1748
1901
|
session: session,
|
1902
|
+
answer: answer,
|
1749
1903
|
});
|
1750
1904
|
}
|
1751
1905
|
/**
|
1752
|
-
* Parse the project from
|
1906
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1753
1907
|
*
|
1754
|
-
* @param {string}
|
1755
|
-
* A fully-qualified path representing
|
1908
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1909
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1756
1910
|
* @returns {string} A string representing the project.
|
1757
1911
|
*/
|
1758
|
-
|
1759
|
-
return this.pathTemplates.
|
1912
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1913
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1760
1914
|
}
|
1761
1915
|
/**
|
1762
|
-
* Parse the location from
|
1916
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1763
1917
|
*
|
1764
|
-
* @param {string}
|
1765
|
-
* A fully-qualified path representing
|
1918
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1919
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1766
1920
|
* @returns {string} A string representing the location.
|
1767
1921
|
*/
|
1768
|
-
|
1769
|
-
return this.pathTemplates.
|
1922
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1923
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1770
1924
|
}
|
1771
1925
|
/**
|
1772
|
-
* Parse the collection from
|
1926
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1773
1927
|
*
|
1774
|
-
* @param {string}
|
1775
|
-
* A fully-qualified path representing
|
1928
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1929
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1776
1930
|
* @returns {string} A string representing the collection.
|
1777
1931
|
*/
|
1778
|
-
|
1779
|
-
return this.pathTemplates.
|
1932
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1933
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1780
1934
|
}
|
1781
1935
|
/**
|
1782
|
-
* Parse the data_store from
|
1936
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1783
1937
|
*
|
1784
|
-
* @param {string}
|
1785
|
-
* A fully-qualified path representing
|
1938
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1939
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1786
1940
|
* @returns {string} A string representing the data_store.
|
1787
1941
|
*/
|
1788
|
-
|
1789
|
-
return this.pathTemplates.
|
1942
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1943
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1790
1944
|
}
|
1791
1945
|
/**
|
1792
|
-
* Parse the session from
|
1946
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1793
1947
|
*
|
1794
|
-
* @param {string}
|
1795
|
-
* A fully-qualified path representing
|
1948
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1949
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1796
1950
|
* @returns {string} A string representing the session.
|
1797
1951
|
*/
|
1798
|
-
|
1799
|
-
return this.pathTemplates.
|
1952
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1953
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1800
1954
|
}
|
1801
1955
|
/**
|
1802
|
-
*
|
1956
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1957
|
+
*
|
1958
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1959
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1960
|
+
* @returns {string} A string representing the answer.
|
1961
|
+
*/
|
1962
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1963
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1964
|
+
}
|
1965
|
+
/**
|
1966
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1803
1967
|
*
|
1804
1968
|
* @param {string} project
|
1805
1969
|
* @param {string} location
|
1806
1970
|
* @param {string} collection
|
1807
1971
|
* @param {string} data_store
|
1808
1972
|
* @param {string} session
|
1809
|
-
* @param {string} answer
|
1810
1973
|
* @returns {string} Resource name string.
|
1811
1974
|
*/
|
1812
|
-
|
1813
|
-
return this.pathTemplates.
|
1975
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1976
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1814
1977
|
project: project,
|
1815
1978
|
location: location,
|
1816
1979
|
collection: collection,
|
1817
1980
|
data_store: dataStore,
|
1818
1981
|
session: session,
|
1819
|
-
answer: answer,
|
1820
1982
|
});
|
1821
1983
|
}
|
1822
1984
|
/**
|
1823
|
-
* Parse the project from
|
1985
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1824
1986
|
*
|
1825
|
-
* @param {string}
|
1826
|
-
* A fully-qualified path representing
|
1987
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1988
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1827
1989
|
* @returns {string} A string representing the project.
|
1828
1990
|
*/
|
1829
|
-
|
1830
|
-
return this.pathTemplates.
|
1991
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1992
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1831
1993
|
}
|
1832
1994
|
/**
|
1833
|
-
* Parse the location from
|
1995
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1834
1996
|
*
|
1835
|
-
* @param {string}
|
1836
|
-
* A fully-qualified path representing
|
1997
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1998
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1837
1999
|
* @returns {string} A string representing the location.
|
1838
2000
|
*/
|
1839
|
-
|
1840
|
-
return this.pathTemplates.
|
2001
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2002
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1841
2003
|
}
|
1842
2004
|
/**
|
1843
|
-
* Parse the collection from
|
2005
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1844
2006
|
*
|
1845
|
-
* @param {string}
|
1846
|
-
* A fully-qualified path representing
|
2007
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2008
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1847
2009
|
* @returns {string} A string representing the collection.
|
1848
2010
|
*/
|
1849
|
-
|
1850
|
-
return this.pathTemplates.
|
2011
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2012
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1851
2013
|
}
|
1852
2014
|
/**
|
1853
|
-
* Parse the data_store from
|
2015
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1854
2016
|
*
|
1855
|
-
* @param {string}
|
1856
|
-
* A fully-qualified path representing
|
2017
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2018
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1857
2019
|
* @returns {string} A string representing the data_store.
|
1858
2020
|
*/
|
1859
|
-
|
1860
|
-
return this.pathTemplates.
|
2021
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2022
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1861
2023
|
}
|
1862
2024
|
/**
|
1863
|
-
* Parse the session from
|
2025
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1864
2026
|
*
|
1865
|
-
* @param {string}
|
1866
|
-
* A fully-qualified path representing
|
2027
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2028
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1867
2029
|
* @returns {string} A string representing the session.
|
1868
2030
|
*/
|
1869
|
-
|
1870
|
-
return this.pathTemplates.
|
1871
|
-
}
|
1872
|
-
/**
|
1873
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1874
|
-
*
|
1875
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1876
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1877
|
-
* @returns {string} A string representing the answer.
|
1878
|
-
*/
|
1879
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1880
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2031
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2032
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1881
2033
|
}
|
1882
2034
|
/**
|
1883
2035
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2282,154 +2434,154 @@ class SchemaServiceClient {
|
|
2282
2434
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2283
2435
|
}
|
2284
2436
|
/**
|
2285
|
-
* Return a fully-qualified
|
2437
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2286
2438
|
*
|
2287
2439
|
* @param {string} project
|
2288
2440
|
* @param {string} location
|
2289
2441
|
* @param {string} collection
|
2290
2442
|
* @param {string} engine
|
2291
2443
|
* @param {string} session
|
2444
|
+
* @param {string} answer
|
2292
2445
|
* @returns {string} Resource name string.
|
2293
2446
|
*/
|
2294
|
-
|
2295
|
-
return this.pathTemplates.
|
2447
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2448
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2296
2449
|
project: project,
|
2297
2450
|
location: location,
|
2298
2451
|
collection: collection,
|
2299
2452
|
engine: engine,
|
2300
2453
|
session: session,
|
2454
|
+
answer: answer,
|
2301
2455
|
});
|
2302
2456
|
}
|
2303
2457
|
/**
|
2304
|
-
* Parse the project from
|
2458
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2305
2459
|
*
|
2306
|
-
* @param {string}
|
2307
|
-
* A fully-qualified path representing
|
2460
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2461
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2308
2462
|
* @returns {string} A string representing the project.
|
2309
2463
|
*/
|
2310
|
-
|
2311
|
-
return this.pathTemplates.
|
2464
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2465
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2312
2466
|
}
|
2313
2467
|
/**
|
2314
|
-
* Parse the location from
|
2468
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2315
2469
|
*
|
2316
|
-
* @param {string}
|
2317
|
-
* A fully-qualified path representing
|
2470
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2471
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2318
2472
|
* @returns {string} A string representing the location.
|
2319
2473
|
*/
|
2320
|
-
|
2321
|
-
return this.pathTemplates.
|
2474
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2475
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2322
2476
|
}
|
2323
2477
|
/**
|
2324
|
-
* Parse the collection from
|
2478
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2325
2479
|
*
|
2326
|
-
* @param {string}
|
2327
|
-
* A fully-qualified path representing
|
2480
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2481
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2328
2482
|
* @returns {string} A string representing the collection.
|
2329
2483
|
*/
|
2330
|
-
|
2331
|
-
return this.pathTemplates.
|
2484
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2485
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2332
2486
|
}
|
2333
2487
|
/**
|
2334
|
-
* Parse the engine from
|
2488
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2335
2489
|
*
|
2336
|
-
* @param {string}
|
2337
|
-
* A fully-qualified path representing
|
2490
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2491
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2338
2492
|
* @returns {string} A string representing the engine.
|
2339
2493
|
*/
|
2340
|
-
|
2341
|
-
return this.pathTemplates.
|
2494
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2495
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2342
2496
|
}
|
2343
2497
|
/**
|
2344
|
-
* Parse the session from
|
2498
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2345
2499
|
*
|
2346
|
-
* @param {string}
|
2347
|
-
* A fully-qualified path representing
|
2500
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2501
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2348
2502
|
* @returns {string} A string representing the session.
|
2349
2503
|
*/
|
2350
|
-
|
2351
|
-
return this.pathTemplates.
|
2504
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2505
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2352
2506
|
}
|
2353
2507
|
/**
|
2354
|
-
*
|
2508
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2509
|
+
*
|
2510
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2511
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2512
|
+
* @returns {string} A string representing the answer.
|
2513
|
+
*/
|
2514
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2515
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2516
|
+
}
|
2517
|
+
/**
|
2518
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2355
2519
|
*
|
2356
2520
|
* @param {string} project
|
2357
2521
|
* @param {string} location
|
2358
2522
|
* @param {string} collection
|
2359
2523
|
* @param {string} engine
|
2360
2524
|
* @param {string} session
|
2361
|
-
* @param {string} answer
|
2362
2525
|
* @returns {string} Resource name string.
|
2363
2526
|
*/
|
2364
|
-
|
2365
|
-
return this.pathTemplates.
|
2527
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2528
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2366
2529
|
project: project,
|
2367
2530
|
location: location,
|
2368
2531
|
collection: collection,
|
2369
2532
|
engine: engine,
|
2370
2533
|
session: session,
|
2371
|
-
answer: answer,
|
2372
2534
|
});
|
2373
2535
|
}
|
2374
2536
|
/**
|
2375
|
-
* Parse the project from
|
2537
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2376
2538
|
*
|
2377
|
-
* @param {string}
|
2378
|
-
* A fully-qualified path representing
|
2539
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2540
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2379
2541
|
* @returns {string} A string representing the project.
|
2380
2542
|
*/
|
2381
|
-
|
2382
|
-
return this.pathTemplates.
|
2543
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2544
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2383
2545
|
}
|
2384
2546
|
/**
|
2385
|
-
* Parse the location from
|
2547
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2386
2548
|
*
|
2387
|
-
* @param {string}
|
2388
|
-
* A fully-qualified path representing
|
2549
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2550
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2389
2551
|
* @returns {string} A string representing the location.
|
2390
2552
|
*/
|
2391
|
-
|
2392
|
-
return this.pathTemplates.
|
2553
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2554
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2393
2555
|
}
|
2394
2556
|
/**
|
2395
|
-
* Parse the collection from
|
2557
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2396
2558
|
*
|
2397
|
-
* @param {string}
|
2398
|
-
* A fully-qualified path representing
|
2559
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2560
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2399
2561
|
* @returns {string} A string representing the collection.
|
2400
2562
|
*/
|
2401
|
-
|
2402
|
-
return this.pathTemplates.
|
2563
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2564
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2403
2565
|
}
|
2404
2566
|
/**
|
2405
|
-
* Parse the engine from
|
2567
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2406
2568
|
*
|
2407
|
-
* @param {string}
|
2408
|
-
* A fully-qualified path representing
|
2569
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2570
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2409
2571
|
* @returns {string} A string representing the engine.
|
2410
2572
|
*/
|
2411
|
-
|
2412
|
-
return this.pathTemplates.
|
2573
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2574
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2413
2575
|
}
|
2414
2576
|
/**
|
2415
|
-
* Parse the session from
|
2577
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2416
2578
|
*
|
2417
|
-
* @param {string}
|
2418
|
-
* A fully-qualified path representing
|
2579
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2580
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2419
2581
|
* @returns {string} A string representing the session.
|
2420
2582
|
*/
|
2421
|
-
|
2422
|
-
return this.pathTemplates.
|
2423
|
-
}
|
2424
|
-
/**
|
2425
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2426
|
-
*
|
2427
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2428
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2429
|
-
* @returns {string} A string representing the answer.
|
2430
|
-
*/
|
2431
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2432
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2583
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2584
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2433
2585
|
}
|
2434
2586
|
/**
|
2435
2587
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2956,63 +3108,6 @@ class SchemaServiceClient {
|
|
2956
3108
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2957
3109
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2958
3110
|
}
|
2959
|
-
/**
|
2960
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2961
|
-
*
|
2962
|
-
* @param {string} project
|
2963
|
-
* @param {string} location
|
2964
|
-
* @param {string} data_store
|
2965
|
-
* @param {string} session
|
2966
|
-
* @returns {string} Resource name string.
|
2967
|
-
*/
|
2968
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2969
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2970
|
-
project: project,
|
2971
|
-
location: location,
|
2972
|
-
data_store: dataStore,
|
2973
|
-
session: session,
|
2974
|
-
});
|
2975
|
-
}
|
2976
|
-
/**
|
2977
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2978
|
-
*
|
2979
|
-
* @param {string} projectLocationDataStoreSessionName
|
2980
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2981
|
-
* @returns {string} A string representing the project.
|
2982
|
-
*/
|
2983
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2984
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2985
|
-
}
|
2986
|
-
/**
|
2987
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2988
|
-
*
|
2989
|
-
* @param {string} projectLocationDataStoreSessionName
|
2990
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2991
|
-
* @returns {string} A string representing the location.
|
2992
|
-
*/
|
2993
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2994
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2995
|
-
}
|
2996
|
-
/**
|
2997
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2998
|
-
*
|
2999
|
-
* @param {string} projectLocationDataStoreSessionName
|
3000
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3001
|
-
* @returns {string} A string representing the data_store.
|
3002
|
-
*/
|
3003
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3004
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3005
|
-
}
|
3006
|
-
/**
|
3007
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3008
|
-
*
|
3009
|
-
* @param {string} projectLocationDataStoreSessionName
|
3010
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3011
|
-
* @returns {string} A string representing the session.
|
3012
|
-
*/
|
3013
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3014
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3015
|
-
}
|
3016
3111
|
/**
|
3017
3112
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3018
3113
|
*
|
@@ -3082,6 +3177,63 @@ class SchemaServiceClient {
|
|
3082
3177
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3083
3178
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3084
3179
|
}
|
3180
|
+
/**
|
3181
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3182
|
+
*
|
3183
|
+
* @param {string} project
|
3184
|
+
* @param {string} location
|
3185
|
+
* @param {string} data_store
|
3186
|
+
* @param {string} session
|
3187
|
+
* @returns {string} Resource name string.
|
3188
|
+
*/
|
3189
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3190
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3191
|
+
project: project,
|
3192
|
+
location: location,
|
3193
|
+
data_store: dataStore,
|
3194
|
+
session: session,
|
3195
|
+
});
|
3196
|
+
}
|
3197
|
+
/**
|
3198
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3199
|
+
*
|
3200
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3201
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3202
|
+
* @returns {string} A string representing the project.
|
3203
|
+
*/
|
3204
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3205
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3206
|
+
}
|
3207
|
+
/**
|
3208
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3209
|
+
*
|
3210
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3211
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3212
|
+
* @returns {string} A string representing the location.
|
3213
|
+
*/
|
3214
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3215
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3216
|
+
}
|
3217
|
+
/**
|
3218
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3219
|
+
*
|
3220
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3221
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3222
|
+
* @returns {string} A string representing the data_store.
|
3223
|
+
*/
|
3224
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3225
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3226
|
+
}
|
3227
|
+
/**
|
3228
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3229
|
+
*
|
3230
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3231
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3232
|
+
* @returns {string} A string representing the session.
|
3233
|
+
*/
|
3234
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3235
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3236
|
+
}
|
3085
3237
|
/**
|
3086
3238
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3087
3239
|
*
|