@google-cloud/discoveryengine 1.2.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 (63) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +25 -0
  3. package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +38 -8
  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/data_store.proto +98 -0
  7. package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
  8. package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
  9. package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
  10. package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
  11. package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +9 -3
  12. package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +123 -3
  13. package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
  14. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
  15. package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
  16. package/build/protos/protos.d.ts +10923 -3222
  17. package/build/protos/protos.js +29891 -12914
  18. package/build/protos/protos.json +2367 -668
  19. package/build/src/index.js +1 -1
  20. package/build/src/v1/completion_service_client.js +1 -1
  21. package/build/src/v1/conversational_search_service_client.js +1 -1
  22. package/build/src/v1/document_service_client.js +1 -1
  23. package/build/src/v1/index.js +1 -1
  24. package/build/src/v1/schema_service_client.js +1 -1
  25. package/build/src/v1/search_service_client.js +1 -1
  26. package/build/src/v1/user_event_service_client.js +1 -1
  27. package/build/src/v1alpha/completion_service_client.d.ts +261 -0
  28. package/build/src/v1alpha/completion_service_client.js +360 -0
  29. package/build/src/v1alpha/conversational_search_service_client.d.ts +278 -0
  30. package/build/src/v1alpha/conversational_search_service_client.js +360 -0
  31. package/build/src/v1alpha/data_store_service_client.d.ts +1279 -0
  32. package/build/src/v1alpha/data_store_service_client.js +1739 -0
  33. package/build/src/v1alpha/data_store_service_client_config.json +46 -0
  34. package/build/src/v1alpha/document_service_client.d.ts +336 -0
  35. package/build/src/v1alpha/document_service_client.js +472 -2
  36. package/build/src/v1alpha/engine_service_client.d.ts +1298 -0
  37. package/build/src/v1alpha/engine_service_client.js +1789 -0
  38. package/build/src/v1alpha/engine_service_client_config.json +58 -0
  39. package/build/src/v1alpha/index.d.ts +3 -0
  40. package/build/src/v1alpha/index.js +7 -1
  41. package/build/src/v1alpha/recommendation_service_client.d.ts +345 -3
  42. package/build/src/v1alpha/recommendation_service_client.js +464 -0
  43. package/build/src/v1alpha/schema_service_client.d.ts +261 -0
  44. package/build/src/v1alpha/schema_service_client.js +368 -2
  45. package/build/src/v1alpha/search_service_client.d.ts +453 -9
  46. package/build/src/v1alpha/search_service_client.js +542 -6
  47. package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
  48. package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
  49. package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
  50. package/build/src/v1alpha/site_search_engine_service_client.d.ts +856 -1
  51. package/build/src/v1alpha/site_search_engine_service_client.js +993 -34
  52. package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
  53. package/build/src/v1alpha/user_event_service_client.d.ts +261 -0
  54. package/build/src/v1alpha/user_event_service_client.js +368 -2
  55. package/build/src/v1beta/completion_service_client.js +1 -1
  56. package/build/src/v1beta/conversational_search_service_client.js +1 -1
  57. package/build/src/v1beta/document_service_client.js +1 -1
  58. package/build/src/v1beta/index.js +1 -1
  59. package/build/src/v1beta/recommendation_service_client.js +1 -1
  60. package/build/src/v1beta/schema_service_client.js +1 -1
  61. package/build/src/v1beta/search_service_client.js +1 -1
  62. package/build/src/v1beta/user_event_service_client.js +1 -1
  63. package/package.json +4 -4
@@ -139,17 +139,23 @@ class ConversationalSearchServiceClient {
139
139
  // identifiers to uniquely identify resources within the API.
140
140
  // Create useful helper objects for these.
141
141
  this.pathTemplates = {
142
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
142
143
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
143
144
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
144
145
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
145
146
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
146
147
  projectLocationCollectionDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}'),
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}'),
147
151
  projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
148
152
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
149
153
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
150
154
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
151
155
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
152
156
  projectLocationDataStoreServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/servingConfigs/{serving_config}'),
157
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
158
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
153
159
  };
154
160
  // Some of the methods on this service return "paged" results,
155
161
  // (e.g. 50 results at a time, with tokens to get subsequent
