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