google-cloud-discovery_engine-v1 2.13.0 → 2.14.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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +4 -4
- data/README.md +8 -10
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/client.rb +591 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/paths.rb +50 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest/client.rb +534 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/acl_config_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/client.rb +528 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1/assistant_service/paths.rb +104 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/client.rb +493 -0
- data/lib/google/cloud/discovery_engine/v1/assistant_service/rest/service_stub.rb +307 -0
- data/lib/google/cloud/discovery_engine/v1/cmek_config_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/cmek_config_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/client.rb +732 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/operations.rb +843 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/paths.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/rest/client.rb +668 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/rest/operations.rb +1168 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/rest/service_stub.rb +265 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service/rest.rb +54 -0
- data/lib/google/cloud/discovery_engine/v1/collection_service.rb +57 -0
- data/lib/google/cloud/discovery_engine/v1/completion_service/client.rb +162 -4
- data/lib/google/cloud/discovery_engine/v1/completion_service/credentials.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1/completion_service/paths.rb +62 -0
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/client.rb +155 -4
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/completion_service/rest/service_stub.rb +78 -0
- data/lib/google/cloud/discovery_engine/v1/control_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/client.rb +37 -9
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/paths.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1/conversational_search_service/rest/client.rb +37 -9
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/client.rb +779 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/credentials.rb +50 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/operations.rb +843 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/paths.rb +227 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/client.rb +715 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/operations.rb +1168 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest/service_stub.rb +274 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1/data_connector_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1/data_store_service/client.rb +215 -0
- data/lib/google/cloud/discovery_engine/v1/data_store_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/data_store_service/paths.rb +62 -0
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/client.rb +201 -0
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/data_store_service/rest/service_stub.rb +138 -0
- data/lib/google/cloud/discovery_engine/v1/document_service/client.rb +0 -1
- data/lib/google/cloud/discovery_engine/v1/document_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/client.rb +0 -1
- data/lib/google/cloud/discovery_engine/v1/document_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/engine_service/client.rb +218 -3
- data/lib/google/cloud/discovery_engine/v1/engine_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/engine_service/paths.rb +104 -0
- data/lib/google/cloud/discovery_engine/v1/engine_service/rest/client.rb +204 -3
- data/lib/google/cloud/discovery_engine/v1/engine_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/engine_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/discovery_engine/v1/grounded_generation_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/client.rb +1 -0
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/client.rb +1 -0
- data/lib/google/cloud/discovery_engine/v1/identity_mapping_store_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/client.rb +1044 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/paths.rb +86 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/rest/client.rb +959 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/rest/service_stub.rb +451 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/license_config_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1/project_service/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/project_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/project_service/rest/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/project_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/project_service/rest/service_stub.rb +8 -0
- data/lib/google/cloud/discovery_engine/v1/rank_service/client.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1/rank_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/rank_service/rest/client.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1/recommendation_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/rest.rb +8 -2
- data/lib/google/cloud/discovery_engine/v1/schema_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/schema_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/search_service/client.rb +14 -2
- data/lib/google/cloud/discovery_engine/v1/search_service/paths.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1/search_service/rest/client.rb +14 -2
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/search_tuning_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/serving_config_service/client.rb +408 -3
- data/lib/google/cloud/discovery_engine/v1/serving_config_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/serving_config_service/paths.rb +66 -0
- data/lib/google/cloud/discovery_engine/v1/serving_config_service/rest/client.rb +380 -3
- data/lib/google/cloud/discovery_engine/v1/serving_config_service/rest/service_stub.rb +303 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/client.rb +25 -9
- data/lib/google/cloud/discovery_engine/v1/session_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1/session_service/paths.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1/session_service/rest/client.rb +25 -9
- data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/site_search_engine_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/user_event_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1/user_event_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/user_license_service/client.rb +124 -7
- data/lib/google/cloud/discovery_engine/v1/user_license_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/client.rb +117 -7
- data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/operations.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1/user_license_service/rest/service_stub.rb +61 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/client.rb +590 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/paths.rb +71 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/rest/client.rb +533 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1/user_store_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1/version.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/client.rb +624 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/credentials.rb +50 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/paths.rb +101 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest/client.rb +567 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest/service_stub.rb +234 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1/widget_config_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1.rb +9 -3
- data/lib/google/cloud/discoveryengine/v1/acl_config_pb.rb +25 -0
- data/lib/google/cloud/discoveryengine/v1/acl_config_service_pb.rb +28 -0
- data/lib/google/cloud/discoveryengine/v1/acl_config_service_services_pb.rb +49 -0
- data/lib/google/cloud/discoveryengine/v1/agent_gateway_setting_pb.rb +25 -0
- data/lib/google/cloud/discoveryengine/v1/assist_answer_pb.rb +13 -1
- data/lib/google/cloud/discoveryengine/v1/assistant_pb.rb +13 -1
- data/lib/google/cloud/discoveryengine/v1/assistant_service_pb.rb +12 -1
- data/lib/google/cloud/discoveryengine/v1/assistant_service_services_pb.rb +12 -1
- data/lib/google/cloud/discoveryengine/v1/chunk_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/cmek_config_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/cmek_config_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/collection_pb.rb +25 -0
- data/lib/google/cloud/discoveryengine/v1/collection_service_pb.rb +32 -0
- data/lib/google/cloud/discoveryengine/v1/collection_service_services_pb.rb +65 -0
- data/lib/google/cloud/discoveryengine/v1/common_pb.rb +13 -1
- data/lib/google/cloud/discoveryengine/v1/completion_service_pb.rb +16 -1
- data/lib/google/cloud/discoveryengine/v1/completion_service_services_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1/control_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/control_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/conversational_search_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/conversational_search_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/data_connector_pb.rb +57 -0
- data/lib/google/cloud/discoveryengine/v1/data_connector_service_pb.rb +32 -0
- data/lib/google/cloud/discoveryengine/v1/data_connector_service_services_pb.rb +58 -0
- data/lib/google/cloud/discoveryengine/v1/data_store_pb.rb +10 -1
- data/lib/google/cloud/discoveryengine/v1/data_store_service_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1/data_store_service_services_pb.rb +20 -1
- data/lib/google/cloud/discoveryengine/v1/document_processing_config_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/document_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/document_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/engine_pb.rb +11 -1
- data/lib/google/cloud/discoveryengine/v1/engine_service_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1/engine_service_services_pb.rb +23 -4
- data/lib/google/cloud/discoveryengine/v1/feedback_pb.rb +28 -0
- data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_pb.rb +7 -1
- data/lib/google/cloud/discoveryengine/v1/grounded_generation_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/identity_mapping_store_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/import_config_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/license_config_pb.rb +28 -0
- data/lib/google/cloud/discoveryengine/v1/license_config_service_pb.rb +36 -0
- data/lib/google/cloud/discoveryengine/v1/license_config_service_services_pb.rb +63 -0
- data/lib/google/cloud/discoveryengine/v1/logging_pb.rb +24 -0
- data/lib/google/cloud/discoveryengine/v1/project_pb.rb +11 -1
- data/lib/google/cloud/discoveryengine/v1/project_service_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/project_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/rank_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/rank_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/recommendation_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/recommendation_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/schema_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/schema_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/search_tuning_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/search_tuning_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/serving_config_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1/serving_config_service_pb.rb +7 -1
- data/lib/google/cloud/discoveryengine/v1/serving_config_service_services_pb.rb +21 -1
- data/lib/google/cloud/discoveryengine/v1/session_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/session_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/session_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/site_search_engine_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/user_event_service_services_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1/user_license_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1/user_license_service_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1/user_license_service_services_pb.rb +5 -1
- data/lib/google/cloud/discoveryengine/v1/user_store_pb.rb +24 -0
- data/lib/google/cloud/discoveryengine/v1/user_store_service_pb.rb +29 -0
- data/lib/google/cloud/discoveryengine/v1/user_store_service_services_pb.rb +47 -0
- data/lib/google/cloud/discoveryengine/v1/widget_config_pb.rb +63 -0
- data/lib/google/cloud/discoveryengine/v1/widget_config_service_pb.rb +30 -0
- data/lib/google/cloud/discoveryengine/v1/widget_config_service_services_pb.rb +48 -0
- data/proto_docs/google/cloud/discoveryengine/v1/acl_config.rb +43 -0
- data/proto_docs/google/cloud/discoveryengine/v1/acl_config_service.rb +49 -0
- data/proto_docs/google/cloud/discoveryengine/v1/agent_gateway_setting.rb +53 -0
- data/proto_docs/google/cloud/discoveryengine/v1/assist_answer.rb +164 -1
- data/proto_docs/google/cloud/discoveryengine/v1/assistant.rb +217 -0
- data/proto_docs/google/cloud/discoveryengine/v1/assistant_service.rb +179 -6
- data/proto_docs/google/cloud/discoveryengine/v1/chunk.rb +4 -0
- data/proto_docs/google/cloud/discoveryengine/v1/cmek_config_service.rb +7 -2
- data/proto_docs/google/cloud/discoveryengine/v1/collection.rb +51 -0
- data/proto_docs/google/cloud/discoveryengine/v1/collection_service.rb +53 -0
- data/proto_docs/google/cloud/discoveryengine/v1/common.rb +201 -0
- data/proto_docs/google/cloud/discoveryengine/v1/completion_service.rb +320 -4
- data/proto_docs/google/cloud/discoveryengine/v1/conversational_search_service.rb +31 -8
- data/proto_docs/google/cloud/discoveryengine/v1/data_connector.rb +875 -0
- data/proto_docs/google/cloud/discoveryengine/v1/data_connector_service.rb +142 -0
- data/proto_docs/google/cloud/discoveryengine/v1/data_store.rb +179 -2
- data/proto_docs/google/cloud/discoveryengine/v1/document.rb +9 -4
- data/proto_docs/google/cloud/discoveryengine/v1/document_processing_config.rb +7 -0
- data/proto_docs/google/cloud/discoveryengine/v1/engine.rb +251 -1
- data/proto_docs/google/cloud/discoveryengine/v1/feedback.rb +165 -0
- data/proto_docs/google/cloud/discoveryengine/v1/grounded_generation_service.rb +107 -0
- data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store.rb +3 -0
- data/proto_docs/google/cloud/discoveryengine/v1/identity_mapping_store_service.rb +1 -0
- data/proto_docs/google/cloud/discoveryengine/v1/import_config.rb +6 -4
- data/proto_docs/google/cloud/discoveryengine/v1/license_config.rb +107 -0
- data/proto_docs/google/cloud/discoveryengine/v1/license_config_service.rb +220 -0
- data/proto_docs/google/cloud/discoveryengine/v1/logging.rb +40 -0
- data/proto_docs/google/cloud/discoveryengine/v1/project.rb +229 -0
- data/proto_docs/google/cloud/discoveryengine/v1/project_service.rb +18 -0
- data/proto_docs/google/cloud/discoveryengine/v1/purge_config.rb +2 -1
- data/proto_docs/google/cloud/discoveryengine/v1/rank_service.rb +3 -3
- data/proto_docs/google/cloud/discoveryengine/v1/search_service.rb +7 -1
- data/proto_docs/google/cloud/discoveryengine/v1/serving_config.rb +43 -0
- data/proto_docs/google/cloud/discoveryengine/v1/serving_config_service.rb +71 -0
- data/proto_docs/google/cloud/discoveryengine/v1/session.rb +9 -0
- data/proto_docs/google/cloud/discoveryengine/v1/user_event.rb +16 -6
- data/proto_docs/google/cloud/discoveryengine/v1/user_license.rb +16 -1
- data/proto_docs/google/cloud/discoveryengine/v1/user_license_service.rb +53 -6
- data/proto_docs/google/cloud/discoveryengine/v1/user_store.rb +66 -0
- data/proto_docs/google/cloud/discoveryengine/v1/user_store_service.rb +54 -0
- data/proto_docs/google/cloud/discoveryengine/v1/widget_config.rb +1082 -0
- data/proto_docs/google/cloud/discoveryengine/v1/widget_config_service.rb +102 -0
- data/proto_docs/google/iam/v1/iam_policy.rb +87 -0
- data/proto_docs/google/iam/v1/options.rb +50 -0
- data/proto_docs/google/iam/v1/policy.rb +426 -0
- data/proto_docs/google/type/date.rb +1 -1
- data/proto_docs/google/type/datetime.rb +104 -0
- data/proto_docs/google/type/expr.rb +75 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +103 -1
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DiscoveryEngine
|
|
23
|
+
module V1
|
|
24
|
+
# WidgetConfig captures configs at the Widget level.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Immutable. The full resource name of the widget config.
|
|
28
|
+
# Format:
|
|
29
|
+
# `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/widgetConfigs/{widget_config_id}`.
|
|
30
|
+
#
|
|
31
|
+
# This field must be a UTF-8 encoded string with a length limit of 1024
|
|
32
|
+
# characters.
|
|
33
|
+
# @!attribute [rw] display_name
|
|
34
|
+
# @return [::String]
|
|
35
|
+
# Required. The human readable widget config display name. Used in Discovery
|
|
36
|
+
# UI.
|
|
37
|
+
#
|
|
38
|
+
# This field must be a UTF-8 encoded string with a length limit of 128
|
|
39
|
+
# characters. Otherwise, an INVALID_ARGUMENT error is returned.
|
|
40
|
+
# @!attribute [r] create_time
|
|
41
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
42
|
+
# Output only. Timestamp the
|
|
43
|
+
# {::Google::Cloud::DiscoveryEngine::V1::WidgetConfig WidgetConfig} was created.
|
|
44
|
+
# @!attribute [r] update_time
|
|
45
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
46
|
+
# Output only. Timestamp the
|
|
47
|
+
# {::Google::Cloud::DiscoveryEngine::V1::WidgetConfig WidgetConfig} was updated.
|
|
48
|
+
# @!attribute [r] data_store_type
|
|
49
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreType]
|
|
50
|
+
# Output only. The type of the parent data store.
|
|
51
|
+
# @!attribute [r] config_id
|
|
52
|
+
# @return [::String]
|
|
53
|
+
# Output only. Unique obfuscated identifier of a
|
|
54
|
+
# {::Google::Cloud::DiscoveryEngine::V1::WidgetConfig WidgetConfig}.
|
|
55
|
+
# @!attribute [rw] solution_type
|
|
56
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::SolutionType]
|
|
57
|
+
# Required. Immutable. Specifies the solution type that this WidgetConfig can
|
|
58
|
+
# be used for.
|
|
59
|
+
# @!attribute [r] industry_vertical
|
|
60
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::IndustryVertical]
|
|
61
|
+
# Output only. The industry vertical that the WidgetConfig registers.
|
|
62
|
+
# The WidgetConfig industry vertical is based on the associated
|
|
63
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Engine Engine}.
|
|
64
|
+
# @!attribute [r] llm_enabled
|
|
65
|
+
# @return [::Boolean]
|
|
66
|
+
# Output only. Whether LLM is enabled in the corresponding data store.
|
|
67
|
+
# @!attribute [rw] enable_result_score
|
|
68
|
+
# @return [::Boolean]
|
|
69
|
+
# Whether to show the result score.
|
|
70
|
+
# @!attribute [r] minimum_data_term_accepted
|
|
71
|
+
# @return [::Boolean]
|
|
72
|
+
# Output only. Whether the customer accepted data use terms.
|
|
73
|
+
# @!attribute [r] collection_components
|
|
74
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CollectionComponent>]
|
|
75
|
+
# Output only. Collection components that lists all collections and child
|
|
76
|
+
# data stores associated with the widget config, those data sources can be
|
|
77
|
+
# used for filtering in widget service APIs, users can return results that
|
|
78
|
+
# from selected data sources.
|
|
79
|
+
#
|
|
80
|
+
# For SaaS / Business engines, when `LookupWidgetConfig` is called with
|
|
81
|
+
# `view = WITH_AVAILABLE_CONNECTORS`, this list is additionally augmented
|
|
82
|
+
# with synthetic placeholder entries for connectors the caller may attach
|
|
83
|
+
# but has not yet attached (see `CollectionComponent` for the placeholder
|
|
84
|
+
# contract). The frontend can therefore render a unified list of
|
|
85
|
+
# already-attached and available-to-attach sources by iterating this single
|
|
86
|
+
# field. For Enterprise engines and for the default `view`, only
|
|
87
|
+
# already-attached connectors are returned (today's behavior).
|
|
88
|
+
# @!attribute [rw] ui_settings
|
|
89
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings]
|
|
90
|
+
# Describes general widget search settings as seen in cloud console
|
|
91
|
+
# widget configuration page. Replaces top deprecated top level properties.
|
|
92
|
+
# @!attribute [rw] access_settings
|
|
93
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AccessSettings]
|
|
94
|
+
# Will be used for all widget access settings seen in cloud console
|
|
95
|
+
# integration page. Replaces top deprecated top level properties.
|
|
96
|
+
# @!attribute [rw] ui_branding
|
|
97
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiBrandingSettings]
|
|
98
|
+
# Describes search widget UI branding settings, such as the widget title,
|
|
99
|
+
# logo, favicons, and colors.
|
|
100
|
+
# @!attribute [rw] homepage_setting
|
|
101
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting]
|
|
102
|
+
# Optional. Describes the homepage settings of the widget.
|
|
103
|
+
# @!attribute [r] assistant_settings
|
|
104
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AssistantSettings]
|
|
105
|
+
# Optional. Output only. Describes the assistant settings of the widget.
|
|
106
|
+
# @!attribute [r] customer_provided_config
|
|
107
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CustomerProvidedConfig]
|
|
108
|
+
# Optional. Output only. Describes the customer related configurations,
|
|
109
|
+
# currently only used for government customers. This field cannot be modified
|
|
110
|
+
# after project onboarding.
|
|
111
|
+
# @!attribute [r] enable_private_knowledge_graph
|
|
112
|
+
# @return [::Boolean]
|
|
113
|
+
# Optional. Output only. Whether to enable private knowledge graph.
|
|
114
|
+
# @!attribute [r] gemini_bundle
|
|
115
|
+
# @return [::Boolean]
|
|
116
|
+
# Output only. Whether the subscription is gemini bundle or not.
|
|
117
|
+
# @!attribute [r] batch_auth_statuses
|
|
118
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::BatchAuthStatus>]
|
|
119
|
+
# Output only. The batch authorization statuses for the widget's connectors.
|
|
120
|
+
# @!attribute [r] nodes
|
|
121
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Node>]
|
|
122
|
+
# Output only. The nodes associated with the Widget Config.
|
|
123
|
+
class WidgetConfig
|
|
124
|
+
include ::Google::Protobuf::MessageExts
|
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
|
+
|
|
127
|
+
# Facet field that maps to a UI Component.
|
|
128
|
+
# @!attribute [rw] field
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# Required. Registered field name. The format is `field.abc`.
|
|
131
|
+
# @!attribute [rw] device_visibility
|
|
132
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField::DeviceVisibility>]
|
|
133
|
+
# The field visibility on different types of devices.
|
|
134
|
+
# @!attribute [rw] display_template
|
|
135
|
+
# @return [::String]
|
|
136
|
+
# The template to customize how the field is displayed. An example value
|
|
137
|
+
# would be a string that looks like: "Price: \\{value}".
|
|
138
|
+
class UIComponentField
|
|
139
|
+
include ::Google::Protobuf::MessageExts
|
|
140
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
141
|
+
|
|
142
|
+
# The visibility of the field on different type of devices.
|
|
143
|
+
module DeviceVisibility
|
|
144
|
+
# Default value when not specified. Server returns INVALID_ARGUMENT if
|
|
145
|
+
# used in requests.
|
|
146
|
+
DEVICE_VISIBILITY_UNSPECIFIED = 0
|
|
147
|
+
|
|
148
|
+
# The UI component is visible on Mobile devices.
|
|
149
|
+
MOBILE = 1
|
|
150
|
+
|
|
151
|
+
# The UI component is visible on Browser-based client.
|
|
152
|
+
DESKTOP = 2
|
|
153
|
+
end
|
|
154
|
+
end
|
|
155
|
+
|
|
156
|
+
# Facet fields that store the mapping of fields to end user widget
|
|
157
|
+
# appearance.
|
|
158
|
+
# @!attribute [rw] field
|
|
159
|
+
# @return [::String]
|
|
160
|
+
# Required. Registered field name. The format is `field.abc`.
|
|
161
|
+
# @!attribute [rw] display_name
|
|
162
|
+
# @return [::String]
|
|
163
|
+
# Optional. The field name that end users will see.
|
|
164
|
+
class FacetField
|
|
165
|
+
include ::Google::Protobuf::MessageExts
|
|
166
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# UI component configuration for data store.
|
|
170
|
+
# @!attribute [rw] name
|
|
171
|
+
# @return [::String]
|
|
172
|
+
# The name of the data store. It should be data store resource name
|
|
173
|
+
# Format:
|
|
174
|
+
# `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
|
|
175
|
+
# For APIs under
|
|
176
|
+
# [WidgetService][google.cloud.discoveryengine.v1.WidgetService], such as
|
|
177
|
+
# [WidgetService.LookupWidgetConfig][google.cloud.discoveryengine.v1.WidgetService.LookupWidgetConfig],
|
|
178
|
+
# the project number and location part is erased in this field.
|
|
179
|
+
# @!attribute [r] id
|
|
180
|
+
# @return [::String]
|
|
181
|
+
# Output only. the identifier of the data store, used for widget service.
|
|
182
|
+
# For now it refers to data_store_id, in the future we will migrate the
|
|
183
|
+
# field to encrypted data store name UUID.
|
|
184
|
+
# @!attribute [rw] facet_field
|
|
185
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::FacetField>]
|
|
186
|
+
# Facet fields that store the mapping of fields to end user widget
|
|
187
|
+
# appearance.
|
|
188
|
+
# @!attribute [rw] fields_ui_components_map
|
|
189
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField}]
|
|
190
|
+
# The key is the UI component. Mock. Currently supported `title`,
|
|
191
|
+
# `thumbnail`, `url`, `custom1`, `custom2`, `custom3`.
|
|
192
|
+
#
|
|
193
|
+
# The value is the name of the field along with its device visibility.
|
|
194
|
+
#
|
|
195
|
+
# The 3 custom fields are optional and can be added or removed. `title`,
|
|
196
|
+
# `thumbnail`, `url` are required UI components that cannot be removed.
|
|
197
|
+
class DataStoreUiConfig
|
|
198
|
+
include ::Google::Protobuf::MessageExts
|
|
199
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
200
|
+
|
|
201
|
+
# @!attribute [rw] key
|
|
202
|
+
# @return [::String]
|
|
203
|
+
# @!attribute [rw] value
|
|
204
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UIComponentField]
|
|
205
|
+
class FieldsUiComponentsMapEntry
|
|
206
|
+
include ::Google::Protobuf::MessageExts
|
|
207
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Read-only data store component that contains data stores fields that may be
|
|
212
|
+
# used for filtering, it's the child of `CollectionComponent`.
|
|
213
|
+
# @!attribute [rw] name
|
|
214
|
+
# @return [::String]
|
|
215
|
+
# The name of the data store. It should be data store resource name
|
|
216
|
+
# Format:
|
|
217
|
+
# `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
|
|
218
|
+
# For APIs under
|
|
219
|
+
# [WidgetService][google.cloud.discoveryengine.v1.WidgetService], such as
|
|
220
|
+
# [WidgetService.LookupWidgetConfig][google.cloud.discoveryengine.v1.WidgetService.LookupWidgetConfig],
|
|
221
|
+
# the project number and location part is erased in this field.
|
|
222
|
+
# @!attribute [r] id
|
|
223
|
+
# @return [::String]
|
|
224
|
+
# Output only. the identifier of the data store, used for widget service.
|
|
225
|
+
# For now it refers to data_store_id, in the future we will migrate the
|
|
226
|
+
# field to encrypted data store name UUID.
|
|
227
|
+
# @!attribute [rw] display_name
|
|
228
|
+
# @return [::String]
|
|
229
|
+
# The display name of the data store.
|
|
230
|
+
# @!attribute [rw] entity_name
|
|
231
|
+
# @return [::String]
|
|
232
|
+
# The name of the entity, retrieved from
|
|
233
|
+
# `Collection.data_connector.entities.entityName`.
|
|
234
|
+
# @!attribute [r] data_store_config_type
|
|
235
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreComponent::DataStoreConfigType]
|
|
236
|
+
# Output only. The type of the data store config.
|
|
237
|
+
class DataStoreComponent
|
|
238
|
+
include ::Google::Protobuf::MessageExts
|
|
239
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
240
|
+
|
|
241
|
+
# The type of the data store config.
|
|
242
|
+
module DataStoreConfigType
|
|
243
|
+
# Default value. This value is unused.
|
|
244
|
+
DATA_STORE_CONFIG_TYPE_UNSPECIFIED = 0
|
|
245
|
+
|
|
246
|
+
# The data store is connected to AlloyDB
|
|
247
|
+
ALLOW_DB_CONFIG = 1
|
|
248
|
+
|
|
249
|
+
# The data store is a connected to a third party data source.
|
|
250
|
+
THIRD_PARTY_OAUTH_CONFIG = 2
|
|
251
|
+
|
|
252
|
+
# The data store is a connected to NotebookLM Enterprise.
|
|
253
|
+
NOTEBOOKLM_CONFIG = 3
|
|
254
|
+
end
|
|
255
|
+
end
|
|
256
|
+
|
|
257
|
+
# Read-only connector in CollectionComponent auth state.
|
|
258
|
+
# @!attribute [r] auth_state
|
|
259
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ConnectorAuthState::AuthState]
|
|
260
|
+
# Output only. The authorization state of the data connector.
|
|
261
|
+
# @!attribute [r] authorization_uri
|
|
262
|
+
# @return [::String]
|
|
263
|
+
# Output only. The authorization uri for the data connector.
|
|
264
|
+
#
|
|
265
|
+
# For synthetic placeholder `CollectionComponent` entries (returned by
|
|
266
|
+
# `LookupWidgetConfig` with `view = WITH_AVAILABLE_CONNECTORS` on SaaS /
|
|
267
|
+
# Business engines), this field is left empty. The widget should call
|
|
268
|
+
# `WidgetService.WidgetBuildAuthorizationUrl` on the user's "Connect"
|
|
269
|
+
# click to obtain a freshly-built authorization URL.
|
|
270
|
+
# @!attribute [r] update_time
|
|
271
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
272
|
+
# Output only. The authorization state update timestamp.
|
|
273
|
+
class ConnectorAuthState
|
|
274
|
+
include ::Google::Protobuf::MessageExts
|
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
276
|
+
|
|
277
|
+
# The authorization state of the data connector.
|
|
278
|
+
module AuthState
|
|
279
|
+
# Default value. Also returned for synthetic placeholder
|
|
280
|
+
# `CollectionComponent` entries surfaced by
|
|
281
|
+
# `LookupWidgetConfig` with `view = WITH_AVAILABLE_CONNECTORS` (SaaS /
|
|
282
|
+
# Business only) — those entries represent connectors the caller may
|
|
283
|
+
# attach but has not yet attached.
|
|
284
|
+
AUTH_STATE_UNSPECIFIED = 0
|
|
285
|
+
|
|
286
|
+
# The user has authorized the data connector.
|
|
287
|
+
AUTHORIZED = 1
|
|
288
|
+
|
|
289
|
+
# The user authorization for the data connector has expired.
|
|
290
|
+
EXPIRED = 2
|
|
291
|
+
|
|
292
|
+
# The user can still make search requests but actions need to be enabled.
|
|
293
|
+
ACTIONS_DISABLED = 3
|
|
294
|
+
|
|
295
|
+
# The data connector does not require any authorization. Also used for
|
|
296
|
+
# placeholder entries whose underlying connector does not require user
|
|
297
|
+
# OAuth.
|
|
298
|
+
NO_AUTH = 4
|
|
299
|
+
end
|
|
300
|
+
end
|
|
301
|
+
|
|
302
|
+
# Describes the batch authorization status for a batch_authorization_group.
|
|
303
|
+
# @!attribute [r] placeholder
|
|
304
|
+
# @return [::String]
|
|
305
|
+
# Output only. It is the batch authorization group placeholder full
|
|
306
|
+
# resource name. This is not a real data connector resource. E.g.
|
|
307
|
+
# projects/\\{project}/locations/\\{location}/collections/oauth_placeholder_google_workspace/dataStores/dataConnector.
|
|
308
|
+
# @!attribute [r] batch_authorization_group
|
|
309
|
+
# @return [::String]
|
|
310
|
+
# Output only. The batch authorization group the placeholder belongs to.
|
|
311
|
+
# @!attribute [r] connector_auth_state
|
|
312
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ConnectorAuthState]
|
|
313
|
+
# Output only. The current authorization state for this connector.
|
|
314
|
+
class BatchAuthStatus
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
# Read-only collection component that contains data store collections fields
|
|
320
|
+
# that may be used for filtering.
|
|
321
|
+
#
|
|
322
|
+
# For SaaS / Business engines, when `LookupWidgetConfig` is called with
|
|
323
|
+
# `view = WITH_AVAILABLE_CONNECTORS`, instances of this message are also
|
|
324
|
+
# used to represent synthetic placeholder entries for connectors the caller
|
|
325
|
+
# may attach but has not yet attached. Placeholder entries have
|
|
326
|
+
# `connector_auth_state.auth_state == AUTH_STATE_UNSPECIFIED` (or
|
|
327
|
+
# `NO_AUTH`), an empty `connector_auth_state.authorization_uri` (the
|
|
328
|
+
# widget calls `WidgetBuildAuthorizationUrl` on the user's "Connect"
|
|
329
|
+
# click), and synthetic placeholder values in `name` / `id` (see field
|
|
330
|
+
# comments). Fields that only make sense for materialized connectors
|
|
331
|
+
# (`data_store_components`, `tenant`, `action_connector`) are left unset
|
|
332
|
+
# for placeholder entries.
|
|
333
|
+
# @!attribute [rw] name
|
|
334
|
+
# @return [::String]
|
|
335
|
+
# The name of the collection. It should be collection resource name.
|
|
336
|
+
# Format:
|
|
337
|
+
# `projects/{project}/locations/{location}/collections/{collection_id}`.
|
|
338
|
+
# For APIs under
|
|
339
|
+
# [WidgetService][google.cloud.discoveryengine.v1.WidgetService], such as
|
|
340
|
+
# [WidgetService.LookupWidgetConfig][google.cloud.discoveryengine.v1.WidgetService.LookupWidgetConfig],
|
|
341
|
+
# the project number and location part is erased in this field.
|
|
342
|
+
#
|
|
343
|
+
# For synthetic placeholder entries (see message-level comment) this
|
|
344
|
+
# carries a synthetic placeholder collection id that does not correspond
|
|
345
|
+
# to a real collection. Callers must not attempt to resolve / GET this
|
|
346
|
+
# resource until the user authorizes the connector.
|
|
347
|
+
# @!attribute [r] id
|
|
348
|
+
# @return [::String]
|
|
349
|
+
# Output only. the identifier of the collection, used for widget service.
|
|
350
|
+
# For now it refers to collection_id, in the future we will migrate the
|
|
351
|
+
# field to encrypted collection name UUID.
|
|
352
|
+
#
|
|
353
|
+
# For synthetic placeholder entries (see message-level comment) this is a
|
|
354
|
+
# synthetic placeholder id, not a real collection_id.
|
|
355
|
+
# @!attribute [rw] display_name
|
|
356
|
+
# @return [::String]
|
|
357
|
+
# The display name of the collection.
|
|
358
|
+
# @!attribute [rw] data_store_components
|
|
359
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreComponent>]
|
|
360
|
+
# For the data store collection, list of the children data stores.
|
|
361
|
+
# @!attribute [rw] data_source
|
|
362
|
+
# @return [::String]
|
|
363
|
+
# The name of the data source, retrieved from
|
|
364
|
+
# `Collection.data_connector.data_source`.
|
|
365
|
+
# @!attribute [r] data_source_version
|
|
366
|
+
# @return [::Float]
|
|
367
|
+
# Output only. The version of the connector definition backing this
|
|
368
|
+
# collection, mirroring `DataConnector.data_source_version`.
|
|
369
|
+
# @!attribute [r] data_source_display_name
|
|
370
|
+
# @return [::String]
|
|
371
|
+
# Output only. The display name of the data source.
|
|
372
|
+
# @!attribute [r] data_source_end_user_display_name
|
|
373
|
+
# @return [::String]
|
|
374
|
+
# Output only. The end-user-facing display name of the data source, sourced
|
|
375
|
+
# from `ConnectorSource.end_user_display_name`. When unset, clients fall
|
|
376
|
+
# back to `data_source_display_name`.
|
|
377
|
+
# @!attribute [r] connector_icon_link
|
|
378
|
+
# @return [::String]
|
|
379
|
+
# Output only. The icon link of the connector source.
|
|
380
|
+
# @!attribute [r] connector_auth_state
|
|
381
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ConnectorAuthState]
|
|
382
|
+
# Output only. The auth uri of the connector source.
|
|
383
|
+
# @!attribute [r] metadata
|
|
384
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::DataConnector::ConnectorMetadata]
|
|
385
|
+
# Output only. User-facing connector metadata (`title`, `description`,
|
|
386
|
+
# `short_description`, `author`, `note`), retrieved from the registry
|
|
387
|
+
# `ConnectorSource.metadata` (joined by data source). Shown on the
|
|
388
|
+
# connector detail page.
|
|
389
|
+
# @!attribute [r] is_first_party
|
|
390
|
+
# @return [::Boolean]
|
|
391
|
+
# Output only. Whether this is a first-party (Google-owned) connector, as
|
|
392
|
+
# opposed to a third-party connector.
|
|
393
|
+
# @!attribute [r] tag
|
|
394
|
+
# @return [::String]
|
|
395
|
+
# Output only. The version-independent label of the connector backing this
|
|
396
|
+
# collection, mirroring `DataConnector.tag`. Unlike the version-pinned data
|
|
397
|
+
# store id it survives a connector version upgrade, so an upgraded
|
|
398
|
+
# connector keeps the same tag.
|
|
399
|
+
#
|
|
400
|
+
# Not a unique key. As `DataConnector.tag` documents, several connectors
|
|
401
|
+
# may share a tag under the same (project, location, collection,
|
|
402
|
+
# data_source), and tag-based lookup resolves to the one with the greatest
|
|
403
|
+
# create_time. Clients must not treat this as a connector identifier.
|
|
404
|
+
#
|
|
405
|
+
# Empty when the connector was created before the tag-write launch, and
|
|
406
|
+
# for synthetic placeholder entries, which have no underlying
|
|
407
|
+
# `DataConnector`. Populated only when
|
|
408
|
+
# `ConnectorsFeature.enable_connector_tag` is on.
|
|
409
|
+
class CollectionComponent
|
|
410
|
+
include ::Google::Protobuf::MessageExts
|
|
411
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
412
|
+
end
|
|
413
|
+
|
|
414
|
+
# Describes general widget (or web app) UI settings as seen
|
|
415
|
+
# in the cloud console UI configuration page.
|
|
416
|
+
# @!attribute [rw] interaction_type
|
|
417
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::InteractionType]
|
|
418
|
+
# Describes widget (or web app) interaction type
|
|
419
|
+
# @!attribute [rw] generative_answer_config
|
|
420
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig]
|
|
421
|
+
# Describes generative answer configuration.
|
|
422
|
+
# @!attribute [rw] result_description_type
|
|
423
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::ResultDisplayType]
|
|
424
|
+
# Controls whether result extract is display and how (snippet or
|
|
425
|
+
# extractive answer). Default to no result if unspecified.
|
|
426
|
+
# @!attribute [rw] enable_autocomplete
|
|
427
|
+
# @return [::Boolean]
|
|
428
|
+
# Whether or not to enable autocomplete.
|
|
429
|
+
# @!attribute [rw] enable_safe_search
|
|
430
|
+
# @return [::Boolean]
|
|
431
|
+
# Whether to enable safe search.
|
|
432
|
+
# @!attribute [rw] enable_quality_feedback
|
|
433
|
+
# @return [::Boolean]
|
|
434
|
+
# Turn on or off collecting the search result quality feedback from end
|
|
435
|
+
# users.
|
|
436
|
+
# @!attribute [rw] enable_search_as_you_type
|
|
437
|
+
# @return [::Boolean]
|
|
438
|
+
# Whether to enable search-as-you-type behavior for the search widget.
|
|
439
|
+
# @!attribute [rw] default_search_request_order_by
|
|
440
|
+
# @return [::String]
|
|
441
|
+
# The default ordering for search results if specified.
|
|
442
|
+
#
|
|
443
|
+
# Used to set SearchRequest#order_by on applicable requests.
|
|
444
|
+
# https://cloud.google.com/generative-ai-app-builder/docs/reference/rest/v1alpha/projects.locations.dataStores.servingConfigs/search#request-body
|
|
445
|
+
# @!attribute [rw] data_store_ui_configs
|
|
446
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::DataStoreUiConfig>]
|
|
447
|
+
# Per data store configuration.
|
|
448
|
+
# @!attribute [rw] disable_user_events_collection
|
|
449
|
+
# @return [::Boolean]
|
|
450
|
+
# If set to true, the widget will not collect user events.
|
|
451
|
+
# @!attribute [rw] enable_visual_content_summary
|
|
452
|
+
# @return [::Boolean]
|
|
453
|
+
# If set to true, the widget will enable visual content summary on
|
|
454
|
+
# applicable search requests. Only used by healthcare search.
|
|
455
|
+
# @!attribute [rw] enable_people_search
|
|
456
|
+
# @return [::Boolean]
|
|
457
|
+
# Optional. If set to true, the widget will enable people search.
|
|
458
|
+
# @!attribute [rw] enable_create_agent_button
|
|
459
|
+
# @return [::Boolean]
|
|
460
|
+
# Optional. If set to true, the widget will enable the create agent button.
|
|
461
|
+
# @!attribute [r] features
|
|
462
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::FeatureState}]
|
|
463
|
+
# Output only. Feature config for the engine to opt in or opt out of
|
|
464
|
+
# features. Supported keys:
|
|
465
|
+
#
|
|
466
|
+
# * `agent-gallery`
|
|
467
|
+
# * `no-code-agent-builder`
|
|
468
|
+
# * `prompt-gallery`
|
|
469
|
+
# * `model-selector`
|
|
470
|
+
# * `notebook-lm`
|
|
471
|
+
# * `people-search`
|
|
472
|
+
# * `people-search-org-chart`
|
|
473
|
+
# * `bi-directional-audio`
|
|
474
|
+
# * `speech-to-text`
|
|
475
|
+
# * `feedback`
|
|
476
|
+
# * `session-sharing`
|
|
477
|
+
# * `personalization-memory`
|
|
478
|
+
# * `personalization-suggested-highlights`
|
|
479
|
+
# * `mobile-app-access`
|
|
480
|
+
# * `disable-agent-sharing`
|
|
481
|
+
# * `disable-image-generation`
|
|
482
|
+
# * `disable-video-generation`
|
|
483
|
+
# * `disable-onedrive-upload`
|
|
484
|
+
# * `disable-talk-to-content`
|
|
485
|
+
# * `disable-google-drive-upload`
|
|
486
|
+
# * `disable-welcome-emails`
|
|
487
|
+
# * `disable-canvas`
|
|
488
|
+
# * `canvas-workspace`
|
|
489
|
+
# * `canvas-app-builder`
|
|
490
|
+
# * `skills`
|
|
491
|
+
# * `skill-sharing`
|
|
492
|
+
# * `skill-sharing-without-admin-approval`
|
|
493
|
+
# * `disable-projects`
|
|
494
|
+
# * `sobi`
|
|
495
|
+
# * `enable-end-user-sharing-with-groups`
|
|
496
|
+
# * `single-agent-orchestration`
|
|
497
|
+
# * `multi-agent-orchestration`
|
|
498
|
+
# * `cross-product-intelligence`
|
|
499
|
+
# * `workflow-agents`
|
|
500
|
+
# * `in-app-notifications`
|
|
501
|
+
# * `code-extraction`
|
|
502
|
+
# * `remote-vm`
|
|
503
|
+
# * `license-tier-badge`
|
|
504
|
+
# @!attribute [r] model_configs
|
|
505
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelState}]
|
|
506
|
+
# Output only. Maps a model name to its specific configuration for this
|
|
507
|
+
# engine. This allows admin users to turn on/off individual models. This
|
|
508
|
+
# only stores models whose states are overridden by the admin.
|
|
509
|
+
#
|
|
510
|
+
# When the state is unspecified, or model_configs is empty for this
|
|
511
|
+
# model, the system will decide if this model should be available or not
|
|
512
|
+
# based on the default configuration. For example, a preview model
|
|
513
|
+
# should be disabled by default if the admin has not chosen to enable it.
|
|
514
|
+
# @!attribute [rw] search_addon_spec
|
|
515
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::SearchAddonSpec]
|
|
516
|
+
# Optional. SearchAddonSpec is used to disable add-ons for search.
|
|
517
|
+
# This field is only supported for search requests.
|
|
518
|
+
# @!attribute [r] onedrive_picker_enabled
|
|
519
|
+
# @return [::Boolean]
|
|
520
|
+
# Output only. Whether the OneDrive file picker is available to end-users.
|
|
521
|
+
# Computed by the backend from admin connector enablement (Business
|
|
522
|
+
# edition) or attached OneDrive connectors (Enterprise edition), combined
|
|
523
|
+
# with the existing `disable-onedrive-upload` admin feature.
|
|
524
|
+
#
|
|
525
|
+
# Declared `optional` so an explicitly-computed `false` is serialized with
|
|
526
|
+
# field presence. A plain proto3 `bool` drops a default `false` on the
|
|
527
|
+
# wire, which prevented clients from distinguishing "picker disabled"
|
|
528
|
+
# (`false`) from "field not populated" (unset).
|
|
529
|
+
# @!attribute [r] google_drive_picker_enabled
|
|
530
|
+
# @return [::Boolean]
|
|
531
|
+
# Output only. Whether the Google Drive file picker is available to
|
|
532
|
+
# end-users. Declared `optional` for the same field-presence reason as
|
|
533
|
+
# `onedrive_picker_enabled` above.
|
|
534
|
+
# @!attribute [r] model_config_info
|
|
535
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo]
|
|
536
|
+
# Output only. The resolved, server-side view of model selector
|
|
537
|
+
# configuration. Holds both the ordered list of models that should appear
|
|
538
|
+
# in the model selector dropdown and the model that should be selected by
|
|
539
|
+
# default.
|
|
540
|
+
#
|
|
541
|
+
# Clients should render this directly without applying their own
|
|
542
|
+
# filtering, ordering, or localization. The legacy `model_configs` map
|
|
543
|
+
# above is retained for backward compatibility with clients that have not
|
|
544
|
+
# yet migrated to consuming this field.
|
|
545
|
+
# @!attribute [rw] source_admin_display_name_enabled
|
|
546
|
+
# @return [::Boolean]
|
|
547
|
+
# Optional. Whether to show the admin-configured display name for data
|
|
548
|
+
# connectors in the widget sources UI (instead of the connector kind).
|
|
549
|
+
# Opt-in; defaults to false.
|
|
550
|
+
class UiSettings
|
|
551
|
+
include ::Google::Protobuf::MessageExts
|
|
552
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
553
|
+
|
|
554
|
+
# Describes configuration for generative answer.
|
|
555
|
+
# @!attribute [rw] result_count
|
|
556
|
+
# @return [::Integer]
|
|
557
|
+
# The number of top results to generate the answer from. Up to 10.
|
|
558
|
+
# @!attribute [rw] model_version
|
|
559
|
+
# @return [::String]
|
|
560
|
+
# The model version used to generate the answer.
|
|
561
|
+
# @!attribute [rw] model_prompt_preamble
|
|
562
|
+
# @return [::String]
|
|
563
|
+
# Text at the beginning of the prompt that instructs the model that
|
|
564
|
+
# generates the answer.
|
|
565
|
+
# @!attribute [rw] max_rephrase_steps
|
|
566
|
+
# @return [::Integer]
|
|
567
|
+
# Max rephrase steps.
|
|
568
|
+
# The max number is 5 steps.
|
|
569
|
+
# If not set or set to < 1, it will be set to 1 by default.
|
|
570
|
+
# @!attribute [rw] language_code
|
|
571
|
+
# @return [::String]
|
|
572
|
+
# Language code for Summary. Use language tags defined by
|
|
573
|
+
# [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
|
|
574
|
+
# Note: This is an experimental feature.
|
|
575
|
+
# @!attribute [rw] disable_related_questions
|
|
576
|
+
# @return [::Boolean]
|
|
577
|
+
# Whether generated answer contains suggested related questions.
|
|
578
|
+
# @!attribute [rw] ignore_non_answer_seeking_query
|
|
579
|
+
# @return [::Boolean]
|
|
580
|
+
# Optional. Specifies whether to filter out queries that are not
|
|
581
|
+
# answer-seeking. The default value is `false`.
|
|
582
|
+
#
|
|
583
|
+
# No answer is returned if the search query is classified as a
|
|
584
|
+
# non-answer seeking query. If this field is set to `true`, we skip
|
|
585
|
+
# generating answers for non-answer seeking queries and return
|
|
586
|
+
# fallback messages instead.
|
|
587
|
+
# @!attribute [rw] ignore_adversarial_query
|
|
588
|
+
# @return [::Boolean]
|
|
589
|
+
# Optional. Specifies whether to filter out queries that are adversarial.
|
|
590
|
+
# @!attribute [rw] ignore_low_relevant_content
|
|
591
|
+
# @return [::Boolean]
|
|
592
|
+
# Optional. Specifies whether to filter out queries that are not relevant
|
|
593
|
+
# to the content.
|
|
594
|
+
# @!attribute [rw] image_source
|
|
595
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::GenerativeAnswerConfig::ImageSource]
|
|
596
|
+
# Optional. Source of image returned in the answer.
|
|
597
|
+
class GenerativeAnswerConfig
|
|
598
|
+
include ::Google::Protobuf::MessageExts
|
|
599
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
600
|
+
|
|
601
|
+
# Source of image returned in the answer.
|
|
602
|
+
module ImageSource
|
|
603
|
+
# Unspecified image source (multimodal feature is disabled by default)
|
|
604
|
+
IMAGE_SOURCE_UNSPECIFIED = 0
|
|
605
|
+
|
|
606
|
+
# Behavior when service determines the pick from all available sources.
|
|
607
|
+
ALL_AVAILABLE_SOURCES = 1
|
|
608
|
+
|
|
609
|
+
# Include image from corpus in the answer.
|
|
610
|
+
CORPUS_IMAGE_ONLY = 2
|
|
611
|
+
|
|
612
|
+
# Triggers figure generation in the answer.
|
|
613
|
+
FIGURE_GENERATION_ONLY = 3
|
|
614
|
+
end
|
|
615
|
+
end
|
|
616
|
+
|
|
617
|
+
# The resolved, server-side view of model selector configuration for the
|
|
618
|
+
# end-user. The backend computes this per-request by applying, in order:
|
|
619
|
+
# Mendel flag evaluation, regional availability rules based on the
|
|
620
|
+
# engine's location, and admin-panel overrides from `model_configs`.
|
|
621
|
+
#
|
|
622
|
+
# The backend is the single source of truth for this configuration;
|
|
623
|
+
# clients should render `resolved_models` directly in the model selector
|
|
624
|
+
# dropdown, in the order provided, without applying their own filtering,
|
|
625
|
+
# ordering, or localization.
|
|
626
|
+
# @!attribute [r] resolved_models
|
|
627
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel>]
|
|
628
|
+
# Output only. The list of models that are available to the end-user in
|
|
629
|
+
# the model selector, in the order in which they should be displayed.
|
|
630
|
+
# @!attribute [r] default_model_id
|
|
631
|
+
# @return [::String]
|
|
632
|
+
# Output only. The `model_id` of the model that should be selected by
|
|
633
|
+
# default in the model selector when the end-user has not made an
|
|
634
|
+
# explicit choice. The value is always one of the `model_id`s present in
|
|
635
|
+
# `resolved_models`.
|
|
636
|
+
# @!attribute [r] auto_model_id
|
|
637
|
+
# @return [::String]
|
|
638
|
+
# Output only. The `model_id` a client must send when the end-user picks
|
|
639
|
+
# the "Auto" entry (the empty `model_id`).
|
|
640
|
+
#
|
|
641
|
+
# Populated only for surfaces known to have no true "Auto" mode, where
|
|
642
|
+
# leaving the model unset would fall back to a platform default rather
|
|
643
|
+
# than a backend-chosen model. Empty on every other surface, where
|
|
644
|
+
# "Auto" is resolved server-side, and when none of the surface's ranked
|
|
645
|
+
# models is available. When set, it is always one of the non-empty
|
|
646
|
+
# `model_id`s present in `resolved_models`.
|
|
647
|
+
class ModelConfigInfo
|
|
648
|
+
include ::Google::Protobuf::MessageExts
|
|
649
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
650
|
+
|
|
651
|
+
# A single model that is resolved to be available to the end-user in the
|
|
652
|
+
# model selector, with all of its localized display metadata.
|
|
653
|
+
# @!attribute [r] model_id
|
|
654
|
+
# @return [::String]
|
|
655
|
+
# Output only. Unique identifier of the model
|
|
656
|
+
# (e.g. `gemini-2.5-flash`, `gemini-3.1-pro-preview`).
|
|
657
|
+
#
|
|
658
|
+
# This is the same identifier that clients pass back to the assistant
|
|
659
|
+
# service to select this model. Virtual / "pseudo" models (e.g.
|
|
660
|
+
# `gemini-fast`) are also valid values here; they are resolved to the
|
|
661
|
+
# underlying concrete model on the backend.
|
|
662
|
+
# @!attribute [r] display_name
|
|
663
|
+
# @return [::String]
|
|
664
|
+
# Output only. Localized display name of the model (e.g. `Gemini 3.1
|
|
665
|
+
# Pro`). Localized server-side based on the
|
|
666
|
+
# [LookupWidgetConfigRequest.language_code][google.cloud.discoveryengine.v1.LookupWidgetConfigRequest.language_code]
|
|
667
|
+
# and
|
|
668
|
+
# [LookupWidgetConfigRequest.region_code][google.cloud.discoveryengine.v1.LookupWidgetConfigRequest.region_code]
|
|
669
|
+
# of the request.
|
|
670
|
+
# @!attribute [r] icon
|
|
671
|
+
# @return [::String]
|
|
672
|
+
# Output only. GM3-compatible icon token associated with the model
|
|
673
|
+
# (e.g. `rocket_launch`, `bolt`, `graph_5`).
|
|
674
|
+
# @!attribute [r] description
|
|
675
|
+
# @return [::String]
|
|
676
|
+
# Output only. Localized description text (e.g. `State-of-the-art
|
|
677
|
+
# reasoning`). Localized using the same locale as `display_name`.
|
|
678
|
+
# @!attribute [r] is_preview
|
|
679
|
+
# @return [::Boolean]
|
|
680
|
+
# Output only. Whether the model is currently in preview. Clients
|
|
681
|
+
# should surface this via a "Preview" badge in the selector UI.
|
|
682
|
+
# @!attribute [r] label
|
|
683
|
+
# @return [::String]
|
|
684
|
+
# Output only. Short label shown in the compact selector bar chip (e.g.
|
|
685
|
+
# `3.x Flash`) as opposed to the full `display_name` (`Gemini 3.x
|
|
686
|
+
# Flash`). Falls back to `display_name` when the backend registry does
|
|
687
|
+
# not specify a distinct short label.
|
|
688
|
+
# @!attribute [r] admin_view
|
|
689
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelConfigInfo::ResolvedModel::AdminView]
|
|
690
|
+
# Output only. Admin-surface metadata; populated only for the Console
|
|
691
|
+
# admin Feature Control page (see `AdminView`). Unset for end-user
|
|
692
|
+
# surfaces.
|
|
693
|
+
# @!attribute [r] promoted
|
|
694
|
+
# @return [::Boolean]
|
|
695
|
+
# Output only. Whether this model should be promoted in the GE chat
|
|
696
|
+
# homepage banner.
|
|
697
|
+
# @!attribute [r] icon_url
|
|
698
|
+
# @return [::String]
|
|
699
|
+
# Output only. Absolute URL of a brand mark to render instead of
|
|
700
|
+
# `icon`, for models whose vendor logo is not a GM3 glyph.
|
|
701
|
+
#
|
|
702
|
+
# `icon` stays populated as the fallback, so a client that does not
|
|
703
|
+
# render images, or that fails to fetch this one, shows the glyph
|
|
704
|
+
# instead of nothing.
|
|
705
|
+
# @!attribute [r] family
|
|
706
|
+
# @return [::String]
|
|
707
|
+
# Output only. Groups models that render together in the selector.
|
|
708
|
+
# Models sharing a value form one group; empty means the model belongs
|
|
709
|
+
# to no group.
|
|
710
|
+
#
|
|
711
|
+
# Compared for equality only -- never parsed, and never shown to a
|
|
712
|
+
# user, so it is not localized.
|
|
713
|
+
class ResolvedModel
|
|
714
|
+
include ::Google::Protobuf::MessageExts
|
|
715
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
716
|
+
|
|
717
|
+
# Admin-surface metadata. Populated only when the request originates
|
|
718
|
+
# from the Cloud Console admin "Feature Control" page; left unset for
|
|
719
|
+
# end-user surfaces (Web, Mobile). Lets the admin page render its
|
|
720
|
+
# toggle table directly from the backend instead of a hardcoded
|
|
721
|
+
# client-side registry.
|
|
722
|
+
# @!attribute [r] admin_overridable
|
|
723
|
+
# @return [::Boolean]
|
|
724
|
+
# Output only. Whether the admin can toggle this model's
|
|
725
|
+
# enabled/disabled state via `UiSettings.model_configs`. Derived from
|
|
726
|
+
# `MODEL_TAG_ADMIN_OVERRIDABLE`. When false, the model is "forced"
|
|
727
|
+
# and its state is governed by `enabled_by_default`.
|
|
728
|
+
# @!attribute [r] enabled_by_default
|
|
729
|
+
# @return [::Boolean]
|
|
730
|
+
# Output only. Whether the model is enabled when the admin has set no
|
|
731
|
+
# explicit override in `UiSettings.model_configs`. Derived from
|
|
732
|
+
# `MODEL_TAG_ENABLED_BY_DEFAULT`.
|
|
733
|
+
# @!attribute [r] regions
|
|
734
|
+
# @return [::Array<::String>]
|
|
735
|
+
# Output only. Regions where this model is launched.
|
|
736
|
+
class AdminView
|
|
737
|
+
include ::Google::Protobuf::MessageExts
|
|
738
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
end
|
|
742
|
+
|
|
743
|
+
# SearchAddonSpec is used to disable add-ons for search. By default, if
|
|
744
|
+
# this field is not specified, add-ons are enabled wherever applicable.
|
|
745
|
+
# @!attribute [rw] semantic_add_on_disabled
|
|
746
|
+
# @return [::Boolean]
|
|
747
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on
|
|
748
|
+
# includes embeddings and jetstream.
|
|
749
|
+
# @!attribute [rw] kpi_personalization_add_on_disabled
|
|
750
|
+
# @return [::Boolean]
|
|
751
|
+
# Optional. If true, disables event re-ranking and personalization to
|
|
752
|
+
# optimize KPIs & personalize results.
|
|
753
|
+
# @!attribute [rw] generative_answer_add_on_disabled
|
|
754
|
+
# @return [::Boolean]
|
|
755
|
+
# Optional. If true, generative answer add-on is disabled. Generative
|
|
756
|
+
# answer add-on includes natural language to filters and simple answers.
|
|
757
|
+
class SearchAddonSpec
|
|
758
|
+
include ::Google::Protobuf::MessageExts
|
|
759
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
760
|
+
end
|
|
761
|
+
|
|
762
|
+
# @!attribute [rw] key
|
|
763
|
+
# @return [::String]
|
|
764
|
+
# @!attribute [rw] value
|
|
765
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::FeatureState]
|
|
766
|
+
class FeaturesEntry
|
|
767
|
+
include ::Google::Protobuf::MessageExts
|
|
768
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
769
|
+
end
|
|
770
|
+
|
|
771
|
+
# @!attribute [rw] key
|
|
772
|
+
# @return [::String]
|
|
773
|
+
# @!attribute [rw] value
|
|
774
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::UiSettings::ModelState]
|
|
775
|
+
class ModelConfigsEntry
|
|
776
|
+
include ::Google::Protobuf::MessageExts
|
|
777
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
778
|
+
end
|
|
779
|
+
|
|
780
|
+
# Describes interaction type.
|
|
781
|
+
module InteractionType
|
|
782
|
+
# Not specified. Defaults to SEARCH_ONLY.
|
|
783
|
+
INTERACTION_TYPE_UNSPECIFIED = 0
|
|
784
|
+
|
|
785
|
+
# Search without a generative answer.
|
|
786
|
+
SEARCH_ONLY = 1
|
|
787
|
+
|
|
788
|
+
# Search with the generative answer.
|
|
789
|
+
SEARCH_WITH_ANSWER = 2
|
|
790
|
+
|
|
791
|
+
# Search with the generative answer that supports follow up questions.
|
|
792
|
+
# Also known as multi-turn search.
|
|
793
|
+
SEARCH_WITH_FOLLOW_UPS = 3
|
|
794
|
+
end
|
|
795
|
+
|
|
796
|
+
# The state of the feature for the engine.
|
|
797
|
+
module FeatureState
|
|
798
|
+
# The feature state is unspecified.
|
|
799
|
+
FEATURE_STATE_UNSPECIFIED = 0
|
|
800
|
+
|
|
801
|
+
# The feature is turned on to be accessible.
|
|
802
|
+
FEATURE_STATE_ON = 1
|
|
803
|
+
|
|
804
|
+
# The feature is turned off to be inaccessible.
|
|
805
|
+
FEATURE_STATE_OFF = 2
|
|
806
|
+
end
|
|
807
|
+
|
|
808
|
+
# The state of the model for the engine.
|
|
809
|
+
module ModelState
|
|
810
|
+
# The model state is unspecified.
|
|
811
|
+
MODEL_STATE_UNSPECIFIED = 0
|
|
812
|
+
|
|
813
|
+
# The model is enabled by admin.
|
|
814
|
+
MODEL_ENABLED = 1
|
|
815
|
+
|
|
816
|
+
# The model is disabled by admin.
|
|
817
|
+
MODEL_DISABLED = 2
|
|
818
|
+
end
|
|
819
|
+
end
|
|
820
|
+
|
|
821
|
+
# Describes widget access settings.
|
|
822
|
+
# @!attribute [rw] allow_public_access
|
|
823
|
+
# @return [::Boolean]
|
|
824
|
+
# Whether public unauthenticated access is allowed.
|
|
825
|
+
# @!attribute [rw] allowlisted_domains
|
|
826
|
+
# @return [::Array<::String>]
|
|
827
|
+
# List of domains that are allowed to integrate the search widget.
|
|
828
|
+
# @!attribute [rw] enable_web_app
|
|
829
|
+
# @return [::Boolean]
|
|
830
|
+
# Whether web app access is enabled.
|
|
831
|
+
# @!attribute [rw] workforce_identity_pool_provider
|
|
832
|
+
# @return [::String]
|
|
833
|
+
# Optional. The workforce identity pool provider used to access the widget.
|
|
834
|
+
# @!attribute [rw] language_code
|
|
835
|
+
# @return [::String]
|
|
836
|
+
# Optional. Language code for user interface. Use language tags defined by
|
|
837
|
+
# [BCP47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt).
|
|
838
|
+
# If unset, the default language code is "en-US".
|
|
839
|
+
class AccessSettings
|
|
840
|
+
include ::Google::Protobuf::MessageExts
|
|
841
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
842
|
+
end
|
|
843
|
+
|
|
844
|
+
# Options to store an image.
|
|
845
|
+
# @!attribute [rw] url
|
|
846
|
+
# @return [::String]
|
|
847
|
+
# Image URL.
|
|
848
|
+
class Image
|
|
849
|
+
include ::Google::Protobuf::MessageExts
|
|
850
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
851
|
+
end
|
|
852
|
+
|
|
853
|
+
# Describes widget UI branding settings.
|
|
854
|
+
# @!attribute [rw] logo
|
|
855
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Image]
|
|
856
|
+
# Logo image.
|
|
857
|
+
class UiBrandingSettings
|
|
858
|
+
include ::Google::Protobuf::MessageExts
|
|
859
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
860
|
+
end
|
|
861
|
+
|
|
862
|
+
# Describes the homepage setting of the widget. It includes all homepage
|
|
863
|
+
# related settings and configurations, such as shortcuts.
|
|
864
|
+
# @!attribute [rw] shortcuts
|
|
865
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::HomepageSetting::Shortcut>]
|
|
866
|
+
# Optional. The shortcuts to display on the homepage.
|
|
867
|
+
class HomepageSetting
|
|
868
|
+
include ::Google::Protobuf::MessageExts
|
|
869
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
870
|
+
|
|
871
|
+
# Describes an entity of shortcut (aka pinned content) on the homepage.
|
|
872
|
+
# The home page will render these shortcuts in the same order as what the
|
|
873
|
+
# API returns. If a customer wants to reorder or remove a shortcut, the UI
|
|
874
|
+
# should always provide the new full list of shortcuts.
|
|
875
|
+
# @!attribute [rw] title
|
|
876
|
+
# @return [::String]
|
|
877
|
+
# Optional. Title of the shortcut.
|
|
878
|
+
# @!attribute [rw] icon
|
|
879
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Image]
|
|
880
|
+
# Optional. Icon URL of shortcut.
|
|
881
|
+
# @!attribute [rw] destination_uri
|
|
882
|
+
# @return [::String]
|
|
883
|
+
# Optional. Destination URL of shortcut.
|
|
884
|
+
class Shortcut
|
|
885
|
+
include ::Google::Protobuf::MessageExts
|
|
886
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
887
|
+
end
|
|
888
|
+
end
|
|
889
|
+
|
|
890
|
+
# Describes the assistant settings of the widget.
|
|
891
|
+
# @!attribute [rw] web_grounding_type
|
|
892
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::AssistantSettings::WebGroundingType]
|
|
893
|
+
# Optional. The type of web grounding to use.
|
|
894
|
+
# @!attribute [r] default_web_grounding_toggle_off
|
|
895
|
+
# @return [::Boolean]
|
|
896
|
+
# Output only. This field controls the default web grounding toggle for end
|
|
897
|
+
# users if `web_grounding_type` is set to
|
|
898
|
+
# `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or
|
|
899
|
+
# `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`.
|
|
900
|
+
# By default, this field is set to false. If `web_grounding_type` is
|
|
901
|
+
# `WEB_GROUNDING_TYPE_GOOGLE_SEARCH` or
|
|
902
|
+
# `WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH`, end users will have web
|
|
903
|
+
# grounding enabled by default on UI. If true, grounding toggle will be
|
|
904
|
+
# disabled by default on UI. End users can still enable web grounding in
|
|
905
|
+
# the UI if web grounding is enabled.
|
|
906
|
+
# @!attribute [r] disable_location_context
|
|
907
|
+
# @return [::Boolean]
|
|
908
|
+
# Optional. Output only. Whether to disable user location context.
|
|
909
|
+
class AssistantSettings
|
|
910
|
+
include ::Google::Protobuf::MessageExts
|
|
911
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
912
|
+
|
|
913
|
+
# The type of web grounding to use.
|
|
914
|
+
module WebGroundingType
|
|
915
|
+
# Default, unspecified setting. This is the same as disabled.
|
|
916
|
+
WEB_GROUNDING_TYPE_UNSPECIFIED = 0
|
|
917
|
+
|
|
918
|
+
# Web grounding is disabled.
|
|
919
|
+
WEB_GROUNDING_TYPE_DISABLED = 1
|
|
920
|
+
|
|
921
|
+
# Grounding with Google Search is enabled.
|
|
922
|
+
WEB_GROUNDING_TYPE_GOOGLE_SEARCH = 2
|
|
923
|
+
|
|
924
|
+
# Grounding with Enterprise Web Search is enabled.
|
|
925
|
+
WEB_GROUNDING_TYPE_ENTERPRISE_WEB_SEARCH = 3
|
|
926
|
+
end
|
|
927
|
+
end
|
|
928
|
+
|
|
929
|
+
# Customer provided configurations.
|
|
930
|
+
# @!attribute [rw] customer_type
|
|
931
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CustomerProvidedConfig::CustomerType]
|
|
932
|
+
# Customer type.
|
|
933
|
+
# @!attribute [r] compliance_level
|
|
934
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::CustomerProvidedConfig::ComplianceLevel]
|
|
935
|
+
# Output only. The customer's Assured Workloads compliance level.
|
|
936
|
+
#
|
|
937
|
+
# `customer_type` collapses every compliance level into a single
|
|
938
|
+
# `GOVERNMENT_CUSTOMER` value, so a client that gates a feature on one
|
|
939
|
+
# specific level rather than on government status as a whole must read
|
|
940
|
+
# this field instead.
|
|
941
|
+
class CustomerProvidedConfig
|
|
942
|
+
include ::Google::Protobuf::MessageExts
|
|
943
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
944
|
+
|
|
945
|
+
# Customer type.
|
|
946
|
+
module CustomerType
|
|
947
|
+
# Default customer type.
|
|
948
|
+
DEFAULT_CUSTOMER = 0
|
|
949
|
+
|
|
950
|
+
# Government customer type. Some features are disabled for government
|
|
951
|
+
# customers due to legal requirements.
|
|
952
|
+
GOVERNMENT_CUSTOMER = 1
|
|
953
|
+
end
|
|
954
|
+
|
|
955
|
+
# Assured Workloads compliance level of the customer's project.
|
|
956
|
+
#
|
|
957
|
+
# Not frozen: further levels may be added as more compliance regimes are
|
|
958
|
+
# supported, so a client must treat an unrecognized value as
|
|
959
|
+
# government-restricted rather than as unrestricted.
|
|
960
|
+
module ComplianceLevel
|
|
961
|
+
# The project has no Assured Workloads compliance level, or reports one
|
|
962
|
+
# that this API version does not model.
|
|
963
|
+
COMPLIANCE_LEVEL_UNSPECIFIED = 0
|
|
964
|
+
|
|
965
|
+
# FedRAMP High compliance level.
|
|
966
|
+
COMPLIANCE_LEVEL_FEDRAMP_HIGH = 1
|
|
967
|
+
|
|
968
|
+
# Impact Level 4 (IL4) compliance level.
|
|
969
|
+
COMPLIANCE_LEVEL_IL4 = 2
|
|
970
|
+
|
|
971
|
+
# Impact Level 5 (IL5) compliance level.
|
|
972
|
+
COMPLIANCE_LEVEL_IL5 = 3
|
|
973
|
+
end
|
|
974
|
+
end
|
|
975
|
+
|
|
976
|
+
# Represents a single reusable computational or logical unit.
|
|
977
|
+
# @!attribute [r] display_name
|
|
978
|
+
# @return [::String]
|
|
979
|
+
# Output only. A human readable name for the node.
|
|
980
|
+
# @!attribute [r] icon_url
|
|
981
|
+
# @return [::String]
|
|
982
|
+
# Output only. An identifier or URL pointing to an icon representing this
|
|
983
|
+
# node type.
|
|
984
|
+
# @!attribute [r] description
|
|
985
|
+
# @return [::String]
|
|
986
|
+
# Output only. A detailed description of what the node does.
|
|
987
|
+
# @!attribute [r] parameter_schema
|
|
988
|
+
# @return [::Google::Protobuf::Struct]
|
|
989
|
+
# Output only. The parameter schema of the tool.
|
|
990
|
+
#
|
|
991
|
+
# This schema is expected to conform to the OpenAPI Schema standard (see
|
|
992
|
+
# https://spec.openapis.org/oas/v3.0.3.html and AIP-146). It describes the
|
|
993
|
+
# expected structure of the parameters that this node accepts.
|
|
994
|
+
# @!attribute [r] output_schema
|
|
995
|
+
# @return [::Google::Protobuf::Struct]
|
|
996
|
+
# Output only. The output schema of the tool.
|
|
997
|
+
#
|
|
998
|
+
# This schema is expected to conform to the OpenAPI Schema standard (see
|
|
999
|
+
# https://spec.openapis.org/oas/v3.0.3.html/ and AIP-146). It describes the
|
|
1000
|
+
# structure of the output produced by this node.
|
|
1001
|
+
# @!attribute [r] type
|
|
1002
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::WidgetConfig::Node::Type]
|
|
1003
|
+
# Output only. The type of the node.
|
|
1004
|
+
class Node
|
|
1005
|
+
include ::Google::Protobuf::MessageExts
|
|
1006
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1007
|
+
|
|
1008
|
+
# Identifies the type of the node in the agent flow.
|
|
1009
|
+
module Type
|
|
1010
|
+
# Unspecified type.
|
|
1011
|
+
TYPE_UNSPECIFIED = 0
|
|
1012
|
+
|
|
1013
|
+
# Trigger type.
|
|
1014
|
+
TRIGGER = 1
|
|
1015
|
+
|
|
1016
|
+
# Flow type.
|
|
1017
|
+
FLOW = 2
|
|
1018
|
+
|
|
1019
|
+
# Connector type.
|
|
1020
|
+
CONNECTOR = 3
|
|
1021
|
+
end
|
|
1022
|
+
end
|
|
1023
|
+
|
|
1024
|
+
# The type of the widget's parent data store.
|
|
1025
|
+
module DataStoreType
|
|
1026
|
+
# Unspecified data store type.
|
|
1027
|
+
DATA_STORE_TYPE_UNSPECIFIED = 0
|
|
1028
|
+
|
|
1029
|
+
# The parent data store contains a site search engine.
|
|
1030
|
+
SITE_SEARCH = 1
|
|
1031
|
+
|
|
1032
|
+
# The parent data store contains a search engine for structured data.
|
|
1033
|
+
STRUCTURED = 2
|
|
1034
|
+
|
|
1035
|
+
# The parent data store contains a search engine for unstructured data.
|
|
1036
|
+
UNSTRUCTURED = 3
|
|
1037
|
+
|
|
1038
|
+
# The parent data store is served for blended search with multiple data
|
|
1039
|
+
# stores.
|
|
1040
|
+
BLENDED = 4
|
|
1041
|
+
end
|
|
1042
|
+
|
|
1043
|
+
# The type of result to display in the ucs widget.
|
|
1044
|
+
module ResultDisplayType
|
|
1045
|
+
# Unspecified display type (default to showing snippet).
|
|
1046
|
+
RESULT_DISPLAY_TYPE_UNSPECIFIED = 0
|
|
1047
|
+
|
|
1048
|
+
# Display results from the snippet field.
|
|
1049
|
+
SNIPPET = 1
|
|
1050
|
+
|
|
1051
|
+
# Display results from extractive answers field.
|
|
1052
|
+
EXTRACTIVE_ANSWER = 2
|
|
1053
|
+
end
|
|
1054
|
+
end
|
|
1055
|
+
|
|
1056
|
+
# Selects which "view" of the model selector configuration the backend
|
|
1057
|
+
# computes for `WidgetConfig.UiSettings.ModelConfigInfo`.
|
|
1058
|
+
#
|
|
1059
|
+
# The end-user views (`END_USER_WEB`, `END_USER_MOBILE`) return the
|
|
1060
|
+
# user-facing model selector for their respective surface; the `ADMIN` view
|
|
1061
|
+
# returns the set surfaced on the Cloud Console admin "Feature Control" page,
|
|
1062
|
+
# with `ModelConfigInfo.ResolvedModel.admin_view` populated on each entry.
|
|
1063
|
+
module ModelInfoView
|
|
1064
|
+
# Not specified.
|
|
1065
|
+
MODEL_INFO_VIEW_UNSPECIFIED = 0
|
|
1066
|
+
|
|
1067
|
+
# The end-user web model selector view.
|
|
1068
|
+
END_USER_WEB = 1
|
|
1069
|
+
|
|
1070
|
+
# The Cloud Console admin "Feature Control" view that displays model toggles.
|
|
1071
|
+
# Returns admin-surfaced models with `ResolvedModel.admin_view` populated.
|
|
1072
|
+
ADMIN = 2
|
|
1073
|
+
|
|
1074
|
+
# The end-user model selector view for the Gemini Enterprise mobile app.
|
|
1075
|
+
# Returns only mobile-surfaced models, with the mobile default selected.
|
|
1076
|
+
# Set explicitly by the mobile client.
|
|
1077
|
+
END_USER_MOBILE = 3
|
|
1078
|
+
end
|
|
1079
|
+
end
|
|
1080
|
+
end
|
|
1081
|
+
end
|
|
1082
|
+
end
|