@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
@@ -175,16 +175,16 @@ class RankServiceClient {
|
|
175
175
|
projectLocationCollectionDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/documentProcessingConfig'),
|
176
176
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
177
177
|
projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
178
|
-
projectLocationCollectionDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
179
178
|
projectLocationCollectionDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
179
|
+
projectLocationCollectionDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/sessions/{session}'),
|
180
180
|
projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
|
181
181
|
projectLocationCollectionDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
182
182
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
183
183
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
184
184
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
185
185
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
186
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
186
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
187
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
188
188
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
189
189
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
190
190
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -194,8 +194,8 @@ class RankServiceClient {
|
|
194
194
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
195
195
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
196
196
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
197
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
197
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
198
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
199
199
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
200
200
|
projectLocationDataStoreSiteSearchEngineSitemapPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/sitemaps/{sitemap}'),
|
201
201
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
@@ -1209,154 +1209,154 @@ class RankServiceClient {
|
|
1209
1209
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1210
1210
|
}
|
1211
1211
|
/**
|
1212
|
-
* Return a fully-qualified
|
1212
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1213
1213
|
*
|
1214
1214
|
* @param {string} project
|
1215
1215
|
* @param {string} location
|
1216
1216
|
* @param {string} collection
|
1217
1217
|
* @param {string} data_store
|
1218
1218
|
* @param {string} session
|
1219
|
+
* @param {string} answer
|
1219
1220
|
* @returns {string} Resource name string.
|
1220
1221
|
*/
|
1221
|
-
|
1222
|
-
return this.pathTemplates.
|
1222
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1223
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1223
1224
|
project: project,
|
1224
1225
|
location: location,
|
1225
1226
|
collection: collection,
|
1226
1227
|
data_store: dataStore,
|
1227
1228
|
session: session,
|
1229
|
+
answer: answer,
|
1228
1230
|
});
|
1229
1231
|
}
|
1230
1232
|
/**
|
1231
|
-
* Parse the project from
|
1233
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1232
1234
|
*
|
1233
|
-
* @param {string}
|
1234
|
-
* A fully-qualified path representing
|
1235
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1236
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1235
1237
|
* @returns {string} A string representing the project.
|
1236
1238
|
*/
|
1237
|
-
|
1238
|
-
return this.pathTemplates.
|
1239
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1240
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1239
1241
|
}
|
1240
1242
|
/**
|
1241
|
-
* Parse the location from
|
1243
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1242
1244
|
*
|
1243
|
-
* @param {string}
|
1244
|
-
* A fully-qualified path representing
|
1245
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1246
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1245
1247
|
* @returns {string} A string representing the location.
|
1246
1248
|
*/
|
1247
|
-
|
1248
|
-
return this.pathTemplates.
|
1249
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1250
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1249
1251
|
}
|
1250
1252
|
/**
|
1251
|
-
* Parse the collection from
|
1253
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1252
1254
|
*
|
1253
|
-
* @param {string}
|
1254
|
-
* A fully-qualified path representing
|
1255
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1256
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1255
1257
|
* @returns {string} A string representing the collection.
|
1256
1258
|
*/
|
1257
|
-
|
1258
|
-
return this.pathTemplates.
|
1259
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1260
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1259
1261
|
}
|
1260
1262
|
/**
|
1261
|
-
* Parse the data_store from
|
1263
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1262
1264
|
*
|
1263
|
-
* @param {string}
|
1264
|
-
* A fully-qualified path representing
|
1265
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1266
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1265
1267
|
* @returns {string} A string representing the data_store.
|
1266
1268
|
*/
|
1267
|
-
|
1268
|
-
return this.pathTemplates.
|
1269
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1270
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1269
1271
|
}
|
1270
1272
|
/**
|
1271
|
-
* Parse the session from
|
1273
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1272
1274
|
*
|
1273
|
-
* @param {string}
|
1274
|
-
* A fully-qualified path representing
|
1275
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1276
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1275
1277
|
* @returns {string} A string representing the session.
|
1276
1278
|
*/
|
1277
|
-
|
1278
|
-
return this.pathTemplates.
|
1279
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1280
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1279
1281
|
}
|
1280
1282
|
/**
|
1281
|
-
*
|
1283
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1284
|
+
*
|
1285
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1286
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1287
|
+
* @returns {string} A string representing the answer.
|
1288
|
+
*/
|
1289
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1290
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1291
|
+
}
|
1292
|
+
/**
|
1293
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1282
1294
|
*
|
1283
1295
|
* @param {string} project
|
1284
1296
|
* @param {string} location
|
1285
1297
|
* @param {string} collection
|
1286
1298
|
* @param {string} data_store
|
1287
1299
|
* @param {string} session
|
1288
|
-
* @param {string} answer
|
1289
1300
|
* @returns {string} Resource name string.
|
1290
1301
|
*/
|
1291
|
-
|
1292
|
-
return this.pathTemplates.
|
1302
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1303
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1293
1304
|
project: project,
|
1294
1305
|
location: location,
|
1295
1306
|
collection: collection,
|
1296
1307
|
data_store: dataStore,
|
1297
1308
|
session: session,
|
1298
|
-
answer: answer,
|
1299
1309
|
});
|
1300
1310
|
}
|
1301
1311
|
/**
|
1302
|
-
* Parse the project from
|
1312
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1303
1313
|
*
|
1304
|
-
* @param {string}
|
1305
|
-
* A fully-qualified path representing
|
1314
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1315
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1306
1316
|
* @returns {string} A string representing the project.
|
1307
1317
|
*/
|
1308
|
-
|
1309
|
-
return this.pathTemplates.
|
1318
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1319
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1310
1320
|
}
|
1311
1321
|
/**
|
1312
|
-
* Parse the location from
|
1322
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1313
1323
|
*
|
1314
|
-
* @param {string}
|
1315
|
-
* A fully-qualified path representing
|
1324
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1325
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1316
1326
|
* @returns {string} A string representing the location.
|
1317
1327
|
*/
|
1318
|
-
|
1319
|
-
return this.pathTemplates.
|
1328
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1329
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1320
1330
|
}
|
1321
1331
|
/**
|
1322
|
-
* Parse the collection from
|
1332
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1323
1333
|
*
|
1324
|
-
* @param {string}
|
1325
|
-
* A fully-qualified path representing
|
1334
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1335
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1326
1336
|
* @returns {string} A string representing the collection.
|
1327
1337
|
*/
|
1328
|
-
|
1329
|
-
return this.pathTemplates.
|
1338
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1339
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1330
1340
|
}
|
1331
1341
|
/**
|
1332
|
-
* Parse the data_store from
|
1342
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1333
1343
|
*
|
1334
|
-
* @param {string}
|
1335
|
-
* A fully-qualified path representing
|
1344
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1345
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1336
1346
|
* @returns {string} A string representing the data_store.
|
1337
1347
|
*/
|
1338
|
-
|
1339
|
-
return this.pathTemplates.
|
1348
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1349
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1340
1350
|
}
|
1341
1351
|
/**
|
1342
|
-
* Parse the session from
|
1352
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1343
1353
|
*
|
1344
|
-
* @param {string}
|
1345
|
-
* A fully-qualified path representing
|
1354
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1355
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1346
1356
|
* @returns {string} A string representing the session.
|
1347
1357
|
*/
|
1348
|
-
|
1349
|
-
return this.pathTemplates.
|
1350
|
-
}
|
1351
|
-
/**
|
1352
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1353
|
-
*
|
1354
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1355
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1356
|
-
* @returns {string} A string representing the answer.
|
1357
|
-
*/
|
1358
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1359
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1358
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1359
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1360
1360
|
}
|
1361
1361
|
/**
|
1362
1362
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1761,154 +1761,154 @@ class RankServiceClient {
|
|
1761
1761
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1762
1762
|
}
|
1763
1763
|
/**
|
1764
|
-
* Return a fully-qualified
|
1764
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1765
1765
|
*
|
1766
1766
|
* @param {string} project
|
1767
1767
|
* @param {string} location
|
1768
1768
|
* @param {string} collection
|
1769
1769
|
* @param {string} engine
|
1770
1770
|
* @param {string} session
|
1771
|
+
* @param {string} answer
|
1771
1772
|
* @returns {string} Resource name string.
|
1772
1773
|
*/
|
1773
|
-
|
1774
|
-
return this.pathTemplates.
|
1774
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1775
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1775
1776
|
project: project,
|
1776
1777
|
location: location,
|
1777
1778
|
collection: collection,
|
1778
1779
|
engine: engine,
|
1779
1780
|
session: session,
|
1781
|
+
answer: answer,
|
1780
1782
|
});
|
1781
1783
|
}
|
1782
1784
|
/**
|
1783
|
-
* Parse the project from
|
1785
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1784
1786
|
*
|
1785
|
-
* @param {string}
|
1786
|
-
* A fully-qualified path representing
|
1787
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1788
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1787
1789
|
* @returns {string} A string representing the project.
|
1788
1790
|
*/
|
1789
|
-
|
1790
|
-
return this.pathTemplates.
|
1791
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1792
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1791
1793
|
}
|
1792
1794
|
/**
|
1793
|
-
* Parse the location from
|
1795
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1794
1796
|
*
|
1795
|
-
* @param {string}
|
1796
|
-
* A fully-qualified path representing
|
1797
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1798
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1797
1799
|
* @returns {string} A string representing the location.
|
1798
1800
|
*/
|
1799
|
-
|
1800
|
-
return this.pathTemplates.
|
1801
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1802
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1801
1803
|
}
|
1802
1804
|
/**
|
1803
|
-
* Parse the collection from
|
1805
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1804
1806
|
*
|
1805
|
-
* @param {string}
|
1806
|
-
* A fully-qualified path representing
|
1807
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1808
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1807
1809
|
* @returns {string} A string representing the collection.
|
1808
1810
|
*/
|
1809
|
-
|
1810
|
-
return this.pathTemplates.
|
1811
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1812
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1811
1813
|
}
|
1812
1814
|
/**
|
1813
|
-
* Parse the engine from
|
1815
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1814
1816
|
*
|
1815
|
-
* @param {string}
|
1816
|
-
* A fully-qualified path representing
|
1817
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1818
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1817
1819
|
* @returns {string} A string representing the engine.
|
1818
1820
|
*/
|
1819
|
-
|
1820
|
-
return this.pathTemplates.
|
1821
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1822
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1821
1823
|
}
|
1822
1824
|
/**
|
1823
|
-
* Parse the session from
|
1825
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1824
1826
|
*
|
1825
|
-
* @param {string}
|
1826
|
-
* A fully-qualified path representing
|
1827
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1828
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1827
1829
|
* @returns {string} A string representing the session.
|
1828
1830
|
*/
|
1829
|
-
|
1830
|
-
return this.pathTemplates.
|
1831
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1832
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1831
1833
|
}
|
1832
1834
|
/**
|
1833
|
-
*
|
1835
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1836
|
+
*
|
1837
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1838
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1839
|
+
* @returns {string} A string representing the answer.
|
1840
|
+
*/
|
1841
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1842
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1843
|
+
}
|
1844
|
+
/**
|
1845
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1834
1846
|
*
|
1835
1847
|
* @param {string} project
|
1836
1848
|
* @param {string} location
|
1837
1849
|
* @param {string} collection
|
1838
1850
|
* @param {string} engine
|
1839
1851
|
* @param {string} session
|
1840
|
-
* @param {string} answer
|
1841
1852
|
* @returns {string} Resource name string.
|
1842
1853
|
*/
|
1843
|
-
|
1844
|
-
return this.pathTemplates.
|
1854
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1855
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1845
1856
|
project: project,
|
1846
1857
|
location: location,
|
1847
1858
|
collection: collection,
|
1848
1859
|
engine: engine,
|
1849
1860
|
session: session,
|
1850
|
-
answer: answer,
|
1851
1861
|
});
|
1852
1862
|
}
|
1853
1863
|
/**
|
1854
|
-
* Parse the project from
|
1864
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1855
1865
|
*
|
1856
|
-
* @param {string}
|
1857
|
-
* A fully-qualified path representing
|
1866
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1867
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1858
1868
|
* @returns {string} A string representing the project.
|
1859
1869
|
*/
|
1860
|
-
|
1861
|
-
return this.pathTemplates.
|
1870
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1871
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1862
1872
|
}
|
1863
1873
|
/**
|
1864
|
-
* Parse the location from
|
1874
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1865
1875
|
*
|
1866
|
-
* @param {string}
|
1867
|
-
* A fully-qualified path representing
|
1876
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1877
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1868
1878
|
* @returns {string} A string representing the location.
|
1869
1879
|
*/
|
1870
|
-
|
1871
|
-
return this.pathTemplates.
|
1880
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1881
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1872
1882
|
}
|
1873
1883
|
/**
|
1874
|
-
* Parse the collection from
|
1884
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1875
1885
|
*
|
1876
|
-
* @param {string}
|
1877
|
-
* A fully-qualified path representing
|
1886
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1887
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1878
1888
|
* @returns {string} A string representing the collection.
|
1879
1889
|
*/
|
1880
|
-
|
1881
|
-
return this.pathTemplates.
|
1890
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1891
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1882
1892
|
}
|
1883
1893
|
/**
|
1884
|
-
* Parse the engine from
|
1894
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1885
1895
|
*
|
1886
|
-
* @param {string}
|
1887
|
-
* A fully-qualified path representing
|
1896
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1897
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1888
1898
|
* @returns {string} A string representing the engine.
|
1889
1899
|
*/
|
1890
|
-
|
1891
|
-
return this.pathTemplates.
|
1900
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1901
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1892
1902
|
}
|
1893
1903
|
/**
|
1894
|
-
* Parse the session from
|
1904
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1895
1905
|
*
|
1896
|
-
* @param {string}
|
1897
|
-
* A fully-qualified path representing
|
1906
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1907
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1898
1908
|
* @returns {string} A string representing the session.
|
1899
1909
|
*/
|
1900
|
-
|
1901
|
-
return this.pathTemplates.
|
1902
|
-
}
|
1903
|
-
/**
|
1904
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1905
|
-
*
|
1906
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1907
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1908
|
-
* @returns {string} A string representing the answer.
|
1909
|
-
*/
|
1910
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1911
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1910
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1911
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1912
1912
|
}
|
1913
1913
|
/**
|
1914
1914
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2435,63 +2435,6 @@ class RankServiceClient {
|
|
2435
2435
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2436
2436
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2437
2437
|
}
|
2438
|
-
/**
|
2439
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2440
|
-
*
|
2441
|
-
* @param {string} project
|
2442
|
-
* @param {string} location
|
2443
|
-
* @param {string} data_store
|
2444
|
-
* @param {string} session
|
2445
|
-
* @returns {string} Resource name string.
|
2446
|
-
*/
|
2447
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2448
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2449
|
-
project: project,
|
2450
|
-
location: location,
|
2451
|
-
data_store: dataStore,
|
2452
|
-
session: session,
|
2453
|
-
});
|
2454
|
-
}
|
2455
|
-
/**
|
2456
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2457
|
-
*
|
2458
|
-
* @param {string} projectLocationDataStoreSessionName
|
2459
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2460
|
-
* @returns {string} A string representing the project.
|
2461
|
-
*/
|
2462
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2463
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2464
|
-
}
|
2465
|
-
/**
|
2466
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2467
|
-
*
|
2468
|
-
* @param {string} projectLocationDataStoreSessionName
|
2469
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2470
|
-
* @returns {string} A string representing the location.
|
2471
|
-
*/
|
2472
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2473
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2474
|
-
}
|
2475
|
-
/**
|
2476
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2477
|
-
*
|
2478
|
-
* @param {string} projectLocationDataStoreSessionName
|
2479
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2480
|
-
* @returns {string} A string representing the data_store.
|
2481
|
-
*/
|
2482
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2483
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2484
|
-
}
|
2485
|
-
/**
|
2486
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2487
|
-
*
|
2488
|
-
* @param {string} projectLocationDataStoreSessionName
|
2489
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2490
|
-
* @returns {string} A string representing the session.
|
2491
|
-
*/
|
2492
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2493
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2494
|
-
}
|
2495
2438
|
/**
|
2496
2439
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2497
2440
|
*
|
@@ -2561,6 +2504,63 @@ class RankServiceClient {
|
|
2561
2504
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2562
2505
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2563
2506
|
}
|
2507
|
+
/**
|
2508
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2509
|
+
*
|
2510
|
+
* @param {string} project
|
2511
|
+
* @param {string} location
|
2512
|
+
* @param {string} data_store
|
2513
|
+
* @param {string} session
|
2514
|
+
* @returns {string} Resource name string.
|
2515
|
+
*/
|
2516
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2517
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2518
|
+
project: project,
|
2519
|
+
location: location,
|
2520
|
+
data_store: dataStore,
|
2521
|
+
session: session,
|
2522
|
+
});
|
2523
|
+
}
|
2524
|
+
/**
|
2525
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2526
|
+
*
|
2527
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2528
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2529
|
+
* @returns {string} A string representing the project.
|
2530
|
+
*/
|
2531
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2532
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2533
|
+
}
|
2534
|
+
/**
|
2535
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2536
|
+
*
|
2537
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2538
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2539
|
+
* @returns {string} A string representing the location.
|
2540
|
+
*/
|
2541
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2542
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2543
|
+
}
|
2544
|
+
/**
|
2545
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2546
|
+
*
|
2547
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2548
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2549
|
+
* @returns {string} A string representing the data_store.
|
2550
|
+
*/
|
2551
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2552
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2553
|
+
}
|
2554
|
+
/**
|
2555
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2556
|
+
*
|
2557
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2558
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2559
|
+
* @returns {string} A string representing the session.
|
2560
|
+
*/
|
2561
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2562
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2563
|
+
}
|
2564
2564
|
/**
|
2565
2565
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2566
2566
|
*
|
@@ -37,6 +37,7 @@
|
|
37
37
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config.proto",
|
38
38
|
"../../protos/google/cloud/discoveryengine/v1beta/serving_config_service.proto",
|
39
39
|
"../../protos/google/cloud/discoveryengine/v1beta/session.proto",
|
40
|
+
"../../protos/google/cloud/discoveryengine/v1beta/session_service.proto",
|
40
41
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine.proto",
|
41
42
|
"../../protos/google/cloud/discoveryengine/v1beta/site_search_engine_service.proto",
|
42
43
|
"../../protos/google/cloud/discoveryengine/v1beta/user_event.proto",
|