@google-cloud/discoveryengine 1.2.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
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
@@ -138,14 +138,20 @@ class CompletionServiceClient {
138
138
  // identifiers to uniquely identify resources within the API.
139
139
  // Create useful helper objects for these.
140
140
  this.pathTemplates = {
141
+ enginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}'),
141
142
  projectLocationCollectionDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}'),
142
143
  projectLocationCollectionDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
143
144
  projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
144
145
  projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
146
+ projectLocationCollectionDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine'),
147
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
148
+ projectLocationCollectionEngineConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}'),
145
149
  projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
146
150
  projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
147
151
  projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
148
152
  projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
153
+ projectLocationDataStoreSiteSearchEnginePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine'),
154
+ projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/siteSearchEngine/targetSites/{target_site}'),
149
155
  };
150
156
  // Put together the default options sent with requests.
151
157
  this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1alpha.CompletionService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
@@ -318,6 +324,63 @@ class CompletionServiceClient {
318
324
  // --------------------
319
325
  // -- Path templates --
320
326
  // --------------------
327
+ /**
328
+ * Return a fully-qualified engine resource name string.
329
+ *
330
+ * @param {string} project
331
+ * @param {string} location
332
+ * @param {string} collection
333
+ * @param {string} engine
334
+ * @returns {string} Resource name string.
335
+ */
336
+ enginePath(project, location, collection, engine) {
337
+ return this.pathTemplates.enginePathTemplate.render({
338
+ project: project,
339
+ location: location,
340
+ collection: collection,
341
+ engine: engine,
342
+ });
343
+ }
344
+ /**
345
+ * Parse the project from Engine resource.
346
+ *
347
+ * @param {string} engineName
348
+ * A fully-qualified path representing Engine resource.
349
+ * @returns {string} A string representing the project.
350
+ */
351
+ matchProjectFromEngineName(engineName) {
352
+ return this.pathTemplates.enginePathTemplate.match(engineName).project;
353
+ }
354
+ /**
355
+ * Parse the location from Engine resource.
356
+ *
357
+ * @param {string} engineName
358
+ * A fully-qualified path representing Engine resource.
359
+ * @returns {string} A string representing the location.
360
+ */
361
+ matchLocationFromEngineName(engineName) {
362
+ return this.pathTemplates.enginePathTemplate.match(engineName).location;
363
+ }
364
+ /**
365
+ * Parse the collection from Engine resource.
366
+ *
367
+ * @param {string} engineName
368
+ * A fully-qualified path representing Engine resource.
369
+ * @returns {string} A string representing the collection.
370
+ */
371
+ matchCollectionFromEngineName(engineName) {
372
+ return this.pathTemplates.enginePathTemplate.match(engineName).collection;
373
+ }
374
+ /**
375
+ * Parse the engine from Engine resource.
376
+ *
377
+ * @param {string} engineName
378
+ * A fully-qualified path representing Engine resource.
379
+ * @returns {string} A string representing the engine.
380
+ */
381
+ matchEngineFromEngineName(engineName) {
382
+ return this.pathTemplates.enginePathTemplate.match(engineName).engine;
383
+ }
321
384
  /**
322
385
  * Return a fully-qualified projectLocationCollectionDataStore resource name string.
323
386
  *
@@ -594,6 +657,201 @@ class CompletionServiceClient {
594
657
  matchSchemaFromProjectLocationCollectionDataStoreSchemaName(projectLocationCollectionDataStoreSchemaName) {
595
658
  return this.pathTemplates.projectLocationCollectionDataStoreSchemaPathTemplate.match(projectLocationCollectionDataStoreSchemaName).schema;
596
659
  }
660
+ /**
661
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
662
+ *
663
+ * @param {string} project
664
+ * @param {string} location
665
+ * @param {string} collection
666
+ * @param {string} data_store
667
+ * @returns {string} Resource name string.
668
+ */
669
+ projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
670
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
671
+ project: project,
672
+ location: location,
673
+ collection: collection,
674
+ data_store: dataStore,
675
+ });
676
+ }
677
+ /**
678
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
679
+ *
680
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
681
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
682
+ * @returns {string} A string representing the project.
683
+ */
684
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
685
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
686
+ }
687
+ /**
688
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
689
+ *
690
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
691
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
692
+ * @returns {string} A string representing the location.
693
+ */
694
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
695
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
696
+ }
697
+ /**
698
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
699
+ *
700
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
701
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
702
+ * @returns {string} A string representing the collection.
703
+ */
704
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
705
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
706
+ }
707
+ /**
708
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
709
+ *
710
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
711
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
712
+ * @returns {string} A string representing the data_store.
713
+ */
714
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
715
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
716
+ }
717
+ /**
718
+ * Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
719
+ *
720
+ * @param {string} project
721
+ * @param {string} location
722
+ * @param {string} collection
723
+ * @param {string} data_store
724
+ * @param {string} target_site
725
+ * @returns {string} Resource name string.
726
+ */
727
+ projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
728
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
729
+ project: project,
730
+ location: location,
731
+ collection: collection,
732
+ data_store: dataStore,
733
+ target_site: targetSite,
734
+ });
735
+ }
736
+ /**
737
+ * Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
738
+ *
739
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
740
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
741
+ * @returns {string} A string representing the project.
742
+ */
743
+ matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
744
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
745
+ }
746
+ /**
747
+ * Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
748
+ *
749
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
750
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
751
+ * @returns {string} A string representing the location.
752
+ */
753
+ matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
754
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
755
+ }
756
+ /**
757
+ * Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
758
+ *
759
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
760
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
761
+ * @returns {string} A string representing the collection.
762
+ */
763
+ matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
764
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
765
+ }
766
+ /**
767
+ * Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
768
+ *
769
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
770
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
771
+ * @returns {string} A string representing the data_store.
772
+ */
773
+ matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
774
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
775
+ }
776
+ /**
777
+ * Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
778
+ *
779
+ * @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
780
+ * A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
781
+ * @returns {string} A string representing the target_site.
782
+ */
783
+ matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
784
+ return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
785
+ }
786
+ /**
787
+ * Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
788
+ *
789
+ * @param {string} project
790
+ * @param {string} location
791
+ * @param {string} collection
792
+ * @param {string} engine
793
+ * @param {string} conversation
794
+ * @returns {string} Resource name string.
795
+ */
796
+ projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
797
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
798
+ project: project,
799
+ location: location,
800
+ collection: collection,
801
+ engine: engine,
802
+ conversation: conversation,
803
+ });
804
+ }
805
+ /**
806
+ * Parse the project from ProjectLocationCollectionEngineConversation resource.
807
+ *
808
+ * @param {string} projectLocationCollectionEngineConversationName
809
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
810
+ * @returns {string} A string representing the project.
811
+ */
812
+ matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
813
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
814
+ }
815
+ /**
816
+ * Parse the location from ProjectLocationCollectionEngineConversation resource.
817
+ *
818
+ * @param {string} projectLocationCollectionEngineConversationName
819
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
820
+ * @returns {string} A string representing the location.
821
+ */
822
+ matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
823
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
824
+ }
825
+ /**
826
+ * Parse the collection from ProjectLocationCollectionEngineConversation resource.
827
+ *
828
+ * @param {string} projectLocationCollectionEngineConversationName
829
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
830
+ * @returns {string} A string representing the collection.
831
+ */
832
+ matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
833
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
834
+ }
835
+ /**
836
+ * Parse the engine from ProjectLocationCollectionEngineConversation resource.
837
+ *
838
+ * @param {string} projectLocationCollectionEngineConversationName
839
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
840
+ * @returns {string} A string representing the engine.
841
+ */
842
+ matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
843
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
844
+ }
845
+ /**
846
+ * Parse the conversation from ProjectLocationCollectionEngineConversation resource.
847
+ *
848
+ * @param {string} projectLocationCollectionEngineConversationName
849
+ * A fully-qualified path representing project_location_collection_engine_conversation resource.
850
+ * @returns {string} A string representing the conversation.
851
+ */
852
+ matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
853
+ return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
854
+ }
597
855
  /**
598
856
  * Return a fully-qualified projectLocationDataStore resource name string.
599
857
  *
@@ -822,6 +1080,108 @@ class CompletionServiceClient {
822
1080
  matchSchemaFromProjectLocationDataStoreSchemaName(projectLocationDataStoreSchemaName) {
823
1081
  return this.pathTemplates.projectLocationDataStoreSchemaPathTemplate.match(projectLocationDataStoreSchemaName).schema;
824
1082
  }
1083
+ /**
1084
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
1085
+ *
1086
+ * @param {string} project
1087
+ * @param {string} location
1088
+ * @param {string} data_store
1089
+ * @returns {string} Resource name string.
1090
+ */
1091
+ projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
1092
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
1093
+ project: project,
1094
+ location: location,
1095
+ data_store: dataStore,
1096
+ });
1097
+ }
1098
+ /**
1099
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
1100
+ *
1101
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1102
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1103
+ * @returns {string} A string representing the project.
1104
+ */
1105
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1106
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
1107
+ }
1108
+ /**
1109
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
1110
+ *
1111
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1112
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1113
+ * @returns {string} A string representing the location.
1114
+ */
1115
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1116
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
1117
+ }
1118
+ /**
1119
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
1120
+ *
1121
+ * @param {string} projectLocationDataStoreSiteSearchEngineName
1122
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
1123
+ * @returns {string} A string representing the data_store.
1124
+ */
1125
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
1126
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
1127
+ }
1128
+ /**
1129
+ * Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
1130
+ *
1131
+ * @param {string} project
1132
+ * @param {string} location
1133
+ * @param {string} data_store
1134
+ * @param {string} target_site
1135
+ * @returns {string} Resource name string.
1136
+ */
1137
+ projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
1138
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
1139
+ project: project,
1140
+ location: location,
1141
+ data_store: dataStore,
1142
+ target_site: targetSite,
1143
+ });
1144
+ }
1145
+ /**
1146
+ * Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1147
+ *
1148
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1149
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1150
+ * @returns {string} A string representing the project.
1151
+ */
1152
+ matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1153
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
1154
+ }
1155
+ /**
1156
+ * Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1157
+ *
1158
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1159
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1160
+ * @returns {string} A string representing the location.
1161
+ */
1162
+ matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1163
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
1164
+ }
1165
+ /**
1166
+ * Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1167
+ *
1168
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1169
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1170
+ * @returns {string} A string representing the data_store.
1171
+ */
1172
+ matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1173
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
1174
+ }
1175
+ /**
1176
+ * Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
1177
+ *
1178
+ * @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
1179
+ * A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
1180
+ * @returns {string} A string representing the target_site.
1181
+ */
1182
+ matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
1183
+ return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
1184
+ }
825
1185
  /**
826
1186
  * Terminate the gRPC channel and close the client.
827
1187
  *