@google-cloud/discoveryengine 1.3.0 → 1.3.1

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +12 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
  4. package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
  5. package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
  6. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  12. package/build/protos/protos.d.ts +4473 -550
  13. package/build/protos/protos.js +27437 -19222
  14. package/build/protos/protos.json +1060 -358
  15. package/build/src/index.js +1 -1
  16. package/build/src/v1/completion_service_client.js +1 -1
  17. package/build/src/v1/conversational_search_service_client.js +1 -1
  18. package/build/src/v1/document_service_client.js +1 -1
  19. package/build/src/v1/index.js +1 -1
  20. package/build/src/v1/schema_service_client.js +1 -1
  21. package/build/src/v1/search_service_client.js +1 -1
  22. package/build/src/v1/user_event_service_client.js +1 -1
  23. package/build/src/v1alpha/completion_service_client.d.ts +219 -0
  24. package/build/src/v1alpha/completion_service_client.js +302 -0
  25. package/build/src/v1alpha/conversational_search_service_client.d.ts +236 -0
  26. package/build/src/v1alpha/conversational_search_service_client.js +302 -0
  27. package/build/src/v1alpha/data_store_service_client.d.ts +219 -0
  28. package/build/src/v1alpha/data_store_service_client.js +310 -2
  29. package/build/src/v1alpha/document_service_client.d.ts +219 -0
  30. package/build/src/v1alpha/document_service_client.js +310 -2
  31. package/build/src/v1alpha/engine_service_client.d.ts +220 -1
  32. package/build/src/v1alpha/engine_service_client.js +310 -2
  33. package/build/src/v1alpha/index.d.ts +1 -0
  34. package/build/src/v1alpha/index.js +3 -1
  35. package/build/src/v1alpha/recommendation_service_client.d.ts +219 -0
  36. package/build/src/v1alpha/recommendation_service_client.js +302 -0
  37. package/build/src/v1alpha/schema_service_client.d.ts +219 -0
  38. package/build/src/v1alpha/schema_service_client.js +310 -2
  39. package/build/src/v1alpha/search_service_client.d.ts +258 -0
  40. package/build/src/v1alpha/search_service_client.js +328 -0
  41. package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
  42. package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
  43. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  44. package/build/src/v1alpha/site_search_engine_service_client.d.ts +739 -1
  45. package/build/src/v1alpha/site_search_engine_service_client.js +801 -4
  46. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  47. package/build/src/v1alpha/user_event_service_client.d.ts +219 -0
  48. package/build/src/v1alpha/user_event_service_client.js +310 -2
  49. package/build/src/v1beta/completion_service_client.js +1 -1
  50. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  51. package/build/src/v1beta/document_service_client.js +1 -1
  52. package/build/src/v1beta/index.js +1 -1
  53. package/build/src/v1beta/recommendation_service_client.js +1 -1
  54. package/build/src/v1beta/schema_service_client.js +1 -1
  55. package/build/src/v1beta/search_service_client.js +1 -1
  56. package/build/src/v1beta/user_event_service_client.js +1 -1
  57. package/package.json +2 -2
