@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 ProjectServiceClient {
|
|
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}'),
|
@@ -178,16 +180,16 @@ class ProjectServiceClient {
|
|
178
180
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
179
181
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
180
182
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
181
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
182
183
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
184
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
183
185
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
184
186
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
185
187
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
186
188
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
187
189
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
188
190
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
189
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
190
191
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
192
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
191
193
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
192
194
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
193
195
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -197,8 +199,8 @@ class ProjectServiceClient {
|
|
197
199
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
198
200
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
199
201
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
200
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
201
202
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
203
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
202
204
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
203
205
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
204
206
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -621,6 +623,156 @@ class ProjectServiceClient {
|
|
621
623
|
// --------------------
|
622
624
|
// -- Path templates --
|
623
625
|
// --------------------
|
626
|
+
/**
|
627
|
+
* Return a fully-qualified assistAnswer resource name string.
|
628
|
+
*
|
629
|
+
* @param {string} project
|
630
|
+
* @param {string} location
|
631
|
+
* @param {string} collection
|
632
|
+
* @param {string} engine
|
633
|
+
* @param {string} session
|
634
|
+
* @param {string} assist_answer
|
635
|
+
* @returns {string} Resource name string.
|
636
|
+
*/
|
637
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
638
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
639
|
+
project: project,
|
640
|
+
location: location,
|
641
|
+
collection: collection,
|
642
|
+
engine: engine,
|
643
|
+
session: session,
|
644
|
+
assist_answer: assistAnswer,
|
645
|
+
});
|
646
|
+
}
|
647
|
+
/**
|
648
|
+
* Parse the project from AssistAnswer resource.
|
649
|
+
*
|
650
|
+
* @param {string} assistAnswerName
|
651
|
+
* A fully-qualified path representing AssistAnswer resource.
|
652
|
+
* @returns {string} A string representing the project.
|
653
|
+
*/
|
654
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
655
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
656
|
+
}
|
657
|
+
/**
|
658
|
+
* Parse the location from AssistAnswer resource.
|
659
|
+
*
|
660
|
+
* @param {string} assistAnswerName
|
661
|
+
* A fully-qualified path representing AssistAnswer resource.
|
662
|
+
* @returns {string} A string representing the location.
|
663
|
+
*/
|
664
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
665
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
666
|
+
}
|
667
|
+
/**
|
668
|
+
* Parse the collection from AssistAnswer resource.
|
669
|
+
*
|
670
|
+
* @param {string} assistAnswerName
|
671
|
+
* A fully-qualified path representing AssistAnswer resource.
|
672
|
+
* @returns {string} A string representing the collection.
|
673
|
+
*/
|
674
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
675
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
676
|
+
}
|
677
|
+
/**
|
678
|
+
* Parse the engine from AssistAnswer resource.
|
679
|
+
*
|
680
|
+
* @param {string} assistAnswerName
|
681
|
+
* A fully-qualified path representing AssistAnswer resource.
|
682
|
+
* @returns {string} A string representing the engine.
|
683
|
+
*/
|
684
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
685
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
686
|
+
}
|
687
|
+
/**
|
688
|
+
* Parse the session from AssistAnswer resource.
|
689
|
+
*
|
690
|
+
* @param {string} assistAnswerName
|
691
|
+
* A fully-qualified path representing AssistAnswer resource.
|
692
|
+
* @returns {string} A string representing the session.
|
693
|
+
*/
|
694
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
695
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
696
|
+
}
|
697
|
+
/**
|
698
|
+
* Parse the assist_answer from AssistAnswer resource.
|
699
|
+
*
|
700
|
+
* @param {string} assistAnswerName
|
701
|
+
* A fully-qualified path representing AssistAnswer resource.
|
702
|
+
* @returns {string} A string representing the assist_answer.
|
703
|
+
*/
|
704
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
705
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
706
|
+
}
|
707
|
+
/**
|
708
|
+
* Return a fully-qualified assistant resource name string.
|
709
|
+
*
|
710
|
+
* @param {string} project
|
711
|
+
* @param {string} location
|
712
|
+
* @param {string} collection
|
713
|
+
* @param {string} engine
|
714
|
+
* @param {string} assistant
|
715
|
+
* @returns {string} Resource name string.
|
716
|
+
*/
|
717
|
+
assistantPath(project, location, collection, engine, assistant) {
|
718
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
719
|
+
project: project,
|
720
|
+
location: location,
|
721
|
+
collection: collection,
|
722
|
+
engine: engine,
|
723
|
+
assistant: assistant,
|
724
|
+
});
|
725
|
+
}
|
726
|
+
/**
|
727
|
+
* Parse the project from Assistant resource.
|
728
|
+
*
|
729
|
+
* @param {string} assistantName
|
730
|
+
* A fully-qualified path representing Assistant resource.
|
731
|
+
* @returns {string} A string representing the project.
|
732
|
+
*/
|
733
|
+
matchProjectFromAssistantName(assistantName) {
|
734
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
735
|
+
}
|
736
|
+
/**
|
737
|
+
* Parse the location from Assistant resource.
|
738
|
+
*
|
739
|
+
* @param {string} assistantName
|
740
|
+
* A fully-qualified path representing Assistant resource.
|
741
|
+
* @returns {string} A string representing the location.
|
742
|
+
*/
|
743
|
+
matchLocationFromAssistantName(assistantName) {
|
744
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
745
|
+
}
|
746
|
+
/**
|
747
|
+
* Parse the collection from Assistant resource.
|
748
|
+
*
|
749
|
+
* @param {string} assistantName
|
750
|
+
* A fully-qualified path representing Assistant resource.
|
751
|
+
* @returns {string} A string representing the collection.
|
752
|
+
*/
|
753
|
+
matchCollectionFromAssistantName(assistantName) {
|
754
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
755
|
+
}
|
756
|
+
/**
|
757
|
+
* Parse the engine from Assistant resource.
|
758
|
+
*
|
759
|
+
* @param {string} assistantName
|
760
|
+
* A fully-qualified path representing Assistant resource.
|
761
|
+
* @returns {string} A string representing the engine.
|
762
|
+
*/
|
763
|
+
matchEngineFromAssistantName(assistantName) {
|
764
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
765
|
+
}
|
766
|
+
/**
|
767
|
+
* Parse the assistant from Assistant resource.
|
768
|
+
*
|
769
|
+
* @param {string} assistantName
|
770
|
+
* A fully-qualified path representing Assistant resource.
|
771
|
+
* @returns {string} A string representing the assistant.
|
772
|
+
*/
|
773
|
+
matchAssistantFromAssistantName(assistantName) {
|
774
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
775
|
+
}
|
624
776
|
/**
|
625
777
|
* Return a fully-qualified engine resource name string.
|
626
778
|
*
|
@@ -1456,154 +1608,154 @@ class ProjectServiceClient {
|
|
1456
1608
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1457
1609
|
}
|
1458
1610
|
/**
|
1459
|
-
* Return a fully-qualified
|
1611
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1460
1612
|
*
|
1461
1613
|
* @param {string} project
|
1462
1614
|
* @param {string} location
|
1463
1615
|
* @param {string} collection
|
1464
1616
|
* @param {string} data_store
|
1465
1617
|
* @param {string} session
|
1618
|
+
* @param {string} answer
|
1466
1619
|
* @returns {string} Resource name string.
|
1467
1620
|
*/
|
1468
|
-
|
1469
|
-
return this.pathTemplates.
|
1621
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1622
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1470
1623
|
project: project,
|
1471
1624
|
location: location,
|
1472
1625
|
collection: collection,
|
1473
1626
|
data_store: dataStore,
|
1474
1627
|
session: session,
|
1628
|
+
answer: answer,
|
1475
1629
|
});
|
1476
1630
|
}
|
1477
1631
|
/**
|
1478
|
-
* Parse the project from
|
1632
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1479
1633
|
*
|
1480
|
-
* @param {string}
|
1481
|
-
* A fully-qualified path representing
|
1634
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1635
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1482
1636
|
* @returns {string} A string representing the project.
|
1483
1637
|
*/
|
1484
|
-
|
1485
|
-
return this.pathTemplates.
|
1638
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1639
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1486
1640
|
}
|
1487
1641
|
/**
|
1488
|
-
* Parse the location from
|
1642
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1489
1643
|
*
|
1490
|
-
* @param {string}
|
1491
|
-
* A fully-qualified path representing
|
1644
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1645
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1492
1646
|
* @returns {string} A string representing the location.
|
1493
1647
|
*/
|
1494
|
-
|
1495
|
-
return this.pathTemplates.
|
1648
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1649
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1496
1650
|
}
|
1497
1651
|
/**
|
1498
|
-
* Parse the collection from
|
1652
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1499
1653
|
*
|
1500
|
-
* @param {string}
|
1501
|
-
* A fully-qualified path representing
|
1654
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1655
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1502
1656
|
* @returns {string} A string representing the collection.
|
1503
1657
|
*/
|
1504
|
-
|
1505
|
-
return this.pathTemplates.
|
1658
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1659
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1506
1660
|
}
|
1507
1661
|
/**
|
1508
|
-
* Parse the data_store from
|
1662
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1509
1663
|
*
|
1510
|
-
* @param {string}
|
1511
|
-
* A fully-qualified path representing
|
1664
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1665
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1512
1666
|
* @returns {string} A string representing the data_store.
|
1513
1667
|
*/
|
1514
|
-
|
1515
|
-
return this.pathTemplates.
|
1668
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1669
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1516
1670
|
}
|
1517
1671
|
/**
|
1518
|
-
* Parse the session from
|
1672
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1519
1673
|
*
|
1520
|
-
* @param {string}
|
1521
|
-
* A fully-qualified path representing
|
1674
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1675
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1522
1676
|
* @returns {string} A string representing the session.
|
1523
1677
|
*/
|
1524
|
-
|
1525
|
-
return this.pathTemplates.
|
1678
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1679
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1526
1680
|
}
|
1527
1681
|
/**
|
1528
|
-
*
|
1682
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1683
|
+
*
|
1684
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1685
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1686
|
+
* @returns {string} A string representing the answer.
|
1687
|
+
*/
|
1688
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1689
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1690
|
+
}
|
1691
|
+
/**
|
1692
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1529
1693
|
*
|
1530
1694
|
* @param {string} project
|
1531
1695
|
* @param {string} location
|
1532
1696
|
* @param {string} collection
|
1533
1697
|
* @param {string} data_store
|
1534
1698
|
* @param {string} session
|
1535
|
-
* @param {string} answer
|
1536
1699
|
* @returns {string} Resource name string.
|
1537
1700
|
*/
|
1538
|
-
|
1539
|
-
return this.pathTemplates.
|
1701
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1702
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1540
1703
|
project: project,
|
1541
1704
|
location: location,
|
1542
1705
|
collection: collection,
|
1543
1706
|
data_store: dataStore,
|
1544
1707
|
session: session,
|
1545
|
-
answer: answer,
|
1546
1708
|
});
|
1547
1709
|
}
|
1548
1710
|
/**
|
1549
|
-
* Parse the project from
|
1711
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1550
1712
|
*
|
1551
|
-
* @param {string}
|
1552
|
-
* A fully-qualified path representing
|
1713
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1714
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1553
1715
|
* @returns {string} A string representing the project.
|
1554
1716
|
*/
|
1555
|
-
|
1556
|
-
return this.pathTemplates.
|
1717
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1718
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1557
1719
|
}
|
1558
1720
|
/**
|
1559
|
-
* Parse the location from
|
1721
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1560
1722
|
*
|
1561
|
-
* @param {string}
|
1562
|
-
* A fully-qualified path representing
|
1723
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1724
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1563
1725
|
* @returns {string} A string representing the location.
|
1564
1726
|
*/
|
1565
|
-
|
1566
|
-
return this.pathTemplates.
|
1727
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1728
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1567
1729
|
}
|
1568
1730
|
/**
|
1569
|
-
* Parse the collection from
|
1731
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1570
1732
|
*
|
1571
|
-
* @param {string}
|
1572
|
-
* A fully-qualified path representing
|
1733
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1734
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1573
1735
|
* @returns {string} A string representing the collection.
|
1574
1736
|
*/
|
1575
|
-
|
1576
|
-
return this.pathTemplates.
|
1737
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1738
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1577
1739
|
}
|
1578
1740
|
/**
|
1579
|
-
* Parse the data_store from
|
1741
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1580
1742
|
*
|
1581
|
-
* @param {string}
|
1582
|
-
* A fully-qualified path representing
|
1743
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1744
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1583
1745
|
* @returns {string} A string representing the data_store.
|
1584
1746
|
*/
|
1585
|
-
|
1586
|
-
return this.pathTemplates.
|
1747
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1748
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1587
1749
|
}
|
1588
1750
|
/**
|
1589
|
-
* Parse the session from
|
1751
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1590
1752
|
*
|
1591
|
-
* @param {string}
|
1592
|
-
* A fully-qualified path representing
|
1753
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1754
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1593
1755
|
* @returns {string} A string representing the session.
|
1594
1756
|
*/
|
1595
|
-
|
1596
|
-
return this.pathTemplates.
|
1597
|
-
}
|
1598
|
-
/**
|
1599
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1600
|
-
*
|
1601
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1602
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1603
|
-
* @returns {string} A string representing the answer.
|
1604
|
-
*/
|
1605
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1606
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1757
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1758
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1607
1759
|
}
|
1608
1760
|
/**
|
1609
1761
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2008,154 +2160,154 @@ class ProjectServiceClient {
|
|
2008
2160
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2009
2161
|
}
|
2010
2162
|
/**
|
2011
|
-
* Return a fully-qualified
|
2163
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2012
2164
|
*
|
2013
2165
|
* @param {string} project
|
2014
2166
|
* @param {string} location
|
2015
2167
|
* @param {string} collection
|
2016
2168
|
* @param {string} engine
|
2017
2169
|
* @param {string} session
|
2170
|
+
* @param {string} answer
|
2018
2171
|
* @returns {string} Resource name string.
|
2019
2172
|
*/
|
2020
|
-
|
2021
|
-
return this.pathTemplates.
|
2173
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2174
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2022
2175
|
project: project,
|
2023
2176
|
location: location,
|
2024
2177
|
collection: collection,
|
2025
2178
|
engine: engine,
|
2026
2179
|
session: session,
|
2180
|
+
answer: answer,
|
2027
2181
|
});
|
2028
2182
|
}
|
2029
2183
|
/**
|
2030
|
-
* Parse the project from
|
2184
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2031
2185
|
*
|
2032
|
-
* @param {string}
|
2033
|
-
* A fully-qualified path representing
|
2186
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2187
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2034
2188
|
* @returns {string} A string representing the project.
|
2035
2189
|
*/
|
2036
|
-
|
2037
|
-
return this.pathTemplates.
|
2190
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2191
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2038
2192
|
}
|
2039
2193
|
/**
|
2040
|
-
* Parse the location from
|
2194
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2041
2195
|
*
|
2042
|
-
* @param {string}
|
2043
|
-
* A fully-qualified path representing
|
2196
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2197
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2044
2198
|
* @returns {string} A string representing the location.
|
2045
2199
|
*/
|
2046
|
-
|
2047
|
-
return this.pathTemplates.
|
2200
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2201
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2048
2202
|
}
|
2049
2203
|
/**
|
2050
|
-
* Parse the collection from
|
2204
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2051
2205
|
*
|
2052
|
-
* @param {string}
|
2053
|
-
* A fully-qualified path representing
|
2206
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2207
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2054
2208
|
* @returns {string} A string representing the collection.
|
2055
2209
|
*/
|
2056
|
-
|
2057
|
-
return this.pathTemplates.
|
2210
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2211
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2058
2212
|
}
|
2059
2213
|
/**
|
2060
|
-
* Parse the engine from
|
2214
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2061
2215
|
*
|
2062
|
-
* @param {string}
|
2063
|
-
* A fully-qualified path representing
|
2216
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2217
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2064
2218
|
* @returns {string} A string representing the engine.
|
2065
2219
|
*/
|
2066
|
-
|
2067
|
-
return this.pathTemplates.
|
2220
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2221
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2068
2222
|
}
|
2069
2223
|
/**
|
2070
|
-
* Parse the session from
|
2224
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2071
2225
|
*
|
2072
|
-
* @param {string}
|
2073
|
-
* A fully-qualified path representing
|
2226
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2227
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2074
2228
|
* @returns {string} A string representing the session.
|
2075
2229
|
*/
|
2076
|
-
|
2077
|
-
return this.pathTemplates.
|
2230
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2231
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2078
2232
|
}
|
2079
2233
|
/**
|
2080
|
-
*
|
2234
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2235
|
+
*
|
2236
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2237
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2238
|
+
* @returns {string} A string representing the answer.
|
2239
|
+
*/
|
2240
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2241
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2242
|
+
}
|
2243
|
+
/**
|
2244
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2081
2245
|
*
|
2082
2246
|
* @param {string} project
|
2083
2247
|
* @param {string} location
|
2084
2248
|
* @param {string} collection
|
2085
2249
|
* @param {string} engine
|
2086
2250
|
* @param {string} session
|
2087
|
-
* @param {string} answer
|
2088
2251
|
* @returns {string} Resource name string.
|
2089
2252
|
*/
|
2090
|
-
|
2091
|
-
return this.pathTemplates.
|
2253
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2254
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2092
2255
|
project: project,
|
2093
2256
|
location: location,
|
2094
2257
|
collection: collection,
|
2095
2258
|
engine: engine,
|
2096
2259
|
session: session,
|
2097
|
-
answer: answer,
|
2098
2260
|
});
|
2099
2261
|
}
|
2100
2262
|
/**
|
2101
|
-
* Parse the project from
|
2263
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2102
2264
|
*
|
2103
|
-
* @param {string}
|
2104
|
-
* A fully-qualified path representing
|
2265
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2266
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2105
2267
|
* @returns {string} A string representing the project.
|
2106
2268
|
*/
|
2107
|
-
|
2108
|
-
return this.pathTemplates.
|
2269
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2270
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2109
2271
|
}
|
2110
2272
|
/**
|
2111
|
-
* Parse the location from
|
2273
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2112
2274
|
*
|
2113
|
-
* @param {string}
|
2114
|
-
* A fully-qualified path representing
|
2275
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2276
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2115
2277
|
* @returns {string} A string representing the location.
|
2116
2278
|
*/
|
2117
|
-
|
2118
|
-
return this.pathTemplates.
|
2279
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2280
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2119
2281
|
}
|
2120
2282
|
/**
|
2121
|
-
* Parse the collection from
|
2283
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2122
2284
|
*
|
2123
|
-
* @param {string}
|
2124
|
-
* A fully-qualified path representing
|
2285
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2286
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2125
2287
|
* @returns {string} A string representing the collection.
|
2126
2288
|
*/
|
2127
|
-
|
2128
|
-
return this.pathTemplates.
|
2289
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2290
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2129
2291
|
}
|
2130
2292
|
/**
|
2131
|
-
* Parse the engine from
|
2293
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2132
2294
|
*
|
2133
|
-
* @param {string}
|
2134
|
-
* A fully-qualified path representing
|
2295
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2296
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2135
2297
|
* @returns {string} A string representing the engine.
|
2136
2298
|
*/
|
2137
|
-
|
2138
|
-
return this.pathTemplates.
|
2299
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2300
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2139
2301
|
}
|
2140
2302
|
/**
|
2141
|
-
* Parse the session from
|
2303
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2142
2304
|
*
|
2143
|
-
* @param {string}
|
2144
|
-
* A fully-qualified path representing
|
2305
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2306
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2145
2307
|
* @returns {string} A string representing the session.
|
2146
2308
|
*/
|
2147
|
-
|
2148
|
-
return this.pathTemplates.
|
2149
|
-
}
|
2150
|
-
/**
|
2151
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2152
|
-
*
|
2153
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2154
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2155
|
-
* @returns {string} A string representing the answer.
|
2156
|
-
*/
|
2157
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2158
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2309
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2310
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2159
2311
|
}
|
2160
2312
|
/**
|
2161
2313
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2682,63 +2834,6 @@ class ProjectServiceClient {
|
|
2682
2834
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2683
2835
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2684
2836
|
}
|
2685
|
-
/**
|
2686
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2687
|
-
*
|
2688
|
-
* @param {string} project
|
2689
|
-
* @param {string} location
|
2690
|
-
* @param {string} data_store
|
2691
|
-
* @param {string} session
|
2692
|
-
* @returns {string} Resource name string.
|
2693
|
-
*/
|
2694
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2695
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2696
|
-
project: project,
|
2697
|
-
location: location,
|
2698
|
-
data_store: dataStore,
|
2699
|
-
session: session,
|
2700
|
-
});
|
2701
|
-
}
|
2702
|
-
/**
|
2703
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2704
|
-
*
|
2705
|
-
* @param {string} projectLocationDataStoreSessionName
|
2706
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2707
|
-
* @returns {string} A string representing the project.
|
2708
|
-
*/
|
2709
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2710
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2711
|
-
}
|
2712
|
-
/**
|
2713
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2714
|
-
*
|
2715
|
-
* @param {string} projectLocationDataStoreSessionName
|
2716
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2717
|
-
* @returns {string} A string representing the location.
|
2718
|
-
*/
|
2719
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2720
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2721
|
-
}
|
2722
|
-
/**
|
2723
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2724
|
-
*
|
2725
|
-
* @param {string} projectLocationDataStoreSessionName
|
2726
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2727
|
-
* @returns {string} A string representing the data_store.
|
2728
|
-
*/
|
2729
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2730
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2731
|
-
}
|
2732
|
-
/**
|
2733
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2734
|
-
*
|
2735
|
-
* @param {string} projectLocationDataStoreSessionName
|
2736
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2737
|
-
* @returns {string} A string representing the session.
|
2738
|
-
*/
|
2739
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2740
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2741
|
-
}
|
2742
2837
|
/**
|
2743
2838
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2744
2839
|
*
|
@@ -2808,6 +2903,63 @@ class ProjectServiceClient {
|
|
2808
2903
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2809
2904
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2810
2905
|
}
|
2906
|
+
/**
|
2907
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2908
|
+
*
|
2909
|
+
* @param {string} project
|
2910
|
+
* @param {string} location
|
2911
|
+
* @param {string} data_store
|
2912
|
+
* @param {string} session
|
2913
|
+
* @returns {string} Resource name string.
|
2914
|
+
*/
|
2915
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2916
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2917
|
+
project: project,
|
2918
|
+
location: location,
|
2919
|
+
data_store: dataStore,
|
2920
|
+
session: session,
|
2921
|
+
});
|
2922
|
+
}
|
2923
|
+
/**
|
2924
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2925
|
+
*
|
2926
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2927
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2928
|
+
* @returns {string} A string representing the project.
|
2929
|
+
*/
|
2930
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2931
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2932
|
+
}
|
2933
|
+
/**
|
2934
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2935
|
+
*
|
2936
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2937
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2938
|
+
* @returns {string} A string representing the location.
|
2939
|
+
*/
|
2940
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2941
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2942
|
+
}
|
2943
|
+
/**
|
2944
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2945
|
+
*
|
2946
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2947
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2948
|
+
* @returns {string} A string representing the data_store.
|
2949
|
+
*/
|
2950
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2951
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2952
|
+
}
|
2953
|
+
/**
|
2954
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2955
|
+
*
|
2956
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2957
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2958
|
+
* @returns {string} A string representing the session.
|
2959
|
+
*/
|
2960
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2961
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2962
|
+
}
|
2811
2963
|
/**
|
2812
2964
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2813
2965
|
*
|