@@ -555,6 +561,63 @@ class ConversationalSearchServiceClient {
555
561
  // --------------------
556
562
  // -- Path templates --
557
563
  // --------------------
564
+ /**
565
+ * Return a fully-qualified engine resource name string.
566
+ *
567
+ * @param {string} project
568
+ * @param {string} location
569
+ * @param {string} collection
570
+ * @param {string} engine
571
+ * @returns {string} Resource name string.
572
+ */
573
+ enginePath(project, location, collection, engine) {
574
+ return this.pathTemplates.enginePathTemplate.render({
575
+ project: project,
576
+ location: location,
577
+ collection: collection,
578
+ engine: engine,
579
+ });
580
+ }
581
+ /**
582
+ * Parse the project from Engine resource.
583
+ *
584
+ * @param {string} engineName
585
+ * A fully-qualified path representing Engine resource.
586
+ * @returns {string} A string representing the project.
587
+ */
588
+ matchProjectFromEngineName(engineName) {
589
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
590
+ }
591
+ /**
592
+ * Parse the location from Engine resource.
593
+ *
594
+ * @param {string} engineName
595
+ * A fully-qualified path representing Engine resource.
596
+ * @returns {string} A string representing the location.
597
+ */
598
+ matchLocationFromEngineName(engineName) {
599
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
600
+ }
601
+ /**
602
+ * Parse the collection from Engine resource.
603
+ *
604
+ * @param {string} engineName
605
+ * A fully-qualified path representing Engine resource.
606
+ * @returns {string} A string representing the collection.
607
+ */
608
+ matchCollectionFromEngineName(engineName) {
609
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
610
+ }
611
+ /**
612
+ * Parse the engine from Engine resource.
613
+ *
614
+ * @param {string} engineName
615
+ * A fully-qualified path representing Engine resource.
616
+ * @returns {string} A string representing the engine.
617
+ */
618
+ matchEngineFromEngineName(engineName) {
619
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
620
+ }
558
621
  /**
559
622
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
560
623
  *
@@ -900,6 +963,201 @@ class ConversationalSearchServiceClient {
900
963
  matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
901
964
  return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
902
965
  }
966
+ /**
967
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
968
+ *
969
+ * @param {string} project
970
+ * @param {string} location
971
+ * @param {string} collection
972
+ * @param {string} data_store
973
+ * @returns {string} Resource name string.
974
+ */
975
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
976
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
977
+ project: project,
978
+ location: location,
979
+ collection: collection,
980
+ data_store: dataStore,
981
+ });
982
+ }
983
+ /**
984
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
985
+ *
986
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
987
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
988
+ * @returns {string} A string representing the project.
989
+ */
990
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
991
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
992
+ }
993
+ /**
994
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
995
+ *
996
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
997
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
998
+ * @returns {string} A string representing the location.
999
+ */
1000
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1001
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
1002
+ }
1003
+ /**
1004
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1005
+ *
1006
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1007
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1008
+ * @returns {string} A string representing the collection.
1009
+ */
1010
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1011
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
1012
+ }
1013
+ /**
1014
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
1015
+ *
1016
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
1017
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
1018
+ * @returns {string} A string representing the data_store.
1019
+ */
1020
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
1021
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
1022
+ }
1023
+ /**
1024
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
1025
+ *
1026
+ * @param {string} project
1027
+ * @param {string} location
1028
+ * @param {string} collection
1029
+ * @param {string} data_store
1030
+ * @param {string} target_site
1031
+ * @returns {string} Resource name string.
1032
+ */
1033
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
1034
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1035
+ project: project,
1036
+ location: location,
1037
+ collection: collection,
1038
+ data_store: dataStore,
1039
+ target_site: targetSite,
1040
+ });
1041
+ }
1042
+ /**
1043
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1044
+ *
1045
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1046
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1047
+ * @returns {string} A string representing the project.
1048
+ */
1049
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1050
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
1051
+ }
1052
+ /**
1053
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1054
+ *
1055
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1056
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1057
+ * @returns {string} A string representing the location.
1058
+ */
1059
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1060
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
1061
+ }
1062
+ /**
1063
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1064
+ *
1065
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1066
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1067
+ * @returns {string} A string representing the collection.
1068
+ */
1069
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1070
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
1071
+ }
1072
+ /**
1073
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1074
+ *
1075
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1076
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1077
+ * @returns {string} A string representing the data_store.
1078
+ */
1079
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1080
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
1081
+ }
1082
+ /**
1083
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
1084
+ *
1085
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
1086
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
1087
+ * @returns {string} A string representing the target_site.
1088
+ */
1089
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
1090
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
1091
+ }
1092
+ /**
1093
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
1094
+ *
1095
+ * @param {string} project
1096
+ * @param {string} location
1097
+ * @param {string} collection
1098
+ * @param {string} engine
1099
+ * @param {string} conversation
1100
+ * @returns {string} Resource name string.
1101
+ */
1102
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
1103
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
1104
+ project: project,
1105
+ location: location,
1106
+ collection: collection,
1107
+ engine: engine,
1108
+ conversation: conversation,
1109
+ });
1110
+ }
1111
+ /**
1112
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
1113
+ *
1114
+ * @param {string} projectLocationCollectionEngineConversationName
1115
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1116
+ * @returns {string} A string representing the project.
1117
+ */
1118
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1119
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
1120
+ }
1121
+ /**
1122
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
1123
+ *
1124
+ * @param {string} projectLocationCollectionEngineConversationName
1125
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1126
+ * @returns {string} A string representing the location.
1127
+ */
1128
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1129
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
1130
+ }
1131
+ /**
1132
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
1133
+ *
1134
+ * @param {string} projectLocationCollectionEngineConversationName
1135
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1136
+ * @returns {string} A string representing the collection.
1137
+ */
1138
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1139
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
1140
+ }
1141
+ /**
1142
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
1143
+ *
1144
+ * @param {string} projectLocationCollectionEngineConversationName
1145
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1146
+ * @returns {string} A string representing the engine.
1147
+ */
1148
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1149
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
1150
+ }
1151
+ /**
1152
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
1153
+ *
1154
+ * @param {string} projectLocationCollectionEngineConversationName
1155
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
1156
+ * @returns {string} A string representing the conversation.
1157
+ */
1158
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
1159
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
1160
+ }
903
1161
  /**
904
1162
  * Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
905
1163
  *
@@ -1254,6 +1512,108 @@ class ConversationalSearchServiceClient {
1254
1512
  matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
1255
1513
  return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
1256
1514
  }
1515
+ /**
1516
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1517
+ *
1518
+ * @param {string} project
1519
+ * @param {string} location
1520
+ * @param {string} data_store
1521
+ * @returns {string} Resource name string.
1522
+ */
1523
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1524
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1525
+ project: project,
1526
+ location: location,
1527
+ data_store: dataStore,
1528
+ });
1529
+ }
1530
+ /**
1531
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1532
+ *
1533
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1534
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1535
+ * @returns {string} A string representing the project.
1536
+ */
1537
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1538
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1539
+ }
1540
+ /**
1541
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1542
+ *
1543
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1544
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1545
+ * @returns {string} A string representing the location.
1546
+ */
1547
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1548
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1549
+ }
1550
+ /**
1551
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1552
+ *
1553
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1554
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1555
+ * @returns {string} A string representing the data_store.
1556
+ */
1557
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1558
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1559
+ }
1560
+ /**
1561
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1562
+ *
1563
+ * @param {string} project
1564
+ * @param {string} location
1565
+ * @param {string} data_store
1566
+ * @param {string} target_site
1567
+ * @returns {string} Resource name string.
1568
+ */
1569
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1570
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1571
+ project: project,
1572
+ location: location,
1573
+ data_store: dataStore,
1574
+ target_site: targetSite,
1575
+ });
1576
+ }
1577
+ /**
1578
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1579
+ *
1580
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1581
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1582
+ * @returns {string} A string representing the project.
1583
+ */
1584
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1585
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1586
+ }
1587
+ /**
1588
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1589
+ *
1590
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1591
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1592
+ * @returns {string} A string representing the location.
1593
+ */
1594
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1595
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1596
+ }
1597
+ /**
1598
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1599
+ *
1600
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1601
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1602
+ * @returns {string} A string representing the data_store.
1603
+ */
1604
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1605
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1606
+ }
1607
+ /**
1608
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1609
+ *
1610
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1611
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1612
+ * @returns {string} A string representing the target_site.
1613
+ */
1614
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1615
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1616
+ }
1257
1617
  /**
1258
1618
  * Terminate the gRPC channel and close the client.
1259
1619
  *