@@ -200,7 +200,7 @@ export declare class EngineServiceClient {
200
200
  pauseEngine(request: protos.google.cloud.discoveryengine.v1alpha.IPauseEngineRequest, callback: Callback<protos.google.cloud.discoveryengine.v1alpha.IEngine, protos.google.cloud.discoveryengine.v1alpha.IPauseEngineRequest | null | undefined, {} | null | undefined>): void;
201
201
  /**
202
202
  * Resumes the training of an existing engine. Only applicable if
203
- * {@link protos.|solution_type} is
203
+ * {@link protos.google.cloud.discoveryengine.v1alpha.SolutionType|SolutionType} is
204
204
  * {@link protos.google.cloud.discoveryengine.v1alpha.SolutionType.SOLUTION_TYPE_RECOMMENDATION|SOLUTION_TYPE_RECOMMENDATION}.
205
205
  *
206
206
  * @param {Object} request
@@ -901,6 +901,150 @@ export declare class EngineServiceClient {
901
901
  * @returns {string} A string representing the schema.
902
902
  */
903
903
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
904
+ /**
905
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
906
+ *
907
+ * @param {string} project
908
+ * @param {string} location
909
+ * @param {string} collection
910
+ * @param {string} data_store
911
+ * @returns {string} Resource name string.
912
+ */
913
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
914
+ /**
915
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
916
+ *
917
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
918
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
919
+ * @returns {string} A string representing the project.
920
+ */
921
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
922
+ /**
923
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
924
+ *
925
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
926
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
927
+ * @returns {string} A string representing the location.
928
+ */
929
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
930
+ /**
931
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
932
+ *
933
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
934
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
935
+ * @returns {string} A string representing the collection.
936
+ */
937
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
938
+ /**
939
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
940
+ *
941
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
942
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
943
+ * @returns {string} A string representing the data_store.
944
+ */
945
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
946
+ /**
947
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
948
+ *
949
+ * @param {string} project
950
+ * @param {string} location
951
+ * @param {string} collection
952
+ * @param {string} data_store
953
+ * @param {string} target_site
954
+ * @returns {string} Resource name string.
955
+ */
956
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
957
+ /**
958
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
959
+ *
960
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
961
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
962
+ * @returns {string} A string representing the project.
963
+ */
964
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
965
+ /**
966
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
967
+ *
968
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
969
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
970
+ * @returns {string} A string representing the location.
971
+ */
972
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
973
+ /**
974
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
975
+ *
976
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
977
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
978
+ * @returns {string} A string representing the collection.
979
+ */
980
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
981
+ /**
982
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
983
+ *
984
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
985
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
986
+ * @returns {string} A string representing the data_store.
987
+ */
988
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
989
+ /**
990
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
991
+ *
992
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
993
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
994
+ * @returns {string} A string representing the target_site.
995
+ */
996
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
997
+ /**
998
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
999
+ *
1000
+ * @param {string} project
1001
+ * @param {string} location
1002
+ * @param {string} collection
1003
+ * @param {string} engine
1004
+ * @param {string} conversation
1005
+ * @returns {string} Resource name string.
1006
+ */
1007
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
1008
+ /**
1009
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1010
+ *
1011
+ * @param {string} projectLocationCollectionEngineConversationName
1012
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1013
+ * @returns {string} A string representing the project.
1014
+ */
1015
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1016
+ /**
1017
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1018
+ *
1019
+ * @param {string} projectLocationCollectionEngineConversationName
1020
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1021
+ * @returns {string} A string representing the location.
1022
+ */
1023
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1024
+ /**
1025
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1026
+ *
1027
+ * @param {string} projectLocationCollectionEngineConversationName
1028
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1029
+ * @returns {string} A string representing the collection.
1030
+ */
1031
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1032
+ /**
1033
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1034
+ *
1035
+ * @param {string} projectLocationCollectionEngineConversationName
1036
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1037
+ * @returns {string} A string representing the engine.
1038
+ */
1039
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1040
+ /**
1041
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1042
+ *
1043
+ * @param {string} projectLocationCollectionEngineConversationName
1044
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1045
+ * @returns {string} A string representing the conversation.
1046
+ */
1047
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
904
1048
  /**
905
1049
  * Return a fully-qualified projectLocationDataStore resource name string.
906
1050
  *
@@ -1069,6 +1213,81 @@ export declare class EngineServiceClient {
1069
1213
  * @returns {string} A string representing the schema.
1070
1214
  */
1071
1215
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1216
+ /**
1217
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1218
+ *
1219
+ * @param {string} project
1220
+ * @param {string} location
1221
+ * @param {string} data_store
1222
+ * @returns {string} Resource name string.
1223
+ */
1224
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1225
+ /**
1226
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1227
+ *
1228
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1229
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1230
+ * @returns {string} A string representing the project.
1231
+ */
1232
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1233
+ /**
1234
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1235
+ *
1236
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1237
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1238
+ * @returns {string} A string representing the location.
1239
+ */
1240
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1241
+ /**
1242
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1243
+ *
1244
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1245
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1246
+ * @returns {string} A string representing the data_store.
1247
+ */
1248
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1249
+ /**
1250
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1251
+ *
1252
+ * @param {string} project
1253
+ * @param {string} location
1254
+ * @param {string} data_store
1255
+ * @param {string} target_site
1256
+ * @returns {string} Resource name string.
1257
+ */
1258
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1259
+ /**
1260
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1261
+ *
1262
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1263
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1264
+ * @returns {string} A string representing the project.
1265
+ */
1266
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1267
+ /**
1268
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1269
+ *
1270
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1271
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1272
+ * @returns {string} A string representing the location.
1273
+ */
1274
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1275
+ /**
1276
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1277
+ *
1278
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1279
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1280
+ * @returns {string} A string representing the data_store.
1281
+ */
1282
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1283
+ /**
1284
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1285
+ *
1286
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1287
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1288
+ * @returns {string} A string representing the target_site.
1289
+ */
1290
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1072
1291
  /**
1073
1292
  * Terminate the gRPC channel and close the client.
1074
1293
  *
@@ -145,10 +145,15 @@ class EngineServiceClient {
145
145
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
146
146
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
147
147
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
148
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
149
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
150
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
148
151
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
149
152
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
150
153
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
151
154
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
155
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
156
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
152
157
  };
153
158
  // Some of the methods on this service return "paged" results,
154
159
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -169,8 +174,11 @@ class EngineServiceClient {
169
174
  lroOptions.httpRules = [
170
175
  {
171
176
  selector: 'google.longrunning.Operations.GetOperation',
172
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
177
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector/operations/*}',
173
178
  additional_bindings: [
179
+ {
180
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*/operations/*}',
181
+ },
174
182
  {
175
183
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*/operations/*}',
176
184
  },
@@ -207,8 +215,11 @@ class EngineServiceClient {
207
215
  },
208
216
  {
209
217
  selector: 'google.longrunning.Operations.ListOperations',
210
- get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
218
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataConnector}/operations',
211
219
  additional_bindings: [
220
+ {
221
+ get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/branches/*}/operations',
222
+ },
212
223
  {
213
224
  get: '/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/models/*}/operations',
214
225
  },
@@ -1231,6 +1242,201 @@ class EngineServiceClient {
1231
1242
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1232
1243
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1233
1244
  }
1245
+ /**
1246
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1247
+ *
1248
+ * @param {string} project
1249
+ * @param {string} location
1250
+ * @param {string} collection
1251
+ * @param {string} data_store
1252
+ * @returns {string} Resource name string.
1253
+ */
1254
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1255
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1256
+ project: project,
1257
+ location: location,
1258
+ collection: collection,
1259
+ data_store: dataStore,
1260
+ });
1261
+ }
1262
+ /**
1263
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1264
+ *
1265
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1266
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1267
+ * @returns {string} A string representing the project.
1268
+ */
1269
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1270
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1271
+ }
1272
+ /**
1273
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1274
+ *
1275
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1276
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1277
+ * @returns {string} A string representing the location.
1278
+ */
1279
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1280
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1281
+ }
1282
+ /**
1283
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1284
+ *
1285
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1286
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1287
+ * @returns {string} A string representing the collection.
1288
+ */
1289
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1290
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1291
+ }
1292
+ /**
1293
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1294
+ *
1295
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1296
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1297
+ * @returns {string} A string representing the data_store.
1298
+ */
1299
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1300
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1301
+ }
1302
+ /**
1303
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1304
+ *
1305
+ * @param {string} project
1306
+ * @param {string} location
1307
+ * @param {string} collection
1308
+ * @param {string} data_store
1309
+ * @param {string} target_site
1310
+ * @returns {string} Resource name string.
1311
+ */
1312
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1313
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1314
+ project: project,
1315
+ location: location,
1316
+ collection: collection,
1317
+ data_store: dataStore,
1318
+ target_site: targetSite,
1319
+ });
1320
+ }
1321
+ /**
1322
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1323
+ *
1324
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1325
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1326
+ * @returns {string} A string representing the project.
1327
+ */
1328
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1329
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1330
+ }
1331
+ /**
1332
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1333
+ *
1334
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1335
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1336
+ * @returns {string} A string representing the location.
1337
+ */
1338
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1339
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1340
+ }
1341
+ /**
1342
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1343
+ *
1344
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1345
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1346
+ * @returns {string} A string representing the collection.
1347
+ */
1348
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1349
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1350
+ }
1351
+ /**
1352
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1353
+ *
1354
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1355
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1356
+ * @returns {string} A string representing the data_store.
1357
+ */
1358
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1359
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1360
+ }
1361
+ /**
1362
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1363
+ *
1364
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1365
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1366
+ * @returns {string} A string representing the target_site.
1367
+ */
1368
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1369
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1370
+ }
1371
+ /**
1372
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1373
+ *
1374
+ * @param {string} project
1375
+ * @param {string} location
1376
+ * @param {string} collection
1377
+ * @param {string} engine
1378
+ * @param {string} conversation
1379
+ * @returns {string} Resource name string.
1380
+ */
1381
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1382
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1383
+ project: project,
1384
+ location: location,
1385
+ collection: collection,
1386
+ engine: engine,
1387
+ conversation: conversation,
1388
+ });
1389
+ }
1390
+ /**
1391
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1392
+ *
1393
+ * @param {string} projectLocationCollectionEngineConversationName
1394
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1395
+ * @returns {string} A string representing the project.
1396
+ */
1397
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1398
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1399
+ }
1400
+ /**
1401
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1402
+ *
1403
+ * @param {string} projectLocationCollectionEngineConversationName
1404
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1405
+ * @returns {string} A string representing the location.
1406
+ */
1407
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1408
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1409
+ }
1410
+ /**
1411
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1412
+ *
1413
+ * @param {string} projectLocationCollectionEngineConversationName
1414
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1415
+ * @returns {string} A string representing the collection.
1416
+ */
1417
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1418
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1419
+ }
1420
+ /**
1421
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1422
+ *
1423
+ * @param {string} projectLocationCollectionEngineConversationName
1424
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1425
+ * @returns {string} A string representing the engine.
1426
+ */
1427
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1428
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1429
+ }
1430
+ /**
1431
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1432
+ *
1433
+ * @param {string} projectLocationCollectionEngineConversationName
1434
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1435
+ * @returns {string} A string representing the conversation.
1436
+ */
1437
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1438
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1439
+ }
1234
1440
  /**
1235
1441
  * Return a fully-qualified projectLocationDataStore resource name string.
1236
1442
  *
@@ -1459,6 +1665,108 @@ class EngineServiceClient {
1459
1665
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1460
1666
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1461
1667
  }
1668
+ /**
1669
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1670
+ *
1671
+ * @param {string} project
1672
+ * @param {string} location
1673
+ * @param {string} data_store
1674
+ * @returns {string} Resource name string.
1675
+ */
1676
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1677
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1678
+ project: project,
1679
+ location: location,
1680
+ data_store: dataStore,
1681
+ });
1682
+ }
1683
+ /**
1684
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1685
+ *
1686
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1687
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1688
+ * @returns {string} A string representing the project.
1689
+ */
1690
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1691
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1692
+ }
1693
+ /**
1694
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1695
+ *
1696
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1697
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1698
+ * @returns {string} A string representing the location.
1699
+ */
1700
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1701
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1702
+ }
1703
+ /**
1704
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1705
+ *
1706
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1707
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1708
+ * @returns {string} A string representing the data_store.
1709
+ */
1710
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1711
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1712
+ }
1713
+ /**
1714
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1715
+ *
1716
+ * @param {string} project
1717
+ * @param {string} location
1718
+ * @param {string} data_store
1719
+ * @param {string} target_site
1720
+ * @returns {string} Resource name string.
1721
+ */
1722
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1723
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1724
+ project: project,
1725
+ location: location,
1726
+ data_store: dataStore,
1727
+ target_site: targetSite,
1728
+ });
1729
+ }
1730
+ /**
1731
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1732
+ *
1733
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1734
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1735
+ * @returns {string} A string representing the project.
1736
+ */
1737
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1738
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1739
+ }
1740
+ /**
1741
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1742
+ *
1743
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1744
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1745
+ * @returns {string} A string representing the location.
1746
+ */
1747
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1748
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1749
+ }
1750
+ /**
1751
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1752
+ *
1753
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1754
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1755
+ * @returns {string} A string representing the data_store.
1756
+ */
1757
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1758
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1759
+ }
1760
+ /**
1761
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1762
+ *
1763
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1764
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1765
+ * @returns {string} A string representing the target_site.
1766
+ */
1767
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1768
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1769
+ }
1462
1770
  /**
1463
1771
  * Terminate the gRPC channel and close the client.
1464
1772
  *
@@ -6,5 +6,6 @@ export { EngineServiceClient } from './engine_service_client';
6
6
  export { RecommendationServiceClient } from './recommendation_service_client';
7
7
  export { SchemaServiceClient } from './schema_service_client';
8
8
  export { SearchServiceClient } from './search_service_client';
9
+ export { SearchTuningServiceClient } from './search_tuning_service_client';
9
10
  export { SiteSearchEngineServiceClient } from './site_search_engine_service_client';
10
11
  export { UserEventServiceClient } from './user_event_service_client';
@@ -17,7 +17,7 @@
17
17
  // ** https://github.com/googleapis/gapic-generator-typescript **
18
18
  // ** All changes to this file may be overwritten. **
19
19
  Object.defineProperty(exports, "__esModule", { value: true });
20
- exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = void 0;
20
+ exports.UserEventServiceClient = exports.SiteSearchEngineServiceClient = exports.SearchTuningServiceClient = exports.SearchServiceClient = exports.SchemaServiceClient = exports.RecommendationServiceClient = exports.EngineServiceClient = exports.DocumentServiceClient = exports.DataStoreServiceClient = exports.ConversationalSearchServiceClient = exports.CompletionServiceClient = void 0;
21
21
  var completion_service_client_1 = require("./completion_service_client");
22
22
  Object.defineProperty(exports, "CompletionServiceClient", { enumerable: true, get: function () { return completion_service_client_1.CompletionServiceClient; } });
23
23
  var conversational_search_service_client_1 = require("./conversational_search_service_client");
@@ -34,6 +34,8 @@ var schema_service_client_1 = require("./schema_service_client");
34
34
  Object.defineProperty(exports, "SchemaServiceClient", { enumerable: true, get: function () { return schema_service_client_1.SchemaServiceClient; } });
35
35
  var search_service_client_1 = require("./search_service_client");
36
36
  Object.defineProperty(exports, "SearchServiceClient", { enumerable: true, get: function () { return search_service_client_1.SearchServiceClient; } });
37
+ var search_tuning_service_client_1 = require("./search_tuning_service_client");
38
+ Object.defineProperty(exports, "SearchTuningServiceClient", { enumerable: true, get: function () { return search_tuning_service_client_1.SearchTuningServiceClient; } });
37
39
  var site_search_engine_service_client_1 = require("./site_search_engine_service_client");
38
40
  Object.defineProperty(exports, "SiteSearchEngineServiceClient", { enumerable: true, get: function () { return site_search_engine_service_client_1.SiteSearchEngineServiceClient; } });
39
41
  var user_event_service_client_1 = require("./user_event_service_client");