@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
@@ -882,6 +882,150 @@ export declare class DataStoreServiceClient {
882
882
  * @returns {string} A string representing the schema.
883
883
  */
884
884
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName: string): string | number;
885
+ /**
886
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
887
+ *
888
+ * @param {string} project
889
+ * @param {string} location
890
+ * @param {string} collection
891
+ * @param {string} data_store
892
+ * @returns {string} Resource name string.
893
+ */
894
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
895
+ /**
896
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
897
+ *
898
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
899
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
900
+ * @returns {string} A string representing the project.
901
+ */
902
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
903
+ /**
904
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
905
+ *
906
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
907
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
908
+ * @returns {string} A string representing the location.
909
+ */
910
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
911
+ /**
912
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
913
+ *
914
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
915
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
916
+ * @returns {string} A string representing the collection.
917
+ */
918
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
919
+ /**
920
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
921
+ *
922
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
923
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
924
+ * @returns {string} A string representing the data_store.
925
+ */
926
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
927
+ /**
928
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
929
+ *
930
+ * @param {string} project
931
+ * @param {string} location
932
+ * @param {string} collection
933
+ * @param {string} data_store
934
+ * @param {string} target_site
935
+ * @returns {string} Resource name string.
936
+ */
937
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
938
+ /**
939
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
940
+ *
941
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
942
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
943
+ * @returns {string} A string representing the project.
944
+ */
945
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
946
+ /**
947
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
948
+ *
949
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
950
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
951
+ * @returns {string} A string representing the location.
952
+ */
953
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
954
+ /**
955
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
956
+ *
957
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
958
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
959
+ * @returns {string} A string representing the collection.
960
+ */
961
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
962
+ /**
963
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
964
+ *
965
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
966
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
967
+ * @returns {string} A string representing the data_store.
968
+ */
969
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
970
+ /**
971
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
972
+ *
973
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
974
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
975
+ * @returns {string} A string representing the target_site.
976
+ */
977
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
978
+ /**
979
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
980
+ *
981
+ * @param {string} project
982
+ * @param {string} location
983
+ * @param {string} collection
984
+ * @param {string} engine
985
+ * @param {string} conversation
986
+ * @returns {string} Resource name string.
987
+ */
988
+ projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
989
+ /**
990
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
991
+ *
992
+ * @param {string} projectLocationCollectionEngineConversationName
993
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
994
+ * @returns {string} A string representing the project.
995
+ */
996
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
997
+ /**
998
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
999
+ *
1000
+ * @param {string} projectLocationCollectionEngineConversationName
1001
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1002
+ * @returns {string} A string representing the location.
1003
+ */
1004
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1005
+ /**
1006
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1007
+ *
1008
+ * @param {string} projectLocationCollectionEngineConversationName
1009
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1010
+ * @returns {string} A string representing the collection.
1011
+ */
1012
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1013
+ /**
1014
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1015
+ *
1016
+ * @param {string} projectLocationCollectionEngineConversationName
1017
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1018
+ * @returns {string} A string representing the engine.
1019
+ */
1020
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
1021
+ /**
1022
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1023
+ *
1024
+ * @param {string} projectLocationCollectionEngineConversationName
1025
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1026
+ * @returns {string} A string representing the conversation.
1027
+ */
1028
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
885
1029
  /**
886
1030
  * Return a fully-qualified projectLocationDataStore resource name string.
887
1031
  *
@@ -1050,6 +1194,81 @@ export declare class DataStoreServiceClient {
1050
1194
  * @returns {string} A string representing the schema.
1051
1195
  */
