@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,15 +175,15 @@ class RecommendationServiceClient {
|
|
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
|
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
182
182
|
projectLocationCollectionEngineControlPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/controls/{control}'),
|
183
183
|
projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
|
184
184
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
185
|
-
projectLocationCollectionEngineSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
186
185
|
projectLocationCollectionEngineSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}/answers/{answer}'),
|
186
|
+
projectLocationCollectionEngineSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/sessions/{session}'),
|
187
187
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
188
188
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
189
189
|
projectLocationDataStoreBranchDocumentChunkPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}/chunks/{chunk}'),
|
@@ -193,8 +193,8 @@ class RecommendationServiceClient {
|
|
193
193
|
projectLocationDataStoreDocumentProcessingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/documentProcessingConfig'),
|
194
194
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
195
195
|
projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
|
196
|
-
projectLocationDataStoreSessionPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
197
196
|
projectLocationDataStoreSessionAnswerPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}/answers/{answer}'),
|
197
|
+
projectLocationDataStoreSessionsPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/sessions/{session}'),
|
198
198
|
projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
|
199
199
|
projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
|
200
200
|
sampleQueryPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}'),
|
@@ -1194,154 +1194,154 @@ class RecommendationServiceClient {
|
|
1194
1194
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
1195
1195
|
}
|
1196
1196
|
/**
|
1197
|
-
* Return a fully-qualified
|
1197
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessionAnswer resource name string.
|
1198
1198
|
*
|
1199
1199
|
* @param {string} project
|
1200
1200
|
* @param {string} location
|
1201
1201
|
* @param {string} collection
|
1202
1202
|
* @param {string} data_store
|
1203
1203
|
* @param {string} session
|
1204
|
+
* @param {string} answer
|
1204
1205
|
* @returns {string} Resource name string.
|
1205
1206
|
*/
|
1206
|
-
|
1207
|
-
return this.pathTemplates.
|
1207
|
+
projectLocationCollectionDataStoreSessionAnswerPath(project, location, collection, dataStore, session, answer) {
|
1208
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.render({
|
1208
1209
|
project: project,
|
1209
1210
|
location: location,
|
1210
1211
|
collection: collection,
|
1211
1212
|
data_store: dataStore,
|
1212
1213
|
session: session,
|
1214
|
+
answer: answer,
|
1213
1215
|
});
|
1214
1216
|
}
|
1215
1217
|
/**
|
1216
|
-
* Parse the project from
|
1218
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1217
1219
|
*
|
1218
|
-
* @param {string}
|
1219
|
-
* A fully-qualified path representing
|
1220
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1221
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1220
1222
|
* @returns {string} A string representing the project.
|
1221
1223
|
*/
|
1222
|
-
|
1223
|
-
return this.pathTemplates.
|
1224
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1225
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).project;
|
1224
1226
|
}
|
1225
1227
|
/**
|
1226
|
-
* Parse the location from
|
1228
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1227
1229
|
*
|
1228
|
-
* @param {string}
|
1229
|
-
* A fully-qualified path representing
|
1230
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1231
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1230
1232
|
* @returns {string} A string representing the location.
|
1231
1233
|
*/
|
1232
|
-
|
1233
|
-
return this.pathTemplates.
|
1234
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1235
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).location;
|
1234
1236
|
}
|
1235
1237
|
/**
|
1236
|
-
* Parse the collection from
|
1238
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1237
1239
|
*
|
1238
|
-
* @param {string}
|
1239
|
-
* A fully-qualified path representing
|
1240
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1241
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1240
1242
|
* @returns {string} A string representing the collection.
|
1241
1243
|
*/
|
1242
|
-
|
1243
|
-
return this.pathTemplates.
|
1244
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1245
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).collection;
|
1244
1246
|
}
|
1245
1247
|
/**
|
1246
|
-
* Parse the data_store from
|
1248
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1247
1249
|
*
|
1248
|
-
* @param {string}
|
1249
|
-
* A fully-qualified path representing
|
1250
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1251
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1250
1252
|
* @returns {string} A string representing the data_store.
|
1251
1253
|
*/
|
1252
|
-
|
1253
|
-
return this.pathTemplates.
|
1254
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1255
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).data_store;
|
1254
1256
|
}
|
1255
1257
|
/**
|
1256
|
-
* Parse the session from
|
1258
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1257
1259
|
*
|
1258
|
-
* @param {string}
|
1259
|
-
* A fully-qualified path representing
|
1260
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1261
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1260
1262
|
* @returns {string} A string representing the session.
|
1261
1263
|
*/
|
1262
|
-
|
1263
|
-
return this.pathTemplates.
|
1264
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1265
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).session;
|
1264
1266
|
}
|
1265
1267
|
/**
|
1266
|
-
*
|
1268
|
+
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1269
|
+
*
|
1270
|
+
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1271
|
+
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1272
|
+
* @returns {string} A string representing the answer.
|
1273
|
+
*/
|
1274
|
+
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1275
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1276
|
+
}
|
1277
|
+
/**
|
1278
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSessions resource name string.
|
1267
1279
|
*
|
1268
1280
|
* @param {string} project
|
1269
1281
|
* @param {string} location
|
1270
1282
|
* @param {string} collection
|
1271
1283
|
* @param {string} data_store
|
1272
1284
|
* @param {string} session
|
1273
|
-
* @param {string} answer
|
1274
1285
|
* @returns {string} Resource name string.
|
1275
1286
|
*/
|
1276
|
-
|
1277
|
-
return this.pathTemplates.
|
1287
|
+
projectLocationCollectionDataStoreSessionsPath(project, location, collection, dataStore, session) {
|
1288
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.render({
|
1278
1289
|
project: project,
|
1279
1290
|
location: location,
|
1280
1291
|
collection: collection,
|
1281
1292
|
data_store: dataStore,
|
1282
1293
|
session: session,
|
1283
|
-
answer: answer,
|
1284
1294
|
});
|
1285
1295
|
}
|
1286
1296
|
/**
|
1287
|
-
* Parse the project from
|
1297
|
+
* Parse the project from ProjectLocationCollectionDataStoreSessions resource.
|
1288
1298
|
*
|
1289
|
-
* @param {string}
|
1290
|
-
* A fully-qualified path representing
|
1299
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1300
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1291
1301
|
* @returns {string} A string representing the project.
|
1292
1302
|
*/
|
1293
|
-
|
1294
|
-
return this.pathTemplates.
|
1303
|
+
matchProjectFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1304
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).project;
|
1295
1305
|
}
|
1296
1306
|
/**
|
1297
|
-
* Parse the location from
|
1307
|
+
* Parse the location from ProjectLocationCollectionDataStoreSessions resource.
|
1298
1308
|
*
|
1299
|
-
* @param {string}
|
1300
|
-
* A fully-qualified path representing
|
1309
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1310
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1301
1311
|
* @returns {string} A string representing the location.
|
1302
1312
|
*/
|
1303
|
-
|
1304
|
-
return this.pathTemplates.
|
1313
|
+
matchLocationFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1314
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).location;
|
1305
1315
|
}
|
1306
1316
|
/**
|
1307
|
-
* Parse the collection from
|
1317
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSessions resource.
|
1308
1318
|
*
|
1309
|
-
* @param {string}
|
1310
|
-
* A fully-qualified path representing
|
1319
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1320
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1311
1321
|
* @returns {string} A string representing the collection.
|
1312
1322
|
*/
|
1313
|
-
|
1314
|
-
return this.pathTemplates.
|
1323
|
+
matchCollectionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1324
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).collection;
|
1315
1325
|
}
|
1316
1326
|
/**
|
1317
|
-
* Parse the data_store from
|
1327
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSessions resource.
|
1318
1328
|
*
|
1319
|
-
* @param {string}
|
1320
|
-
* A fully-qualified path representing
|
1329
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1330
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1321
1331
|
* @returns {string} A string representing the data_store.
|
1322
1332
|
*/
|
1323
|
-
|
1324
|
-
return this.pathTemplates.
|
1333
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1334
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).data_store;
|
1325
1335
|
}
|
1326
1336
|
/**
|
1327
|
-
* Parse the session from
|
1337
|
+
* Parse the session from ProjectLocationCollectionDataStoreSessions resource.
|
1328
1338
|
*
|
1329
|
-
* @param {string}
|
1330
|
-
* A fully-qualified path representing
|
1339
|
+
* @param {string} projectLocationCollectionDataStoreSessionsName
|
1340
|
+
* A fully-qualified path representing project_location_collection_data_store_sessions resource.
|
1331
1341
|
* @returns {string} A string representing the session.
|
1332
1342
|
*/
|
1333
|
-
|
1334
|
-
return this.pathTemplates.
|
1335
|
-
}
|
1336
|
-
/**
|
1337
|
-
* Parse the answer from ProjectLocationCollectionDataStoreSessionAnswer resource.
|
1338
|
-
*
|
1339
|
-
* @param {string} projectLocationCollectionDataStoreSessionAnswerName
|
1340
|
-
* A fully-qualified path representing project_location_collection_data_store_session_answer resource.
|
1341
|
-
* @returns {string} A string representing the answer.
|
1342
|
-
*/
|
1343
|
-
matchAnswerFromProjectLocationCollectionDataStoreSessionAnswerName(projectLocationCollectionDataStoreSessionAnswerName) {
|
1344
|
-
return this.pathTemplates.projectLocationCollectionDataStoreSessionAnswerPathTemplate.match(projectLocationCollectionDataStoreSessionAnswerName).answer;
|
1343
|
+
matchSessionFromProjectLocationCollectionDataStoreSessionsName(projectLocationCollectionDataStoreSessionsName) {
|
1344
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSessionsPathTemplate.match(projectLocationCollectionDataStoreSessionsName).session;
|
1345
1345
|
}
|
1346
1346
|
/**
|
1347
1347
|
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
@@ -1677,154 +1677,154 @@ class RecommendationServiceClient {
|
|
1677
1677
|
return this.pathTemplates.projectLocationCollectionEngineServingConfigPathTemplate.match(projectLocationCollectionEngineServingConfigName).serving_config;
|
1678
1678
|
}
|
1679
1679
|
/**
|
1680
|
-
* Return a fully-qualified
|
1680
|
+
* Return a fully-qualified projectLocationCollectionEngineSessionAnswer resource name string.
|
1681
1681
|
*
|
1682
1682
|
* @param {string} project
|
1683
1683
|
* @param {string} location
|
1684
1684
|
* @param {string} collection
|
1685
1685
|
* @param {string} engine
|
1686
1686
|
* @param {string} session
|
1687
|
+
* @param {string} answer
|
1687
1688
|
* @returns {string} Resource name string.
|
1688
1689
|
*/
|
1689
|
-
|
1690
|
-
return this.pathTemplates.
|
1690
|
+
projectLocationCollectionEngineSessionAnswerPath(project, location, collection, engine, session, answer) {
|
1691
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.render({
|
1691
1692
|
project: project,
|
1692
1693
|
location: location,
|
1693
1694
|
collection: collection,
|
1694
1695
|
engine: engine,
|
1695
1696
|
session: session,
|
1697
|
+
answer: answer,
|
1696
1698
|
});
|
1697
1699
|
}
|
1698
1700
|
/**
|
1699
|
-
* Parse the project from
|
1701
|
+
* Parse the project from ProjectLocationCollectionEngineSessionAnswer resource.
|
1700
1702
|
*
|
1701
|
-
* @param {string}
|
1702
|
-
* A fully-qualified path representing
|
1703
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1704
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1703
1705
|
* @returns {string} A string representing the project.
|
1704
1706
|
*/
|
1705
|
-
|
1706
|
-
return this.pathTemplates.
|
1707
|
+
matchProjectFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1708
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).project;
|
1707
1709
|
}
|
1708
1710
|
/**
|
1709
|
-
* Parse the location from
|
1711
|
+
* Parse the location from ProjectLocationCollectionEngineSessionAnswer resource.
|
1710
1712
|
*
|
1711
|
-
* @param {string}
|
1712
|
-
* A fully-qualified path representing
|
1713
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1714
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1713
1715
|
* @returns {string} A string representing the location.
|
1714
1716
|
*/
|
1715
|
-
|
1716
|
-
return this.pathTemplates.
|
1717
|
+
matchLocationFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1718
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).location;
|
1717
1719
|
}
|
1718
1720
|
/**
|
1719
|
-
* Parse the collection from
|
1721
|
+
* Parse the collection from ProjectLocationCollectionEngineSessionAnswer resource.
|
1720
1722
|
*
|
1721
|
-
* @param {string}
|
1722
|
-
* A fully-qualified path representing
|
1723
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1724
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1723
1725
|
* @returns {string} A string representing the collection.
|
1724
1726
|
*/
|
1725
|
-
|
1726
|
-
return this.pathTemplates.
|
1727
|
+
matchCollectionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1728
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).collection;
|
1727
1729
|
}
|
1728
1730
|
/**
|
1729
|
-
* Parse the engine from
|
1731
|
+
* Parse the engine from ProjectLocationCollectionEngineSessionAnswer resource.
|
1730
1732
|
*
|
1731
|
-
* @param {string}
|
1732
|
-
* A fully-qualified path representing
|
1733
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1734
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1733
1735
|
* @returns {string} A string representing the engine.
|
1734
1736
|
*/
|
1735
|
-
|
1736
|
-
return this.pathTemplates.
|
1737
|
+
matchEngineFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1738
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).engine;
|
1737
1739
|
}
|
1738
1740
|
/**
|
1739
|
-
* Parse the session from
|
1741
|
+
* Parse the session from ProjectLocationCollectionEngineSessionAnswer resource.
|
1740
1742
|
*
|
1741
|
-
* @param {string}
|
1742
|
-
* A fully-qualified path representing
|
1743
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1744
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1743
1745
|
* @returns {string} A string representing the session.
|
1744
1746
|
*/
|
1745
|
-
|
1746
|
-
return this.pathTemplates.
|
1747
|
+
matchSessionFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1748
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).session;
|
1747
1749
|
}
|
1748
1750
|
/**
|
1749
|
-
*
|
1751
|
+
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1752
|
+
*
|
1753
|
+
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1754
|
+
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1755
|
+
* @returns {string} A string representing the answer.
|
1756
|
+
*/
|
1757
|
+
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1758
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1759
|
+
}
|
1760
|
+
/**
|
1761
|
+
* Return a fully-qualified projectLocationCollectionEngineSessions resource name string.
|
1750
1762
|
*
|
1751
1763
|
* @param {string} project
|
1752
1764
|
* @param {string} location
|
1753
1765
|
* @param {string} collection
|
1754
1766
|
* @param {string} engine
|
1755
1767
|
* @param {string} session
|
1756
|
-
* @param {string} answer
|
1757
1768
|
* @returns {string} Resource name string.
|
1758
1769
|
*/
|
1759
|
-
|
1760
|
-
return this.pathTemplates.
|
1770
|
+
projectLocationCollectionEngineSessionsPath(project, location, collection, engine, session) {
|
1771
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.render({
|
1761
1772
|
project: project,
|
1762
1773
|
location: location,
|
1763
1774
|
collection: collection,
|
1764
1775
|
engine: engine,
|
1765
1776
|
session: session,
|
1766
|
-
answer: answer,
|
1767
1777
|
});
|
1768
1778
|
}
|
1769
1779
|
/**
|
1770
|
-
* Parse the project from
|
1780
|
+
* Parse the project from ProjectLocationCollectionEngineSessions resource.
|
1771
1781
|
*
|
1772
|
-
* @param {string}
|
1773
|
-
* A fully-qualified path representing
|
1782
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1783
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1774
1784
|
* @returns {string} A string representing the project.
|
1775
1785
|
*/
|
1776
|
-
|
1777
|
-
return this.pathTemplates.
|
1786
|
+
matchProjectFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1787
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).project;
|
1778
1788
|
}
|
1779
1789
|
/**
|
1780
|
-
* Parse the location from
|
1790
|
+
* Parse the location from ProjectLocationCollectionEngineSessions resource.
|
1781
1791
|
*
|
1782
|
-
* @param {string}
|
1783
|
-
* A fully-qualified path representing
|
1792
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1793
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1784
1794
|
* @returns {string} A string representing the location.
|
1785
1795
|
*/
|
1786
|
-
|
1787
|
-
return this.pathTemplates.
|
1796
|
+
matchLocationFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1797
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).location;
|
1788
1798
|
}
|
1789
1799
|
/**
|
1790
|
-
* Parse the collection from
|
1800
|
+
* Parse the collection from ProjectLocationCollectionEngineSessions resource.
|
1791
1801
|
*
|
1792
|
-
* @param {string}
|
1793
|
-
* A fully-qualified path representing
|
1802
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1803
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1794
1804
|
* @returns {string} A string representing the collection.
|
1795
1805
|
*/
|
1796
|
-
|
1797
|
-
return this.pathTemplates.
|
1806
|
+
matchCollectionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1807
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).collection;
|
1798
1808
|
}
|
1799
1809
|
/**
|
1800
|
-
* Parse the engine from
|
1810
|
+
* Parse the engine from ProjectLocationCollectionEngineSessions resource.
|
1801
1811
|
*
|
1802
|
-
* @param {string}
|
1803
|
-
* A fully-qualified path representing
|
1812
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1813
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1804
1814
|
* @returns {string} A string representing the engine.
|
1805
1815
|
*/
|
1806
|
-
|
1807
|
-
return this.pathTemplates.
|
1816
|
+
matchEngineFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1817
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).engine;
|
1808
1818
|
}
|
1809
1819
|
/**
|
1810
|
-
* Parse the session from
|
1820
|
+
* Parse the session from ProjectLocationCollectionEngineSessions resource.
|
1811
1821
|
*
|
1812
|
-
* @param {string}
|
1813
|
-
* A fully-qualified path representing
|
1822
|
+
* @param {string} projectLocationCollectionEngineSessionsName
|
1823
|
+
* A fully-qualified path representing project_location_collection_engine_sessions resource.
|
1814
1824
|
* @returns {string} A string representing the session.
|
1815
1825
|
*/
|
1816
|
-
|
1817
|
-
return this.pathTemplates.
|
1818
|
-
}
|
1819
|
-
/**
|
1820
|
-
* Parse the answer from ProjectLocationCollectionEngineSessionAnswer resource.
|
1821
|
-
*
|
1822
|
-
* @param {string} projectLocationCollectionEngineSessionAnswerName
|
1823
|
-
* A fully-qualified path representing project_location_collection_engine_session_answer resource.
|
1824
|
-
* @returns {string} A string representing the answer.
|
1825
|
-
*/
|
1826
|
-
matchAnswerFromProjectLocationCollectionEngineSessionAnswerName(projectLocationCollectionEngineSessionAnswerName) {
|
1827
|
-
return this.pathTemplates.projectLocationCollectionEngineSessionAnswerPathTemplate.match(projectLocationCollectionEngineSessionAnswerName).answer;
|
1826
|
+
matchSessionFromProjectLocationCollectionEngineSessionsName(projectLocationCollectionEngineSessionsName) {
|
1827
|
+
return this.pathTemplates.projectLocationCollectionEngineSessionsPathTemplate.match(projectLocationCollectionEngineSessionsName).session;
|
1828
1828
|
}
|
1829
1829
|
/**
|
1830
1830
|
* Return a fully-qualified projectLocationDataStore resource name string.
|
@@ -2351,63 +2351,6 @@ class RecommendationServiceClient {
|
|
2351
2351
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
2352
2352
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
2353
2353
|
}
|
2354
|
-
/**
|
2355
|
-
* Return a fully-qualified projectLocationDataStoreSession resource name string.
|
2356
|
-
*
|
2357
|
-
* @param {string} project
|
2358
|
-
* @param {string} location
|
2359
|
-
* @param {string} data_store
|
2360
|
-
* @param {string} session
|
2361
|
-
* @returns {string} Resource name string.
|
2362
|
-
*/
|
2363
|
-
projectLocationDataStoreSessionPath(project, location, dataStore, session) {
|
2364
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.render({
|
2365
|
-
project: project,
|
2366
|
-
location: location,
|
2367
|
-
data_store: dataStore,
|
2368
|
-
session: session,
|
2369
|
-
});
|
2370
|
-
}
|
2371
|
-
/**
|
2372
|
-
* Parse the project from ProjectLocationDataStoreSession resource.
|
2373
|
-
*
|
2374
|
-
* @param {string} projectLocationDataStoreSessionName
|
2375
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2376
|
-
* @returns {string} A string representing the project.
|
2377
|
-
*/
|
2378
|
-
matchProjectFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2379
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).project;
|
2380
|
-
}
|
2381
|
-
/**
|
2382
|
-
* Parse the location from ProjectLocationDataStoreSession resource.
|
2383
|
-
*
|
2384
|
-
* @param {string} projectLocationDataStoreSessionName
|
2385
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2386
|
-
* @returns {string} A string representing the location.
|
2387
|
-
*/
|
2388
|
-
matchLocationFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2389
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).location;
|
2390
|
-
}
|
2391
|
-
/**
|
2392
|
-
* Parse the data_store from ProjectLocationDataStoreSession resource.
|
2393
|
-
*
|
2394
|
-
* @param {string} projectLocationDataStoreSessionName
|
2395
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2396
|
-
* @returns {string} A string representing the data_store.
|
2397
|
-
*/
|
2398
|
-
matchDataStoreFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2399
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).data_store;
|
2400
|
-
}
|
2401
|
-
/**
|
2402
|
-
* Parse the session from ProjectLocationDataStoreSession resource.
|
2403
|
-
*
|
2404
|
-
* @param {string} projectLocationDataStoreSessionName
|
2405
|
-
* A fully-qualified path representing project_location_data_store_session resource.
|
2406
|
-
* @returns {string} A string representing the session.
|
2407
|
-
*/
|
2408
|
-
matchSessionFromProjectLocationDataStoreSessionName(projectLocationDataStoreSessionName) {
|
2409
|
-
return this.pathTemplates.projectLocationDataStoreSessionPathTemplate.match(projectLocationDataStoreSessionName).session;
|
2410
|
-
}
|
2411
2354
|
/**
|
2412
2355
|
* Return a fully-qualified projectLocationDataStoreSessionAnswer resource name string.
|
2413
2356
|
*
|
@@ -2477,6 +2420,63 @@ class RecommendationServiceClient {
|
|
2477
2420
|
matchAnswerFromProjectLocationDataStoreSessionAnswerName(projectLocationDataStoreSessionAnswerName) {
|
2478
2421
|
return this.pathTemplates.projectLocationDataStoreSessionAnswerPathTemplate.match(projectLocationDataStoreSessionAnswerName).answer;
|
2479
2422
|
}
|
2423
|
+
/**
|
2424
|
+
* Return a fully-qualified projectLocationDataStoreSessions resource name string.
|
2425
|
+
*
|
2426
|
+
* @param {string} project
|
2427
|
+
* @param {string} location
|
2428
|
+
* @param {string} data_store
|
2429
|
+
* @param {string} session
|
2430
|
+
* @returns {string} Resource name string.
|
2431
|
+
*/
|
2432
|
+
projectLocationDataStoreSessionsPath(project, location, dataStore, session) {
|
2433
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.render({
|
2434
|
+
project: project,
|
2435
|
+
location: location,
|
2436
|
+
data_store: dataStore,
|
2437
|
+
session: session,
|
2438
|
+
});
|
2439
|
+
}
|
2440
|
+
/**
|
2441
|
+
* Parse the project from ProjectLocationDataStoreSessions resource.
|
2442
|
+
*
|
2443
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2444
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2445
|
+
* @returns {string} A string representing the project.
|
2446
|
+
*/
|
2447
|
+
matchProjectFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2448
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).project;
|
2449
|
+
}
|
2450
|
+
/**
|
2451
|
+
* Parse the location from ProjectLocationDataStoreSessions resource.
|
2452
|
+
*
|
2453
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2454
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2455
|
+
* @returns {string} A string representing the location.
|
2456
|
+
*/
|
2457
|
+
matchLocationFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2458
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).location;
|
2459
|
+
}
|
2460
|
+
/**
|
2461
|
+
* Parse the data_store from ProjectLocationDataStoreSessions resource.
|
2462
|
+
*
|
2463
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2464
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2465
|
+
* @returns {string} A string representing the data_store.
|
2466
|
+
*/
|
2467
|
+
matchDataStoreFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2468
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).data_store;
|
2469
|
+
}
|
2470
|
+
/**
|
2471
|
+
* Parse the session from ProjectLocationDataStoreSessions resource.
|
2472
|
+
*
|
2473
|
+
* @param {string} projectLocationDataStoreSessionsName
|
2474
|
+
* A fully-qualified path representing project_location_data_store_sessions resource.
|
2475
|
+
* @returns {string} A string representing the session.
|
2476
|
+
*/
|
2477
|
+
matchSessionFromProjectLocationDataStoreSessionsName(projectLocationDataStoreSessionsName) {
|
2478
|
+
return this.pathTemplates.projectLocationDataStoreSessionsPathTemplate.match(projectLocationDataStoreSessionsName).session;
|
2479
|
+
}
|
2480
2480
|
/**
|
2481
2481
|
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
2482
2482
|
*
|
@@ -41,6 +41,7 @@
|
|
41
41
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config.proto",
|
42
42
|
"../../protos/google/cloud/discoveryengine/v1alpha/serving_config_service.proto",
|
43
43
|
"../../protos/google/cloud/discoveryengine/v1alpha/session.proto",
|
44
|
+
"../../protos/google/cloud/discoveryengine/v1alpha/session_service.proto",
|
44
45
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto",
|
45
46
|
"../../protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto",
|
46
47
|
"../../protos/google/cloud/discoveryengine/v1alpha/user_event.proto",
|