@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 IdentityMappingStoreServiceClient {
|
|
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
|
locationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}'),
|
@@ -178,16 +180,16 @@ class IdentityMappingStoreServiceClient {
|
|
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 IdentityMappingStoreServiceClient {
|
|
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}'),
|
@@ -1047,6 +1049,156 @@ class IdentityMappingStoreServiceClient {
|
|
1047
1049
|
// --------------------
|
1048
1050
|
// -- Path templates --
|
1049
1051
|
// --------------------
|
1052
|
+
/**
|
1053
|
+
* Return a fully-qualified assistAnswer resource name string.
|
1054
|
+
*
|
1055
|
+
* @param {string} project
|
1056
|
+
* @param {string} location
|
1057
|
+
* @param {string} collection
|
1058
|
+
* @param {string} engine
|
1059
|
+
* @param {string} session
|
1060
|
+
* @param {string} assist_answer
|
1061
|
+
* @returns {string} Resource name string.
|
1062
|
+
*/
|
1063
|
+
assistAnswerPath(project, location, collection, engine, session, assistAnswer) {
|
1064
|
+
return this.pathTemplates.assistAnswerPathTemplate.render({
|
1065
|
+
project: project,
|
1066
|
+
location: location,
|
1067
|
+
collection: collection,
|
1068
|
+
engine: engine,
|
1069
|
+
session: session,
|
1070
|
+
assist_answer: assistAnswer,
|
1071
|
+
});
|
1072
|
+
}
|
1073
|
+
/**
|
1074
|
+
* Parse the project from AssistAnswer resource.
|
1075
|
+
*
|
1076
|
+
* @param {string} assistAnswerName
|
1077
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1078
|
+
* @returns {string} A string representing the project.
|
1079
|
+
*/
|
1080
|
+
matchProjectFromAssistAnswerName(assistAnswerName) {
|
1081
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).project;
|
1082
|
+
}
|
1083
|
+
/**
|
1084
|
+
* Parse the location from AssistAnswer resource.
|
1085
|
+
*
|
1086
|
+
* @param {string} assistAnswerName
|
1087
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1088
|
+
* @returns {string} A string representing the location.
|
1089
|
+
*/
|
1090
|
+
matchLocationFromAssistAnswerName(assistAnswerName) {
|
1091
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).location;
|
1092
|
+
}
|
1093
|
+
/**
|
1094
|
+
* Parse the collection from AssistAnswer resource.
|
1095
|
+
*
|
1096
|
+
* @param {string} assistAnswerName
|
1097
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1098
|
+
* @returns {string} A string representing the collection.
|
1099
|
+
*/
|
1100
|
+
matchCollectionFromAssistAnswerName(assistAnswerName) {
|
1101
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).collection;
|
1102
|
+
}
|
1103
|
+
/**
|
1104
|
+
* Parse the engine from AssistAnswer resource.
|
1105
|
+
*
|
1106
|
+
* @param {string} assistAnswerName
|
1107
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1108
|
+
* @returns {string} A string representing the engine.
|
1109
|
+
*/
|
1110
|
+
matchEngineFromAssistAnswerName(assistAnswerName) {
|
1111
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).engine;
|
1112
|
+
}
|
1113
|
+
/**
|
1114
|
+
* Parse the session from AssistAnswer resource.
|
1115
|
+
*
|
1116
|
+
* @param {string} assistAnswerName
|
1117
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1118
|
+
* @returns {string} A string representing the session.
|
1119
|
+
*/
|
1120
|
+
matchSessionFromAssistAnswerName(assistAnswerName) {
|
1121
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).session;
|
1122
|
+
}
|
1123
|
+
/**
|
1124
|
+
* Parse the assist_answer from AssistAnswer resource.
|
1125
|
+
*
|
1126
|
+
* @param {string} assistAnswerName
|
1127
|
+
* A fully-qualified path representing AssistAnswer resource.
|
1128
|
+
* @returns {string} A string representing the assist_answer.
|
1129
|
+
*/
|
1130
|
+
matchAssistAnswerFromAssistAnswerName(assistAnswerName) {
|
1131
|
+
return this.pathTemplates.assistAnswerPathTemplate.match(assistAnswerName).assist_answer;
|
1132
|
+
}
|
1133
|
+
/**
|
1134
|
+
* Return a fully-qualified assistant resource name string.
|
1135
|
+
*
|
1136
|
+
* @param {string} project
|
1137
|
+
* @param {string} location
|
1138
|
+
* @param {string} collection
|
1139
|
+
* @param {string} engine
|
1140
|
+
* @param {string} assistant
|
1141
|
+
* @returns {string} Resource name string.
|
1142
|
+
*/
|
1143
|
+
assistantPath(project, location, collection, engine, assistant) {
|
1144
|
+
return this.pathTemplates.assistantPathTemplate.render({
|
1145
|
+
project: project,
|
1146
|
+
location: location,
|
1147
|
+
collection: collection,
|
1148
|
+
engine: engine,
|
1149
|
+
assistant: assistant,
|
1150
|
+
});
|
1151
|
+
}
|
1152
|
+
/**
|
1153
|
+
* Parse the project from Assistant resource.
|
1154
|
+
*
|
1155
|
+
* @param {string} assistantName
|
1156
|
+
* A fully-qualified path representing Assistant resource.
|
1157
|
+
* @returns {string} A string representing the project.
|
1158
|
+
*/
|
1159
|
+
matchProjectFromAssistantName(assistantName) {
|
1160
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).project;
|
1161
|
+
}
|
1162
|
+
/**
|
1163
|
+
* Parse the location from Assistant resource.
|
1164
|
+
*
|
1165
|
+
* @param {string} assistantName
|
1166
|
+
* A fully-qualified path representing Assistant resource.
|
1167
|
+
* @returns {string} A string representing the location.
|
1168
|
+
*/
|
1169
|
+
matchLocationFromAssistantName(assistantName) {
|
1170
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).location;
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* Parse the collection from Assistant resource.
|
1174
|
+
*
|
1175
|
+
* @param {string} assistantName
|
1176
|
+
* A fully-qualified path representing Assistant resource.
|
1177
|
+
* @returns {string} A string representing the collection.
|
1178
|
+
*/
|
1179
|
+
matchCollectionFromAssistantName(assistantName) {
|
1180
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).collection;
|
1181
|
+
}
|
1182
|
+
/**
|
1183
|
+
* Parse the engine from Assistant resource.
|
1184
|
+
*
|
1185
|
+
* @param {string} assistantName
|
1186
|
+
* A fully-qualified path representing Assistant resource.
|
1187
|
+
* @returns {string} A string representing the engine.
|
1188
|
+
*/
|
1189
|
+
matchEngineFromAssistantName(assistantName) {
|
1190
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).engine;
|
1191
|
+
}
|
1192
|
+
/**
|
1193
|
+
* Parse the assistant from Assistant resource.
|
1194
|
+
*
|
1195
|
+
* @param {string} assistantName
|
1196
|
+
* A fully-qualified path representing Assistant resource.
|
1197
|
+
* @returns {string} A string representing the assistant.
|
1198
|
+
*/
|
1199
|
+
matchAssistantFromAssistantName(assistantName) {
|
1200
|
+
return this.pathTemplates.assistantPathTemplate.match(assistantName).assistant;
|
1201
|
+
}
|
1050
1202
|
/**
|
1051
1203
|
* Return a fully-qualified engine resource name string.
|
1052
1204
|
*
|
@@ -1915,154 +2067,154 @@ class IdentityMappingStoreServiceClient {
|
|
1915
2067
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1916
2068
|
}
|
1917
2069
|
/**
|
1918
|
-
* Return a fully-qualified
|
2070
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1919
2071
|
*
|
1920
2072
|
* @param {string} project
|
1921
2073
|
* @param {string} location
|
1922
2074
|
* @param {string} collection
|
1923
2075
|
* @param {string} data_store
|
1924
2076
|
* @param {string} session
|
2077
|
+
* @param {string} answer
|
1925
2078
|
* @returns {string} Resource name string.
|
1926
2079
|
*/
|
1927
|
-
|
1928
|
-
return this.pathTemplates.
|
2080
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
2081
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1929
2082
|
project: project,
|
1930
2083
|
location: location,
|
1931
2084
|
collection: collection,
|
1932
2085
|
data_store: dataStore,
|
1933
2086
|
session: session,
|
2087
|
+
answer: answer,
|
1934
2088
|
});
|
1935
2089
|
}
|
1936
2090
|
/**
|
1937
|
-
* Parse the project from
|
2091
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1938
2092
|
*
|
1939
|
-
* @param {string}
|
1940
|
-
* A fully-qualified path representing
|
2093
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2094
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1941
2095
|
* @returns {string} A string representing the project.
|
1942
2096
|
*/
|
1943
|
-
|
1944
|
-
return this.pathTemplates.
|
2097
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2098
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1945
2099
|
}
|
1946
2100
|
/**
|
1947
|
-
* Parse the location from
|
2101
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1948
2102
|
*
|
1949
|
-
* @param {string}
|
1950
|
-
* A fully-qualified path representing
|
2103
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2104
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1951
2105
|
* @returns {string} A string representing the location.
|
1952
2106
|
*/
|
1953
|
-
|
1954
|
-
return this.pathTemplates.
|
2107
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2108
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1955
2109
|
}
|
1956
2110
|
/**
|
1957
|
-
* Parse the collection from
|
2111
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1958
2112
|
*
|
1959
|
-
* @param {string}
|
1960
|
-
* A fully-qualified path representing
|
2113
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2114
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1961
2115
|
* @returns {string} A string representing the collection.
|
1962
2116
|
*/
|
1963
|
-
|
1964
|
-
return this.pathTemplates.
|
2117
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2118
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1965
2119
|
}
|
1966
2120
|
/**
|
1967
|
-
* Parse the data_store from
|
2121
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1968
2122
|
*
|
1969
|
-
* @param {string}
|
1970
|
-
* A fully-qualified path representing
|
2123
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2124
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1971
2125
|
* @returns {string} A string representing the data_store.
|
1972
2126
|
*/
|
1973
|
-
|
1974
|
-
return this.pathTemplates.
|
2127
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2128
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1975
2129
|
}
|
1976
2130
|
/**
|
1977
|
-
* Parse the session from
|
2131
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1978
2132
|
*
|
1979
|
-
* @param {string}
|
1980
|
-
* A fully-qualified path representing
|
2133
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2134
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1981
2135
|
* @returns {string} A string representing the session.
|
1982
2136
|
*/
|
1983
|
-
|
1984
|
-
return this.pathTemplates.
|
2137
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2138
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1985
2139
|
}
|
1986
2140
|
/**
|
1987
|
-
*
|
2141
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2142
|
+
*
|
2143
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2144
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2145
|
+
* @returns {string} A string representing the answer.
|
2146
|
+
*/
|
2147
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2148
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2149
|
+
}
|
2150
|
+
/**
|
2151
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1988
2152
|
*
|
1989
2153
|
* @param {string} project
|
1990
2154
|
* @param {string} location
|
1991
2155
|
* @param {string} collection
|
1992
2156
|
* @param {string} data_store
|
1993
2157
|
* @param {string} session
|
1994
|
-
* @param {string} answer
|
1995
2158
|
* @returns {string} Resource name string.
|
1996
2159
|
*/
|
1997
|
-
|
1998
|
-
return this.pathTemplates.
|
2160
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
2161
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1999
2162
|
project: project,
|
2000
2163
|
location: location,
|
2001
2164
|
collection: collection,
|
2002
2165
|
data_store: dataStore,
|
2003
2166
|
session: session,
|
2004
|
-
answer: answer,
|
2005
2167
|
});
|
2006
2168
|
}
|
2007
2169
|
/**
|
2008
|
-
* Parse the project from
|
2170
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
2009
2171
|
*
|
2010
|
-
* @param {string}
|
2011
|
-
* A fully-qualified path representing
|
2172
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2173
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2012
2174
|
* @returns {string} A string representing the project.
|
2013
2175
|
*/
|
2014
|
-
|
2015
|
-
return this.pathTemplates.
|
2176
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2177
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
2016
2178
|
}
|
2017
2179
|
/**
|
2018
|
-
* Parse the location from
|
2180
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
2019
2181
|
*
|
2020
|
-
* @param {string}
|
2021
|
-
* A fully-qualified path representing
|
2182
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2183
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2022
2184
|
* @returns {string} A string representing the location.
|
2023
2185
|
*/
|
2024
|
-
|
2025
|
-
return this.pathTemplates.
|
2186
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2187
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
2026
2188
|
}
|
2027
2189
|
/**
|
2028
|
-
* Parse the collection from
|
2190
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
2029
2191
|
*
|
2030
|
-
* @param {string}
|
2031
|
-
* A fully-qualified path representing
|
2192
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2193
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2032
2194
|
* @returns {string} A string representing the collection.
|
2033
2195
|
*/
|
2034
|
-
|
2035
|
-
return this.pathTemplates.
|
2196
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2197
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
2036
2198
|
}
|
2037
2199
|
/**
|
2038
|
-
* Parse the data_store from
|
2200
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
2039
2201
|
*
|
2040
|
-
* @param {string}
|
2041
|
-
* A fully-qualified path representing
|
2202
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2203
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2042
2204
|
* @returns {string} A string representing the data_store.
|
2043
2205
|
*/
|
2044
|
-
|
2045
|
-
return this.pathTemplates.
|
2206
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2207
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
2046
2208
|
}
|
2047
2209
|
/**
|
2048
|
-
* Parse the session from
|
2210
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
2049
2211
|
*
|
2050
|
-
* @param {string}
|
2051
|
-
* A fully-qualified path representing
|
2212
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
2213
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
2052
2214
|
* @returns {string} A string representing the session.
|
2053
2215
|
*/
|
2054
|
-
|
2055
|
-
return this.pathTemplates.
|
2056
|
-
}
|
2057
|
-
/**
|
2058
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
2059
|
-
*
|
2060
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
2061
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
2062
|
-
* @returns {string} A string representing the answer.
|
2063
|
-
*/
|
2064
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
2065
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
2216
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
2217
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
2066
2218
|
}
|
2067
2219
|
/**
|
2068
2220
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -2467,154 +2619,154 @@ class IdentityMappingStoreServiceClient {
|
|
2467
2619
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
2468
2620
|
}
|
2469
2621
|
/**
|
2470
|
-
* Return a fully-qualified
|
2622
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
2471
2623
|
*
|
2472
2624
|
* @param {string} project
|
2473
2625
|
* @param {string} location
|
2474
2626
|
* @param {string} collection
|
2475
2627
|
* @param {string} engine
|
2476
2628
|
* @param {string} session
|
2629
|
+
* @param {string} answer
|
2477
2630
|
* @returns {string} Resource name string.
|
2478
2631
|
*/
|
2479
|
-
|
2480
|
-
return this.pathTemplates.
|
2632
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
2633
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
2481
2634
|
project: project,
|
2482
2635
|
location: location,
|
2483
2636
|
collection: collection,
|
2484
2637
|
engine: engine,
|
2485
2638
|
session: session,
|
2639
|
+
answer: answer,
|
2486
2640
|
});
|
2487
2641
|
}
|
2488
2642
|
/**
|
2489
|
-
* Parse the project from
|
2643
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
2490
2644
|
*
|
2491
|
-
* @param {string}
|
2492
|
-
* A fully-qualified path representing
|
2645
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2646
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2493
2647
|
* @returns {string} A string representing the project.
|
2494
2648
|
*/
|
2495
|
-
|
2496
|
-
return this.pathTemplates.
|
2649
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2650
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
2497
2651
|
}
|
2498
2652
|
/**
|
2499
|
-
* Parse the location from
|
2653
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
2500
2654
|
*
|
2501
|
-
* @param {string}
|
2502
|
-
* A fully-qualified path representing
|
2655
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2656
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2503
2657
|
* @returns {string} A string representing the location.
|
2504
2658
|
*/
|
2505
|
-
|
2506
|
-
return this.pathTemplates.
|
2659
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2660
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
2507
2661
|
}
|
2508
2662
|
/**
|
2509
|
-
* Parse the collection from
|
2663
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
2510
2664
|
*
|
2511
|
-
* @param {string}
|
2512
|
-
* A fully-qualified path representing
|
2665
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2666
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2513
2667
|
* @returns {string} A string representing the collection.
|
2514
2668
|
*/
|
2515
|
-
|
2516
|
-
return this.pathTemplates.
|
2669
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2670
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
2517
2671
|
}
|
2518
2672
|
/**
|
2519
|
-
* Parse the engine from
|
2673
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
2520
2674
|
*
|
2521
|
-
* @param {string}
|
2522
|
-
* A fully-qualified path representing
|
2675
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2676
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2523
2677
|
* @returns {string} A string representing the engine.
|
2524
2678
|
*/
|
2525
|
-
|
2526
|
-
return this.pathTemplates.
|
2679
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2680
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
2527
2681
|
}
|
2528
2682
|
/**
|
2529
|
-
* Parse the session from
|
2683
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
2530
2684
|
*
|
2531
|
-
* @param {string}
|
2532
|
-
* A fully-qualified path representing
|
2685
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2686
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2533
2687
|
* @returns {string} A string representing the session.
|
2534
2688
|
*/
|
2535
|
-
|
2536
|
-
return this.pathTemplates.
|
2689
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2690
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
2537
2691
|
}
|
2538
2692
|
/**
|
2539
|
-
*
|
2693
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2694
|
+
*
|
2695
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2696
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2697
|
+
* @returns {string} A string representing the answer.
|
2698
|
+
*/
|
2699
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2700
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2701
|
+
}
|
2702
|
+
/**
|
2703
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
2540
2704
|
*
|
2541
2705
|
* @param {string} project
|
2542
2706
|
* @param {string} location
|
2543
2707
|
* @param {string} collection
|
2544
2708
|
* @param {string} engine
|
2545
2709
|
* @param {string} session
|
2546
|
-
* @param {string} answer
|
2547
2710
|
* @returns {string} Resource name string.
|
2548
2711
|
*/
|
2549
|
-
|
2550
|
-
return this.pathTemplates.
|
2712
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
2713
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
2551
2714
|
project: project,
|
2552
2715
|
location: location,
|
2553
2716
|
collection: collection,
|
2554
2717
|
engine: engine,
|
2555
2718
|
session: session,
|
2556
|
-
answer: answer,
|
2557
2719
|
});
|
2558
2720
|
}
|
2559
2721
|
/**
|
2560
|
-
* Parse the project from
|
2722
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
2561
2723
|
*
|
2562
|
-
* @param {string}
|
2563
|
-
* A fully-qualified path representing
|
2724
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2725
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2564
2726
|
* @returns {string} A string representing the project.
|
2565
2727
|
*/
|
2566
|
-
|
2567
|
-
return this.pathTemplates.
|
2728
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2729
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
2568
2730
|
}
|
2569
2731
|
/**
|
2570
|
-
* Parse the location from
|
2732
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
2571
2733
|
*
|
2572
|
-
* @param {string}
|
2573
|
-
* A fully-qualified path representing
|
2734
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2735
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2574
2736
|
* @returns {string} A string representing the location.
|
2575
2737
|
*/
|
2576
|
-
|
2577
|
-
return this.pathTemplates.
|
2738
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2739
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
2578
2740
|
}
|
2579
2741
|
/**
|
2580
|
-
* Parse the collection from
|
2742
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
2581
2743
|
*
|
2582
|
-
* @param {string}
|
2583
|
-
* A fully-qualified path representing
|
2744
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2745
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2584
2746
|
* @returns {string} A string representing the collection.
|
2585
2747
|
*/
|
2586
|
-
|
2587
|
-
return this.pathTemplates.
|
2748
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2749
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
2588
2750
|
}
|
2589
2751
|
/**
|
2590
|
-
* Parse the engine from
|
2752
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
2591
2753
|
*
|
2592
|
-
* @param {string}
|
2593
|
-
* A fully-qualified path representing
|
2754
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2755
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2594
2756
|
* @returns {string} A string representing the engine.
|
2595
2757
|
*/
|
2596
|
-
|
2597
|
-
return this.pathTemplates.
|
2758
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2759
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
2598
2760
|
}
|
2599
2761
|
/**
|
2600
|
-
* Parse the session from
|
2762
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
2601
2763
|
*
|
2602
|
-
* @param {string}
|
2603
|
-
* A fully-qualified path representing
|
2764
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
2765
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
2604
2766
|
* @returns {string} A string representing the session.
|
2605
2767
|
*/
|
2606
|
-
|
2607
|
-
return this.pathTemplates.
|
2608
|
-
}
|
2609
|
-
/**
|
2610
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
2611
|
-
*
|
2612
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
2613
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
2614
|
-
* @returns {string} A string representing the answer.
|
2615
|
-
*/
|
2616
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
2617
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
2768
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
2769
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
2618
2770
|
}
|
2619
2771
|
/**
|
2620
2772
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -3141,63 +3293,6 @@ class IdentityMappingStoreServiceClient {
|
|
3141
3293
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
3142
3294
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
3143
3295
|
}
|
3144
|
-
/**
|
3145
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
3146
|
-
*
|
3147
|
-
* @param {string} project
|
3148
|
-
* @param {string} location
|
3149
|
-
* @param {string} data_store
|
3150
|
-
* @param {string} session
|
3151
|
-
* @returns {string} Resource name string.
|
3152
|
-
*/
|
3153
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
3154
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
3155
|
-
project: project,
|
3156
|
-
location: location,
|
3157
|
-
data_store: dataStore,
|
3158
|
-
session: session,
|
3159
|
-
});
|
3160
|
-
}
|
3161
|
-
/**
|
3162
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
3163
|
-
*
|
3164
|
-
* @param {string} projectLocationDataStoreSessionName
|
3165
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3166
|
-
* @returns {string} A string representing the project.
|
3167
|
-
*/
|
3168
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3169
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
3170
|
-
}
|
3171
|
-
/**
|
3172
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
3173
|
-
*
|
3174
|
-
* @param {string} projectLocationDataStoreSessionName
|
3175
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3176
|
-
* @returns {string} A string representing the location.
|
3177
|
-
*/
|
3178
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3179
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
3180
|
-
}
|
3181
|
-
/**
|
3182
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
3183
|
-
*
|
3184
|
-
* @param {string} projectLocationDataStoreSessionName
|
3185
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3186
|
-
* @returns {string} A string representing the data_store.
|
3187
|
-
*/
|
3188
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3189
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
3190
|
-
}
|
3191
|
-
/**
|
3192
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
3193
|
-
*
|
3194
|
-
* @param {string} projectLocationDataStoreSessionName
|
3195
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
3196
|
-
* @returns {string} A string representing the session.
|
3197
|
-
*/
|
3198
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
3199
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
3200
|
-
}
|
3201
3296
|
/**
|
3202
3297
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
3203
3298
|
*
|
@@ -3267,6 +3362,63 @@ class IdentityMappingStoreServiceClient {
|
|
3267
3362
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
3268
3363
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
3269
3364
|
}
|
3365
|
+
/**
|
3366
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
3367
|
+
*
|
3368
|
+
* @param {string} project
|
3369
|
+
* @param {string} location
|
3370
|
+
* @param {string} data_store
|
3371
|
+
* @param {string} session
|
3372
|
+
* @returns {string} Resource name string.
|
3373
|
+
*/
|
3374
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
3375
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
3376
|
+
project: project,
|
3377
|
+
location: location,
|
3378
|
+
data_store: dataStore,
|
3379
|
+
session: session,
|
3380
|
+
});
|
3381
|
+
}
|
3382
|
+
/**
|
3383
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
3384
|
+
*
|
3385
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3386
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3387
|
+
* @returns {string} A string representing the project.
|
3388
|
+
*/
|
3389
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3390
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
3391
|
+
}
|
3392
|
+
/**
|
3393
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
3394
|
+
*
|
3395
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3396
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3397
|
+
* @returns {string} A string representing the location.
|
3398
|
+
*/
|
3399
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3400
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
3401
|
+
}
|
3402
|
+
/**
|
3403
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
3404
|
+
*
|
3405
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3406
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3407
|
+
* @returns {string} A string representing the data_store.
|
3408
|
+
*/
|
3409
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3410
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
3411
|
+
}
|
3412
|
+
/**
|
3413
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
3414
|
+
*
|
3415
|
+
* @param {string} projectLocationDataStoreSessionsName
|
3416
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
3417
|
+
* @returns {string} A string representing the session.
|
3418
|
+
*/
|
3419
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
3420
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
3421
|
+
}
|
3270
3422
|
/**
|
3271
3423
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
3272
3424
|
*
|