@google-cloud/discoveryengine 2.1.0 → 2.3.0
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/README.md +13 -0
- package/build/protos/google/cloud/discoveryengine/v1/answer.proto +17 -0
- package/build/protos/google/cloud/discoveryengine/v1/chunk.proto +52 -0
- package/build/protos/google/cloud/discoveryengine/v1/cmek_config_service.proto +300 -0
- package/build/protos/google/cloud/discoveryengine/v1/common.proto +67 -0
- package/build/protos/google/cloud/discoveryengine/v1/control.proto +1 -3
- package/build/protos/google/cloud/discoveryengine/v1/conversational_search_service.proto +3 -0
- package/build/protos/google/cloud/discoveryengine/v1/data_store.proto +54 -2
- package/build/protos/google/cloud/discoveryengine/v1/data_store_service.proto +14 -0
- package/build/protos/google/cloud/discoveryengine/v1/document.proto +95 -4
- package/build/protos/google/cloud/discoveryengine/v1/document_processing_config.proto +28 -1
- package/build/protos/google/cloud/discoveryengine/v1/engine.proto +131 -6
- package/build/protos/google/cloud/discoveryengine/v1/grounded_generation_service.proto +8 -0
- package/build/protos/google/cloud/discoveryengine/v1/grounding.proto +9 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store.proto +84 -0
- package/build/protos/google/cloud/discoveryengine/v1/identity_mapping_store_service.proto +375 -0
- package/build/protos/google/cloud/discoveryengine/v1/search_service.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/site_search_engine.proto +6 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license.proto +98 -0
- package/build/protos/google/cloud/discoveryengine/v1/user_license_service.proto +191 -0
- package/build/protos/protos.d.ts +5415 -578
- package/build/protos/protos.js +77830 -63391
- package/build/protos/protos.json +1537 -92
- package/build/src/index.d.ts +10 -1
- package/build/src/index.js +8 -22
- package/build/src/v1/cmek_config_service_client.d.ts +2287 -0
- package/build/src/v1/cmek_config_service_client.js +3274 -0
- package/build/src/v1/cmek_config_service_client_config.json +42 -0
- package/build/src/v1/cmek_config_service_proto_list.json +44 -0
- package/build/src/v1/completion_service_client.d.ts +166 -76
- package/build/src/v1/completion_service_client.js +258 -263
- package/build/src/v1/completion_service_proto_list.json +6 -1
- package/build/src/v1/control_service_client.d.ts +171 -81
- package/build/src/v1/control_service_client.js +246 -132
- package/build/src/v1/control_service_proto_list.json +6 -1
- package/build/src/v1/conversational_search_service_client.d.ts +233 -143
- package/build/src/v1/conversational_search_service_client.js +330 -226
- package/build/src/v1/conversational_search_service_proto_list.json +6 -1
- package/build/src/v1/data_store_service_client.d.ts +218 -122
- package/build/src/v1/data_store_service_client.js +273 -281
- package/build/src/v1/data_store_service_proto_list.json +6 -1
- package/build/src/v1/document_service_client.d.ts +210 -120
- package/build/src/v1/document_service_client.js +300 -301
- package/build/src/v1/document_service_proto_list.json +6 -1
- package/build/src/v1/engine_service_client.d.ts +193 -103
- package/build/src/v1/engine_service_client.js +273 -280
- package/build/src/v1/engine_service_proto_list.json +6 -1
- package/build/src/v1/gapic_metadata.json +184 -0
- package/build/src/v1/grounded_generation_service_client.d.ts +138 -48
- package/build/src/v1/grounded_generation_service_client.js +217 -100
- package/build/src/v1/grounded_generation_service_proto_list.json +6 -1
- package/build/src/v1/identity_mapping_store_service_client.d.ts +2470 -0
- package/build/src/v1/identity_mapping_store_service_client.js +3449 -0
- package/build/src/v1/identity_mapping_store_service_client_config.json +54 -0
- package/build/src/v1/identity_mapping_store_service_proto_list.json +44 -0
- package/build/src/v1/index.d.ts +3 -0
- package/build/src/v1/index.js +7 -1
- package/build/src/v1/project_service_client.d.ts +166 -76
- package/build/src/v1/project_service_client.js +235 -223
- package/build/src/v1/project_service_proto_list.json +6 -1
- package/build/src/v1/rank_service_client.d.ts +137 -47
- package/build/src/v1/rank_service_client.js +204 -85
- package/build/src/v1/rank_service_proto_list.json +6 -1
- package/build/src/v1/recommendation_service_client.d.ts +137 -47
- package/build/src/v1/recommendation_service_client.js +202 -82
- package/build/src/v1/recommendation_service_proto_list.json +6 -1
- package/build/src/v1/schema_service_client.d.ts +201 -111
- package/build/src/v1/schema_service_client.js +264 -274
- package/build/src/v1/schema_service_proto_list.json +6 -1
- package/build/src/v1/search_service_client.d.ts +661 -571
- package/build/src/v1/search_service_client.js +216 -113
- package/build/src/v1/search_service_proto_list.json +6 -1
- package/build/src/v1/search_tuning_service_client.d.ts +167 -77
- package/build/src/v1/search_tuning_service_client.js +246 -236
- package/build/src/v1/search_tuning_service_proto_list.json +6 -1
- package/build/src/v1/serving_config_service_client.d.ts +138 -48
- package/build/src/v1/serving_config_service_client.js +201 -80
- package/build/src/v1/serving_config_service_proto_list.json +6 -1
- package/build/src/v1/site_search_engine_service_client.d.ts +238 -148
- package/build/src/v1/site_search_engine_service_client.js +324 -379
- package/build/src/v1/site_search_engine_service_proto_list.json +6 -1
- package/build/src/v1/user_event_service_client.d.ts +167 -77
- package/build/src/v1/user_event_service_client.js +260 -254
- package/build/src/v1/user_event_service_proto_list.json +6 -1
- package/build/src/v1/user_license_service_client.d.ts +2256 -0
- package/build/src/v1/user_license_service_client.js +3194 -0
- package/build/src/v1/user_license_service_client_config.json +34 -0
- package/build/src/v1/user_license_service_proto_list.json +44 -0
- package/build/src/v1alpha/acl_config_service_client.d.ts +49 -49
- package/build/src/v1alpha/acl_config_service_client.js +94 -106
- package/build/src/v1alpha/chunk_service_client.d.ts +88 -88
- package/build/src/v1alpha/chunk_service_client.js +98 -120
- package/build/src/v1alpha/completion_service_client.d.ts +77 -77
- package/build/src/v1alpha/completion_service_client.js +141 -281
- package/build/src/v1alpha/control_service_client.d.ts +85 -85
- package/build/src/v1alpha/control_service_client.js +129 -151
- package/build/src/v1alpha/conversational_search_service_client.d.ts +143 -143
- package/build/src/v1alpha/conversational_search_service_client.js +211 -237
- package/build/src/v1alpha/data_store_service_client.d.ts +126 -126
- package/build/src/v1alpha/data_store_service_client.js +176 -317
- package/build/src/v1alpha/document_service_client.d.ts +126 -126
- package/build/src/v1alpha/document_service_client.js +193 -329
- package/build/src/v1alpha/engine_service_client.d.ts +106 -106
- package/build/src/v1alpha/engine_service_client.js +180 -326
- package/build/src/v1alpha/estimate_billing_service_client.d.ts +76 -76
- package/build/src/v1alpha/estimate_billing_service_client.js +119 -244
- package/build/src/v1alpha/evaluation_service_client.d.ts +161 -161
- package/build/src/v1alpha/evaluation_service_client.js +150 -296
- package/build/src/v1alpha/grounded_generation_service_client.d.ts +48 -48
- package/build/src/v1alpha/grounded_generation_service_client.js +85 -100
- package/build/src/v1alpha/project_service_client.d.ts +78 -78
- package/build/src/v1alpha/project_service_client.js +139 -263
- package/build/src/v1alpha/rank_service_client.d.ts +47 -47
- package/build/src/v1alpha/rank_service_client.js +87 -104
- package/build/src/v1alpha/recommendation_service_client.d.ts +47 -47
- package/build/src/v1alpha/recommendation_service_client.js +85 -100
- package/build/src/v1alpha/sample_query_service_client.d.ts +123 -123
- package/build/src/v1alpha/sample_query_service_client.js +169 -302
- package/build/src/v1alpha/sample_query_set_service_client.d.ts +94 -94
- package/build/src/v1alpha/sample_query_set_service_client.js +130 -153
- package/build/src/v1alpha/schema_service_client.d.ts +112 -112
- package/build/src/v1alpha/schema_service_client.js +147 -293
- package/build/src/v1alpha/search_service_client.d.ts +327 -327
- package/build/src/v1alpha/search_service_client.js +88 -112
- package/build/src/v1alpha/search_tuning_service_client.d.ts +77 -77
- package/build/src/v1alpha/search_tuning_service_client.js +129 -254
- package/build/src/v1alpha/serving_config_service_client.d.ts +75 -75
- package/build/src/v1alpha/serving_config_service_client.js +109 -133
- package/build/src/v1alpha/site_search_engine_service_client.d.ts +151 -151
- package/build/src/v1alpha/site_search_engine_service_client.js +203 -388
- package/build/src/v1alpha/user_event_service_client.d.ts +78 -78
- package/build/src/v1alpha/user_event_service_client.js +143 -272
- package/build/src/v1beta/completion_service_client.d.ts +78 -78
- package/build/src/v1beta/completion_service_client.js +149 -280
- package/build/src/v1beta/control_service_client.d.ts +84 -84
- package/build/src/v1beta/control_service_client.js +127 -147
- package/build/src/v1beta/conversational_search_service_client.d.ts +142 -142
- package/build/src/v1beta/conversational_search_service_client.js +209 -233
- package/build/src/v1beta/data_store_service_client.d.ts +124 -124
- package/build/src/v1beta/data_store_service_client.js +154 -289
- package/build/src/v1beta/document_service_client.d.ts +124 -124
- package/build/src/v1beta/document_service_client.js +181 -310
- package/build/src/v1beta/engine_service_client.d.ts +106 -106
- package/build/src/v1beta/engine_service_client.js +178 -316
- package/build/src/v1beta/evaluation_service_client.d.ts +161 -161
- package/build/src/v1beta/evaluation_service_client.js +148 -286
- package/build/src/v1beta/grounded_generation_service_client.d.ts +49 -49
- package/build/src/v1beta/grounded_generation_service_client.js +98 -114
- package/build/src/v1beta/project_service_client.d.ts +76 -76
- package/build/src/v1beta/project_service_client.js +116 -232
- package/build/src/v1beta/rank_service_client.d.ts +47 -47
- package/build/src/v1beta/rank_service_client.js +85 -99
- package/build/src/v1beta/recommendation_service_client.d.ts +47 -47
- package/build/src/v1beta/recommendation_service_client.js +83 -96
- package/build/src/v1beta/sample_query_service_client.d.ts +123 -123
- package/build/src/v1beta/sample_query_service_client.js +167 -292
- package/build/src/v1beta/sample_query_set_service_client.d.ts +94 -94
- package/build/src/v1beta/sample_query_set_service_client.js +128 -149
- package/build/src/v1beta/schema_service_client.d.ts +111 -111
- package/build/src/v1beta/schema_service_client.js +145 -283
- package/build/src/v1beta/search_service_client.d.ts +665 -665
- package/build/src/v1beta/search_service_client.js +97 -128
- package/build/src/v1beta/search_tuning_service_client.d.ts +77 -77
- package/build/src/v1beta/search_tuning_service_client.js +127 -244
- package/build/src/v1beta/serving_config_service_client.d.ts +75 -75
- package/build/src/v1beta/serving_config_service_client.js +107 -129
- package/build/src/v1beta/site_search_engine_service_client.d.ts +151 -151
- package/build/src/v1beta/site_search_engine_service_client.js +205 -387
- package/build/src/v1beta/user_event_service_client.d.ts +78 -78
- package/build/src/v1beta/user_event_service_client.js +141 -262
- package/package.json +7 -7
- package/CHANGELOG.md +0 -267
package/README.md
CHANGED
@@ -125,6 +125,10 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
125
125
|
|
126
126
|
| Sample | Source Code | Try it |
|
127
127
|
| --------------------------- | --------------------------------- | ------ |
|
128
|
+
| Cmek_config_service.delete_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.delete_cmek_config.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/v1/cmek_config_service.delete_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
129
|
+
| Cmek_config_service.get_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.get_cmek_config.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/v1/cmek_config_service.get_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
130
|
+
| Cmek_config_service.list_cmek_configs | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.list_cmek_configs.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/v1/cmek_config_service.list_cmek_configs.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
131
|
+
| Cmek_config_service.update_cmek_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/cmek_config_service.update_cmek_config.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/v1/cmek_config_service.update_cmek_config.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
128
132
|
| Completion_service.complete_query | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.complete_query.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/v1/completion_service.complete_query.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
129
133
|
| Completion_service.import_completion_suggestions | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_completion_suggestions.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/v1/completion_service.import_completion_suggestions.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
130
134
|
| Completion_service.import_suggestion_deny_list_entries | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/completion_service.import_suggestion_deny_list_entries.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/v1/completion_service.import_suggestion_deny_list_entries.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -170,6 +174,13 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
170
174
|
| Grounded_generation_service.check_grounding | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.check_grounding.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/v1/grounded_generation_service.check_grounding.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
171
175
|
| Grounded_generation_service.generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.generate_grounded_content.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/v1/grounded_generation_service.generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
172
176
|
| Grounded_generation_service.stream_generate_grounded_content | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/grounded_generation_service.stream_generate_grounded_content.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/v1/grounded_generation_service.stream_generate_grounded_content.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
177
|
+
| Identity_mapping_store_service.create_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.create_identity_mapping_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/v1/identity_mapping_store_service.create_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
178
|
+
| Identity_mapping_store_service.delete_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.delete_identity_mapping_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/v1/identity_mapping_store_service.delete_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
179
|
+
| Identity_mapping_store_service.get_identity_mapping_store | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.get_identity_mapping_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/v1/identity_mapping_store_service.get_identity_mapping_store.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
180
|
+
| Identity_mapping_store_service.import_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.import_identity_mappings.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/v1/identity_mapping_store_service.import_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
181
|
+
| Identity_mapping_store_service.list_identity_mapping_stores | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mapping_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/v1/identity_mapping_store_service.list_identity_mapping_stores.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
182
|
+
| Identity_mapping_store_service.list_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.list_identity_mappings.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/v1/identity_mapping_store_service.list_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
183
|
+
| Identity_mapping_store_service.purge_identity_mappings | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/identity_mapping_store_service.purge_identity_mappings.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/v1/identity_mapping_store_service.purge_identity_mappings.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
173
184
|
| Project_service.provision_project | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/project_service.provision_project.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/v1/project_service.provision_project.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
174
185
|
| Rank_service.rank | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/rank_service.rank.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/v1/rank_service.rank.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
175
186
|
| Recommendation_service.recommend | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/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/v1/recommendation_service.recommend.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -202,6 +213,8 @@ Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/
|
|
202
213
|
| User_event_service.import_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/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/v1/user_event_service.import_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
203
214
|
| User_event_service.purge_user_events | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/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/v1/user_event_service.purge_user_events.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
204
215
|
| User_event_service.write_user_event | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_event_service.write_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/v1/user_event_service.write_user_event.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
216
|
+
| User_license_service.batch_update_user_licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.batch_update_user_licenses.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/v1/user_license_service.batch_update_user_licenses.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
217
|
+
| User_license_service.list_user_licenses | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1/user_license_service.list_user_licenses.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/v1/user_license_service.list_user_licenses.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
205
218
|
| Acl_config_service.get_acl_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.get_acl_config.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/acl_config_service.get_acl_config.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
206
219
|
| Acl_config_service.update_acl_config | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/acl_config_service.update_acl_config.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/acl_config_service.update_acl_config.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
207
220
|
| Chunk_service.get_chunk | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-discoveryengine/samples/generated/v1alpha/chunk_service.get_chunk.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/chunk_service.get_chunk.js,packages/google-cloud-discoveryengine/samples/README.md) |
|
@@ -325,6 +325,9 @@ message Answer {
|
|
325
325
|
|
326
326
|
// Non-answer-seeking query classification type, for no clear intent.
|
327
327
|
NON_ANSWER_SEEKING_QUERY_V2 = 4;
|
328
|
+
|
329
|
+
// User defined query classification type.
|
330
|
+
USER_DEFINED_CLASSIFICATION_QUERY = 5;
|
328
331
|
}
|
329
332
|
|
330
333
|
// Query classification type.
|
@@ -409,6 +412,20 @@ message Answer {
|
|
409
412
|
// Google skips the answer if a well grounded answer was unable to be
|
410
413
|
// generated.
|
411
414
|
LOW_GROUNDED_ANSWER = 9;
|
415
|
+
|
416
|
+
// The user defined query classification ignored case.
|
417
|
+
//
|
418
|
+
// Google skips the answer if the query is classified as a user defined
|
419
|
+
// query classification.
|
420
|
+
USER_DEFINED_CLASSIFICATION_QUERY_IGNORED = 10;
|
421
|
+
|
422
|
+
// The unhelpful answer case.
|
423
|
+
//
|
424
|
+
// Google skips the answer if the answer is not helpful. This can be due to
|
425
|
+
// a variety of factors, including but not limited to: the query is not
|
426
|
+
// answerable, the answer is not relevant to the query, or the answer is
|
427
|
+
// not well-formatted.
|
428
|
+
UNHELPFUL_ANSWER = 11;
|
412
429
|
}
|
413
430
|
|
414
431
|
// Immutable. Fully qualified name
|
@@ -82,6 +82,42 @@ message Chunk {
|
|
82
82
|
repeated Chunk next_chunks = 2;
|
83
83
|
}
|
84
84
|
|
85
|
+
// The structured content information.
|
86
|
+
message StructuredContent {
|
87
|
+
// Output only. The structure type of the structured content.
|
88
|
+
StructureType structure_type = 1
|
89
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
90
|
+
|
91
|
+
// Output only. The content of the structured content.
|
92
|
+
string content = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
93
|
+
}
|
94
|
+
|
95
|
+
// The annotation metadata includes structured content in the current chunk.
|
96
|
+
message AnnotationMetadata {
|
97
|
+
// Output only. The structured content information.
|
98
|
+
StructuredContent structured_content = 1
|
99
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
100
|
+
|
101
|
+
// Output only. Image id is provided if the structured content is based on
|
102
|
+
// an image.
|
103
|
+
string image_id = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
|
104
|
+
}
|
105
|
+
|
106
|
+
// Defines the types of the structured content that can be extracted.
|
107
|
+
enum StructureType {
|
108
|
+
// Default value.
|
109
|
+
STRUCTURE_TYPE_UNSPECIFIED = 0;
|
110
|
+
|
111
|
+
// Shareholder structure.
|
112
|
+
SHAREHOLDER_STRUCTURE = 1;
|
113
|
+
|
114
|
+
// Signature structure.
|
115
|
+
SIGNATURE_STRUCTURE = 2;
|
116
|
+
|
117
|
+
// Checkbox structure.
|
118
|
+
CHECKBOX_STRUCTURE = 3;
|
119
|
+
}
|
120
|
+
|
85
121
|
// The full resource name of the chunk.
|
86
122
|
// Format:
|
87
123
|
// `projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}/branches/{branch}/documents/{document_id}/chunks/{chunk_id}`.
|
@@ -117,4 +153,20 @@ message Chunk {
|
|
117
153
|
|
118
154
|
// Output only. Metadata of the current chunk.
|
119
155
|
ChunkMetadata chunk_metadata = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
|
156
|
+
|
157
|
+
// Output only. Image Data URLs if the current chunk contains images.
|
158
|
+
// Data URLs are composed of four parts: a prefix (data:), a MIME type
|
159
|
+
// indicating the type of data, an optional base64 token if non-textual,
|
160
|
+
// and the data itself:
|
161
|
+
// data:[<mediatype>][;base64],<data>
|
162
|
+
repeated string data_urls = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
|
163
|
+
|
164
|
+
// Output only. Annotation contents if the current chunk contains annotations.
|
165
|
+
repeated string annotation_contents = 11
|
166
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
167
|
+
|
168
|
+
// Output only. The annotation metadata includes structured content in the
|
169
|
+
// current chunk.
|
170
|
+
repeated AnnotationMetadata annotation_metadata = 12
|
171
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
120
172
|
}
|
@@ -0,0 +1,300 @@
|
|
1
|
+
// Copyright 2025 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.v1;
|
18
|
+
|
19
|
+
import "google/api/annotations.proto";
|
20
|
+
import "google/api/client.proto";
|
21
|
+
import "google/api/field_behavior.proto";
|
22
|
+
import "google/api/resource.proto";
|
23
|
+
import "google/longrunning/operations.proto";
|
24
|
+
import "google/protobuf/empty.proto";
|
25
|
+
import "google/protobuf/timestamp.proto";
|
26
|
+
|
27
|
+
option csharp_namespace = "Google.Cloud.DiscoveryEngine.V1";
|
28
|
+
option go_package = "cloud.google.com/go/discoveryengine/apiv1/discoveryenginepb;discoveryenginepb";
|
29
|
+
option java_multiple_files = true;
|
30
|
+
option java_outer_classname = "CmekConfigServiceProto";
|
31
|
+
option java_package = "com.google.cloud.discoveryengine.v1";
|
32
|
+
option objc_class_prefix = "DISCOVERYENGINE";
|
33
|
+
option php_namespace = "Google\\Cloud\\DiscoveryEngine\\V1";
|
34
|
+
option ruby_package = "Google::Cloud::DiscoveryEngine::V1";
|
35
|
+
|
36
|
+
// Service for managing CMEK related tasks
|
37
|
+
service CmekConfigService {
|
38
|
+
option (google.api.default_host) = "discoveryengine.googleapis.com";
|
39
|
+
option (google.api.oauth_scopes) =
|
40
|
+
"https://www.googleapis.com/auth/cloud-platform";
|
41
|
+
|
42
|
+
// Provisions a CMEK key for use in a location of a customer's project.
|
43
|
+
// This method will also conduct location validation on the provided
|
44
|
+
// cmekConfig to make sure the key is valid and can be used in the
|
45
|
+
// selected location.
|
46
|
+
rpc UpdateCmekConfig(UpdateCmekConfigRequest)
|
47
|
+
returns (google.longrunning.Operation) {
|
48
|
+
option (google.api.http) = {
|
49
|
+
patch: "/v1/{config.name=projects/*/locations/*/cmekConfig}"
|
50
|
+
body: "config"
|
51
|
+
additional_bindings {
|
52
|
+
patch: "/v1/{config.name=projects/*/locations/*/cmekConfigs/*}"
|
53
|
+
body: "config"
|
54
|
+
}
|
55
|
+
};
|
56
|
+
option (google.api.method_signature) = "config";
|
57
|
+
option (google.longrunning.operation_info) = {
|
58
|
+
response_type: "google.cloud.discoveryengine.v1.CmekConfig"
|
59
|
+
metadata_type: "google.cloud.discoveryengine.v1.UpdateCmekConfigMetadata"
|
60
|
+
};
|
61
|
+
}
|
62
|
+
|
63
|
+
// Gets the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig].
|
64
|
+
rpc GetCmekConfig(GetCmekConfigRequest) returns (CmekConfig) {
|
65
|
+
option (google.api.http) = {
|
66
|
+
get: "/v1/{name=projects/*/locations/*/cmekConfig}"
|
67
|
+
additional_bindings {
|
68
|
+
get: "/v1/{name=projects/*/locations/*/cmekConfigs/*}"
|
69
|
+
}
|
70
|
+
};
|
71
|
+
option (google.api.method_signature) = "name";
|
72
|
+
}
|
73
|
+
|
74
|
+
// Lists all the [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s
|
75
|
+
// with the project.
|
76
|
+
rpc ListCmekConfigs(ListCmekConfigsRequest)
|
77
|
+
returns (ListCmekConfigsResponse) {
|
78
|
+
option (google.api.http) = {
|
79
|
+
get: "/v1/{parent=projects/*/locations/*}/cmekConfigs"
|
80
|
+
};
|
81
|
+
option (google.api.method_signature) = "parent";
|
82
|
+
}
|
83
|
+
|
84
|
+
// De-provisions a CmekConfig.
|
85
|
+
rpc DeleteCmekConfig(DeleteCmekConfigRequest)
|
86
|
+
returns (google.longrunning.Operation) {
|
87
|
+
option (google.api.http) = {
|
88
|
+
delete: "/v1/{name=projects/*/locations/*/cmekConfigs/*}"
|
89
|
+
};
|
90
|
+
option (google.api.method_signature) = "name";
|
91
|
+
option (google.longrunning.operation_info) = {
|
92
|
+
response_type: "google.protobuf.Empty"
|
93
|
+
metadata_type: "google.cloud.discoveryengine.v1.DeleteCmekConfigMetadata"
|
94
|
+
};
|
95
|
+
}
|
96
|
+
}
|
97
|
+
|
98
|
+
// Request message for UpdateCmekConfig method.
|
99
|
+
// rpc.
|
100
|
+
message UpdateCmekConfigRequest {
|
101
|
+
// Required. The CmekConfig resource.
|
102
|
+
CmekConfig config = 1 [(google.api.field_behavior) = REQUIRED];
|
103
|
+
|
104
|
+
// Set the following CmekConfig as the default to be used for child
|
105
|
+
// resources if one is not specified.
|
106
|
+
bool set_default = 2;
|
107
|
+
}
|
108
|
+
|
109
|
+
// Request message for GetCmekConfigRequest method.
|
110
|
+
message GetCmekConfigRequest {
|
111
|
+
// Required. Resource name of
|
112
|
+
// [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], such as
|
113
|
+
// `projects/*/locations/*/cmekConfig` or
|
114
|
+
// `projects/*/locations/*/cmekConfigs/*`.
|
115
|
+
//
|
116
|
+
// If the caller does not have permission to access the
|
117
|
+
// [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig], regardless of
|
118
|
+
// whether or not it exists, a PERMISSION_DENIED error is returned.
|
119
|
+
string name = 1 [
|
120
|
+
(google.api.field_behavior) = REQUIRED,
|
121
|
+
(google.api.resource_reference) = {
|
122
|
+
type: "discoveryengine.googleapis.com/CmekConfig"
|
123
|
+
}
|
124
|
+
];
|
125
|
+
}
|
126
|
+
|
127
|
+
// Metadata for single-regional CMEKs.
|
128
|
+
message SingleRegionKey {
|
129
|
+
// Required. Single-regional kms key resource name which will be used to
|
130
|
+
// encrypt resources
|
131
|
+
// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
|
132
|
+
string kms_key = 1 [
|
133
|
+
(google.api.field_behavior) = REQUIRED,
|
134
|
+
(google.api.resource_reference) = {
|
135
|
+
type: "cloudkms.googleapis.com/CryptoKeys"
|
136
|
+
}
|
137
|
+
];
|
138
|
+
}
|
139
|
+
|
140
|
+
// Configurations used to enable CMEK data encryption with Cloud KMS keys.
|
141
|
+
message CmekConfig {
|
142
|
+
option (google.api.resource) = {
|
143
|
+
type: "discoveryengine.googleapis.com/CmekConfig"
|
144
|
+
pattern: "projects/{project}/locations/{location}/cmekConfig"
|
145
|
+
pattern: "projects/{project}/locations/{location}/cmekConfigs/{cmek_config}"
|
146
|
+
plural: "cmekConfigs"
|
147
|
+
singular: "cmekConfig"
|
148
|
+
};
|
149
|
+
|
150
|
+
// States of the CmekConfig.
|
151
|
+
enum State {
|
152
|
+
// The CmekConfig state is unknown.
|
153
|
+
STATE_UNSPECIFIED = 0;
|
154
|
+
|
155
|
+
// The CmekConfig is creating.
|
156
|
+
CREATING = 1;
|
157
|
+
|
158
|
+
// The CmekConfig can be used with DataStores.
|
159
|
+
ACTIVE = 2;
|
160
|
+
|
161
|
+
// The CmekConfig is unavailable, most likely due to the KMS Key being
|
162
|
+
// revoked.
|
163
|
+
KEY_ISSUE = 3;
|
164
|
+
|
165
|
+
// The CmekConfig is deleting.
|
166
|
+
DELETING = 4;
|
167
|
+
|
168
|
+
// The CmekConfig deletion process failed.
|
169
|
+
DELETE_FAILED = 7;
|
170
|
+
|
171
|
+
// The CmekConfig is not usable, most likely due to some internal issue.
|
172
|
+
UNUSABLE = 5;
|
173
|
+
|
174
|
+
// The KMS key version is being rotated.
|
175
|
+
ACTIVE_ROTATING = 6;
|
176
|
+
|
177
|
+
// The KMS key is soft deleted. Some cleanup policy will eventually be
|
178
|
+
// applied.
|
179
|
+
DELETED = 8;
|
180
|
+
}
|
181
|
+
|
182
|
+
// States of NotebookLM.
|
183
|
+
enum NotebookLMState {
|
184
|
+
// The NotebookLM state is unknown.
|
185
|
+
NOTEBOOK_LM_STATE_UNSPECIFIED = 0;
|
186
|
+
|
187
|
+
// The NotebookLM is not ready.
|
188
|
+
NOTEBOOK_LM_NOT_READY = 1;
|
189
|
+
|
190
|
+
// The NotebookLM is ready to be used.
|
191
|
+
NOTEBOOK_LM_READY = 2;
|
192
|
+
|
193
|
+
// The NotebookLM is not enabled.
|
194
|
+
NOTEBOOK_LM_NOT_ENABLED = 3;
|
195
|
+
}
|
196
|
+
|
197
|
+
// Required. The name of the CmekConfig of the form
|
198
|
+
// `projects/{project}/locations/{location}/cmekConfig` or
|
199
|
+
// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
|
200
|
+
string name = 1 [(google.api.field_behavior) = REQUIRED];
|
201
|
+
|
202
|
+
// KMS key resource name which will be used to encrypt resources
|
203
|
+
// `projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{keyId}`.
|
204
|
+
string kms_key = 2 [(google.api.resource_reference) = {
|
205
|
+
type: "cloudkms.googleapis.com/CryptoKeys"
|
206
|
+
}];
|
207
|
+
|
208
|
+
// KMS key version resource name which will be used to encrypt resources
|
209
|
+
// `<kms_key>/cryptoKeyVersions/{keyVersion}`.
|
210
|
+
string kms_key_version = 6 [(google.api.resource_reference) = {
|
211
|
+
type: "cloudkms.googleapis.com/CryptoKeyVersions"
|
212
|
+
}];
|
213
|
+
|
214
|
+
// Output only. The states of the CmekConfig.
|
215
|
+
State state = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
|
216
|
+
|
217
|
+
// Output only. The default CmekConfig for the Customer.
|
218
|
+
bool is_default = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
|
219
|
+
|
220
|
+
// Output only. The timestamp of the last key rotation.
|
221
|
+
int64 last_rotation_timestamp_micros = 5
|
222
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
223
|
+
|
224
|
+
// Optional. Single-regional CMEKs that are required for some VAIS features.
|
225
|
+
repeated SingleRegionKey single_region_keys = 7
|
226
|
+
[(google.api.field_behavior) = OPTIONAL];
|
227
|
+
|
228
|
+
// Output only. Whether the NotebookLM Corpus is ready to be used.
|
229
|
+
NotebookLMState notebooklm_state = 8
|
230
|
+
[(google.api.field_behavior) = OUTPUT_ONLY];
|
231
|
+
}
|
232
|
+
|
233
|
+
// Metadata related to the progress of the
|
234
|
+
// [CmekConfigService.UpdateCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.UpdateCmekConfig]
|
235
|
+
// operation. This will be returned by the google.longrunning.Operation.metadata
|
236
|
+
// field.
|
237
|
+
message UpdateCmekConfigMetadata {
|
238
|
+
// Operation create time.
|
239
|
+
google.protobuf.Timestamp create_time = 1;
|
240
|
+
|
241
|
+
// Operation last update time. If the operation is done, this is also the
|
242
|
+
// finish time.
|
243
|
+
google.protobuf.Timestamp update_time = 2;
|
244
|
+
}
|
245
|
+
|
246
|
+
// Request message for
|
247
|
+
// [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
|
248
|
+
// method.
|
249
|
+
message ListCmekConfigsRequest {
|
250
|
+
// Required. The parent location resource name, such as
|
251
|
+
// `projects/{project}/locations/{location}`.
|
252
|
+
//
|
253
|
+
// If the caller does not have permission to list
|
254
|
+
// [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s under this
|
255
|
+
// location, regardless of whether or not a CmekConfig exists, a
|
256
|
+
// PERMISSION_DENIED error is returned.
|
257
|
+
string parent = 1 [
|
258
|
+
(google.api.field_behavior) = REQUIRED,
|
259
|
+
(google.api.resource_reference) = {
|
260
|
+
type: "discoveryengine.googleapis.com/Location"
|
261
|
+
}
|
262
|
+
];
|
263
|
+
}
|
264
|
+
|
265
|
+
// Response message for
|
266
|
+
// [CmekConfigService.ListCmekConfigs][google.cloud.discoveryengine.v1.CmekConfigService.ListCmekConfigs]
|
267
|
+
// method.
|
268
|
+
message ListCmekConfigsResponse {
|
269
|
+
// All the customer's
|
270
|
+
// [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig]s.
|
271
|
+
repeated CmekConfig cmek_configs = 1;
|
272
|
+
}
|
273
|
+
|
274
|
+
// Request message for
|
275
|
+
// [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig]
|
276
|
+
// method.
|
277
|
+
message DeleteCmekConfigRequest {
|
278
|
+
// Required. The resource name of the
|
279
|
+
// [CmekConfig][google.cloud.discoveryengine.v1.CmekConfig] to delete, such as
|
280
|
+
// `projects/{project}/locations/{location}/cmekConfigs/{cmek_config}`.
|
281
|
+
string name = 1 [
|
282
|
+
(google.api.field_behavior) = REQUIRED,
|
283
|
+
(google.api.resource_reference) = {
|
284
|
+
type: "discoveryengine.googleapis.com/CmekConfig"
|
285
|
+
}
|
286
|
+
];
|
287
|
+
}
|
288
|
+
|
289
|
+
// Metadata related to the progress of the
|
290
|
+
// [CmekConfigService.DeleteCmekConfig][google.cloud.discoveryengine.v1.CmekConfigService.DeleteCmekConfig]
|
291
|
+
// operation. This will be returned by the google.longrunning.Operation.metadata
|
292
|
+
// field.
|
293
|
+
message DeleteCmekConfigMetadata {
|
294
|
+
// Operation create time.
|
295
|
+
google.protobuf.Timestamp create_time = 1;
|
296
|
+
|
297
|
+
// Operation last update time. If the operation is done, this is also the
|
298
|
+
// finish time.
|
299
|
+
google.protobuf.Timestamp update_time = 2;
|
300
|
+
}
|
@@ -48,6 +48,14 @@ option (google.api.resource_definition) = {
|
|
48
48
|
type: "discoveryengine.googleapis.com/RankingConfig"
|
49
49
|
pattern: "projects/{project}/locations/{location}/rankingConfigs/{ranking_config}"
|
50
50
|
};
|
51
|
+
option (google.api.resource_definition) = {
|
52
|
+
type: "discoveryengine.googleapis.com/LicenseConfig"
|
53
|
+
pattern: "projects/{project}/locations/{location}/licenseConfigs/{license_config}"
|
54
|
+
};
|
55
|
+
option (google.api.resource_definition) = {
|
56
|
+
type: "discoveryengine.googleapis.com/UserStore"
|
57
|
+
pattern: "projects/{project}/locations/{location}/userStores/{user_store}"
|
58
|
+
};
|
51
59
|
option (google.api.resource_definition) = {
|
52
60
|
type: "healthcare.googleapis.com/FhirStore"
|
53
61
|
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}"
|
@@ -56,6 +64,14 @@ option (google.api.resource_definition) = {
|
|
56
64
|
type: "healthcare.googleapis.com/FhirResource"
|
57
65
|
pattern: "projects/{project}/locations/{location}/datasets/{dataset}/fhirStores/{fhir_store}/fhir/{resource_type}/{fhir_resource_id}"
|
58
66
|
};
|
67
|
+
option (google.api.resource_definition) = {
|
68
|
+
type: "cloudkms.googleapis.com/CryptoKeys"
|
69
|
+
pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}"
|
70
|
+
};
|
71
|
+
option (google.api.resource_definition) = {
|
72
|
+
type: "cloudkms.googleapis.com/CryptoKeyVersions"
|
73
|
+
pattern: "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}"
|
74
|
+
};
|
59
75
|
|
60
76
|
// The industry vertical associated with the
|
61
77
|
// [DataStore][google.cloud.discoveryengine.v1.DataStore].
|
@@ -226,6 +242,47 @@ message DoubleList {
|
|
226
242
|
repeated double values = 1;
|
227
243
|
}
|
228
244
|
|
245
|
+
// Principal identifier of a user or a group.
|
246
|
+
message Principal {
|
247
|
+
// Union field principal. Principal can be a user or a group.
|
248
|
+
oneof principal {
|
249
|
+
// User identifier.
|
250
|
+
// For Google Workspace user account, user_id should be the google workspace
|
251
|
+
// user email.
|
252
|
+
// For non-google identity provider user account, user_id is the mapped user
|
253
|
+
// identifier configured during the workforcepool config.
|
254
|
+
string user_id = 1;
|
255
|
+
|
256
|
+
// Group identifier.
|
257
|
+
// For Google Workspace user account, group_id should be the google
|
258
|
+
// workspace group email.
|
259
|
+
// For non-google identity provider user account, group_id is the mapped
|
260
|
+
// group identifier configured during the workforcepool config.
|
261
|
+
string group_id = 2;
|
262
|
+
|
263
|
+
// For 3P application identities which are not present in the customer
|
264
|
+
// identity provider.
|
265
|
+
string external_entity_id = 3;
|
266
|
+
}
|
267
|
+
}
|
268
|
+
|
269
|
+
// Config to data store for `HEALTHCARE_FHIR` vertical.
|
270
|
+
message HealthcareFhirConfig {
|
271
|
+
// Whether to enable configurable schema for `HEALTHCARE_FHIR` vertical.
|
272
|
+
//
|
273
|
+
// If set to `true`, the predefined healthcare fhir schema can be extended
|
274
|
+
// for more customized searching and filtering.
|
275
|
+
bool enable_configurable_schema = 1;
|
276
|
+
|
277
|
+
// Whether to enable static indexing for `HEALTHCARE_FHIR` batch
|
278
|
+
// ingestion.
|
279
|
+
//
|
280
|
+
// If set to `true`, the batch ingestion will be processed in a static
|
281
|
+
// indexing mode which is slower but more capable of handling larger
|
282
|
+
// volume.
|
283
|
+
bool enable_static_indexing_for_batch_ingestion = 2;
|
284
|
+
}
|
285
|
+
|
229
286
|
// Promotion proto includes uri and other helping information to display the
|
230
287
|
// promotion.
|
231
288
|
message SearchLinkPromotion {
|
@@ -237,6 +294,16 @@ message SearchLinkPromotion {
|
|
237
294
|
// site search. For other verticals, this is optional.
|
238
295
|
string uri = 2 [(google.api.field_behavior) = OPTIONAL];
|
239
296
|
|
297
|
+
// Optional. The [Document][google.cloud.discoveryengine.v1.Document] the user
|
298
|
+
// wants to promote. For site search, leave unset and only populate uri. Can
|
299
|
+
// be set along with uri.
|
300
|
+
string document = 6 [
|
301
|
+
(google.api.field_behavior) = OPTIONAL,
|
302
|
+
(google.api.resource_reference) = {
|
303
|
+
type: "discoveryengine.googleapis.com/Document"
|
304
|
+
}
|
305
|
+
];
|
306
|
+
|
240
307
|
// Optional. The promotion thumbnail image url.
|
241
308
|
string image_uri = 3 [(google.api.field_behavior) = OPTIONAL];
|
242
309
|
|
@@ -77,7 +77,7 @@ message Condition {
|
|
77
77
|
// Optional. Query regex to match the whole search query.
|
78
78
|
// Cannot be set when
|
79
79
|
// [Condition.query_terms][google.cloud.discoveryengine.v1.Condition.query_terms]
|
80
|
-
// is set.
|
80
|
+
// is set. Only supported for Basic Site Search promotion serving controls.
|
81
81
|
string query_regex = 4 [(google.api.field_behavior) = OPTIONAL];
|
82
82
|
}
|
83
83
|
|
@@ -288,8 +288,6 @@ message Control {
|
|
288
288
|
SynonymsAction synonyms_action = 10;
|
289
289
|
|
290
290
|
// Promote certain links based on predefined trigger queries.
|
291
|
-
//
|
292
|
-
// This now only supports basic site search.
|
293
291
|
PromoteAction promote_action = 15;
|
294
292
|
}
|
295
293
|
|
@@ -833,6 +833,9 @@ message AnswerQueryRequest {
|
|
833
833
|
|
834
834
|
// Non-answer-seeking query classification type, for no clear intent.
|
835
835
|
NON_ANSWER_SEEKING_QUERY_V2 = 4;
|
836
|
+
|
837
|
+
// User defined query classification type.
|
838
|
+
USER_DEFINED_CLASSIFICATION_QUERY = 5;
|
836
839
|
}
|
837
840
|
|
838
841
|
// Enabled query classification types.
|