google-cloud-discovery_engine-v1beta 0.26.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 +5 -5
- 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 +148 -12
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/credentials.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/client.rb +141 -12
- data/lib/google/cloud/discovery_engine/v1beta/completion_service/rest/operations.rb +23 -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/client.rb +2 -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/control_service/rest/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/conversational_search_service/client.rb +212 -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 +207 -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 +13 -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/operations.rb +2 -0
- 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 +13 -1
- data/lib/google/cloud/discovery_engine/v1beta/data_store_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/document_service/client.rb +10 -3
- data/lib/google/cloud/discovery_engine/v1beta/document_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/document_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/client.rb +10 -3
- data/lib/google/cloud/discovery_engine/v1beta/document_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/client.rb +226 -6
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/operations.rb +2 -0
- 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 +212 -6
- data/lib/google/cloud/discovery_engine/v1beta/engine_service/rest/operations.rb +23 -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 +13 -9
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/credentials.rb +4 -1
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/operations.rb +2 -0
- 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 +13 -9
- data/lib/google/cloud/discovery_engine/v1beta/evaluation_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/grounded_generation_service/rest/client.rb +2 -0
- 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 +5 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/client.rb +5 -1
- data/lib/google/cloud/discovery_engine/v1beta/project_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/rank_service/client.rb +4 -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 +4 -2
- data/lib/google/cloud/discovery_engine/v1beta/recommendation_service/client.rb +4 -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 +4 -2
- data/lib/google/cloud/discovery_engine/v1beta/rest.rb +10 -3
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/sample_query_set_service/rest/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/schema_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_service/client.rb +196 -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 +196 -38
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/credentials.rb +3 -1
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/client.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/search_tuning_service/rest/operations.rb +23 -0
- data/lib/google/cloud/discovery_engine/v1beta/serving_config_service/client.rb +209 -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 +195 -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 +27 -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 +27 -9
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/client.rb +3 -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/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/client.rb +3 -3
- data/lib/google/cloud/discovery_engine/v1beta/site_search_engine_service/rest/operations.rb +23 -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 +25 -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/operations.rb +2 -0
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/client.rb +25 -11
- data/lib/google/cloud/discovery_engine/v1beta/user_event_service/rest/operations.rb +23 -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 +120 -3
|
@@ -0,0 +1,147 @@
|
|
|
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 V1beta
|
|
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::V1beta::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::V1beta::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::V1beta::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::V1beta::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::V1beta::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
|
+
class ConversationInfo
|
|
75
|
+
include ::Google::Protobuf::MessageExts
|
|
76
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
77
|
+
end
|
|
78
|
+
|
|
79
|
+
# The type of the feedback user gives.
|
|
80
|
+
module FeedbackType
|
|
81
|
+
# Unspecified feedback type.
|
|
82
|
+
FEEDBACK_TYPE_UNSPECIFIED = 0
|
|
83
|
+
|
|
84
|
+
# The user gives a positive feedback.
|
|
85
|
+
LIKE = 1
|
|
86
|
+
|
|
87
|
+
# The user gives a negative feedback.
|
|
88
|
+
DISLIKE = 2
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
# The reason why user gives a negative feedback.
|
|
92
|
+
module Reason
|
|
93
|
+
# Unspecified reason.
|
|
94
|
+
REASON_UNSPECIFIED = 0
|
|
95
|
+
|
|
96
|
+
# The response is inaccurate.
|
|
97
|
+
INACCURATE_RESPONSE = 1
|
|
98
|
+
|
|
99
|
+
# The response is not relevant.
|
|
100
|
+
NOT_RELEVANT = 2
|
|
101
|
+
|
|
102
|
+
# The response is incomprehensive.
|
|
103
|
+
INCOMPREHENSIVE = 3
|
|
104
|
+
|
|
105
|
+
# The response is offensive or unsafe.
|
|
106
|
+
OFFENSIVE_OR_UNSAFE = 4
|
|
107
|
+
|
|
108
|
+
# The response is not well-formatted.
|
|
109
|
+
FORMAT_AND_STYLES = 6
|
|
110
|
+
|
|
111
|
+
# The response is not well-associated with the query.
|
|
112
|
+
BAD_CITATION = 7
|
|
113
|
+
|
|
114
|
+
# The expected canvas was not generated for the response.
|
|
115
|
+
CANVAS_NOT_GENERATED = 8
|
|
116
|
+
|
|
117
|
+
# The generated canvas is of bad quality (e.g. inaccurate, incomplete,
|
|
118
|
+
# poorly formatted).
|
|
119
|
+
CANVAS_QUALITY_BAD = 9
|
|
120
|
+
|
|
121
|
+
# Exporting the generated canvas failed (e.g. download or external
|
|
122
|
+
# export action did not complete successfully).
|
|
123
|
+
CANVAS_EXPORT_FAILED = 10
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Source of the feedback as per integration.
|
|
127
|
+
module FeedbackSource
|
|
128
|
+
# Unspecified feedback source.
|
|
129
|
+
FEEDBACK_SOURCE_UNSPECIFIED = 0
|
|
130
|
+
|
|
131
|
+
# Feedback source is Google Console.
|
|
132
|
+
GOOGLE_CONSOLE = 1
|
|
133
|
+
|
|
134
|
+
# Feedback source is Google Widget.
|
|
135
|
+
GOOGLE_WIDGET = 2
|
|
136
|
+
|
|
137
|
+
# Feedback source is Google Webapp.
|
|
138
|
+
GOOGLE_WEBAPP = 3
|
|
139
|
+
|
|
140
|
+
# Feedback source is Google AgentSpace Mobile app.
|
|
141
|
+
GOOGLE_AGENTSPACE_MOBILE = 4
|
|
142
|
+
end
|
|
143
|
+
end
|
|
144
|
+
end
|
|
145
|
+
end
|
|
146
|
+
end
|
|
147
|
+
end
|
|
@@ -114,15 +114,36 @@ module Google
|
|
|
114
114
|
# @!attribute [rw] frequency_penalty
|
|
115
115
|
# @return [::Float]
|
|
116
116
|
# If specified, custom value for frequency penalty will be used.
|
|
117
|
+
# @!attribute [rw] seed
|
|
118
|
+
# @return [::Integer]
|
|
119
|
+
# If specified, custom value for the seed will be used.
|
|
117
120
|
# @!attribute [rw] presence_penalty
|
|
118
121
|
# @return [::Float]
|
|
119
122
|
# If specified, custom value for presence penalty will be used.
|
|
120
123
|
# @!attribute [rw] max_output_tokens
|
|
121
124
|
# @return [::Integer]
|
|
122
125
|
# If specified, custom value for max output tokens will be used.
|
|
126
|
+
# @!attribute [rw] provisioned_throughput_setting
|
|
127
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GenerationSpec::ProvisionedThroughputSetting]
|
|
128
|
+
# Optional. Setting for provisioned throughput.
|
|
123
129
|
class GenerationSpec
|
|
124
130
|
include ::Google::Protobuf::MessageExts
|
|
125
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
|
|
126
147
|
end
|
|
127
148
|
|
|
128
149
|
# Describes the options to customize dynamic retrieval.
|
|
@@ -161,17 +182,22 @@ module Google
|
|
|
161
182
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::InlineSource]
|
|
162
183
|
# If set, grounding is performed with inline content.
|
|
163
184
|
#
|
|
164
|
-
# Note: The following fields are mutually exclusive: `inline_source`, `search_source`, `google_search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
185
|
+
# Note: The following fields are mutually exclusive: `inline_source`, `search_source`, `google_search_source`, `enterprise_web_retrieval_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
165
186
|
# @!attribute [rw] search_source
|
|
166
187
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::SearchSource]
|
|
167
188
|
# If set, grounding is performed with Vertex AI Search.
|
|
168
189
|
#
|
|
169
|
-
# Note: The following fields are mutually exclusive: `search_source`, `inline_source`, `google_search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
190
|
+
# Note: The following fields are mutually exclusive: `search_source`, `inline_source`, `google_search_source`, `enterprise_web_retrieval_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
170
191
|
# @!attribute [rw] google_search_source
|
|
171
192
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::GoogleSearchSource]
|
|
172
193
|
# If set, grounding is performed with Google Search.
|
|
173
194
|
#
|
|
174
|
-
# Note: The following fields are mutually exclusive: `google_search_source`, `inline_source`, `search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
195
|
+
# Note: The following fields are mutually exclusive: `google_search_source`, `inline_source`, `search_source`, `enterprise_web_retrieval_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
196
|
+
# @!attribute [rw] enterprise_web_retrieval_source
|
|
197
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::GroundingSource::EnterpriseWebRetrievalSource]
|
|
198
|
+
# If set, grounding is performed with enterprise web retrieval.
|
|
199
|
+
#
|
|
200
|
+
# Note: The following fields are mutually exclusive: `enterprise_web_retrieval_source`, `inline_source`, `search_source`, `google_search_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
175
201
|
class GroundingSource
|
|
176
202
|
include ::Google::Protobuf::MessageExts
|
|
177
203
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -231,10 +257,30 @@ module Google
|
|
|
231
257
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentRequest::DynamicRetrievalConfiguration]
|
|
232
258
|
# Optional. Specifies the dynamic retrieval configuration for the given
|
|
233
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::V1beta::Citation::PhishBlockThreshold]
|
|
265
|
+
# Optional. Sites with confidence level chosen & above this value will be
|
|
266
|
+
# blocked from the search results.
|
|
234
267
|
class GoogleSearchSource
|
|
235
268
|
include ::Google::Protobuf::MessageExts
|
|
236
269
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
237
270
|
end
|
|
271
|
+
|
|
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::V1beta::Citation::PhishBlockThreshold]
|
|
278
|
+
# Optional. Sites with confidence level chosen & above this value will be
|
|
279
|
+
# blocked from the search results.
|
|
280
|
+
class EnterpriseWebRetrievalSource
|
|
281
|
+
include ::Google::Protobuf::MessageExts
|
|
282
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
283
|
+
end
|
|
238
284
|
end
|
|
239
285
|
|
|
240
286
|
# Grounding specification.
|
|
@@ -303,6 +349,12 @@ module Google
|
|
|
303
349
|
# GroundingSupport across all claims in the answer candidate.
|
|
304
350
|
# An support to a fact indicates that the claim is supported by
|
|
305
351
|
# the fact.
|
|
352
|
+
# @!attribute [rw] images
|
|
353
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata>]
|
|
354
|
+
# Images from the web search.
|
|
355
|
+
# @!attribute [rw] videos
|
|
356
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::VideoMetadata>]
|
|
357
|
+
# Videos from the web search.
|
|
306
358
|
class GroundingMetadata
|
|
307
359
|
include ::Google::Protobuf::MessageExts
|
|
308
360
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -405,6 +457,60 @@ module Google
|
|
|
405
457
|
include ::Google::Protobuf::MessageExts
|
|
406
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
407
459
|
end
|
|
460
|
+
|
|
461
|
+
# Metadata about an image from the web search.
|
|
462
|
+
# @!attribute [rw] image
|
|
463
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image]
|
|
464
|
+
# Metadata about the full size image.
|
|
465
|
+
# @!attribute [rw] thumbnail
|
|
466
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::Image]
|
|
467
|
+
# Metadata about the thumbnail.
|
|
468
|
+
# @!attribute [rw] source
|
|
469
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::GenerateGroundedContentResponse::Candidate::GroundingMetadata::ImageMetadata::WebsiteInfo]
|
|
470
|
+
# The details about the website that the image is from.
|
|
471
|
+
class ImageMetadata
|
|
472
|
+
include ::Google::Protobuf::MessageExts
|
|
473
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
474
|
+
|
|
475
|
+
# Metadata about the website that the image is from.
|
|
476
|
+
# @!attribute [rw] uri
|
|
477
|
+
# @return [::String]
|
|
478
|
+
# The url of the website.
|
|
479
|
+
# @!attribute [rw] title
|
|
480
|
+
# @return [::String]
|
|
481
|
+
# The title of the website.
|
|
482
|
+
# @!attribute [rw] site_display_name
|
|
483
|
+
# @return [::String]
|
|
484
|
+
# The display name of the website.
|
|
485
|
+
class WebsiteInfo
|
|
486
|
+
include ::Google::Protobuf::MessageExts
|
|
487
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
488
|
+
end
|
|
489
|
+
|
|
490
|
+
# Metadata about the image.
|
|
491
|
+
# @!attribute [rw] uri
|
|
492
|
+
# @return [::String]
|
|
493
|
+
# The url of the image.
|
|
494
|
+
# @!attribute [rw] width
|
|
495
|
+
# @return [::Integer]
|
|
496
|
+
# The width of the image in pixels.
|
|
497
|
+
# @!attribute [rw] height
|
|
498
|
+
# @return [::Integer]
|
|
499
|
+
# The height of the image in pixels.
|
|
500
|
+
class Image
|
|
501
|
+
include ::Google::Protobuf::MessageExts
|
|
502
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
503
|
+
end
|
|
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
|
|
408
514
|
end
|
|
409
515
|
end
|
|
410
516
|
end
|
|
@@ -417,6 +523,9 @@ module Google
|
|
|
417
523
|
# will lead to fewer but very strong citations, while choosing a lower
|
|
418
524
|
# threshold may lead to more but somewhat weaker citations. If unset, the
|
|
419
525
|
# threshold will default to 0.6.
|
|
526
|
+
# @!attribute [rw] enable_claim_level_score
|
|
527
|
+
# @return [::Boolean]
|
|
528
|
+
# The control flag that enables claim-level grounding score in the response.
|
|
420
529
|
class CheckGroundingSpec
|
|
421
530
|
include ::Google::Protobuf::MessageExts
|
|
422
531
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -508,11 +617,21 @@ module Google
|
|
|
508
617
|
# @!attribute [rw] start_pos
|
|
509
618
|
# @return [::Integer]
|
|
510
619
|
# Position indicating the start of the claim in the answer candidate,
|
|
511
|
-
# measured in bytes.
|
|
620
|
+
# measured in bytes. Note that this is not measured in characters and,
|
|
621
|
+
# therefore, must be rendered in the user interface keeping in mind that
|
|
622
|
+
# some characters may take more than one byte. For example,
|
|
623
|
+
# if the claim text contains non-ASCII characters, the start and end
|
|
624
|
+
# positions vary when measured in characters
|
|
625
|
+
# (programming-language-dependent) and when measured in bytes
|
|
626
|
+
# (programming-language-independent).
|
|
512
627
|
# @!attribute [rw] end_pos
|
|
513
628
|
# @return [::Integer]
|
|
514
629
|
# Position indicating the end of the claim in the answer candidate,
|
|
515
|
-
# exclusive.
|
|
630
|
+
# exclusive, in bytes. Note that this is not measured in characters and,
|
|
631
|
+
# therefore, must be rendered as such. For example, if the claim text
|
|
632
|
+
# contains non-ASCII characters, the start and end positions vary when
|
|
633
|
+
# measured in characters (programming-language-dependent) and when measured
|
|
634
|
+
# in bytes (programming-language-independent).
|
|
516
635
|
# @!attribute [rw] claim_text
|
|
517
636
|
# @return [::String]
|
|
518
637
|
# Text for the claim in the answer candidate. Always provided regardless of
|
|
@@ -530,16 +649,78 @@ module Google
|
|
|
530
649
|
# decided this claim doesn't require attribution/grounding check, this
|
|
531
650
|
# field will be set to false. In that case, no grounding check was done for
|
|
532
651
|
# the claim and therefore
|
|
533
|
-
# {::Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse::Claim#citation_indices citation_indices}
|
|
534
|
-
# [anti_citation_indices][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.anti_citation_indices],
|
|
535
|
-
# and
|
|
536
|
-
# [score][google.cloud.discoveryengine.v1beta.CheckGroundingResponse.Claim.score]
|
|
652
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::CheckGroundingResponse::Claim#citation_indices citation_indices}
|
|
537
653
|
# should not be returned.
|
|
654
|
+
# @!attribute [rw] score
|
|
655
|
+
# @return [::Float]
|
|
656
|
+
# Confidence score for the claim in the answer candidate, in the range of
|
|
657
|
+
# [0, 1]. This is set only when
|
|
658
|
+
# `CheckGroundingRequest.grounding_spec.enable_claim_level_score` is true.
|
|
538
659
|
class Claim
|
|
539
660
|
include ::Google::Protobuf::MessageExts
|
|
540
661
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
541
662
|
end
|
|
542
663
|
end
|
|
664
|
+
|
|
665
|
+
# A collection of source attributions for a piece of content.
|
|
666
|
+
# @!attribute [r] citations
|
|
667
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::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
|
|
543
724
|
end
|
|
544
725
|
end
|
|
545
726
|
end
|
|
@@ -70,6 +70,15 @@ module Google
|
|
|
70
70
|
# @!attribute [rw] source_metadata
|
|
71
71
|
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
72
72
|
# More fine-grained information for the source reference.
|
|
73
|
+
# @!attribute [rw] uri
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# The URI of the source.
|
|
76
|
+
# @!attribute [rw] title
|
|
77
|
+
# @return [::String]
|
|
78
|
+
# The title of the source.
|
|
79
|
+
# @!attribute [rw] domain
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# The domain of the source.
|
|
73
82
|
class FactChunk
|
|
74
83
|
include ::Google::Protobuf::MessageExts
|
|
75
84
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -0,0 +1,84 @@
|
|
|
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 V1beta
|
|
24
|
+
# Identity Mapping Store which contains Identity Mapping Entries.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Immutable. The full resource name of the identity mapping store.
|
|
28
|
+
# Format:
|
|
29
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
|
|
30
|
+
# This field must be a UTF-8 encoded string with a length limit of 1024
|
|
31
|
+
# characters.
|
|
32
|
+
# @!attribute [rw] kms_key_name
|
|
33
|
+
# @return [::String]
|
|
34
|
+
# Input only. The KMS key to be used to protect this Identity Mapping Store
|
|
35
|
+
# at creation time.
|
|
36
|
+
#
|
|
37
|
+
# Must be set for requests that need to comply with CMEK Org Policy
|
|
38
|
+
# protections.
|
|
39
|
+
#
|
|
40
|
+
# If this field is set and processed successfully, the Identity Mapping Store
|
|
41
|
+
# will be protected by the KMS key, as indicated in the cmek_config field.
|
|
42
|
+
# @!attribute [r] cmek_config
|
|
43
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig]
|
|
44
|
+
# Output only. CMEK-related information for the Identity Mapping Store.
|
|
45
|
+
class IdentityMappingStore
|
|
46
|
+
include ::Google::Protobuf::MessageExts
|
|
47
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
# Identity Mapping Entry that maps an external identity to an internal
|
|
51
|
+
# identity.
|
|
52
|
+
# @!attribute [rw] user_id
|
|
53
|
+
# @return [::String]
|
|
54
|
+
# User identifier.
|
|
55
|
+
# For Google Workspace user account, user_id should be the google workspace
|
|
56
|
+
# user email.
|
|
57
|
+
# For non-google identity provider, user_id is the mapped user identifier
|
|
58
|
+
# configured during the workforcepool config.
|
|
59
|
+
#
|
|
60
|
+
# Note: The following fields are mutually exclusive: `user_id`, `group_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
61
|
+
# @!attribute [rw] group_id
|
|
62
|
+
# @return [::String]
|
|
63
|
+
# Group identifier.
|
|
64
|
+
# For Google Workspace user account, group_id should be the google
|
|
65
|
+
# workspace group email.
|
|
66
|
+
# For non-google identity provider, group_id is the mapped group identifier
|
|
67
|
+
# configured during the workforcepool config.
|
|
68
|
+
#
|
|
69
|
+
# Note: The following fields are mutually exclusive: `group_id`, `user_id`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
70
|
+
# @!attribute [rw] external_identity
|
|
71
|
+
# @return [::String]
|
|
72
|
+
# Required. Identity outside the customer identity provider.
|
|
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.
|
|
77
|
+
class IdentityMappingEntry
|
|
78
|
+
include ::Google::Protobuf::MessageExts
|
|
79
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
80
|
+
end
|
|
81
|
+
end
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
end
|