1052
1196
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName: string): string | number;
1197
+ /**
1198
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1199
+ *
1200
+ * @param {string} project
1201
+ * @param {string} location
1202
+ * @param {string} data_store
1203
+ * @returns {string} Resource name string.
1204
+ */
1205
+ projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
1206
+ /**
1207
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1208
+ *
1209
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1210
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1211
+ * @returns {string} A string representing the project.
1212
+ */
1213
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1214
+ /**
1215
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1216
+ *
1217
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1218
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1219
+ * @returns {string} A string representing the location.
1220
+ */
1221
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1222
+ /**
1223
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1224
+ *
1225
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1226
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1227
+ * @returns {string} A string representing the data_store.
1228
+ */
1229
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
1230
+ /**
1231
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1232
+ *
1233
+ * @param {string} project
1234
+ * @param {string} location
1235
+ * @param {string} data_store
1236
+ * @param {string} target_site
1237
+ * @returns {string} Resource name string.
1238
+ */
1239
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
1240
+ /**
1241
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1242
+ *
1243
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1244
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1245
+ * @returns {string} A string representing the project.
1246
+ */
1247
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1248
+ /**
1249
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1250
+ *
1251
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1252
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1253
+ * @returns {string} A string representing the location.
1254
+ */
1255
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1256
+ /**
1257
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1258
+ *
1259
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1260
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1261
+ * @returns {string} A string representing the data_store.
1262
+ */
1263
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1264
+ /**
1265
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1266
+ *
1267
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1268
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1269
+ * @returns {string} A string representing the target_site.
1270
+ */
1271
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
1053
1272
  /**
1054
1273
  * Terminate the gRPC channel and close the client.
1055
1274
  *
@@ -145,10 +145,15 @@ class DataStoreServiceClient {
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 DataStoreServiceClient {
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 DataStoreServiceClient {
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
  },
@@ -1181,6 +1192,201 @@ class DataStoreServiceClient {
1181
1192
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
1182
1193
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
1183
1194
  }
1195
+ /**
1196
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
1197
+ *
1198
+ * @param {string} project
1199
+ * @param {string} location
1200
+ * @param {string} collection
1201
+ * @param {string} data_store
1202
+ * @returns {string} Resource name string.
1203
+ */
1204
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
1205
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
1206
+ project: project,
1207
+ location: location,
1208
+ collection: collection,
1209
+ data_store: dataStore,
1210
+ });
1211
+ }
1212
+ /**
1213
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1214
+ *
1215
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1216
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1217
+ * @returns {string} A string representing the project.
1218
+ */
1219
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1220
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
1221
+ }
1222
+ /**
1223
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1224
+ *
1225
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1226
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1227
+ * @returns {string} A string representing the location.
1228
+ */
1229
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1230
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1231
+ }
1232
+ /**
1233
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1234
+ *
1235
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1236
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1237
+ * @returns {string} A string representing the collection.
1238
+ */
1239
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1240
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1241
+ }
1242
+ /**
1243
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1244
+ *
1245
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1246
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1247
+ * @returns {string} A string representing the data_store.
1248
+ */
1249
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1250
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1251
+ }
1252
+ /**
1253
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1254
+ *
1255
+ * @param {string} project
1256
+ * @param {string} location
1257
+ * @param {string} collection
1258
+ * @param {string} data_store
1259
+ * @param {string} target_site
1260
+ * @returns {string} Resource name string.
1261
+ */
1262
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1263
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1264
+ project: project,
1265
+ location: location,
1266
+ collection: collection,
1267
+ data_store: dataStore,
1268
+ target_site: targetSite,
1269
+ });
1270
+ }
1271
+ /**
1272
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1273
+ *
1274
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1275
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1276
+ * @returns {string} A string representing the project.
1277
+ */
1278
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1279
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1280
+ }
1281
+ /**
1282
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1283
+ *
1284
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1285
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1286
+ * @returns {string} A string representing the location.
1287
+ */
1288
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1289
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1290
+ }
1291
+ /**
1292
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1293
+ *
1294
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1295
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1296
+ * @returns {string} A string representing the collection.
1297
+ */
1298
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1299
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1300
+ }
1301
+ /**
1302
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1303
+ *
1304
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1305
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1306
+ * @returns {string} A string representing the data_store.
1307
+ */
1308
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1309
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1310
+ }
1311
+ /**
1312
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1313
+ *
1314
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1315
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1316
+ * @returns {string} A string representing the target_site.
1317
+ */
1318
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1319
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1320
+ }
1321
+ /**
1322
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1323
+ *
1324
+ * @param {string} project
1325
+ * @param {string} location
1326
+ * @param {string} collection
1327
+ * @param {string} engine
1328
+ * @param {string} conversation
1329
+ * @returns {string} Resource name string.
1330
+ */
1331
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1332
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1333
+ project: project,
1334
+ location: location,
1335
+ collection: collection,
1336
+ engine: engine,
1337
+ conversation: conversation,
1338
+ });
1339
+ }
1340
+ /**
1341
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1342
+ *
1343
+ * @param {string} projectLocationCollectionEngineConversationName
1344
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1345
+ * @returns {string} A string representing the project.
1346
+ */
1347
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1348
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1349
+ }
1350
+ /**
1351
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1352
+ *
1353
+ * @param {string} projectLocationCollectionEngineConversationName
1354
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1355
+ * @returns {string} A string representing the location.
1356
+ */
1357
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1358
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1359
+ }
1360
+ /**
1361
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1362
+ *
1363
+ * @param {string} projectLocationCollectionEngineConversationName
1364
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1365
+ * @returns {string} A string representing the collection.
1366
+ */
1367
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1368
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1369
+ }
1370
+ /**
1371
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1372
+ *
1373
+ * @param {string} projectLocationCollectionEngineConversationName
1374
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1375
+ * @returns {string} A string representing the engine.
1376
+ */
1377
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1378
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1379
+ }
1380
+ /**
1381
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1382
+ *
1383
+ * @param {string} projectLocationCollectionEngineConversationName
1384
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1385
+ * @returns {string} A string representing the conversation.
1386
+ */
1387
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1388
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1389
+ }
1184
1390
  /**
1185
1391
  * Return a fully-qualified projectLocationDataStore resource name string.
1186
1392
  *
@@ -1409,6 +1615,108 @@ class DataStoreServiceClient {
1409
1615
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
1410
1616
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
1411
1617
  }
1618
+ /**
1619
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1620
+ *
1621
+ * @param {string} project
1622
+ * @param {string} location
1623
+ * @param {string} data_store
1624
+ * @returns {string} Resource name string.
1625
+ */
1626
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1627
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1628
+ project: project,
1629
+ location: location,
1630
+ data_store: dataStore,
1631
+ });
1632
+ }
1633
+ /**
1634
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1635
+ *
1636
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1637
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1638
+ * @returns {string} A string representing the project.
1639
+ */
1640
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1641
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1642
+ }
1643
+ /**
1644
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1645
+ *
1646
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1647
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1648
+ * @returns {string} A string representing the location.
1649
+ */
1650
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1651
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1652
+ }
1653
+ /**
1654
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1655
+ *
1656
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1657
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1658
+ * @returns {string} A string representing the data_store.
1659
+ */
1660
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1661
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1662
+ }
1663
+ /**
1664
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1665
+ *
1666
+ * @param {string} project
1667
+ * @param {string} location
1668
+ * @param {string} data_store
1669
+ * @param {string} target_site
1670
+ * @returns {string} Resource name string.
1671
+ */
1672
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1673
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1674
+ project: project,
1675
+ location: location,
1676
+ data_store: dataStore,
1677
+ target_site: targetSite,
1678
+ });
1679
+ }
1680
+ /**
1681
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1682
+ *
1683
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1684
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1685
+ * @returns {string} A string representing the project.
1686
+ */
1687
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1688
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1689
+ }
1690
+ /**
1691
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1692
+ *
1693
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1694
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1695
+ * @returns {string} A string representing the location.
1696
+ */
1697
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1698
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1699
+ }
1700
+ /**
1701
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1702
+ *
1703
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1704
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1705
+ * @returns {string} A string representing the data_store.
1706
+ */
1707
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1708
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1709
+ }
1710
+ /**
1711
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1712
+ *
1713
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1714
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1715
+ * @returns {string} A string representing the target_site.
1716
+ */
1717
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1718
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1719
+ }
1412
1720
  /**
1413
1721
  * Terminate the gRPC channel and close the client.
1414
1722
  *