google-cloud-discovery_engine-v1beta 0.27.0 → 0.28.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 +4 -4
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/client.rb +591 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/paths.rb +50 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest/client.rb +534 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1beta/acl_config_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/client.rb +1058 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/credentials.rb +50 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/paths.rb +230 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest/client.rb +975 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest/service_stub.rb +444 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1beta/assistant_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/client.rb +823 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/operations.rb +843 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/paths.rb +135 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/client.rb +752 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/operations.rb +1152 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest/service_stub.rb +341 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/cmek_config_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/client.rb +146 -12
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/credentials.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +139 -12
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/discovery_engine/v1beta/control_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/control_service/paths.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +210 -10
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/paths.rb +46 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/client.rb +205 -10
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/rest/service_stub.rb +72 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/client.rb +11 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/paths.rb +104 -0
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/client.rb +11 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +8 -3
- data/lib/google/cloud/discovery_engine/v1beta/document_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +8 -3
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +224 -6
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/paths.rb +104 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/client.rb +210 -6
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/client.rb +11 -9
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/paths.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/client.rb +11 -9
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/client.rb +1180 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/operations.rb +843 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/paths.rb +154 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/client.rb +1088 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/operations.rb +1152 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest/service_stub.rb +511 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/identity_mapping_store_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/client.rb +1050 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/paths.rb +86 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest/client.rb +965 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest/service_stub.rb +451 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1beta/license_config_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1beta/project_service/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/rank_service/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1beta/rank_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/rank_service/rest/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/rest/client.rb +2 -2
- data/lib/google/cloud/discovery_engine/v1beta/rest.rb +10 -3
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +194 -38
- data/lib/google/cloud/discovery_engine/v1beta/search_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1beta/search_service/paths.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/rest/client.rb +194 -38
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +207 -3
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/client.rb +193 -3
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/rest/service_stub.rb +153 -0
- data/lib/google/cloud/discovery_engine/v1beta/session_service/client.rb +25 -9
- data/lib/google/cloud/discovery_engine/v1beta/session_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1beta/session_service/paths.rb +46 -0
- data/lib/google/cloud/discovery_engine/v1beta/session_service/rest/client.rb +25 -9
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +1 -3
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +1 -3
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/service_stub.rb +7 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/client.rb +23 -11
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +23 -11
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +21 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/service_stub.rb +8 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/client.rb +768 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/operations.rb +843 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/paths.rb +71 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/client.rb +704 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/operations.rb +1152 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest/service_stub.rb +265 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service/rest.rb +53 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_license_service.rb +56 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/client.rb +590 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/credentials.rb +49 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/paths.rb +71 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest/client.rb +533 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest/service_stub.rb +204 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service/rest.rb +52 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_store_service.rb +55 -0
- data/lib/google/cloud/discovery_engine/v1beta/version.rb +1 -1
- data/lib/google/cloud/discovery_engine/v1beta.rb +11 -4
- data/lib/google/cloud/discoveryengine/v1beta/acl_config_pb.rb +25 -0
- data/lib/google/cloud/discoveryengine/v1beta/acl_config_service_pb.rb +28 -0
- data/lib/google/cloud/discoveryengine/v1beta/acl_config_service_services_pb.rb +49 -0
- data/lib/google/cloud/discoveryengine/v1beta/agent_gateway_setting_pb.rb +25 -0
- data/lib/google/cloud/discoveryengine/v1beta/answer_pb.rb +6 -1
- data/lib/google/cloud/discoveryengine/v1beta/assist_answer_pb.rb +48 -0
- data/lib/google/cloud/discoveryengine/v1beta/assistant_pb.rb +35 -0
- data/lib/google/cloud/discoveryengine/v1beta/assistant_service_pb.rb +48 -0
- data/lib/google/cloud/discoveryengine/v1beta/assistant_service_services_pb.rb +56 -0
- data/lib/google/cloud/discoveryengine/v1beta/chunk_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1beta/cmek_config_service_pb.rb +39 -0
- data/lib/google/cloud/discoveryengine/v1beta/cmek_config_service_services_pb.rb +55 -0
- data/lib/google/cloud/discoveryengine/v1beta/common_pb.rb +12 -1
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1beta/completion_service_services_pb.rb +6 -0
- data/lib/google/cloud/discoveryengine/v1beta/control_pb.rb +6 -1
- data/lib/google/cloud/discoveryengine/v1beta/control_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_pb.rb +12 -1
- data/lib/google/cloud/discoveryengine/v1beta/conversational_search_service_services_pb.rb +8 -0
- data/lib/google/cloud/discoveryengine/v1beta/data_store_pb.rb +11 -1
- data/lib/google/cloud/discoveryengine/v1beta/data_store_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/document_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1beta/document_processing_config_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/document_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/engine_pb.rb +17 -1
- data/lib/google/cloud/discoveryengine/v1beta/engine_service_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1beta/engine_service_services_pb.rb +28 -6
- data/lib/google/cloud/discoveryengine/v1beta/evaluation_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/evaluation_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/feedback_pb.rb +28 -0
- data/lib/google/cloud/discoveryengine/v1beta/grounded_generation_service_pb.rb +11 -1
- data/lib/google/cloud/discoveryengine/v1beta/grounding_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_pb.rb +26 -0
- data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_service_pb.rb +44 -0
- data/lib/google/cloud/discoveryengine/v1beta/identity_mapping_store_service_services_pb.rb +58 -0
- data/lib/google/cloud/discoveryengine/v1beta/import_config_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/license_config_pb.rb +27 -0
- data/lib/google/cloud/discoveryengine/v1beta/license_config_service_pb.rb +36 -0
- data/lib/google/cloud/discoveryengine/v1beta/license_config_service_services_pb.rb +65 -0
- data/lib/google/cloud/discoveryengine/v1beta/logging_pb.rb +24 -0
- data/lib/google/cloud/discoveryengine/v1beta/project_pb.rb +10 -1
- data/lib/google/cloud/discoveryengine/v1beta/project_service_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/rank_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/recommendation_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/safety_pb.rb +26 -0
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/sample_query_set_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/schema_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/search_service_pb.rb +18 -2
- data/lib/google/cloud/discoveryengine/v1beta/search_tuning_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_pb.rb +3 -1
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_pb.rb +4 -1
- data/lib/google/cloud/discoveryengine/v1beta/serving_config_service_services_pb.rb +14 -0
- data/lib/google/cloud/discoveryengine/v1beta/session_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/session_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/site_search_engine_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_event_pb.rb +2 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_event_service_pb.rb +1 -1
- data/lib/google/cloud/discoveryengine/v1beta/user_license_pb.rb +27 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_license_service_pb.rb +38 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_license_service_services_pb.rb +52 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_store_pb.rb +24 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_store_service_pb.rb +29 -0
- data/lib/google/cloud/discoveryengine/v1beta/user_store_service_services_pb.rb +47 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/acl_config.rb +43 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/acl_config_service.rb +49 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/agent_gateway_setting.rb +53 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/answer.rb +117 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/assist_answer.rb +401 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/assistant.rb +253 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/assistant_service.rb +368 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/chunk.rb +60 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/cmek_config_service.rb +228 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/common.rb +223 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/completion_service.rb +115 -13
- data/proto_docs/google/cloud/discoveryengine/v1beta/control.rb +119 -6
- data/proto_docs/google/cloud/discoveryengine/v1beta/conversational_search_service.rb +178 -8
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store.rb +218 -9
- data/proto_docs/google/cloud/discoveryengine/v1beta/data_store_service.rb +12 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/document.rb +115 -10
- data/proto_docs/google/cloud/discoveryengine/v1beta/document_processing_config.rb +30 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/document_service.rb +1 -1
- data/proto_docs/google/cloud/discoveryengine/v1beta/engine.rb +388 -8
- data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation.rb +2 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/evaluation_service.rb +13 -11
- data/proto_docs/google/cloud/discoveryengine/v1beta/feedback.rb +147 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/grounded_generation_service.rb +190 -9
- data/proto_docs/google/cloud/discoveryengine/v1beta/grounding.rb +9 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/identity_mapping_store.rb +84 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/identity_mapping_store_service.rb +280 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/import_config.rb +25 -5
- data/proto_docs/google/cloud/discoveryengine/v1beta/license_config.rb +101 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/license_config_service.rb +224 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/logging.rb +40 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/project.rb +214 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/project_service.rb +18 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/purge_config.rb +9 -5
- data/proto_docs/google/cloud/discoveryengine/v1beta/rank_service.rb +4 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/recommendation_service.rb +2 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/safety.rb +108 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/search_service.rb +461 -69
- data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config.rb +50 -3
- data/proto_docs/google/cloud/discoveryengine/v1beta/serving_config_service.rb +30 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/session.rb +21 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine.rb +8 -2
- data/proto_docs/google/cloud/discoveryengine/v1beta/site_search_engine_service.rb +7 -3
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb +39 -3
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_event_service.rb +14 -6
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_license.rb +100 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_license_service.rb +202 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_store.rb +67 -0
- data/proto_docs/google/cloud/discoveryengine/v1beta/user_store_service.rb +54 -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/expr.rb +75 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- metadata +118 -1
|
@@ -42,6 +42,25 @@ module Google
|
|
|
42
42
|
# @!attribute [rw] query
|
|
43
43
|
# @return [::String]
|
|
44
44
|
# Raw search query.
|
|
45
|
+
# @!attribute [rw] page_categories
|
|
46
|
+
# @return [::Array<::String>]
|
|
47
|
+
# Optional. The categories associated with a category page. Must be set for
|
|
48
|
+
# category navigation queries to achieve good search quality. The format
|
|
49
|
+
# should be the same as
|
|
50
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::PageInfo#page_category PageInfo.page_category}.
|
|
51
|
+
# This field is the equivalent of the query for browse (navigation) queries.
|
|
52
|
+
# It's used by the browse model when the query is empty.
|
|
53
|
+
#
|
|
54
|
+
# If the field is empty, it will not be used by the browse model.
|
|
55
|
+
# If the field contains more than one element, only the first element will
|
|
56
|
+
# be used.
|
|
57
|
+
#
|
|
58
|
+
# To represent full path of a category, use '>' character to separate
|
|
59
|
+
# different hierarchies. If '>' is part of the category name, replace it with
|
|
60
|
+
# other character(s).
|
|
61
|
+
# For example, `Graphics Cards > RTX>4090 > Founders Edition` where "RTX >
|
|
62
|
+
# 4090" represents one level, can be rewritten as `Graphics Cards > RTX_4090
|
|
63
|
+
# > Founders Edition`
|
|
45
64
|
# @!attribute [rw] image_query
|
|
46
65
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ImageQuery]
|
|
47
66
|
# Raw image query.
|
|
@@ -76,6 +95,8 @@ module Google
|
|
|
76
95
|
# is unset.
|
|
77
96
|
#
|
|
78
97
|
# If this field is negative, an `INVALID_ARGUMENT` is returned.
|
|
98
|
+
#
|
|
99
|
+
# A large offset may be capped to a reasonable threshold.
|
|
79
100
|
# @!attribute [rw] one_box_page_size
|
|
80
101
|
# @return [::Integer]
|
|
81
102
|
# The maximum number of results to return for OneBox.
|
|
@@ -83,10 +104,19 @@ module Google
|
|
|
83
104
|
# Default number is 10.
|
|
84
105
|
# @!attribute [rw] data_store_specs
|
|
85
106
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::DataStoreSpec>]
|
|
86
|
-
#
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
#
|
|
107
|
+
# Specifications that define the specific
|
|
108
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore}s to be searched,
|
|
109
|
+
# along with configurations for those data stores. This is only considered
|
|
110
|
+
# for {::Google::Cloud::DiscoveryEngine::V1beta::Engine Engine}s with multiple
|
|
111
|
+
# data stores. For engines with a single data store, the specs directly under
|
|
112
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest SearchRequest} should
|
|
113
|
+
# be used.
|
|
114
|
+
# @!attribute [rw] num_results_per_data_store
|
|
115
|
+
# @return [::Integer]
|
|
116
|
+
# Optional. The maximum number of results to retrieve from each data store.
|
|
117
|
+
# If not specified, it will use the
|
|
118
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::DataStoreSpec#num_results SearchRequest.DataStoreSpec.num_results}
|
|
119
|
+
# if provided, otherwise there is no limit.
|
|
90
120
|
# @!attribute [rw] filter
|
|
91
121
|
# @return [::String]
|
|
92
122
|
# The filter syntax consists of an expression language for constructing a
|
|
@@ -135,7 +165,7 @@ module Google
|
|
|
135
165
|
# @!attribute [rw] user_info
|
|
136
166
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::UserInfo]
|
|
137
167
|
# Information about the end user.
|
|
138
|
-
# Highly recommended for analytics.
|
|
168
|
+
# Highly recommended for analytics and personalization.
|
|
139
169
|
# {::Google::Cloud::DiscoveryEngine::V1beta::UserInfo#user_agent UserInfo.user_agent}
|
|
140
170
|
# is used to deduce `device_type` for analytics.
|
|
141
171
|
# @!attribute [rw] language_code
|
|
@@ -189,10 +219,10 @@ module Google
|
|
|
189
219
|
# which spell correction takes effect.
|
|
190
220
|
# @!attribute [rw] user_pseudo_id
|
|
191
221
|
# @return [::String]
|
|
192
|
-
# A unique identifier for tracking visitors. For example, this
|
|
193
|
-
# implemented with an HTTP cookie, which should be able to uniquely
|
|
194
|
-
# a visitor on a single device. This unique identifier should not
|
|
195
|
-
# the visitor logs in or out of the website.
|
|
222
|
+
# Optional. A unique identifier for tracking visitors. For example, this
|
|
223
|
+
# could be implemented with an HTTP cookie, which should be able to uniquely
|
|
224
|
+
# identify a visitor on a single device. This unique identifier should not
|
|
225
|
+
# change if the visitor logs in or out of the website.
|
|
196
226
|
#
|
|
197
227
|
# This field should NOT have a fixed value such as `unknown_visitor`.
|
|
198
228
|
#
|
|
@@ -220,8 +250,8 @@ module Google
|
|
|
220
250
|
# {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#embedding_config ServingConfig.EmbeddingConfig.field_path}.
|
|
221
251
|
# @!attribute [rw] ranking_expression
|
|
222
252
|
# @return [::String]
|
|
223
|
-
# The ranking expression controls the customized ranking on
|
|
224
|
-
# documents. This overrides
|
|
253
|
+
# Optional. The ranking expression controls the customized ranking on
|
|
254
|
+
# retrieval documents. This overrides
|
|
225
255
|
# {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#ranking_expression ServingConfig.ranking_expression}.
|
|
226
256
|
# The syntax and supported features depend on the
|
|
227
257
|
# `ranking_expression_backend` value. If `ranking_expression_backend` is not
|
|
@@ -310,9 +340,18 @@ module Google
|
|
|
310
340
|
# Google model to determine the keyword-based overlap between the query and
|
|
311
341
|
# the document.
|
|
312
342
|
# * `base_rank`: the default rank of the result
|
|
343
|
+
# * `media_actor_match`: whether the media actor matches the query
|
|
344
|
+
# * `media_director_match`: whether the media director matches the query
|
|
345
|
+
# * `media_genre_match`: whether the media genre matches the query
|
|
346
|
+
# * `media_language_match`: whether the media language matches the query
|
|
347
|
+
# * `media_title_match`: whether the media title matches the query
|
|
348
|
+
# * `media_prefix_similarity_rank`: prefix similarity rank for media
|
|
349
|
+
# results
|
|
350
|
+
# * `media_semantic_similarity_rank`: semantic similarity rank for media
|
|
351
|
+
# results
|
|
313
352
|
# @!attribute [rw] ranking_expression_backend
|
|
314
353
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RankingExpressionBackend]
|
|
315
|
-
# The backend to use for the ranking expression evaluation.
|
|
354
|
+
# Optional. The backend to use for the ranking expression evaluation.
|
|
316
355
|
# @!attribute [rw] safe_search
|
|
317
356
|
# @return [::Boolean]
|
|
318
357
|
# Whether to turn on safe search. This is only supported for
|
|
@@ -338,6 +377,10 @@ module Google
|
|
|
338
377
|
# for more details.
|
|
339
378
|
# @!attribute [rw] natural_language_query_understanding_spec
|
|
340
379
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec]
|
|
380
|
+
# Optional. Config for natural language query understanding capabilities,
|
|
381
|
+
# such as extracting structured field filters from the query. Refer to [this
|
|
382
|
+
# documentation](https://cloud.google.com/generative-ai-app-builder/docs/natural-language-queries)
|
|
383
|
+
# for more information.
|
|
341
384
|
# If `naturalLanguageQueryUnderstandingSpec` is not specified, no additional
|
|
342
385
|
# natural language query understanding will be done.
|
|
343
386
|
# @!attribute [rw] search_as_you_type_spec
|
|
@@ -345,6 +388,21 @@ module Google
|
|
|
345
388
|
# Search as you type configuration. Only supported for the
|
|
346
389
|
# {::Google::Cloud::DiscoveryEngine::V1beta::IndustryVertical::MEDIA IndustryVertical.MEDIA}
|
|
347
390
|
# vertical.
|
|
391
|
+
# @!attribute [rw] display_spec
|
|
392
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::DisplaySpec]
|
|
393
|
+
# Optional. Config for display feature, like match highlighting on search
|
|
394
|
+
# results.
|
|
395
|
+
# @!attribute [rw] crowding_specs
|
|
396
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::CrowdingSpec>]
|
|
397
|
+
# Optional. Crowding specifications for improving result diversity.
|
|
398
|
+
# If multiple CrowdingSpecs are specified, crowding will be evaluated on
|
|
399
|
+
# each unique combination of the `field` values, and max_count will be the
|
|
400
|
+
# maximum value of `max_count` across all CrowdingSpecs.
|
|
401
|
+
# For example, if the first CrowdingSpec has `field` = "color" and
|
|
402
|
+
# `max_count` = 3, and the second CrowdingSpec has `field` = "size" and
|
|
403
|
+
# `max_count` = 2, then after 3 documents that share the same color AND size
|
|
404
|
+
# have been returned, subsequent ones should be
|
|
405
|
+
# removed or demoted.
|
|
348
406
|
# @!attribute [rw] session
|
|
349
407
|
# @return [::String]
|
|
350
408
|
# The session resource name. Optional.
|
|
@@ -363,10 +421,6 @@ module Google
|
|
|
363
421
|
# Call /answer API with the session ID generated in the first call.
|
|
364
422
|
# Here, the answer generation happens in the context of the search
|
|
365
423
|
# results from the first search call.
|
|
366
|
-
#
|
|
367
|
-
# Multi-turn Search feature is currently at private GA stage. Please use
|
|
368
|
-
# v1alpha or v1beta version instead before we launch this feature to public
|
|
369
|
-
# GA. Or ask for allowlisting through Google Support team.
|
|
370
424
|
# @!attribute [rw] session_spec
|
|
371
425
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SessionSpec]
|
|
372
426
|
# Session specification.
|
|
@@ -374,11 +428,25 @@ module Google
|
|
|
374
428
|
# Can be used only when `session` is set.
|
|
375
429
|
# @!attribute [rw] relevance_threshold
|
|
376
430
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceThreshold]
|
|
377
|
-
# The relevance threshold of the search results.
|
|
431
|
+
# The global relevance threshold of the search results.
|
|
378
432
|
#
|
|
379
|
-
#
|
|
433
|
+
# Defaults to Google defined threshold, leveraging a balance of
|
|
380
434
|
# precision and recall to deliver both highly accurate results and
|
|
381
435
|
# comprehensive coverage of relevant information.
|
|
436
|
+
#
|
|
437
|
+
# If more granular relevance filtering is required, use the
|
|
438
|
+
# `relevance_filter_spec` instead.
|
|
439
|
+
#
|
|
440
|
+
# This feature is not supported for healthcare search.
|
|
441
|
+
# @!attribute [rw] relevance_filter_spec
|
|
442
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec]
|
|
443
|
+
# Optional. The granular relevance filtering specification.
|
|
444
|
+
#
|
|
445
|
+
# If not specified, the global `relevance_threshold` will be used for all
|
|
446
|
+
# sub-searches. If specified, this overrides the global
|
|
447
|
+
# `relevance_threshold` to use thresholds on a per sub-search basis.
|
|
448
|
+
#
|
|
449
|
+
# This feature is currently supported only for custom and site search.
|
|
382
450
|
# @!attribute [rw] personalization_spec
|
|
383
451
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::PersonalizationSpec]
|
|
384
452
|
# The specification for personalization.
|
|
@@ -391,6 +459,25 @@ module Google
|
|
|
391
459
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#personalization_spec SearchRequest.personalization_spec}
|
|
392
460
|
# overrides
|
|
393
461
|
# {::Google::Cloud::DiscoveryEngine::V1beta::ServingConfig#personalization_spec ServingConfig.personalization_spec}.
|
|
462
|
+
# @!attribute [rw] relevance_score_spec
|
|
463
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceScoreSpec]
|
|
464
|
+
# Optional. The specification for returning the relevance score.
|
|
465
|
+
# @!attribute [rw] search_addon_spec
|
|
466
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::SearchAddonSpec]
|
|
467
|
+
# Optional. SearchAddonSpec is used to disable add-ons for search as per new
|
|
468
|
+
# repricing model.
|
|
469
|
+
# This field is only supported for search requests.
|
|
470
|
+
# @!attribute [rw] custom_ranking_params
|
|
471
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::CustomRankingParams]
|
|
472
|
+
# Optional. Optional configuration for the Custom Ranking feature.
|
|
473
|
+
# @!attribute [rw] entity
|
|
474
|
+
# @return [::String]
|
|
475
|
+
# Optional. The entity for customers that may run multiple different
|
|
476
|
+
# entities, domains, sites or regions, for example, "Google US", "Google
|
|
477
|
+
# Ads", "Waymo", "google.com", "youtube.com", etc. If this is set, it should
|
|
478
|
+
# be exactly matched with
|
|
479
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::UserEvent#entity UserEvent.entity} to
|
|
480
|
+
# get search results boosted by entity.
|
|
394
481
|
class SearchRequest
|
|
395
482
|
include ::Google::Protobuf::MessageExts
|
|
396
483
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -425,6 +512,20 @@ module Google
|
|
|
425
512
|
# Optional. Boost specification to boost certain documents.
|
|
426
513
|
# For more information on boosting, see
|
|
427
514
|
# [Boosting](https://cloud.google.com/generative-ai-app-builder/docs/boost-search-results)
|
|
515
|
+
# @!attribute [rw] custom_search_operators
|
|
516
|
+
# @return [::String]
|
|
517
|
+
# Optional. Custom search operators which if specified will be used to
|
|
518
|
+
# filter results from workspace data stores. For more information on custom
|
|
519
|
+
# search operators, see
|
|
520
|
+
# [SearchOperators](https://support.google.com/cloudsearch/answer/6172299).
|
|
521
|
+
# @!attribute [rw] num_results
|
|
522
|
+
# @return [::Integer]
|
|
523
|
+
# Optional. The maximum number of results to retrieve from this data store.
|
|
524
|
+
# If not specified, it will use the
|
|
525
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#num_results_per_data_store SearchRequest.num_results_per_data_store}
|
|
526
|
+
# if provided, otherwise there is no limit. If both this field and
|
|
527
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest#num_results_per_data_store SearchRequest.num_results_per_data_store}
|
|
528
|
+
# are specified, this field will be used.
|
|
428
529
|
class DataStoreSpec
|
|
429
530
|
include ::Google::Protobuf::MessageExts
|
|
430
531
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -448,7 +549,6 @@ module Google
|
|
|
448
549
|
# @return [::Array<::String>]
|
|
449
550
|
# List of keys to exclude when faceting.
|
|
450
551
|
#
|
|
451
|
-
#
|
|
452
552
|
# By default,
|
|
453
553
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::FacetSpec::FacetKey#key FacetKey.key}
|
|
454
554
|
# is not excluded from the filter unless it is listed in this field.
|
|
@@ -574,7 +674,7 @@ module Google
|
|
|
574
674
|
# @!attribute [rw] condition_boost_specs
|
|
575
675
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::BoostSpec::ConditionBoostSpec>]
|
|
576
676
|
# Condition boost specifications. If a document matches multiple conditions
|
|
577
|
-
# in the
|
|
677
|
+
# in the specifications, boost scores from these specifications are all
|
|
578
678
|
# applied and combined in a non-linear way. Maximum number of
|
|
579
679
|
# specifications is 20.
|
|
580
680
|
class BoostSpec
|
|
@@ -894,6 +994,9 @@ module Google
|
|
|
894
994
|
# competing company's CEO". If this field is set to `true`, we skip
|
|
895
995
|
# generating summaries for jail-breaking queries and return fallback
|
|
896
996
|
# messages instead.
|
|
997
|
+
# @!attribute [rw] multimodal_spec
|
|
998
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec::MultiModalSpec]
|
|
999
|
+
# Optional. Multimodal specification.
|
|
897
1000
|
# @!attribute [rw] model_prompt_spec
|
|
898
1001
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec::ModelPromptSpec]
|
|
899
1002
|
# If specified, the spec will be used to modify the prompt provided to
|
|
@@ -919,6 +1022,34 @@ module Google
|
|
|
919
1022
|
include ::Google::Protobuf::MessageExts
|
|
920
1023
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
921
1024
|
|
|
1025
|
+
# Multimodal specification: Will return an image from specified source.
|
|
1026
|
+
# If multiple sources are specified, the pick is a quality based
|
|
1027
|
+
# decision.
|
|
1028
|
+
# @!attribute [rw] image_source
|
|
1029
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec::MultiModalSpec::ImageSource]
|
|
1030
|
+
# Optional. Source of image returned in the answer.
|
|
1031
|
+
class MultiModalSpec
|
|
1032
|
+
include ::Google::Protobuf::MessageExts
|
|
1033
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1034
|
+
|
|
1035
|
+
# Specifies the image source.
|
|
1036
|
+
module ImageSource
|
|
1037
|
+
# Unspecified image source (multimodal feature is disabled by
|
|
1038
|
+
# default).
|
|
1039
|
+
IMAGE_SOURCE_UNSPECIFIED = 0
|
|
1040
|
+
|
|
1041
|
+
# Behavior when service determines the pick from all available
|
|
1042
|
+
# sources.
|
|
1043
|
+
ALL_AVAILABLE_SOURCES = 1
|
|
1044
|
+
|
|
1045
|
+
# Includes image from corpus in the answer.
|
|
1046
|
+
CORPUS_IMAGE_ONLY = 2
|
|
1047
|
+
|
|
1048
|
+
# Triggers figure generation in the answer.
|
|
1049
|
+
FIGURE_GENERATION_ONLY = 3
|
|
1050
|
+
end
|
|
1051
|
+
end
|
|
1052
|
+
|
|
922
1053
|
# Specification of the prompt to use with the model.
|
|
923
1054
|
# @!attribute [rw] preamble
|
|
924
1055
|
# @return [::String]
|
|
@@ -1037,7 +1168,8 @@ module Google
|
|
|
1037
1168
|
DOCUMENTS = 1
|
|
1038
1169
|
|
|
1039
1170
|
# Returns chunks in the search result. Only available if the
|
|
1040
|
-
#
|
|
1171
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig#chunking_config DocumentProcessingConfig.chunking_config}
|
|
1172
|
+
# is specified.
|
|
1041
1173
|
CHUNKS = 2
|
|
1042
1174
|
end
|
|
1043
1175
|
end
|
|
@@ -1069,22 +1201,41 @@ module Google
|
|
|
1069
1201
|
# @!attribute [rw] filter_extraction_condition
|
|
1070
1202
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec::FilterExtractionCondition]
|
|
1071
1203
|
# The condition under which filter extraction should occur.
|
|
1072
|
-
#
|
|
1204
|
+
# Server behavior defaults to `DISABLED`.
|
|
1073
1205
|
# @!attribute [rw] geo_search_query_detection_field_names
|
|
1074
1206
|
# @return [::Array<::String>]
|
|
1075
1207
|
# Field names used for location-based filtering, where geolocation filters
|
|
1076
1208
|
# are detected in natural language search queries.
|
|
1077
1209
|
# Only valid when the FilterExtractionCondition is set to `ENABLED`.
|
|
1078
|
-
#
|
|
1079
|
-
#
|
|
1080
|
-
#
|
|
1210
|
+
# @!attribute [rw] extracted_filter_behavior
|
|
1211
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec::ExtractedFilterBehavior]
|
|
1212
|
+
# Optional. Controls behavior of how extracted filters are applied to the
|
|
1213
|
+
# search. The default behavior depends on the request. For single datastore
|
|
1214
|
+
# structured search, the default is `HARD_FILTER`. For multi-datastore
|
|
1215
|
+
# search, the default behavior is `SOFT_BOOST`.
|
|
1216
|
+
# Location-based filters are always applied as hard filters, and the
|
|
1217
|
+
# `SOFT_BOOST` setting will not affect them.
|
|
1218
|
+
# This field is only used if
|
|
1219
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec::FilterExtractionCondition SearchRequest.NaturalLanguageQueryUnderstandingSpec.FilterExtractionCondition}
|
|
1220
|
+
# is set to
|
|
1221
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::NaturalLanguageQueryUnderstandingSpec::FilterExtractionCondition::ENABLED FilterExtractionCondition.ENABLED}.
|
|
1222
|
+
# @!attribute [rw] allowed_field_names
|
|
1223
|
+
# @return [::Array<::String>]
|
|
1224
|
+
# Optional. Allowlist of fields that can be used for natural language
|
|
1225
|
+
# filter extraction. By default, if this is unspecified, all indexable
|
|
1226
|
+
# fields are eligible for natural language filter extraction (but are not
|
|
1227
|
+
# guaranteed to be used). If any fields are specified in
|
|
1228
|
+
# allowed_field_names, only the fields that are both marked as indexable in
|
|
1229
|
+
# the schema and specified in the allowlist will be eligible for natural
|
|
1230
|
+
# language filter extraction. Note: for multi-datastore search, this is not
|
|
1231
|
+
# yet supported, and will be ignored.
|
|
1081
1232
|
class NaturalLanguageQueryUnderstandingSpec
|
|
1082
1233
|
include ::Google::Protobuf::MessageExts
|
|
1083
1234
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1084
1235
|
|
|
1085
1236
|
# Enum describing under which condition filter extraction should occur.
|
|
1086
1237
|
module FilterExtractionCondition
|
|
1087
|
-
# Server behavior defaults to
|
|
1238
|
+
# Server behavior defaults to `DISABLED`.
|
|
1088
1239
|
CONDITION_UNSPECIFIED = 0
|
|
1089
1240
|
|
|
1090
1241
|
# Disables NL filter extraction.
|
|
@@ -1093,6 +1244,24 @@ module Google
|
|
|
1093
1244
|
# Enables NL filter extraction.
|
|
1094
1245
|
ENABLED = 2
|
|
1095
1246
|
end
|
|
1247
|
+
|
|
1248
|
+
# Enum describing how extracted filters are applied to the search.
|
|
1249
|
+
module ExtractedFilterBehavior
|
|
1250
|
+
# `EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED` will use the default behavior
|
|
1251
|
+
# for extracted filters. For single datastore search, the default is to
|
|
1252
|
+
# apply as hard filters. For multi-datastore search, the default is to
|
|
1253
|
+
# apply as soft boosts.
|
|
1254
|
+
EXTRACTED_FILTER_BEHAVIOR_UNSPECIFIED = 0
|
|
1255
|
+
|
|
1256
|
+
# Applies all extracted filters as hard filters on the results. Results
|
|
1257
|
+
# that do not pass the extracted filters will not be returned in the
|
|
1258
|
+
# result set.
|
|
1259
|
+
HARD_FILTER = 1
|
|
1260
|
+
|
|
1261
|
+
# Applies all extracted filters as soft boosts. Results that pass the
|
|
1262
|
+
# filters will be boosted up to higher ranks in the result set.
|
|
1263
|
+
SOFT_BOOST = 2
|
|
1264
|
+
end
|
|
1096
1265
|
end
|
|
1097
1266
|
|
|
1098
1267
|
# Specification for search as you type in search requests.
|
|
@@ -1123,11 +1292,67 @@ module Google
|
|
|
1123
1292
|
end
|
|
1124
1293
|
end
|
|
1125
1294
|
|
|
1295
|
+
# Specifies features for display, like match highlighting.
|
|
1296
|
+
# @!attribute [rw] match_highlighting_condition
|
|
1297
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::DisplaySpec::MatchHighlightingCondition]
|
|
1298
|
+
# The condition under which match highlighting should occur.
|
|
1299
|
+
class DisplaySpec
|
|
1300
|
+
include ::Google::Protobuf::MessageExts
|
|
1301
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1302
|
+
|
|
1303
|
+
# Enum describing under which condition match highlighting should occur.
|
|
1304
|
+
module MatchHighlightingCondition
|
|
1305
|
+
# Server behavior is the same as `MATCH_HIGHLIGHTING_DISABLED`.
|
|
1306
|
+
MATCH_HIGHLIGHTING_CONDITION_UNSPECIFIED = 0
|
|
1307
|
+
|
|
1308
|
+
# Disables match highlighting on all documents.
|
|
1309
|
+
MATCH_HIGHLIGHTING_DISABLED = 1
|
|
1310
|
+
|
|
1311
|
+
# Enables match highlighting on all documents.
|
|
1312
|
+
MATCH_HIGHLIGHTING_ENABLED = 2
|
|
1313
|
+
end
|
|
1314
|
+
end
|
|
1315
|
+
|
|
1316
|
+
# Specification for crowding. Crowding improves the diversity of search
|
|
1317
|
+
# results by limiting the number of results that share the same field value.
|
|
1318
|
+
# For example, crowding on the color field with a max_count of 3 and mode
|
|
1319
|
+
# DROP_CROWDED_RESULTS will return at most 3 results with the same color
|
|
1320
|
+
# across all pages.
|
|
1321
|
+
# @!attribute [rw] field
|
|
1322
|
+
# @return [::String]
|
|
1323
|
+
# The field to use for crowding. Documents can be crowded by a field in the
|
|
1324
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} object. Crowding
|
|
1325
|
+
# field is case sensitive.
|
|
1326
|
+
# @!attribute [rw] max_count
|
|
1327
|
+
# @return [::Integer]
|
|
1328
|
+
# The maximum number of documents to keep per value of the field. Once
|
|
1329
|
+
# there are at least max_count previous results which contain the same
|
|
1330
|
+
# value for the given field (according to the order specified in
|
|
1331
|
+
# `order_by`), later results with the same value are "crowded away".
|
|
1332
|
+
# If not specified, the default value is 1.
|
|
1333
|
+
# @!attribute [rw] mode
|
|
1334
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::CrowdingSpec::Mode]
|
|
1335
|
+
# Mode to use for documents that are crowded away.
|
|
1336
|
+
class CrowdingSpec
|
|
1337
|
+
include ::Google::Protobuf::MessageExts
|
|
1338
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1339
|
+
|
|
1340
|
+
# Enum describing the mode to use for documents that are crowded away.
|
|
1341
|
+
# They can be dropped or demoted to the later pages.
|
|
1342
|
+
module Mode
|
|
1343
|
+
# Unspecified crowding mode. In this case, server behavior defaults to
|
|
1344
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::CrowdingSpec::Mode::DROP_CROWDED_RESULTS Mode.DROP_CROWDED_RESULTS}.
|
|
1345
|
+
MODE_UNSPECIFIED = 0
|
|
1346
|
+
|
|
1347
|
+
# Drop crowded results.
|
|
1348
|
+
DROP_CROWDED_RESULTS = 1
|
|
1349
|
+
|
|
1350
|
+
# Demote crowded results to the later pages.
|
|
1351
|
+
DEMOTE_CROWDED_RESULTS_TO_END = 2
|
|
1352
|
+
end
|
|
1353
|
+
end
|
|
1354
|
+
|
|
1126
1355
|
# Session specification.
|
|
1127
|
-
#
|
|
1128
|
-
# Multi-turn Search feature is currently at private GA stage. Please use
|
|
1129
|
-
# v1alpha or v1beta version instead before we launch this feature to public
|
|
1130
|
-
# GA. Or ask for allowlisting through Google Support team.
|
|
1131
1356
|
# @!attribute [rw] query_id
|
|
1132
1357
|
# @return [::String]
|
|
1133
1358
|
# If set, the search result gets stored to the "turn" specified by this
|
|
@@ -1160,7 +1385,7 @@ module Google
|
|
|
1160
1385
|
# The number of top search results to persist. The persisted search results
|
|
1161
1386
|
# can be used for the subsequent /answer api call.
|
|
1162
1387
|
#
|
|
1163
|
-
# This field is
|
|
1388
|
+
# This field is similar to the `summary_result_count` field in
|
|
1164
1389
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SummarySpec#summary_result_count SearchRequest.ContentSearchSpec.SummarySpec.summary_result_count}.
|
|
1165
1390
|
#
|
|
1166
1391
|
# At most 10 results for documents mode, or 50 for chunks mode.
|
|
@@ -1169,6 +1394,36 @@ module Google
|
|
|
1169
1394
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1170
1395
|
end
|
|
1171
1396
|
|
|
1397
|
+
# Relevance filtering specification.
|
|
1398
|
+
# @!attribute [rw] keyword_search_threshold
|
|
1399
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec]
|
|
1400
|
+
# Optional. Relevance filtering threshold specification for keyword search.
|
|
1401
|
+
# @!attribute [rw] semantic_search_threshold
|
|
1402
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceFilterSpec::RelevanceThresholdSpec]
|
|
1403
|
+
# Optional. Relevance filtering threshold specification for semantic
|
|
1404
|
+
# search.
|
|
1405
|
+
class RelevanceFilterSpec
|
|
1406
|
+
include ::Google::Protobuf::MessageExts
|
|
1407
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1408
|
+
|
|
1409
|
+
# Specification for relevance filtering on a specific sub-search.
|
|
1410
|
+
# @!attribute [rw] relevance_threshold
|
|
1411
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::RelevanceThreshold]
|
|
1412
|
+
# Pre-defined relevance threshold for the sub-search.
|
|
1413
|
+
#
|
|
1414
|
+
# Note: The following fields are mutually exclusive: `relevance_threshold`, `semantic_relevance_threshold`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
1415
|
+
# @!attribute [rw] semantic_relevance_threshold
|
|
1416
|
+
# @return [::Float]
|
|
1417
|
+
# Custom relevance threshold for the sub-search.
|
|
1418
|
+
# The value must be in [0.0, 1.0].
|
|
1419
|
+
#
|
|
1420
|
+
# Note: The following fields are mutually exclusive: `semantic_relevance_threshold`, `relevance_threshold`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
1421
|
+
class RelevanceThresholdSpec
|
|
1422
|
+
include ::Google::Protobuf::MessageExts
|
|
1423
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1424
|
+
end
|
|
1425
|
+
end
|
|
1426
|
+
|
|
1172
1427
|
# The specification for personalization.
|
|
1173
1428
|
# @!attribute [rw] mode
|
|
1174
1429
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::PersonalizationSpec::Mode]
|
|
@@ -1193,6 +1448,49 @@ module Google
|
|
|
1193
1448
|
end
|
|
1194
1449
|
end
|
|
1195
1450
|
|
|
1451
|
+
# The specification for returning the document relevance score.
|
|
1452
|
+
# @!attribute [rw] return_relevance_score
|
|
1453
|
+
# @return [::Boolean]
|
|
1454
|
+
# Optional. Whether to return the relevance score for search results.
|
|
1455
|
+
# The higher the score, the more relevant the document is to the query.
|
|
1456
|
+
class RelevanceScoreSpec
|
|
1457
|
+
include ::Google::Protobuf::MessageExts
|
|
1458
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1459
|
+
end
|
|
1460
|
+
|
|
1461
|
+
# SearchAddonSpec is used to disable add-ons for search as per new
|
|
1462
|
+
# repricing model. By default if the SearchAddonSpec is not specified, we
|
|
1463
|
+
# consider that the customer wants to enable them wherever applicable.
|
|
1464
|
+
# @!attribute [rw] disable_semantic_add_on
|
|
1465
|
+
# @return [::Boolean]
|
|
1466
|
+
# Optional. If true, semantic add-on is disabled. Semantic add-on includes
|
|
1467
|
+
# embeddings and jetstream.
|
|
1468
|
+
# @!attribute [rw] disable_kpi_personalization_add_on
|
|
1469
|
+
# @return [::Boolean]
|
|
1470
|
+
# Optional. If true, disables event re-ranking and personalization to
|
|
1471
|
+
# optimize KPIs & personalize results.
|
|
1472
|
+
# @!attribute [rw] disable_generative_answer_add_on
|
|
1473
|
+
# @return [::Boolean]
|
|
1474
|
+
# Optional. If true, generative answer add-on is disabled. Generative
|
|
1475
|
+
# answer add-on includes natural language to filters and simple answers.
|
|
1476
|
+
class SearchAddonSpec
|
|
1477
|
+
include ::Google::Protobuf::MessageExts
|
|
1478
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1481
|
+
# Configuration parameters for the Custom Ranking feature.
|
|
1482
|
+
# @!attribute [rw] expressions_to_precompute
|
|
1483
|
+
# @return [::Array<::String>]
|
|
1484
|
+
# Optional. A list of ranking expressions (see `ranking_expression` for the
|
|
1485
|
+
# syntax documentation) to evaluate. The evaluation results will be
|
|
1486
|
+
# returned in
|
|
1487
|
+
# `SearchResponse.SearchResult.rank_signals.precomputed_expression_values`
|
|
1488
|
+
# field.
|
|
1489
|
+
class CustomRankingParams
|
|
1490
|
+
include ::Google::Protobuf::MessageExts
|
|
1491
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1492
|
+
end
|
|
1493
|
+
|
|
1196
1494
|
# @!attribute [rw] key
|
|
1197
1495
|
# @return [::String]
|
|
1198
1496
|
# @!attribute [rw] value
|
|
@@ -1211,6 +1509,30 @@ module Google
|
|
|
1211
1509
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1212
1510
|
end
|
|
1213
1511
|
|
|
1512
|
+
# The backend to use for the ranking expression evaluation.
|
|
1513
|
+
module RankingExpressionBackend
|
|
1514
|
+
# Default option for unspecified/unknown values.
|
|
1515
|
+
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0
|
|
1516
|
+
|
|
1517
|
+
# Deprecated: Use `RANK_BY_EMBEDDING` instead.
|
|
1518
|
+
# Ranking by custom embedding model, the default way to evaluate the
|
|
1519
|
+
# ranking expression. Legacy enum option, `RANK_BY_EMBEDDING` should be
|
|
1520
|
+
# used instead.
|
|
1521
|
+
BYOE = 1
|
|
1522
|
+
|
|
1523
|
+
# Deprecated: Use `RANK_BY_FORMULA` instead.
|
|
1524
|
+
# Ranking by custom formula. Legacy enum option, `RANK_BY_FORMULA` should
|
|
1525
|
+
# be used instead.
|
|
1526
|
+
CLEARBOX = 2
|
|
1527
|
+
|
|
1528
|
+
# Ranking by custom embedding model, the default way to evaluate the
|
|
1529
|
+
# ranking expression.
|
|
1530
|
+
RANK_BY_EMBEDDING = 3
|
|
1531
|
+
|
|
1532
|
+
# Ranking by custom formula.
|
|
1533
|
+
RANK_BY_FORMULA = 4
|
|
1534
|
+
end
|
|
1535
|
+
|
|
1214
1536
|
# The relevance threshold of the search results. The higher relevance
|
|
1215
1537
|
# threshold is, the higher relevant results are shown and the less number of
|
|
1216
1538
|
# results are returned.
|
|
@@ -1231,19 +1553,6 @@ module Google
|
|
|
1231
1553
|
# High relevance threshold.
|
|
1232
1554
|
HIGH = 4
|
|
1233
1555
|
end
|
|
1234
|
-
|
|
1235
|
-
# The backend to use for the ranking expression evaluation.
|
|
1236
|
-
module RankingExpressionBackend
|
|
1237
|
-
# Default option for unspecified/unknown values.
|
|
1238
|
-
RANKING_EXPRESSION_BACKEND_UNSPECIFIED = 0
|
|
1239
|
-
|
|
1240
|
-
# Ranking by custom embedding model, the default way to evaluate the
|
|
1241
|
-
# ranking expression.
|
|
1242
|
-
RANK_BY_EMBEDDING = 3
|
|
1243
|
-
|
|
1244
|
-
# Ranking by custom formula.
|
|
1245
|
-
RANK_BY_FORMULA = 4
|
|
1246
|
-
end
|
|
1247
1556
|
end
|
|
1248
1557
|
|
|
1249
1558
|
# Response message for
|
|
@@ -1292,6 +1601,13 @@ module Google
|
|
|
1292
1601
|
# Contains the spell corrected query, if found. If the spell correction type
|
|
1293
1602
|
# is AUTOMATIC, then the search results are based on corrected_query.
|
|
1294
1603
|
# Otherwise the original query is used for search.
|
|
1604
|
+
# @!attribute [rw] suggested_query
|
|
1605
|
+
# @return [::String]
|
|
1606
|
+
# Corrected query with low confidence, AKA did you mean query.
|
|
1607
|
+
# Compared with corrected_query, this field is set when SpellCorrector
|
|
1608
|
+
# returned a response, but FPR(full page replacement) is not triggered
|
|
1609
|
+
# because the corrction is of low confidence(eg, reversed because there are
|
|
1610
|
+
# matches of the original query in document corpus).
|
|
1295
1611
|
# @!attribute [rw] summary
|
|
1296
1612
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary]
|
|
1297
1613
|
# A summary as part of the search results.
|
|
@@ -1306,9 +1622,10 @@ module Google
|
|
|
1306
1622
|
# @!attribute [rw] query_expansion_info
|
|
1307
1623
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::QueryExpansionInfo]
|
|
1308
1624
|
# Query expansion information for the returned results.
|
|
1309
|
-
# @!attribute [
|
|
1625
|
+
# @!attribute [r] natural_language_query_understanding_info
|
|
1310
1626
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo]
|
|
1311
|
-
# Natural language query understanding information for the
|
|
1627
|
+
# Output only. Natural language query understanding information for the
|
|
1628
|
+
# returned results.
|
|
1312
1629
|
# @!attribute [rw] session_info
|
|
1313
1630
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SessionInfo]
|
|
1314
1631
|
# Session information.
|
|
@@ -1320,6 +1637,12 @@ module Google
|
|
|
1320
1637
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::OneBoxResult>]
|
|
1321
1638
|
# A list of One Box results. There can be multiple One Box results of
|
|
1322
1639
|
# different types.
|
|
1640
|
+
# @!attribute [rw] search_link_promotions
|
|
1641
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchLinkPromotion>]
|
|
1642
|
+
# Promotions for site search.
|
|
1643
|
+
# @!attribute [r] semantic_state
|
|
1644
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SemanticState]
|
|
1645
|
+
# Output only. Indicates the semantic state of the search response.
|
|
1323
1646
|
class SearchResponse
|
|
1324
1647
|
include ::Google::Protobuf::MessageExts
|
|
1325
1648
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1339,53 +1662,49 @@ module Google
|
|
|
1339
1662
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec#search_result_mode SearchRequest.ContentSearchSpec.search_result_mode}
|
|
1340
1663
|
# is set to
|
|
1341
1664
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SearchRequest::ContentSearchSpec::SearchResultMode::CHUNKS CHUNKS}.
|
|
1342
|
-
# @!attribute [
|
|
1665
|
+
# @!attribute [r] model_scores
|
|
1343
1666
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DoubleList}]
|
|
1344
|
-
# Google provided available scores.
|
|
1667
|
+
# Output only. Google provided available scores.
|
|
1345
1668
|
# @!attribute [rw] rank_signals
|
|
1346
1669
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult::RankSignals]
|
|
1347
|
-
# A set of ranking signals associated with the result.
|
|
1670
|
+
# Optional. A set of ranking signals associated with the result.
|
|
1348
1671
|
class SearchResult
|
|
1349
1672
|
include ::Google::Protobuf::MessageExts
|
|
1350
1673
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1351
1674
|
|
|
1352
|
-
# @!attribute [rw] key
|
|
1353
|
-
# @return [::String]
|
|
1354
|
-
# @!attribute [rw] value
|
|
1355
|
-
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DoubleList]
|
|
1356
|
-
class ModelScoresEntry
|
|
1357
|
-
include ::Google::Protobuf::MessageExts
|
|
1358
|
-
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1359
|
-
end
|
|
1360
|
-
|
|
1361
1675
|
# A set of ranking signals.
|
|
1362
1676
|
# @!attribute [rw] keyword_similarity_score
|
|
1363
1677
|
# @return [::Float]
|
|
1364
|
-
# Keyword matching adjustment.
|
|
1678
|
+
# Optional. Keyword matching adjustment.
|
|
1365
1679
|
# @!attribute [rw] relevance_score
|
|
1366
1680
|
# @return [::Float]
|
|
1367
|
-
# Semantic relevance adjustment.
|
|
1681
|
+
# Optional. Semantic relevance adjustment.
|
|
1368
1682
|
# @!attribute [rw] semantic_similarity_score
|
|
1369
1683
|
# @return [::Float]
|
|
1370
|
-
# Semantic similarity adjustment.
|
|
1684
|
+
# Optional. Semantic similarity adjustment.
|
|
1371
1685
|
# @!attribute [rw] pctr_rank
|
|
1372
1686
|
# @return [::Float]
|
|
1373
|
-
# Predicted conversion rate adjustment as a rank.
|
|
1687
|
+
# Optional. Predicted conversion rate adjustment as a rank.
|
|
1374
1688
|
# @!attribute [rw] topicality_rank
|
|
1375
1689
|
# @return [::Float]
|
|
1376
|
-
# Topicality adjustment as a rank.
|
|
1690
|
+
# Optional. Topicality adjustment as a rank.
|
|
1377
1691
|
# @!attribute [rw] document_age
|
|
1378
1692
|
# @return [::Float]
|
|
1379
|
-
# Age of the document in hours.
|
|
1693
|
+
# Optional. Age of the document in hours.
|
|
1380
1694
|
# @!attribute [rw] boosting_factor
|
|
1381
1695
|
# @return [::Float]
|
|
1382
|
-
# Combined custom boosts for a doc.
|
|
1696
|
+
# Optional. Combined custom boosts for a doc.
|
|
1383
1697
|
# @!attribute [rw] default_rank
|
|
1384
1698
|
# @return [::Float]
|
|
1385
|
-
# The default rank of the result.
|
|
1699
|
+
# Optional. The default rank of the result.
|
|
1386
1700
|
# @!attribute [rw] custom_signals
|
|
1387
1701
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::SearchResult::RankSignals::CustomSignal>]
|
|
1388
|
-
# A list of custom clearbox signals.
|
|
1702
|
+
# Optional. A list of custom clearbox signals.
|
|
1703
|
+
# @!attribute [rw] precomputed_expression_values
|
|
1704
|
+
# @return [::Array<::Float>]
|
|
1705
|
+
# Optional. A list of precomputed expression results for a given
|
|
1706
|
+
# document, in the same order as requested in
|
|
1707
|
+
# `SearchRequest.custom_ranking_params.expressions_to_precompute`.
|
|
1389
1708
|
class RankSignals
|
|
1390
1709
|
include ::Google::Protobuf::MessageExts
|
|
1391
1710
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1393,15 +1712,25 @@ module Google
|
|
|
1393
1712
|
# Custom clearbox signal represented by name and value pair.
|
|
1394
1713
|
# @!attribute [rw] name
|
|
1395
1714
|
# @return [::String]
|
|
1396
|
-
# Name of the signal.
|
|
1715
|
+
# Optional. Name of the signal.
|
|
1397
1716
|
# @!attribute [rw] value
|
|
1398
1717
|
# @return [::Float]
|
|
1399
|
-
# Float value representing the ranking signal (e.g. 1.25 for
|
|
1718
|
+
# Optional. Float value representing the ranking signal (e.g. 1.25 for
|
|
1719
|
+
# BM25).
|
|
1400
1720
|
class CustomSignal
|
|
1401
1721
|
include ::Google::Protobuf::MessageExts
|
|
1402
1722
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1403
1723
|
end
|
|
1404
1724
|
end
|
|
1725
|
+
|
|
1726
|
+
# @!attribute [rw] key
|
|
1727
|
+
# @return [::String]
|
|
1728
|
+
# @!attribute [rw] value
|
|
1729
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DoubleList]
|
|
1730
|
+
class ModelScoresEntry
|
|
1731
|
+
include ::Google::Protobuf::MessageExts
|
|
1732
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1733
|
+
end
|
|
1405
1734
|
end
|
|
1406
1735
|
|
|
1407
1736
|
# A facet result.
|
|
@@ -1562,12 +1891,52 @@ module Google
|
|
|
1562
1891
|
# @!attribute [rw] page_identifier
|
|
1563
1892
|
# @return [::String]
|
|
1564
1893
|
# Page identifier.
|
|
1894
|
+
# @!attribute [r] blob_attachment_indexes
|
|
1895
|
+
# @return [::Array<::Integer>]
|
|
1896
|
+
# Output only. Stores indexes of blobattachments linked to this chunk.
|
|
1565
1897
|
class ChunkContent
|
|
1566
1898
|
include ::Google::Protobuf::MessageExts
|
|
1567
1899
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1568
1900
|
end
|
|
1569
1901
|
end
|
|
1570
1902
|
|
|
1903
|
+
# Stores binarydata attached to text answer, e.g. image, video, audio, etc.
|
|
1904
|
+
# @!attribute [r] data
|
|
1905
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary::BlobAttachment::Blob]
|
|
1906
|
+
# Output only. The blob data.
|
|
1907
|
+
# @!attribute [r] attribution_type
|
|
1908
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary::BlobAttachment::AttributionType]
|
|
1909
|
+
# Output only. The attribution type of the blob.
|
|
1910
|
+
class BlobAttachment
|
|
1911
|
+
include ::Google::Protobuf::MessageExts
|
|
1912
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1913
|
+
|
|
1914
|
+
# Stores type and data of the blob.
|
|
1915
|
+
# @!attribute [r] mime_type
|
|
1916
|
+
# @return [::String]
|
|
1917
|
+
# Output only. The media type (MIME type) of the generated data.
|
|
1918
|
+
# @!attribute [r] data
|
|
1919
|
+
# @return [::String]
|
|
1920
|
+
# Output only. Raw bytes.
|
|
1921
|
+
class Blob
|
|
1922
|
+
include ::Google::Protobuf::MessageExts
|
|
1923
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
1924
|
+
end
|
|
1925
|
+
|
|
1926
|
+
# Defines the attribution type of the blob.
|
|
1927
|
+
module AttributionType
|
|
1928
|
+
# Unspecified attribution type.
|
|
1929
|
+
ATTRIBUTION_TYPE_UNSPECIFIED = 0
|
|
1930
|
+
|
|
1931
|
+
# The attachment data is from the corpus.
|
|
1932
|
+
CORPUS = 1
|
|
1933
|
+
|
|
1934
|
+
# The attachment data is generated by the model through code
|
|
1935
|
+
# generation.
|
|
1936
|
+
GENERATED = 2
|
|
1937
|
+
end
|
|
1938
|
+
end
|
|
1939
|
+
|
|
1571
1940
|
# Summary with metadata information.
|
|
1572
1941
|
# @!attribute [rw] summary
|
|
1573
1942
|
# @return [::String]
|
|
@@ -1578,6 +1947,9 @@ module Google
|
|
|
1578
1947
|
# @!attribute [rw] references
|
|
1579
1948
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary::Reference>]
|
|
1580
1949
|
# Document References.
|
|
1950
|
+
# @!attribute [r] blob_attachments
|
|
1951
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::Summary::BlobAttachment>]
|
|
1952
|
+
# Output only. Store multimodal data for answer enhancement.
|
|
1581
1953
|
class SummaryWithMetadata
|
|
1582
1954
|
include ::Google::Protobuf::MessageExts
|
|
1583
1955
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -1648,6 +2020,11 @@ module Google
|
|
|
1648
2020
|
# [SearchRequest.ContentSearchSpec.SummarySpec.ignore_non_answer_seeking_query]
|
|
1649
2021
|
# is set to `true`.
|
|
1650
2022
|
NON_SUMMARY_SEEKING_QUERY_IGNORED_V2 = 9
|
|
2023
|
+
|
|
2024
|
+
# The time out case.
|
|
2025
|
+
#
|
|
2026
|
+
# Google skips the summary if the time out.
|
|
2027
|
+
TIME_OUT = 10
|
|
1651
2028
|
end
|
|
1652
2029
|
end
|
|
1653
2030
|
|
|
@@ -1688,6 +2065,9 @@ module Google
|
|
|
1688
2065
|
# @!attribute [rw] rewritten_query
|
|
1689
2066
|
# @return [::String]
|
|
1690
2067
|
# Rewritten input query minus the extracted filters.
|
|
2068
|
+
# @!attribute [rw] classified_intents
|
|
2069
|
+
# @return [::Array<::String>]
|
|
2070
|
+
# The classified intents from the input query.
|
|
1691
2071
|
# @!attribute [rw] structured_extracted_filter
|
|
1692
2072
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter]
|
|
1693
2073
|
# The filters that were extracted from the input query represented in a
|
|
@@ -1892,6 +2272,18 @@ module Google
|
|
|
1892
2272
|
KNOWLEDGE_GRAPH = 4
|
|
1893
2273
|
end
|
|
1894
2274
|
end
|
|
2275
|
+
|
|
2276
|
+
# Semantic state of the search response.
|
|
2277
|
+
module SemanticState
|
|
2278
|
+
# Default value. Should not be used.
|
|
2279
|
+
SEMANTIC_STATE_UNSPECIFIED = 0
|
|
2280
|
+
|
|
2281
|
+
# Semantic search was disabled for this search response.
|
|
2282
|
+
DISABLED = 1
|
|
2283
|
+
|
|
2284
|
+
# Semantic search was enabled for this search response.
|
|
2285
|
+
ENABLED = 2
|
|
2286
|
+
end
|
|
1895
2287
|
end
|
|
1896
2288
|
end
|
|
1897
2289
|
end
|