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
|
@@ -88,7 +88,7 @@ module Google
|
|
|
88
88
|
# If {::Google::Cloud::DiscoveryEngine::V1::Engine#solution_type solution_type} is
|
|
89
89
|
# {::Google::Cloud::DiscoveryEngine::V1::SolutionType::SOLUTION_TYPE_CHAT SOLUTION_TYPE_CHAT},
|
|
90
90
|
# multiple {::Google::Cloud::DiscoveryEngine::V1::DataStore DataStore}s in the
|
|
91
|
-
# same
|
|
91
|
+
# same {::Google::Cloud::DiscoveryEngine::V1::Collection Collection} can be
|
|
92
92
|
# associated here.
|
|
93
93
|
#
|
|
94
94
|
# Note that when used in
|
|
@@ -107,10 +107,104 @@ module Google
|
|
|
107
107
|
# @!attribute [rw] common_config
|
|
108
108
|
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::CommonConfig]
|
|
109
109
|
# Common config spec that specifies the metadata of the engine.
|
|
110
|
+
# @!attribute [rw] knowledge_graph_config
|
|
111
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig]
|
|
112
|
+
# Optional. Configurations for the Knowledge Graph. Only applicable if
|
|
113
|
+
# {::Google::Cloud::DiscoveryEngine::V1::Engine#solution_type solution_type} is
|
|
114
|
+
# {::Google::Cloud::DiscoveryEngine::V1::SolutionType::SOLUTION_TYPE_SEARCH SOLUTION_TYPE_SEARCH}.
|
|
115
|
+
# @!attribute [rw] app_type
|
|
116
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::AppType]
|
|
117
|
+
# Optional. Immutable. This the application type which this engine resource
|
|
118
|
+
# represents. NOTE: this is a new concept independ of existing industry
|
|
119
|
+
# vertical or solution type.
|
|
110
120
|
# @!attribute [rw] disable_analytics
|
|
111
121
|
# @return [::Boolean]
|
|
112
122
|
# Optional. Whether to disable analytics for searches performed on this
|
|
113
123
|
# engine.
|
|
124
|
+
# @!attribute [rw] session_config
|
|
125
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::SessionConfig]
|
|
126
|
+
# Optional. Non-empty default. Session config for the engine.
|
|
127
|
+
# @!attribute [rw] features
|
|
128
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState}]
|
|
129
|
+
# Optional. Feature config for the engine to opt in or opt out of features.
|
|
130
|
+
# Supported keys:
|
|
131
|
+
#
|
|
132
|
+
# * `*`: all features, if it's present, all other feature state settings are
|
|
133
|
+
# ignored.
|
|
134
|
+
# * `agent-gallery`
|
|
135
|
+
# * `no-code-agent-builder`
|
|
136
|
+
# * `prompt-gallery`
|
|
137
|
+
# * `model-selector`
|
|
138
|
+
# * `notebook-lm`
|
|
139
|
+
# * `people-search`
|
|
140
|
+
# * `people-search-org-chart`
|
|
141
|
+
# * `bi-directional-audio`
|
|
142
|
+
# * `speech-to-text`
|
|
143
|
+
# * `feedback`
|
|
144
|
+
# * `session-sharing`
|
|
145
|
+
# * `personalization-memory`
|
|
146
|
+
# * `personalization-suggested-highlights`
|
|
147
|
+
# * `mobile-app-access`
|
|
148
|
+
# * `disable-agent-sharing`
|
|
149
|
+
# * `disable-image-generation`
|
|
150
|
+
# * `disable-video-generation`
|
|
151
|
+
# * `disable-onedrive-upload`
|
|
152
|
+
# * `disable-talk-to-content`
|
|
153
|
+
# * `disable-google-drive-upload`
|
|
154
|
+
# * `disable-welcome-emails`
|
|
155
|
+
# * `disable-canvas`
|
|
156
|
+
# * `canvas-workspace`
|
|
157
|
+
# * `canvas-app-builder`
|
|
158
|
+
# * `skills`
|
|
159
|
+
# * `skill-sharing`
|
|
160
|
+
# * `skill-sharing-without-admin-approval`
|
|
161
|
+
# * `disable-projects`
|
|
162
|
+
# * `sobi`
|
|
163
|
+
# * `enable-end-user-sharing-with-groups`
|
|
164
|
+
# * `single-agent-orchestration`
|
|
165
|
+
# * `multi-agent-orchestration`
|
|
166
|
+
# * `cross-product-intelligence`
|
|
167
|
+
# * `workflow-agents`
|
|
168
|
+
# * `in-app-notifications`
|
|
169
|
+
# * `code-extraction`
|
|
170
|
+
# @!attribute [r] cmek_config
|
|
171
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::CmekConfig]
|
|
172
|
+
# Output only. CMEK-related information for the Engine.
|
|
173
|
+
# @!attribute [rw] configurable_billing_approach
|
|
174
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::ConfigurableBillingApproach]
|
|
175
|
+
# Optional. Configuration for configurable billing approach.
|
|
176
|
+
# @!attribute [rw] model_configs
|
|
177
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState}]
|
|
178
|
+
# Optional. Maps a model name to its specific configuration for this engine.
|
|
179
|
+
# This allows admin users to turn on/off individual models. This only stores
|
|
180
|
+
# models whose states are overridden by the admin.
|
|
181
|
+
#
|
|
182
|
+
# When the state is unspecified, or model_configs is empty for this
|
|
183
|
+
# model, the system will decide if this model should be available or not
|
|
184
|
+
# based on the default configuration. For example, a preview model
|
|
185
|
+
# should be disabled by default if the admin has not chosen to enable it.
|
|
186
|
+
# @!attribute [rw] observability_config
|
|
187
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::ObservabilityConfig]
|
|
188
|
+
# Optional. Observability config for the engine.
|
|
189
|
+
# @!attribute [rw] connector_tenant_info
|
|
190
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
191
|
+
# Optional. Maps a connector ID (e.g., "hybrid-github", "shopify") to
|
|
192
|
+
# tenant-specific information required for that connector. The structure of
|
|
193
|
+
# the tenant information string is connector-dependent.
|
|
194
|
+
# @!attribute [rw] agent_gateway_setting
|
|
195
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::AgentGatewaySetting]
|
|
196
|
+
# Optional. The agent gateway setting for the engine.
|
|
197
|
+
# @!attribute [rw] marketplace_agent_visibility
|
|
198
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::MarketplaceAgentVisibility]
|
|
199
|
+
# Optional. The visibility of marketplace agents in the agent gallery.
|
|
200
|
+
# @!attribute [rw] procurement_contact_emails
|
|
201
|
+
# @return [::Array<::String>]
|
|
202
|
+
# Optional. The emails of the procurement contacts.
|
|
203
|
+
# @!attribute [r] associated_agent_registry
|
|
204
|
+
# @return [::String]
|
|
205
|
+
# Output only. The Agent registry containing the agents, MCP servers and
|
|
206
|
+
# tools associated with this engine. Derived server-side from the linked
|
|
207
|
+
# Agent Gateway's registry.
|
|
114
208
|
class Engine
|
|
115
209
|
include ::Google::Protobuf::MessageExts
|
|
116
210
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -126,6 +220,16 @@ module Google
|
|
|
126
220
|
# Defaults to
|
|
127
221
|
# {::Google::Cloud::DiscoveryEngine::V1::SearchTier::SEARCH_TIER_STANDARD SearchTier.SEARCH_TIER_STANDARD}
|
|
128
222
|
# if not specified.
|
|
223
|
+
# @!attribute [rw] required_subscription_tier
|
|
224
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::SubscriptionTier]
|
|
225
|
+
# Optional. The required subscription tier of this engine.
|
|
226
|
+
#
|
|
227
|
+
# If the required subscription tier is search, user with higher license
|
|
228
|
+
# tier like assist can still access the standalone app associated with this
|
|
229
|
+
# engine.
|
|
230
|
+
#
|
|
231
|
+
# Web grounding feature is only available on the app if it is set as
|
|
232
|
+
# {::Google::Cloud::DiscoveryEngine::V1::SubscriptionTier::SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT SubscriptionTier.SUBSCRIPTION_TIER_SEARCH_AND_ASSISTANT}.
|
|
129
233
|
# @!attribute [rw] search_add_ons
|
|
130
234
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::SearchAddOn>]
|
|
131
235
|
# The add-on that this search engine enables.
|
|
@@ -351,6 +455,57 @@ module Google
|
|
|
351
455
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
352
456
|
end
|
|
353
457
|
|
|
458
|
+
# Configuration message for the Knowledge Graph.
|
|
459
|
+
# @!attribute [rw] enable_cloud_knowledge_graph
|
|
460
|
+
# @return [::Boolean]
|
|
461
|
+
# Whether to enable the Cloud Knowledge Graph for the engine.
|
|
462
|
+
#
|
|
463
|
+
# Defaults to false if not specified.
|
|
464
|
+
# @!attribute [rw] cloud_knowledge_graph_types
|
|
465
|
+
# @return [::Array<::String>]
|
|
466
|
+
# Specify entity types to support.
|
|
467
|
+
# @!attribute [rw] enable_private_knowledge_graph
|
|
468
|
+
# @return [::Boolean]
|
|
469
|
+
# Whether to enable the Private Knowledge Graph for the engine.
|
|
470
|
+
#
|
|
471
|
+
# Defaults to false if not specified.
|
|
472
|
+
# @!attribute [rw] private_knowledge_graph_types
|
|
473
|
+
# @return [::Array<::String>]
|
|
474
|
+
# Specify entity types to support.
|
|
475
|
+
# @!attribute [rw] feature_config
|
|
476
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::KnowledgeGraphConfig::FeatureConfig]
|
|
477
|
+
# Optional. Feature config for the Knowledge Graph.
|
|
478
|
+
class KnowledgeGraphConfig
|
|
479
|
+
include ::Google::Protobuf::MessageExts
|
|
480
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
481
|
+
|
|
482
|
+
# Feature config for the Knowledge Graph.
|
|
483
|
+
# @!attribute [rw] disable_private_kg_query_understanding
|
|
484
|
+
# @return [::Boolean]
|
|
485
|
+
# Whether to disable the private KG query understanding for the engine.
|
|
486
|
+
#
|
|
487
|
+
# Defaults to false if not specified.
|
|
488
|
+
# @!attribute [rw] disable_private_kg_enrichment
|
|
489
|
+
# @return [::Boolean]
|
|
490
|
+
# Whether to disable the private KG enrichment for the engine.
|
|
491
|
+
#
|
|
492
|
+
# Defaults to false if not specified.
|
|
493
|
+
# @!attribute [rw] disable_private_kg_auto_complete
|
|
494
|
+
# @return [::Boolean]
|
|
495
|
+
# Whether to disable the private KG auto complete for the engine.
|
|
496
|
+
#
|
|
497
|
+
# Defaults to false if not specified.
|
|
498
|
+
# @!attribute [rw] disable_private_kg_query_ui_chips
|
|
499
|
+
# @return [::Boolean]
|
|
500
|
+
# Whether to disable the private KG for query UI chips.
|
|
501
|
+
#
|
|
502
|
+
# Defaults to false if not specified.
|
|
503
|
+
class FeatureConfig
|
|
504
|
+
include ::Google::Protobuf::MessageExts
|
|
505
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
506
|
+
end
|
|
507
|
+
end
|
|
508
|
+
|
|
354
509
|
# Additional information of a Chat Engine.
|
|
355
510
|
# Fields in this message are output only.
|
|
356
511
|
# @!attribute [rw] dialogflow_agent
|
|
@@ -364,6 +519,101 @@ module Google
|
|
|
364
519
|
include ::Google::Protobuf::MessageExts
|
|
365
520
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
366
521
|
end
|
|
522
|
+
|
|
523
|
+
# @!attribute [rw] key
|
|
524
|
+
# @return [::String]
|
|
525
|
+
# @!attribute [rw] value
|
|
526
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::FeatureState]
|
|
527
|
+
class FeaturesEntry
|
|
528
|
+
include ::Google::Protobuf::MessageExts
|
|
529
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
530
|
+
end
|
|
531
|
+
|
|
532
|
+
# @!attribute [rw] key
|
|
533
|
+
# @return [::String]
|
|
534
|
+
# @!attribute [rw] value
|
|
535
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Engine::ModelState]
|
|
536
|
+
class ModelConfigsEntry
|
|
537
|
+
include ::Google::Protobuf::MessageExts
|
|
538
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
539
|
+
end
|
|
540
|
+
|
|
541
|
+
# @!attribute [rw] key
|
|
542
|
+
# @return [::String]
|
|
543
|
+
# @!attribute [rw] value
|
|
544
|
+
# @return [::String]
|
|
545
|
+
class ConnectorTenantInfoEntry
|
|
546
|
+
include ::Google::Protobuf::MessageExts
|
|
547
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
548
|
+
end
|
|
549
|
+
|
|
550
|
+
# The app of the engine.
|
|
551
|
+
module AppType
|
|
552
|
+
# All non specified apps.
|
|
553
|
+
APP_TYPE_UNSPECIFIED = 0
|
|
554
|
+
|
|
555
|
+
# App type for intranet search and Agentspace.
|
|
556
|
+
APP_TYPE_INTRANET = 1
|
|
557
|
+
end
|
|
558
|
+
|
|
559
|
+
# The state of the feature for the engine.
|
|
560
|
+
module FeatureState
|
|
561
|
+
# The feature state is unspecified.
|
|
562
|
+
FEATURE_STATE_UNSPECIFIED = 0
|
|
563
|
+
|
|
564
|
+
# The feature is turned on to be accessible.
|
|
565
|
+
FEATURE_STATE_ON = 1
|
|
566
|
+
|
|
567
|
+
# The feature is turned off to be inaccessible.
|
|
568
|
+
FEATURE_STATE_OFF = 2
|
|
569
|
+
end
|
|
570
|
+
|
|
571
|
+
# Configuration for configurable billing approach.
|
|
572
|
+
module ConfigurableBillingApproach
|
|
573
|
+
# Default value. For Spark and non-Spark non-configurable billing approach.
|
|
574
|
+
# General pricing model.
|
|
575
|
+
CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED = 0
|
|
576
|
+
|
|
577
|
+
# The billing approach follows configurations specified by customer.
|
|
578
|
+
CONFIGURABLE_BILLING_APPROACH_ENABLED = 1
|
|
579
|
+
end
|
|
580
|
+
|
|
581
|
+
# The status of the model for the engine.
|
|
582
|
+
module ModelState
|
|
583
|
+
# The model state is unspecified.
|
|
584
|
+
MODEL_STATE_UNSPECIFIED = 0
|
|
585
|
+
|
|
586
|
+
# The model is enabled by admin.
|
|
587
|
+
MODEL_ENABLED = 1
|
|
588
|
+
|
|
589
|
+
# The model is disabled by admin.
|
|
590
|
+
MODEL_DISABLED = 2
|
|
591
|
+
end
|
|
592
|
+
|
|
593
|
+
# Represents which marketplace agents are visible to any users in agent
|
|
594
|
+
# gallery.
|
|
595
|
+
module MarketplaceAgentVisibility
|
|
596
|
+
# Defaults to `MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED`.
|
|
597
|
+
MARKETPLACE_AGENT_VISIBILITY_UNSPECIFIED = 0
|
|
598
|
+
|
|
599
|
+
# Only agents that are currently available for use by the user are visible.
|
|
600
|
+
SHOW_AVAILABLE_AGENTS_ONLY = 1
|
|
601
|
+
|
|
602
|
+
# Show marketplace agents that the user does not yet have access to but
|
|
603
|
+
# are integrated into the engine. This level also includes all agents
|
|
604
|
+
# visible with `SHOW_AVAILABLE_AGENTS_ONLY`.
|
|
605
|
+
SHOW_AGENTS_ALREADY_INTEGRATED = 2
|
|
606
|
+
|
|
607
|
+
# Show all agents visible with `SHOW_AGENTS_ALREADY_INTEGRATED`, plus
|
|
608
|
+
# agents that have already been purchased by the project/organization, even
|
|
609
|
+
# if they are not currently integrated into the engine.
|
|
610
|
+
SHOW_AGENTS_ALREADY_PURCHASED = 3
|
|
611
|
+
|
|
612
|
+
# All agents in the marketplace are visible, regardless of access or
|
|
613
|
+
# purchase status. This level encompasses all agents shown in the previous
|
|
614
|
+
# levels.
|
|
615
|
+
SHOW_ALL_AGENTS = 4
|
|
616
|
+
end
|
|
367
617
|
end
|
|
368
618
|
end
|
|
369
619
|
end
|
|
@@ -0,0 +1,165 @@
|
|
|
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
|
+
# Information about the user feedback. This information will be used for
|
|
25
|
+
# logging and metrics purpose.
|
|
26
|
+
# @!attribute [rw] feedback_type
|
|
27
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Feedback::FeedbackType]
|
|
28
|
+
# Required. Indicate whether the user gives a positive or negative feedback.
|
|
29
|
+
# If the user gives a negative feedback, there might be more feedback
|
|
30
|
+
# details.
|
|
31
|
+
# @!attribute [rw] reasons
|
|
32
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::Feedback::Reason>]
|
|
33
|
+
# Optional. The reason if user gives a thumb down.
|
|
34
|
+
# @!attribute [rw] comment
|
|
35
|
+
# @return [::String]
|
|
36
|
+
# Optional. The additional user comment of the feedback if user gives a thumb
|
|
37
|
+
# down.
|
|
38
|
+
# @!attribute [rw] conversation_info
|
|
39
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Feedback::ConversationInfo]
|
|
40
|
+
# The related conversation information when user gives feedback.
|
|
41
|
+
# @!attribute [rw] llm_model_version
|
|
42
|
+
# @return [::String]
|
|
43
|
+
# The version of the LLM model that was used to generate the response.
|
|
44
|
+
# @!attribute [rw] feedback_source
|
|
45
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Feedback::FeedbackSource]
|
|
46
|
+
# Optional. The UI component the user feedback comes from, which could be
|
|
47
|
+
# GOOGLE_CONSOLE, GOOGLE_WIDGET, GOOGLE_WEBAPP.
|
|
48
|
+
# @!attribute [rw] component_version
|
|
49
|
+
# @return [::String]
|
|
50
|
+
# Optional. The version of the component that this report is being sent from.
|
|
51
|
+
# @!attribute [rw] data_terms_accepted
|
|
52
|
+
# @return [::Boolean]
|
|
53
|
+
# Optional. Whether the customer accepted data use terms.
|
|
54
|
+
class Feedback
|
|
55
|
+
include ::Google::Protobuf::MessageExts
|
|
56
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
57
|
+
|
|
58
|
+
# The conversation information such as the question index and session name.
|
|
59
|
+
# @!attribute [rw] question_index
|
|
60
|
+
# @return [::Integer]
|
|
61
|
+
# The index of the user input within the conversation messages.
|
|
62
|
+
# @!attribute [rw] session
|
|
63
|
+
# @return [::String]
|
|
64
|
+
# Name of the newly generated or continued session.
|
|
65
|
+
# @!attribute [rw] query
|
|
66
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Query]
|
|
67
|
+
# Required. The user's search query.
|
|
68
|
+
# @!attribute [rw] assist_token
|
|
69
|
+
# @return [::String]
|
|
70
|
+
# Optional. The token which could be used to fetch the assistant log.
|
|
71
|
+
# @!attribute [rw] answer_query_token
|
|
72
|
+
# @return [::String]
|
|
73
|
+
# Optional. The token which could be used to fetch the answer log.
|
|
74
|
+
# @!attribute [rw] task_name
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# Optional. The full resource name of the Sobi task if the conversation was
|
|
77
|
+
# handled by a long-running agent task. Format (canonical, or the short
|
|
78
|
+
# alias the Task API also accepts):
|
|
79
|
+
# projects/\\{project}/locations/\\{location}/agents/\\{agent}/tasks/\\{task}
|
|
80
|
+
# projects/\\{project}/locations/\\{location}/tasks/\\{task}
|
|
81
|
+
# @!attribute [rw] trajectory_id
|
|
82
|
+
# @return [::String]
|
|
83
|
+
# Optional. The runtime trajectory id of the rated agent task turn, as set
|
|
84
|
+
# on `TaskServerEvent.trajectory_id`. Shared by all steps of the turn.
|
|
85
|
+
# @!attribute [rw] step_seq_num
|
|
86
|
+
# @return [::Integer]
|
|
87
|
+
# Optional. The `TaskServerEvent.seq_num` of the step that opened the rated
|
|
88
|
+
# agent task reply.
|
|
89
|
+
class ConversationInfo
|
|
90
|
+
include ::Google::Protobuf::MessageExts
|
|
91
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# The type of the feedback user gives.
|
|
95
|
+
module FeedbackType
|
|
96
|
+
# Unspecified feedback type.
|
|
97
|
+
FEEDBACK_TYPE_UNSPECIFIED = 0
|
|
98
|
+
|
|
99
|
+
# The user gives a positive feedback.
|
|
100
|
+
LIKE = 1
|
|
101
|
+
|
|
102
|
+
# The user gives a negative feedback.
|
|
103
|
+
DISLIKE = 2
|
|
104
|
+
end
|
|
105
|
+
|
|
106
|
+
# The reason why user gives a negative feedback.
|
|
107
|
+
module Reason
|
|
108
|
+
# Unspecified reason.
|
|
109
|
+
REASON_UNSPECIFIED = 0
|
|
110
|
+
|
|
111
|
+
# The response is inaccurate.
|
|
112
|
+
INACCURATE_RESPONSE = 1
|
|
113
|
+
|
|
114
|
+
# The response is not relevant.
|
|
115
|
+
NOT_RELEVANT = 2
|
|
116
|
+
|
|
117
|
+
# The response is incomprehensive.
|
|
118
|
+
INCOMPREHENSIVE = 3
|
|
119
|
+
|
|
120
|
+
# The response is offensive or unsafe.
|
|
121
|
+
OFFENSIVE_OR_UNSAFE = 4
|
|
122
|
+
|
|
123
|
+
# The response is not well-formatted.
|
|
124
|
+
FORMAT_AND_STYLES = 6
|
|
125
|
+
|
|
126
|
+
# The response is not well-associated with the query.
|
|
127
|
+
BAD_CITATION = 7
|
|
128
|
+
|
|
129
|
+
# The expected canvas was not generated for the response.
|
|
130
|
+
CANVAS_NOT_GENERATED = 8
|
|
131
|
+
|
|
132
|
+
# The generated canvas is of bad quality (e.g. inaccurate, incomplete,
|
|
133
|
+
# poorly formatted).
|
|
134
|
+
CANVAS_QUALITY_BAD = 9
|
|
135
|
+
|
|
136
|
+
# Exporting the generated canvas failed (e.g. download or external
|
|
137
|
+
# export action did not complete successfully).
|
|
138
|
+
CANVAS_EXPORT_FAILED = 10
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Source of the feedback as per integration.
|
|
142
|
+
module FeedbackSource
|
|
143
|
+
# Unspecified feedback source.
|
|
144
|
+
FEEDBACK_SOURCE_UNSPECIFIED = 0
|
|
145
|
+
|
|
146
|
+
# Feedback source is Google Console.
|
|
147
|
+
GOOGLE_CONSOLE = 1
|
|
148
|
+
|
|
149
|
+
# Feedback source is Google Widget.
|
|
150
|
+
GOOGLE_WIDGET = 2
|
|
151
|
+
|
|
152
|
+
# Feedback source is Google Webapp.
|
|
153
|
+
GOOGLE_WEBAPP = 3
|
|
154
|
+
|
|
155
|
+
# Feedback source is Google AgentSpace Mobile app.
|
|
156
|
+
GOOGLE_AGENTSPACE_MOBILE = 4
|
|
157
|
+
|
|
158
|
+
# Feedback source is Google AgentSpace Desktop app.
|
|
159
|
+
GOOGLE_AGENTSPACE_DESKTOP = 5
|
|
160
|
+
end
|
|
161
|
+
end
|
|
162
|
+
end
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
end
|
|
@@ -123,9 +123,27 @@ module Google
|
|
|
123
123
|
# @!attribute [rw] max_output_tokens
|
|
124
124
|
# @return [::Integer]
|
|
125
125
|
# If specified, custom value for max output tokens will be used.
|
|
126
|
+
# @!attribute [rw] provisioned_throughput_setting
|
|
127
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::GenerationSpec::ProvisionedThroughputSetting]
|
|
128
|
+
# Optional. Setting for provisioned throughput.
|
|
126
129
|
class GenerationSpec
|
|
127
130
|
include ::Google::Protobuf::MessageExts
|
|
128
131
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
132
|
+
|
|
133
|
+
# Setting for provisioned throughput.
|
|
134
|
+
module ProvisionedThroughputSetting
|
|
135
|
+
# Default value. If the user has remaining provisioned throughput,
|
|
136
|
+
# provisioned throughput will be used. Otherwise, pay as you go will be
|
|
137
|
+
# used.
|
|
138
|
+
PROVISIONED_THROUGHPUT_SETTING_UNSPECIFIED = 0
|
|
139
|
+
|
|
140
|
+
# Only use provisioned throughput. If the user has no remaining
|
|
141
|
+
# provisioned throughput, an error will be returned.
|
|
142
|
+
PROVISIONED_THROUGHPUT_ONLY = 1
|
|
143
|
+
|
|
144
|
+
# Disables provisioned throughput.
|
|
145
|
+
PAY_AS_YOU_GO_ONLY = 2
|
|
146
|
+
end
|
|
129
147
|
end
|
|
130
148
|
|
|
131
149
|
# Describes the options to customize dynamic retrieval.
|
|
@@ -239,12 +257,26 @@ module Google
|
|
|
239
257
|
# @return [::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentRequest::DynamicRetrievalConfiguration]
|
|
240
258
|
# Optional. Specifies the dynamic retrieval configuration for the given
|
|
241
259
|
# source.
|
|
260
|
+
# @!attribute [rw] exclude_domains
|
|
261
|
+
# @return [::Array<::String>]
|
|
262
|
+
# Optional. List of domains to be excluded from the search results.
|
|
263
|
+
# @!attribute [rw] blocking_confidence
|
|
264
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Citation::PhishBlockThreshold]
|
|
265
|
+
# Optional. Sites with confidence level chosen & above this value will be
|
|
266
|
+
# blocked from the search results.
|
|
242
267
|
class GoogleSearchSource
|
|
243
268
|
include ::Google::Protobuf::MessageExts
|
|
244
269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
245
270
|
end
|
|
246
271
|
|
|
247
272
|
# Params for using enterprise web retrieval as grounding source.
|
|
273
|
+
# @!attribute [rw] exclude_domains
|
|
274
|
+
# @return [::Array<::String>]
|
|
275
|
+
# Optional. List of domains to be excluded from the search results.
|
|
276
|
+
# @!attribute [rw] blocking_confidence
|
|
277
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1::Citation::PhishBlockThreshold]
|
|
278
|
+
# Optional. Sites with confidence level chosen & above this value will be
|
|
279
|
+
# blocked from the search results.
|
|
248
280
|
class EnterpriseWebRetrievalSource
|
|
249
281
|
include ::Google::Protobuf::MessageExts
|
|
250
282
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -320,6 +352,9 @@ module Google
|
|
|
320
352
|
# @!attribute [rw] images
|
|
321
353
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata>]
|
|
322
354
|
# Images from the web search.
|
|
355
|
+
# @!attribute [rw] videos
|
|
356
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::GenerateGroundedContentResponse::Candidate::GroundingMetadata::VideoMetadata>]
|
|
357
|
+
# Videos from the web search.
|
|
323
358
|
class GroundingMetadata
|
|
324
359
|
include ::Google::Protobuf::MessageExts
|
|
325
360
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -444,6 +479,9 @@ module Google
|
|
|
444
479
|
# @!attribute [rw] title
|
|
445
480
|
# @return [::String]
|
|
446
481
|
# The title of the website.
|
|
482
|
+
# @!attribute [rw] site_display_name
|
|
483
|
+
# @return [::String]
|
|
484
|
+
# The display name of the website.
|
|
447
485
|
class WebsiteInfo
|
|
448
486
|
include ::Google::Protobuf::MessageExts
|
|
449
487
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -464,6 +502,15 @@ module Google
|
|
|
464
502
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
465
503
|
end
|
|
466
504
|
end
|
|
505
|
+
|
|
506
|
+
# Metadata about a video from the web search.
|
|
507
|
+
# @!attribute [rw] youtube_external_id
|
|
508
|
+
# @return [::String]
|
|
509
|
+
# The external id of the video.
|
|
510
|
+
class VideoMetadata
|
|
511
|
+
include ::Google::Protobuf::MessageExts
|
|
512
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
513
|
+
end
|
|
467
514
|
end
|
|
468
515
|
end
|
|
469
516
|
end
|
|
@@ -614,6 +661,66 @@ module Google
|
|
|
614
661
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
615
662
|
end
|
|
616
663
|
end
|
|
664
|
+
|
|
665
|
+
# A collection of source attributions for a piece of content.
|
|
666
|
+
# @!attribute [r] citations
|
|
667
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1::Citation>]
|
|
668
|
+
# Output only. List of citations.
|
|
669
|
+
class CitationMetadata
|
|
670
|
+
include ::Google::Protobuf::MessageExts
|
|
671
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
672
|
+
end
|
|
673
|
+
|
|
674
|
+
# Source attributions for content.
|
|
675
|
+
# @!attribute [r] start_index
|
|
676
|
+
# @return [::Integer]
|
|
677
|
+
# Output only. Start index into the content.
|
|
678
|
+
# @!attribute [r] end_index
|
|
679
|
+
# @return [::Integer]
|
|
680
|
+
# Output only. End index into the content.
|
|
681
|
+
# @!attribute [r] uri
|
|
682
|
+
# @return [::String]
|
|
683
|
+
# Output only. Url reference of the attribution.
|
|
684
|
+
# @!attribute [r] title
|
|
685
|
+
# @return [::String]
|
|
686
|
+
# Output only. Title of the attribution.
|
|
687
|
+
# @!attribute [r] license
|
|
688
|
+
# @return [::String]
|
|
689
|
+
# Output only. License of the attribution.
|
|
690
|
+
# @!attribute [r] publication_date
|
|
691
|
+
# @return [::Google::Type::Date]
|
|
692
|
+
# Output only. Publication date of the attribution.
|
|
693
|
+
class Citation
|
|
694
|
+
include ::Google::Protobuf::MessageExts
|
|
695
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
696
|
+
|
|
697
|
+
# These are available confidence level user can set to block malicious urls
|
|
698
|
+
# with chosen confidence and above. For understanding different confidence of
|
|
699
|
+
# webrisk, please refer to
|
|
700
|
+
# https://cloud.google.com/web-risk/docs/reference/rpc/google.cloud.webrisk.v1eap1#confidencelevel
|
|
701
|
+
module PhishBlockThreshold
|
|
702
|
+
# Defaults to unspecified.
|
|
703
|
+
PHISH_BLOCK_THRESHOLD_UNSPECIFIED = 0
|
|
704
|
+
|
|
705
|
+
# Blocks Low and above confidence URL that is risky.
|
|
706
|
+
BLOCK_LOW_AND_ABOVE = 30
|
|
707
|
+
|
|
708
|
+
# Blocks Medium and above confidence URL that is risky.
|
|
709
|
+
BLOCK_MEDIUM_AND_ABOVE = 40
|
|
710
|
+
|
|
711
|
+
# Blocks High and above confidence URL that is risky.
|
|
712
|
+
BLOCK_HIGH_AND_ABOVE = 50
|
|
713
|
+
|
|
714
|
+
# Blocks Higher and above confidence URL that is risky.
|
|
715
|
+
BLOCK_HIGHER_AND_ABOVE = 55
|
|
716
|
+
|
|
717
|
+
# Blocks Very high and above confidence URL that is risky.
|
|
718
|
+
BLOCK_VERY_HIGH_AND_ABOVE = 60
|
|
719
|
+
|
|
720
|
+
# Blocks Extremely high confidence URL that is risky.
|
|
721
|
+
BLOCK_ONLY_EXTREMELY_HIGH = 100
|
|
722
|
+
end
|
|
723
|
+
end
|
|
617
724
|
end
|
|
618
725
|
end
|
|
619
726
|
end
|
|
@@ -71,6 +71,9 @@ module Google
|
|
|
71
71
|
# @return [::String]
|
|
72
72
|
# Required. Identity outside the customer identity provider.
|
|
73
73
|
# The length limit of external identity will be of 100 characters.
|
|
74
|
+
# @!attribute [rw] external_identity_name
|
|
75
|
+
# @return [::String]
|
|
76
|
+
# Optional. The name of the external identity.
|
|
74
77
|
class IdentityMappingEntry
|
|
75
78
|
include ::Google::Protobuf::MessageExts
|
|
76
79
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -494,10 +494,10 @@ module Google
|
|
|
494
494
|
# @!attribute [rw] create_time
|
|
495
495
|
# @return [::Google::Protobuf::Timestamp]
|
|
496
496
|
# Operation create time.
|
|
497
|
-
# @!attribute [
|
|
497
|
+
# @!attribute [r] update_time
|
|
498
498
|
# @return [::Google::Protobuf::Timestamp]
|
|
499
|
-
# Operation last update time. If the operation is done, this is
|
|
500
|
-
# finish time.
|
|
499
|
+
# Output only. Operation last update time. If the operation is done, this is
|
|
500
|
+
# also the finish time.
|
|
501
501
|
# @!attribute [rw] success_count
|
|
502
502
|
# @return [::Integer]
|
|
503
503
|
# Count of entries that were processed successfully.
|
|
@@ -656,7 +656,6 @@ module Google
|
|
|
656
656
|
# must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
|
|
657
657
|
# * {::Google::Cloud::DiscoveryEngine::V1::SpannerSource SpannerSource}.
|
|
658
658
|
# * {::Google::Cloud::DiscoveryEngine::V1::CloudSqlSource CloudSqlSource}.
|
|
659
|
-
# * {::Google::Cloud::DiscoveryEngine::V1::FirestoreSource FirestoreSource}.
|
|
660
659
|
# * {::Google::Cloud::DiscoveryEngine::V1::BigtableSource BigtableSource}.
|
|
661
660
|
# @!attribute [rw] force_refresh_content
|
|
662
661
|
# @return [::Boolean]
|
|
@@ -691,6 +690,9 @@ module Google
|
|
|
691
690
|
|
|
692
691
|
# Calculates diff and replaces the entire document dataset. Existing
|
|
693
692
|
# documents may be deleted if they are not present in the source location.
|
|
693
|
+
# When using this mode, there won't be any downtime on the dataset
|
|
694
|
+
# targeted. Any document that should remain unchanged or that should be
|
|
695
|
+
# updated will continue serving while the operation is running.
|
|
694
696
|
FULL = 2
|
|
695
697
|
end
|
|
696
698
|
end
|