@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.
- package/CHANGELOG.md +14 -0
- package/README.md +25 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/common.proto +38 -8
- 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/data_store.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/data_store_service.proto +307 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/document.proto +1 -1
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine.proto +370 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/engine_service.proto +336 -0
- package/build/protos/google/cloud/discoveryengine/v1alpha/recommendation_service.proto +9 -3
- package/build/protos/google/cloud/discoveryengine/v1alpha/search_service.proto +123 -3
- 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 +10923 -3222
- package/build/protos/protos.js +29891 -12914
- package/build/protos/protos.json +2367 -668
- 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 +261 -0
- package/build/src/v1alpha/completion_service_client.js +360 -0
- package/build/src/v1alpha/conversational_search_service_client.d.ts +278 -0
- package/build/src/v1alpha/conversational_search_service_client.js +360 -0
- package/build/src/v1alpha/data_store_service_client.d.ts +1279 -0
- package/build/src/v1alpha/data_store_service_client.js +1739 -0
- package/build/src/v1alpha/data_store_service_client_config.json +46 -0
- package/build/src/v1alpha/document_service_client.d.ts +336 -0
- package/build/src/v1alpha/document_service_client.js +472 -2
- package/build/src/v1alpha/engine_service_client.d.ts +1298 -0
- package/build/src/v1alpha/engine_service_client.js +1789 -0
- package/build/src/v1alpha/engine_service_client_config.json +58 -0
- package/build/src/v1alpha/index.d.ts +3 -0
- package/build/src/v1alpha/index.js +7 -1
- package/build/src/v1alpha/recommendation_service_client.d.ts +345 -3
- package/build/src/v1alpha/recommendation_service_client.js +464 -0
- package/build/src/v1alpha/schema_service_client.d.ts +261 -0
- package/build/src/v1alpha/schema_service_client.js +368 -2
- package/build/src/v1alpha/search_service_client.d.ts +453 -9
- package/build/src/v1alpha/search_service_client.js +542 -6
- 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 +856 -1
- package/build/src/v1alpha/site_search_engine_service_client.js +993 -34
- package/build/src/v1alpha/site_search_engine_service_client_config.json +44 -0
- package/build/src/v1alpha/user_event_service_client.d.ts +261 -0
- package/build/src/v1alpha/user_event_service_client.js +368 -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 +4 -4
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [1.3.1](https://github.com/googleapis/google-cloud-node/compare/discoveryengine-v1.3.0...discoveryengine-v1.3.1) (2024-01-05)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* [discoveryengine] correct long audio synthesis HTTP binding ([#4886](https://github.com/googleapis/google-cloud-node/issues/4886)) ([fb95ca7](https://github.com/googleapis/google-cloud-node/commit/fb95ca771318195714dfa47deab817ba19f5e1a4))
|
9
|
+
|
10
|
+
## [1.3.0](https://github.com/googleapis/google-cloud-node/compare/discoveryengine-v1.2.0...discoveryengine-v1.3.0) (2023-11-16)
|
11
|
+
|
12
|
+
|
13
|
+
### Features
|
14
|
+
|
15
|
+
* [discoveryengine] add data store and engine services ([#4810](https://github.com/googleapis/google-cloud-node/issues/4810)) ([7e95257](https://github.com/googleapis/google-cloud-node/commit/7e95257cb371509efce1e5b83a730cb1a1db4492))
|
16
|
+
|
3
17
|
## [1.2.0](https://github.com/googleapis/google-cloud-node/compare/discoveryengine-v1.1.0...discoveryengine-v1.2.0) (2023-10-18)
|
4
18
|
|
5
19
|
|
package/README.md
CHANGED
@@ -155,6 +155,11 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
155
155
|
| Conversational_search_service.get_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.get_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
156
156
|
| Conversational_search_service.list_conversations | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_conversations.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.list_conversations.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
157
157
|
| Conversational_search_service.update_conversation | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_conversation.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/conversational_search_service.update_conversation.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
158
|
+
| Data_store_service.create_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.create_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.create_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
159
|
+
| Data_store_service.delete_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.delete_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.delete_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
160
|
+
| Data_store_service.get_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.get_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
161
|
+
| Data_store_service.list_data_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.list_data_stores.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.list_data_stores.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
162
|
+
| Data_store_service.update_data_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_data_store.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/data_store_service.update_data_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
158
163
|
| Document_service.create_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.create_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.create_document.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
159
164
|
| Document_service.delete_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.delete_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.delete_document.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
160
165
|
| Document_service.get_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.get_document.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -162,6 +167,14 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
162
167
|
| Document_service.list_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.list_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.list_documents.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
163
168
|
| Document_service.purge_documents | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.purge_documents.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.purge_documents.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
164
169
|
| Document_service.update_document | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.update_document.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/document_service.update_document.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
170
|
+
| Engine_service.create_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.create_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.create_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
171
|
+
| Engine_service.delete_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.delete_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.delete_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
172
|
+
| Engine_service.get_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.get_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.get_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
173
|
+
| Engine_service.list_engines | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.list_engines.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.list_engines.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
174
|
+
| Engine_service.pause_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.pause_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.pause_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
175
|
+
| Engine_service.resume_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.resume_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.resume_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
176
|
+
| Engine_service.tune_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.tune_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.tune_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
177
|
+
| Engine_service.update_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.update_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/engine_service.update_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
165
178
|
| Recommendation_service.recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/recommendation_service.recommend.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/recommendation_service.recommend.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
166
179
|
| Schema_service.create_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.create_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.create_schema.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
167
180
|
| Schema_service.delete_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.delete_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.delete_schema.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -169,7 +182,19 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
169
182
|
| Schema_service.list_schemas | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.list_schemas.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.list_schemas.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
170
183
|
| Schema_service.update_schema | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.update_schema.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/schema_service.update_schema.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
171
184
|
| Search_service.search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_service.search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_service.search.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
185
|
+
| Search_tuning_service.train_custom_model | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.train_custom_model.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/search_tuning_service.train_custom_model.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
186
|
+
| Site_search_engine_service.batch_create_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_create_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_create_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
187
|
+
| Site_search_engine_service.batch_verify_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_verify_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.batch_verify_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
188
|
+
| Site_search_engine_service.create_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.create_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.create_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
189
|
+
| Site_search_engine_service.delete_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.delete_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.delete_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
190
|
+
| Site_search_engine_service.disable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.disable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.disable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
191
|
+
| Site_search_engine_service.enable_advanced_site_search | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.enable_advanced_site_search.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.enable_advanced_site_search.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
192
|
+
| Site_search_engine_service.fetch_domain_verification_status | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.fetch_domain_verification_status.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.fetch_domain_verification_status.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
193
|
+
| Site_search_engine_service.get_site_search_engine | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_site_search_engine.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_site_search_engine.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
194
|
+
| Site_search_engine_service.get_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.get_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
195
|
+
| Site_search_engine_service.list_target_sites | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.list_target_sites.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.list_target_sites.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
172
196
|
| Site_search_engine_service.recrawl_uris | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.recrawl_uris.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
197
|
+
| Site_search_engine_service.update_target_site | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.update_target_site.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/site_search_engine_service.update_target_site.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
173
198
|
| User_event_service.collect_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.collect_user_event.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.collect_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
174
199
|
| User_event_service.import_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.import_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.import_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
175
200
|
| User_event_service.purge_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.purge_user_events.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-discoveryengine/samples/generated/v1alpha/user_event_service.purge_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -32,9 +32,8 @@ option (google.api.resource_definition) = {
|
|
32
32
|
pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}"
|
33
33
|
};
|
34
34
|
option (google.api.resource_definition) = {
|
35
|
-
type: "discoveryengine.googleapis.com/
|
36
|
-
pattern: "projects/{project}/locations/{location}/
|
37
|
-
pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}"
|
35
|
+
type: "discoveryengine.googleapis.com/Collection"
|
36
|
+
pattern: "projects/{project}/locations/{location}/collections/{collection}"
|
38
37
|
};
|
39
38
|
option (google.api.resource_definition) = {
|
40
39
|
type: "discoveryengine.googleapis.com/ServingConfig"
|
@@ -42,11 +41,20 @@ option (google.api.resource_definition) = {
|
|
42
41
|
pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/servingConfigs/{serving_config}"
|
43
42
|
pattern: "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/servingConfigs/{serving_config}"
|
44
43
|
};
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
44
|
+
|
45
|
+
// The industry vertical associated with the
|
46
|
+
// [DataStore][google.cloud.discoveryengine.v1alpha.DataStore].
|
47
|
+
enum IndustryVertical {
|
48
|
+
// Value used when unset.
|
49
|
+
INDUSTRY_VERTICAL_UNSPECIFIED = 0;
|
50
|
+
|
51
|
+
// The generic vertical for documents that are not specific to any industry
|
52
|
+
// vertical.
|
53
|
+
GENERIC = 1;
|
54
|
+
|
55
|
+
// The media industry vertical.
|
56
|
+
MEDIA = 2;
|
57
|
+
}
|
50
58
|
|
51
59
|
// The type of solution.
|
52
60
|
enum SolutionType {
|
@@ -63,6 +71,28 @@ enum SolutionType {
|
|
63
71
|
SOLUTION_TYPE_CHAT = 3;
|
64
72
|
}
|
65
73
|
|
74
|
+
// Tiers of search features. Different tiers might have different
|
75
|
+
// pricing. To learn more, please check the pricing documentation.
|
76
|
+
enum SearchTier {
|
77
|
+
// Default value when the enum is unspecified. This is invalid to use.
|
78
|
+
SEARCH_TIER_UNSPECIFIED = 0;
|
79
|
+
|
80
|
+
// Standard tier.
|
81
|
+
SEARCH_TIER_STANDARD = 1;
|
82
|
+
|
83
|
+
// Enterprise tier.
|
84
|
+
SEARCH_TIER_ENTERPRISE = 2;
|
85
|
+
}
|
86
|
+
|
87
|
+
// Add-on that provides additional functionality for search.
|
88
|
+
enum SearchAddOn {
|
89
|
+
// Default value when the enum is unspecified. This is invalid to use.
|
90
|
+
SEARCH_ADD_ON_UNSPECIFIED = 0;
|
91
|
+
|
92
|
+
// Large language model add-on.
|
93
|
+
SEARCH_ADD_ON_LLM = 1;
|
94
|
+
}
|
95
|
+
|
66
96
|
// A floating point interval.
|
67
97
|
message Interval {
|
68
98
|
// The lower bound of the interval. If neither of the min fields are
|
@@ -36,6 +36,7 @@ message Conversation {
|
|
36
36
|
type: "discoveryengine.googleapis.com/Conversation"
|
37
37
|
pattern: "projects/{project}/locations/{location}/dataStores/{data_store}/conversations/{conversation}"
|
38
38
|
pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/conversations/{conversation}"
|
39
|
+
pattern: "projects/{project}/locations/{location}/collections/{collection}/engines/{engine}/conversations/{conversation}"
|
39
40
|
};
|
40
41
|
|
41
42
|
// Enumeration of the state of the conversation.
|
@@ -52,6 +53,8 @@ message Conversation {
|
|
52
53
|
|
53
54
|
// Immutable. Fully qualified name
|
54
55
|
// `project/*/locations/global/collections/{collection}/dataStore/*/conversations/*`
|
56
|
+
// or
|
57
|
+
// `project/*/locations/global/collections/{collection}/engines/*/conversations/*`.
|
55
58
|
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
|
56
59
|
|
57
60
|
// The state of the Conversation.
|
package/build/protos/google/cloud/discoveryengine/v1alpha/conversational_search_service.proto
CHANGED
@@ -50,6 +50,10 @@ service ConversationalSearchService {
|
|
50
50
|
post: "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}:converse"
|
51
51
|
body: "*"
|
52
52
|
}
|
53
|
+
additional_bindings {
|
54
|
+
post: "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}:converse"
|
55
|
+
body: "*"
|
56
|
+
}
|
53
57
|
};
|
54
58
|
option (google.api.method_signature) = "name,query";
|
55
59
|
}
|
@@ -66,6 +70,10 @@ service ConversationalSearchService {
|
|
66
70
|
post: "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
|
67
71
|
body: "conversation"
|
68
72
|
}
|
73
|
+
additional_bindings {
|
74
|
+
post: "/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*}/conversations"
|
75
|
+
body: "conversation"
|
76
|
+
}
|
69
77
|
};
|
70
78
|
option (google.api.method_signature) = "parent,conversation";
|
71
79
|
}
|
@@ -81,6 +89,9 @@ service ConversationalSearchService {
|
|
81
89
|
additional_bindings {
|
82
90
|
delete: "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
|
83
91
|
}
|
92
|
+
additional_bindings {
|
93
|
+
delete: "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
|
94
|
+
}
|
84
95
|
};
|
85
96
|
option (google.api.method_signature) = "name";
|
86
97
|
}
|
@@ -99,6 +110,10 @@ service ConversationalSearchService {
|
|
99
110
|
patch: "/v1alpha/{conversation.name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
|
100
111
|
body: "conversation"
|
101
112
|
}
|
113
|
+
additional_bindings {
|
114
|
+
patch: "/v1alpha/{conversation.name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
|
115
|
+
body: "conversation"
|
116
|
+
}
|
102
117
|
};
|
103
118
|
option (google.api.method_signature) = "conversation,update_mask";
|
104
119
|
}
|
@@ -110,6 +125,9 @@ service ConversationalSearchService {
|
|
110
125
|
additional_bindings {
|
111
126
|
get: "/v1alpha/{name=projects/*/locations/*/collections/*/dataStores/*/conversations/*}"
|
112
127
|
}
|
128
|
+
additional_bindings {
|
129
|
+
get: "/v1alpha/{name=projects/*/locations/*/collections/*/engines/*/conversations/*}"
|
130
|
+
}
|
113
131
|
};
|
114
132
|
option (google.api.method_signature) = "name";
|
115
133
|
}
|
@@ -123,6 +141,9 @@ service ConversationalSearchService {
|
|
123
141
|
additional_bindings {
|
124
142
|
get: "/v1alpha/{parent=projects/*/locations/*/collections/*/dataStores/*}/conversations"
|
125
143
|
}
|
144
|
+
additional_bindings {
|
145
|
+
get: "/v1alpha/{parent=projects/*/locations/*/collections/*/engines/*}/conversations"
|
146
|
+
}
|
126
147
|
};
|
127
148
|
option (google.api.method_signature) = "parent";
|
128
149
|
}
|
@@ -184,6 +205,24 @@ message ConverseConversationRequest {
|
|
184
205
|
|
185
206
|
// A specification for configuring the summary returned in the response.
|
186
207
|
SearchRequest.ContentSearchSpec.SummarySpec summary_spec = 8;
|
208
|
+
|
209
|
+
// The filter syntax consists of an expression language for constructing a
|
210
|
+
// predicate from one or more fields of the documents being filtered. Filter
|
211
|
+
// expression is case-sensitive. This will be used to filter search results
|
212
|
+
// which may affect the summary response.
|
213
|
+
//
|
214
|
+
// If this field is unrecognizable, an `INVALID_ARGUMENT` is returned.
|
215
|
+
//
|
216
|
+
// Filtering in Vertex AI Search is done by mapping the LHS filter key to a
|
217
|
+
// key property defined in the Vertex AI Search backend -- this mapping is
|
218
|
+
// defined by the customer in their schema. For example a media customer might
|
219
|
+
// have a field 'name' in their schema. In this case the filter would look
|
220
|
+
// like this: filter --> name:'ANY("king kong")'
|
221
|
+
//
|
222
|
+
// For more information about filtering including syntax and filter
|
223
|
+
// operators, see
|
224
|
+
// [Filter](https://cloud.google.com/generative-ai-app-builder/docs/filter-search-metadata)
|
225
|
+
string filter = 9;
|
187
226
|
}
|
188
227
|
|
189
228
|
// Response message for
|
@@ -0,0 +1,98 @@
|
|
1
|
+
// Copyright 2022 Google LLC
|
2
|
+
//
|
3
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
// you may not use this file except in compliance with the License.
|
5
|
+
// You may obtain a copy of the License at
|
6
|
+
//
|
7
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
//
|
9
|
+
// Unless required by applicable law or agreed to in writing, software
|
10
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
// See the License for the specific language governing permissions and
|
13
|
+
// limitations under the License.
|
14
|
+
|
15
|
+
syntax = "proto3";
|
16
|
+
|
17
|
+
package google.cloud.discoveryengine.v1alpha;
|
18
|
+
|
19
|
+
import "google/api/field_behavior.proto";
|
20
|
+
import "google/api/resource.proto";
|
21
|
+
import "google/cloud/discoveryengine/v1alpha/common.proto";
|
22
|
+
import "google/protobuf/timestamp.proto";
|
23
|
+
|
24
|
+
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1Alpha";
|
25
|
+
option go_package = "cloud.google.com/go/discoveryengine/apiv1alpha/discoveryenginepb;discoveryenginepb";
|
26
|
+
option java_multiple_files = true;
|
27
|
+
option java_outer_classname = "DataStoreProto";
|
28
|
+
option java_package = "com.google.cloud.discoveryengine.v1alpha";
|
29
|
+
option objc_class_prefix = "DISCOVERYENGINE";
|
30
|
+
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1alpha";
|
31
|
+
option ruby_package = "Google::Cloud::DiscoveryEngine::V1alpha";
|
32
|
+
|
33
|
+
// DataStore captures global settings and configs at the DataStore level.
|
34
|
+
message DataStore {
|
35
|
+
option (google.api.resource) = {
|
36
|
+
type: "discoveryengine.googleapis.com/DataStore"
|
37
|
+
pattern: "projects/{project}/locations/{location}/dataStores/{data_store}"
|
38
|
+
pattern: "projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}"
|
39
|
+
};
|
40
|
+
|
41
|
+
// Content config of the data store.
|
42
|
+
enum ContentConfig {
|
43
|
+
// Default value.
|
44
|
+
CONTENT_CONFIG_UNSPECIFIED = 0;
|
45
|
+
|
46
|
+
// Only contains documents without any
|
47
|
+
// [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
48
|
+
NO_CONTENT = 1;
|
49
|
+
|
50
|
+
// Only contains documents with
|
51
|
+
// [Document.content][google.cloud.discoveryengine.v1alpha.Document.content].
|
52
|
+
CONTENT_REQUIRED = 2;
|
53
|
+
|
54
|
+
// The data store is used for public website search.
|
55
|
+
PUBLIC_WEBSITE = 3;
|
56
|
+
}
|
57
|
+
|
58
|
+
// Immutable. The full resource name of the data store.
|
59
|
+
// Format:
|
60
|
+
// `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
|
61
|
+
//
|
62
|
+
// This field must be a UTF-8 encoded string with a length limit of 1024
|
63
|
+
// characters.
|
64
|
+
string name = 1 [(google.api.field_behavior) = IMMUTABLE];
|
65
|
+
|
66
|
+
// Required. The data store display name.
|
67
|
+
//
|
68
|
+
// This field must be a UTF-8 encoded string with a length limit of 128
|
69
|
+
// characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
70
|
+
string display_name = 2 [(google.api.field_behavior) = REQUIRED];
|
71
|
+
|
72
|
+
// Immutable. The industry vertical that the data store registers.
|
73
|
+
IndustryVertical industry_vertical = 3
|
74
|
+
[(google.api.field_behavior) = IMMUTABLE];
|
75
|
+
|
76
|
+
// The solutions that the data store enrolls. Available solutions for each
|
77
|
+
// [industry_vertical][google.cloud.discoveryengine.v1alpha.DataStore.industry_vertical]:
|
78
|
+
//
|
79
|
+
// * `MEDIA`: `SOLUTION_TYPE_RECOMMENDATION` and `SOLUTION_TYPE_SEARCH`.
|
80
|
+
// * `SITE_SEARCH`: `SOLUTION_TYPE_SEARCH` is automatically enrolled. Other
|
81
|
+
// solutions cannot be enrolled.
|
82
|
+
repeated SolutionType solution_types = 5;
|
83
|
+
|
84
|
+
// Output only. The id of the default
|
85
|
+
// [Schema][google.cloud.discoveryengine.v1alpha.Schema] asscociated to this
|
86
|
+
// data store.
|
87
|
+
string default_schema_id = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
|
88
|
+
|
89
|
+
// Immutable. The content config of the data store. If this field is unset,
|
90
|
+
// the server behavior defaults to
|
91
|
+
// [ContentConfig.NO_CONTENT][google.cloud.discoveryengine.v1alpha.DataStore.ContentConfig.NO_CONTENT].
|
92
|
+
ContentConfig content_config = 6 [(google.api.field_behavior) = IMMUTABLE];
|
93
|
+
|
94
|
+
// Output only. Timestamp the
|
95
|
+
// [DataStore][google.cloud.discoveryengine.v1alpha.DataStore] was created at.
|
96
|
+
google.protobuf.Timestamp create_time = 4
|
97
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
98
|
+
}
|