@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
@@ -151,6 +151,23 @@ export declare class ConversationalSearchServiceClient {
|
|
151
151
|
* for more details.
|
152
152
|
* @param {google.cloud.discoveryengine.v1alpha.SearchRequest.ContentSearchSpec.SummarySpec} request.summarySpec
|
153
153
|
* A specification for configuring the summary returned in the response.
|
154
|
+
* @param {string} request.filter
|
155
|
+
* The filter syntax consists of an expression language for constructing a
|
156
|
+
* predicate from one or more fields of the documents being filtered. Filter
|
157
|
+
* expression is case-sensitive. This will be used to filter search results
|
158
|
+
* which may affect the summary response.
|
159
|
+
*
|
160
|
+
* If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
161
|
+
*
|
162
|
+
* Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
163
|
+
* key property defined in the Vertex AI Search backend -- this mapping is
|
164
|
+
* defined by the customer in their schema. For example a media customer might
|
165
|
+
* have a field 'name' in their schema. In this case the filter would look
|
166
|
+
* like this: filter --> name:'ANY("king kong")'
|
167
|
+
*
|
168
|
+
* For more information about filtering including syntax and filter
|
169
|
+
* operators, see
|
170
|
+
* [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
154
171
|
* @param {object} [options]
|
155
172
|
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details.
|
156
173
|
* @returns {Promise} - The promise which resolves to an array.
|
@@ -769,6 +786,150 @@ export declare class ConversationalSearchServiceClient {
|
|
769
786
|
* @returns {string} A string representing the serving_config.
|
770
787
|
*/
|
771
788
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName: string): string | number;
|
789
|
+
/**
|
790
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngine resource name string.
|
791
|
+
*
|
792
|
+
* @param {string} project
|
793
|
+
* @param {string} location
|
794
|
+
* @param {string} collection
|
795
|
+
* @param {string} data_store
|
796
|
+
* @returns {string} Resource name string.
|
797
|
+
*/
|
798
|
+
projectLocationCollectionDataStoreSiteSearchEnginePath(project: string, location: string, collection: string, dataStore: string): string;
|
799
|
+
/**
|
800
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
801
|
+
*
|
802
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
803
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
804
|
+
* @returns {string} A string representing the project.
|
805
|
+
*/
|
806
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
807
|
+
/**
|
808
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
809
|
+
*
|
810
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
811
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
812
|
+
* @returns {string} A string representing the location.
|
813
|
+
*/
|
814
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
815
|
+
/**
|
816
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
817
|
+
*
|
818
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
819
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
820
|
+
* @returns {string} A string representing the collection.
|
821
|
+
*/
|
822
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
823
|
+
/**
|
824
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngine resource.
|
825
|
+
*
|
826
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineName
|
827
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine resource.
|
828
|
+
* @returns {string} A string representing the data_store.
|
829
|
+
*/
|
830
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineName(projectLocationCollectionDataStoreSiteSearchEngineName: string): string | number;
|
831
|
+
/**
|
832
|
+
* Return a fully-qualified projectLocationCollectionDataStoreSiteSearchEngineTargetSite resource name string.
|
833
|
+
*
|
834
|
+
* @param {string} project
|
835
|
+
* @param {string} location
|
836
|
+
* @param {string} collection
|
837
|
+
* @param {string} data_store
|
838
|
+
* @param {string} target_site
|
839
|
+
* @returns {string} Resource name string.
|
840
|
+
*/
|
841
|
+
projectLocationCollectionDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, collection: string, dataStore: string, targetSite: string): string;
|
842
|
+
/**
|
843
|
+
* Parse the project from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
844
|
+
*
|
845
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
846
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
847
|
+
* @returns {string} A string representing the project.
|
848
|
+
*/
|
849
|
+
matchProjectFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
850
|
+
/**
|
851
|
+
* Parse the location from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
852
|
+
*
|
853
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
854
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
855
|
+
* @returns {string} A string representing the location.
|
856
|
+
*/
|
857
|
+
matchLocationFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
858
|
+
/**
|
859
|
+
* Parse the collection from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
860
|
+
*
|
861
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
862
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
863
|
+
* @returns {string} A string representing the collection.
|
864
|
+
*/
|
865
|
+
matchCollectionFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
866
|
+
/**
|
867
|
+
* Parse the data_store from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
868
|
+
*
|
869
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
870
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
871
|
+
* @returns {string} A string representing the data_store.
|
872
|
+
*/
|
873
|
+
matchDataStoreFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
874
|
+
/**
|
875
|
+
* Parse the target_site from ProjectLocationCollectionDataStoreSiteSearchEngineTargetSite resource.
|
876
|
+
*
|
877
|
+
* @param {string} projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName
|
878
|
+
* A fully-qualified path representing project_location_collection_data_store_siteSearchEngine_target_site resource.
|
879
|
+
* @returns {string} A string representing the target_site.
|
880
|
+
*/
|
881
|
+
matchTargetSiteFromProjectLocationCollectionDataStoreSiteSearchEngineTargetSiteName(projectLocationCollectionDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
882
|
+
/**
|
883
|
+
* Return a fully-qualified projectLocationCollectionEngineConversation resource name string.
|
884
|
+
*
|
885
|
+
* @param {string} project
|
886
|
+
* @param {string} location
|
887
|
+
* @param {string} collection
|
888
|
+
* @param {string} engine
|
889
|
+
* @param {string} conversation
|
890
|
+
* @returns {string} Resource name string.
|
891
|
+
*/
|
892
|
+
projectLocationCollectionEngineConversationPath(project: string, location: string, collection: string, engine: string, conversation: string): string;
|
893
|
+
/**
|
894
|
+
* Parse the project from ProjectLocationCollectionEngineConversation resource.
|
895
|
+
*
|
896
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
897
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
898
|
+
* @returns {string} A string representing the project.
|
899
|
+
*/
|
900
|
+
matchProjectFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
901
|
+
/**
|
902
|
+
* Parse the location from ProjectLocationCollectionEngineConversation resource.
|
903
|
+
*
|
904
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
905
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
906
|
+
* @returns {string} A string representing the location.
|
907
|
+
*/
|
908
|
+
matchLocationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
909
|
+
/**
|
910
|
+
* Parse the collection from ProjectLocationCollectionEngineConversation resource.
|
911
|
+
*
|
912
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
913
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
914
|
+
* @returns {string} A string representing the collection.
|
915
|
+
*/
|
916
|
+
matchCollectionFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
917
|
+
/**
|
918
|
+
* Parse the engine from ProjectLocationCollectionEngineConversation resource.
|
919
|
+
*
|
920
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
921
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
922
|
+
* @returns {string} A string representing the engine.
|
923
|
+
*/
|
924
|
+
matchEngineFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
925
|
+
/**
|
926
|
+
* Parse the conversation from ProjectLocationCollectionEngineConversation resource.
|
927
|
+
*
|
928
|
+
* @param {string} projectLocationCollectionEngineConversationName
|
929
|
+
* A fully-qualified path representing project_location_collection_engine_conversation resource.
|
930
|
+
* @returns {string} A string representing the conversation.
|
931
|
+
*/
|
932
|
+
matchConversationFromProjectLocationCollectionEngineConversationName(projectLocationCollectionEngineConversationName: string): string | number;
|
772
933
|
/**
|
773
934
|
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
774
935
|
*
|
@@ -1030,6 +1191,81 @@ export declare class ConversationalSearchServiceClient {
|
|
1030
1191
|
* @returns {string} A string representing the serving_config.
|
1031
1192
|
*/
|
1032
1193
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName: string): string | number;
|
1194
|
+
/**
|
1195
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngine resource name string.
|
1196
|
+
*
|
1197
|
+
* @param {string} project
|
1198
|
+
* @param {string} location
|
1199
|
+
* @param {string} data_store
|
1200
|
+
* @returns {string} Resource name string.
|
1201
|
+
*/
|
1202
|
+
projectLocationDataStoreSiteSearchEnginePath(project: string, location: string, dataStore: string): string;
|
1203
|
+
/**
|
1204
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngine resource.
|
1205
|
+
*
|
1206
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1207
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1208
|
+
* @returns {string} A string representing the project.
|
1209
|
+
*/
|
1210
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1211
|
+
/**
|
1212
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngine resource.
|
1213
|
+
*
|
1214
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1215
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1216
|
+
* @returns {string} A string representing the location.
|
1217
|
+
*/
|
1218
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1219
|
+
/**
|
1220
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngine resource.
|
1221
|
+
*
|
1222
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineName
|
1223
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine resource.
|
1224
|
+
* @returns {string} A string representing the data_store.
|
1225
|
+
*/
|
1226
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineName(projectLocationDataStoreSiteSearchEngineName: string): string | number;
|
1227
|
+
/**
|
1228
|
+
* Return a fully-qualified projectLocationDataStoreSiteSearchEngineTargetSite resource name string.
|
1229
|
+
*
|
1230
|
+
* @param {string} project
|
1231
|
+
* @param {string} location
|
1232
|
+
* @param {string} data_store
|
1233
|
+
* @param {string} target_site
|
1234
|
+
* @returns {string} Resource name string.
|
1235
|
+
*/
|
1236
|
+
projectLocationDataStoreSiteSearchEngineTargetSitePath(project: string, location: string, dataStore: string, targetSite: string): string;
|
1237
|
+
/**
|
1238
|
+
* Parse the project from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1239
|
+
*
|
1240
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1241
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1242
|
+
* @returns {string} A string representing the project.
|
1243
|
+
*/
|
1244
|
+
matchProjectFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1245
|
+
/**
|
1246
|
+
* Parse the location from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1247
|
+
*
|
1248
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1249
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1250
|
+
* @returns {string} A string representing the location.
|
1251
|
+
*/
|
1252
|
+
matchLocationFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1253
|
+
/**
|
1254
|
+
* Parse the data_store from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1255
|
+
*
|
1256
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1257
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1258
|
+
* @returns {string} A string representing the data_store.
|
1259
|
+
*/
|
1260
|
+
matchDataStoreFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1261
|
+
/**
|
1262
|
+
* Parse the target_site from ProjectLocationDataStoreSiteSearchEngineTargetSite resource.
|
1263
|
+
*
|
1264
|
+
* @param {string} projectLocationDataStoreSiteSearchEngineTargetSiteName
|
1265
|
+
* A fully-qualified path representing project_location_data_store_siteSearchEngine_target_site resource.
|
1266
|
+
* @returns {string} A string representing the target_site.
|
1267
|
+
*/
|
1268
|
+
matchTargetSiteFromProjectLocationDataStoreSiteSearchEngineTargetSiteName(projectLocationDataStoreSiteSearchEngineTargetSiteName: string): string | number;
|
1033
1269
|
/**
|
1034
1270
|
* Terminate the gRPC channel and close the client.
|
1035
1271
|
*
|
@@ -145,12 +145,17 @@ class ConversationalSearchServiceClient {
|
|
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
|
// Some of the methods on this service return "paged" results,
|
156
161
|
// (e.g. 50 results at a time, with tokens to get subsequent
|
@@ -958,6 +963,201 @@ class ConversationalSearchServiceClient {
|
|
958
963
|
matchServingConfigFromProjectLocationCollectionDataStoreServingConfigName(projectLocationCollectionDataStoreServingConfigName) {
|
959
964
|
return this.pathTemplates.projectLocationCollectionDataStoreServingConfigPathTemplate.match(projectLocationCollectionDataStoreServingConfigName).serving_config;
|
960
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
|
+
}
|
961
1161
|
/**
|
962
1162
|
* Return a fully-qualified projectLocationCollectionEngineServingConfig resource name string.
|
963
1163
|
*
|
@@ -1312,6 +1512,108 @@ class ConversationalSearchServiceClient {
|
|
1312
1512
|
matchServingConfigFromProjectLocationDataStoreServingConfigName(projectLocationDataStoreServingConfigName) {
|
1313
1513
|
return this.pathTemplates.projectLocationDataStoreServingConfigPathTemplate.match(projectLocationDataStoreServingConfigName).serving_config;
|
1314
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
|
+
}
|
1315
1617
|
/**
|
1316
1618
|
* Terminate the gRPC channel and close the client.
|
1317
1619
|
*
|