@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.
- package/CHANGELOG.md +7 -0
- package/README.md +12 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +0 -5
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversation.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto +39 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +97 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_tuning_service.proto +147 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine.proto +164 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/site_search_engine_service.proto +540 -0
- package/build/protos/protos.d.ts +4473 -550
- package/build/protos/protos.js +27437 -19222
- package/build/protos/protos.json +1060 -358
- package/build/src/index.js +1 -1
- package/build/src/v1/completion_service_client.js +1 -1
- package/build/src/v1/conversational_search_service_client.js +1 -1
- package/build/src/v1/document_service_client.js +1 -1
- package/build/src/v1/index.js +1 -1
- package/build/src/v1/schema_service_client.js +1 -1
- package/build/src/v1/search_service_client.js +1 -1
- package/build/src/v1/user_event_service_client.js +1 -1
- package/build/src/v1alpha/completion_service_client.d.ts +219 -0
- package/build/src/v1alpha/completion_service_client.js +302 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +236 -0
- package/build/src/v1alpha/conversational_search_service_client.js +302 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +219 -0
- package/build/src/v1alpha/data_store_service_client.js +310 -2
- package/build/src/v1alpha/document_service_client.d.ts +219 -0
- package/build/src/v1alpha/document_service_client.js +310 -2
- package/build/src/v1alpha/engine_service_client.d.ts +220 -1
- package/build/src/v1alpha/engine_service_client.js +310 -2
- package/build/src/v1alpha/index.d.ts +1 -0
- package/build/src/v1alpha/index.js +3 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +219 -0
- package/build/src/v1alpha/recommendation_service_client.js +302 -0
- package/build/src/v1alpha/schema_service_client.d.ts +219 -0
- package/build/src/v1alpha/schema_service_client.js +310 -2
- package/build/src/v1alpha/search_service_client.d.ts +258 -0
- package/build/src/v1alpha/search_service_client.js +328 -0
- package/build/src/v1alpha/search_tuning_service_client.d.ts +968 -0
- package/build/src/v1alpha/search_tuning_service_client.js +1452 -0
- package/build/src/v1alpha/search_tuning_service_client_config.json +30 -0
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +739 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +801 -4
- package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +219 -0
- package/build/src/v1alpha/user_event_service_client.js +310 -2
- package/build/src/v1beta/completion_service_client.js +1 -1
- package/build/src/v1beta/conversational_search_service_client.js +1 -1
- package/build/src/v1beta/document_service_client.js +1 -1
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/recommendation_service_client.js +1 -1
- package/build/src/v1beta/schema_service_client.js +1 -1
- package/build/src/v1beta/search_service_client.js +1 -1
- package/build/src/v1beta/user_event_service_client.js +1 -1
- package/package.json +2 -2
@@ -587,6 +587,150 @@ export declare class RecommendationServiceClient {
|
|
587
587
|
* @returns {string} A string representing the serving_config.
|
588
588
|
*/
|
589
589
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
590
|
+
/**
|
591
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
592
|
+
*
|
593
|
+
* @param {string} project
|
594
|
+
* @param {string} location
|
595
|
+
* @param {string} collection
|
596
|
+
* @param {string} data_store
|
597
|
+
* @returns {string} Resource name string.
|
598
|
+
*/
|
599
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
|
600
|
+
/**
|
601
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
602
|
+
*
|
603
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
604
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
605
|
+
* @returns {string} A string representing the project.
|
606
|
+
*/
|
607
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
608
|
+
/**
|
609
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
610
|
+
*
|
611
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
612
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
613
|
+
* @returns {string} A string representing the location.
|
614
|
+
*/
|
615
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
616
|
+
/**
|
617
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
618
|
+
*
|
619
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
620
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
621
|
+
* @returns {string} A string representing the collection.
|
622
|
+
*/
|
623
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
624
|
+
/**
|
625
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
626
|
+
*
|
627
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
628
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
629
|
+
* @returns {string} A string representing the data_store.
|
630
|
+
*/
|
631
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
632
|
+
/**
|
633
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
634
|
+
*
|
635
|
+
* @param {string} project
|
636
|
+
* @param {string} location
|
637
|
+
* @param {string} collection
|
638
|
+
* @param {string} data_store
|
639
|
+
* @param {string} target_site
|
640
|
+
* @returns {string} Resource name string.
|
641
|
+
*/
|
642
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
|
643
|
+
/**
|
644
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
645
|
+
*
|
646
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
647
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
648
|
+
* @returns {string} A string representing the project.
|
649
|
+
*/
|
650
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
651
|
+
/**
|
652
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
653
|
+
*
|
654
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
655
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
656
|
+
* @returns {string} A string representing the location.
|
657
|
+
*/
|
658
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
659
|
+
/**
|
660
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
661
|
+
*
|
662
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
663
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
664
|
+
* @returns {string} A string representing the collection.
|
665
|
+
*/
|
666
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
667
|
+
/**
|
668
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
669
|
+
*
|
670
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
671
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
672
|
+
* @returns {string} A string representing the data_store.
|
673
|
+
*/
|
674
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
675
|
+
/**
|
676
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
677
|
+
*
|
678
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
679
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
680
|
+
* @returns {string} A string representing the target_site.
|
681
|
+
*/
|
682
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
683
|
+
/**
|
684
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
685
|
+
*
|
686
|
+
* @param {string} project
|
687
|
+
* @param {string} location
|
688
|
+
* @param {string} collection
|
689
|
+
* @param {string} engine
|
690
|
+
* @param {string} conversation
|
691
|
+
* @returns {string} Resource name string.
|
692
|
+
*/
|
693
|
+
projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
|
694
|
+
/**
|
695
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
696
|
+
*
|
697
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
698
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
699
|
+
* @returns {string} A string representing the project.
|
700
|
+
*/
|
701
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
702
|
+
/**
|
703
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
704
|
+
*
|
705
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
706
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
707
|
+
* @returns {string} A string representing the location.
|
708
|
+
*/
|
709
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
710
|
+
/**
|
711
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
712
|
+
*
|
713
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
714
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
715
|
+
* @returns {string} A string representing the collection.
|
716
|
+
*/
|
717
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
718
|
+
/**
|
719
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
720
|
+
*
|
721
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
722
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
723
|
+
* @returns {string} A string representing the engine.
|
724
|
+
*/
|
725
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
726
|
+
/**
|
727
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
728
|
+
*
|
729
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
730
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
731
|
+
* @returns {string} A string representing the conversation.
|
732
|
+
*/
|
733
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
590
734
|
/**
|
591
735
|
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
592
736
|
*
|
@@ -848,6 +992,81 @@ export declare class RecommendationServiceClient {
|
|
848
992
|
* @returns {string} A string representing the serving_config.
|
849
993
|
*/
|
850
994
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
995
|
+
/**
|
996
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
997
|
+
*
|
998
|
+
* @param {string} project
|
999
|
+
* @param {string} location
|
1000
|
+
* @param {string} data_store
|
1001
|
+
* @returns {string} Resource name string.
|
1002
|
+
*/
|
1003
|
+
projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
|
1004
|
+
/**
|
1005
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1006
|
+
*
|
1007
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1008
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1009
|
+
* @returns {string} A string representing the project.
|
1010
|
+
*/
|
1011
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1012
|
+
/**
|
1013
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1014
|
+
*
|
1015
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1016
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1017
|
+
* @returns {string} A string representing the location.
|
1018
|
+
*/
|
1019
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1020
|
+
/**
|
1021
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1022
|
+
*
|
1023
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1024
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1025
|
+
* @returns {string} A string representing the data_store.
|
1026
|
+
*/
|
1027
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1028
|
+
/**
|
1029
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1030
|
+
*
|
1031
|
+
* @param {string} project
|
1032
|
+
* @param {string} location
|
1033
|
+
* @param {string} data_store
|
1034
|
+
* @param {string} target_site
|
1035
|
+
* @returns {string} Resource name string.
|
1036
|
+
*/
|
1037
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
|
1038
|
+
/**
|
1039
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1040
|
+
*
|
1041
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1042
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1043
|
+
* @returns {string} A string representing the project.
|
1044
|
+
*/
|
1045
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1046
|
+
/**
|
1047
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1048
|
+
*
|
1049
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1050
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1051
|
+
* @returns {string} A string representing the location.
|
1052
|
+
*/
|
1053
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1054
|
+
/**
|
1055
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1056
|
+
*
|
1057
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1058
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1059
|
+
* @returns {string} A string representing the data_store.
|
1060
|
+
*/
|
1061
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1062
|
+
/**
|
1063
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1064
|
+
*
|
1065
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1066
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1067
|
+
* @returns {string} A string representing the target_site.
|
1068
|
+
*/
|
1069
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
851
1070
|
/**
|
852
1071
|
* Terminate the gRPC channel and close the client.
|
853
1072
|
*
|
@@ -145,12 +145,17 @@ class RecommendationServiceClient {
|
|
145
145
|
projectLocationCollectionDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}'),
|
146
146
|
projectLocationCollectionDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/schemas/{schema}'),
|
147
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}'),
|
148
151
|
projectLocationCollectionEngineServingConfigPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}'),
|
149
152
|
projectLocationDataStorePathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}'),
|
150
153
|
projectLocationDataStoreBranchDocumentPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/branches/{branch}/documents/{document}'),
|
151
154
|
projectLocationDataStoreConversationPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}'),
|
152
155
|
projectLocationDataStoreSchemaPathTemplate: new this._gaxModule.PathTemplate('projects/{project}/locations/{location}/dataStores/{data_store}/schemas/{schema}'),
|
153
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}'),
|
154
159
|
};
|
155
160
|
// Put together the default options sent with requests.
|
156
161
|
this._defaults = this._gaxGrpc.constructSettings('google.cloud.discoveryengine.v1alpha.RecommendationService', gapicConfig, opts.clientConfig || {}, { 'x-goog-api-client': clientHeader.join(' ') });
|
@@ -725,6 +730,201 @@ class RecommendationServiceClient {
|
|
725
730
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
726
731
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
727
732
|
}
|
733
|
+
/**
|
734
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
735
|
+
*
|
736
|
+
* @param {string} project
|
737
|
+
* @param {string} location
|
738
|
+
* @param {string} collection
|
739
|
+
* @param {string} data_store
|
740
|
+
* @returns {string} Resource name string.
|
741
|
+
*/
|
742
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project, location, collection, dataStore) {
|
743
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.render({
|
744
|
+
project: project,
|
745
|
+
location: location,
|
746
|
+
collection: collection,
|
747
|
+
data_store: dataStore,
|
748
|
+
});
|
749
|
+
}
|
750
|
+
/**
|
751
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
752
|
+
*
|
753
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
754
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
755
|
+
* @returns {string} A string representing the project.
|
756
|
+
*/
|
757
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
758
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).project;
|
759
|
+
}
|
760
|
+
/**
|
761
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
762
|
+
*
|
763
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
764
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
765
|
+
* @returns {string} A string representing the location.
|
766
|
+
*/
|
767
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
768
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).location;
|
769
|
+
}
|
770
|
+
/**
|
771
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
772
|
+
*
|
773
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
774
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
775
|
+
* @returns {string} A string representing the collection.
|
776
|
+
*/
|
777
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
778
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).collection;
|
779
|
+
}
|
780
|
+
/**
|
781
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
782
|
+
*
|
783
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
784
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
785
|
+
* @returns {string} A string representing the data_store.
|
786
|
+
*/
|
787
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName) {
|
788
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEnginePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineName).data_store;
|
789
|
+
}
|
790
|
+
/**
|
791
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
792
|
+
*
|
793
|
+
* @param {string} project
|
794
|
+
* @param {string} location
|
795
|
+
* @param {string} collection
|
796
|
+
* @param {string} data_store
|
797
|
+
* @param {string} target_site
|
798
|
+
* @returns {string} Resource name string.
|
799
|
+
*/
|
800
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project, location, collection, dataStore, targetSite) {
|
801
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
802
|
+
project: project,
|
803
|
+
location: location,
|
804
|
+
collection: collection,
|
805
|
+
data_store: dataStore,
|
806
|
+
target_site: targetSite,
|
807
|
+
});
|
808
|
+
}
|
809
|
+
/**
|
810
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
811
|
+
*
|
812
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
813
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
814
|
+
* @returns {string} A string representing the project.
|
815
|
+
*/
|
816
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
817
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).project;
|
818
|
+
}
|
819
|
+
/**
|
820
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
821
|
+
*
|
822
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
823
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
824
|
+
* @returns {string} A string representing the location.
|
825
|
+
*/
|
826
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
827
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).location;
|
828
|
+
}
|
829
|
+
/**
|
830
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
831
|
+
*
|
832
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
833
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
834
|
+
* @returns {string} A string representing the collection.
|
835
|
+
*/
|
836
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
837
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).collection;
|
838
|
+
}
|
839
|
+
/**
|
840
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
841
|
+
*
|
842
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
843
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
844
|
+
* @returns {string} A string representing the data_store.
|
845
|
+
*/
|
846
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
847
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).data_store;
|
848
|
+
}
|
849
|
+
/**
|
850
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
851
|
+
*
|
852
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
853
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
854
|
+
* @returns {string} A string representing the target_site.
|
855
|
+
*/
|
856
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName) {
|
857
|
+
return this.pathTemplates.projectLocationCollectionDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName).target_site;
|
858
|
+
}
|
859
|
+
/**
|
860
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
861
|
+
*
|
862
|
+
* @param {string} project
|
863
|
+
* @param {string} location
|
864
|
+
* @param {string} collection
|
865
|
+
* @param {string} engine
|
866
|
+
* @param {string} conversation
|
867
|
+
* @returns {string} Resource name string.
|
868
|
+
*/
|
869
|
+
projectLocationCollectionEngineConversationPath(project, location, collection, engine, conversation) {
|
870
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.render({
|
871
|
+
project: project,
|
872
|
+
location: location,
|
873
|
+
collection: collection,
|
874
|
+
engine: engine,
|
875
|
+
conversation: conversation,
|
876
|
+
});
|
877
|
+
}
|
878
|
+
/**
|
879
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
880
|
+
*
|
881
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
882
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
883
|
+
* @returns {string} A string representing the project.
|
884
|
+
*/
|
885
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
886
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).project;
|
887
|
+
}
|
888
|
+
/**
|
889
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
890
|
+
*
|
891
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
892
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
893
|
+
* @returns {string} A string representing the location.
|
894
|
+
*/
|
895
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
896
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).location;
|
897
|
+
}
|
898
|
+
/**
|
899
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
900
|
+
*
|
901
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
902
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
903
|
+
* @returns {string} A string representing the collection.
|
904
|
+
*/
|
905
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
906
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).collection;
|
907
|
+
}
|
908
|
+
/**
|
909
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
910
|
+
*
|
911
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
912
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
913
|
+
* @returns {string} A string representing the engine.
|
914
|
+
*/
|
915
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
916
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).engine;
|
917
|
+
}
|
918
|
+
/**
|
919
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
920
|
+
*
|
921
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
922
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
923
|
+
* @returns {string} A string representing the conversation.
|
924
|
+
*/
|
925
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName) {
|
926
|
+
return this.pathTemplates.projectLocationCollectionEngineConversationPathTemplate.match(projectLocationCollectionEngineConversationName).conversation;
|
927
|
+
}
|
728
928
|
/**
|
729
929
|
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
730
930
|
*
|
@@ -1079,6 +1279,108 @@ class RecommendationServiceClient {
|
|
1079
1279
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1080
1280
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1081
1281
|
}
|
1282
|
+
/**
|
1283
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1284
|
+
*
|
1285
|
+
* @param {string} project
|
1286
|
+
* @param {string} location
|
1287
|
+
* @param {string} data_store
|
1288
|
+
* @returns {string} Resource name string.
|
1289
|
+
*/
|
1290
|
+
projectLocationDataStoreSiteSearchEnginePath(project, location, dataStore) {
|
1291
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.render({
|
1292
|
+
project: project,
|
1293
|
+
location: location,
|
1294
|
+
data_store: dataStore,
|
1295
|
+
});
|
1296
|
+
}
|
1297
|
+
/**
|
1298
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1299
|
+
*
|
1300
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1301
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1302
|
+
* @returns {string} A string representing the project.
|
1303
|
+
*/
|
1304
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1305
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).project;
|
1306
|
+
}
|
1307
|
+
/**
|
1308
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1309
|
+
*
|
1310
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1311
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1312
|
+
* @returns {string} A string representing the location.
|
1313
|
+
*/
|
1314
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1315
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).location;
|
1316
|
+
}
|
1317
|
+
/**
|
1318
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1319
|
+
*
|
1320
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1321
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1322
|
+
* @returns {string} A string representing the data_store.
|
1323
|
+
*/
|
1324
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName) {
|
1325
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEnginePathTemplate.match(projectLocationDataStoreSiteSearchEngineName).data_store;
|
1326
|
+
}
|
1327
|
+
/**
|
1328
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1329
|
+
*
|
1330
|
+
* @param {string} project
|
1331
|
+
* @param {string} location
|
1332
|
+
* @param {string} data_store
|
1333
|
+
* @param {string} target_site
|
1334
|
+
* @returns {string} Resource name string.
|
1335
|
+
*/
|
1336
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project, location, dataStore, targetSite) {
|
1337
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.render({
|
1338
|
+
project: project,
|
1339
|
+
location: location,
|
1340
|
+
data_store: dataStore,
|
1341
|
+
target_site: targetSite,
|
1342
|
+
});
|
1343
|
+
}
|
1344
|
+
/**
|
1345
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1346
|
+
*
|
1347
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1348
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1349
|
+
* @returns {string} A string representing the project.
|
1350
|
+
*/
|
1351
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1352
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).project;
|
1353
|
+
}
|
1354
|
+
/**
|
1355
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1356
|
+
*
|
1357
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1358
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1359
|
+
* @returns {string} A string representing the location.
|
1360
|
+
*/
|
1361
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1362
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).location;
|
1363
|
+
}
|
1364
|
+
/**
|
1365
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1366
|
+
*
|
1367
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1368
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1369
|
+
* @returns {string} A string representing the data_store.
|
1370
|
+
*/
|
1371
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1372
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).data_store;
|
1373
|
+
}
|
1374
|
+
/**
|
1375
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1376
|
+
*
|
1377
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1378
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1379
|
+
* @returns {string} A string representing the target_site.
|
1380
|
+
*/
|
1381
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName) {
|
1382
|
+
return this.pathTemplates.projectLocationDataStoreSiteSearchEngineTargetSitePathTemplate.match(projectLocationDataStoreSiteSearchEngineTargetSiteName).target_site;
|
1383
|
+
}
|
1082
1384
|
/**
|
1083
1385
|
* Terminate the gRPC channel and close the client.
|
1084
1386
|
*
|