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
|
@@ -0,0 +1,40 @@
|
|
|
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
|
+
# Observability config for a resource.
|
|
25
|
+
# @!attribute [rw] observability_enabled
|
|
26
|
+
# @return [::Boolean]
|
|
27
|
+
# Optional. Enables observability. If `false`, all other flags are ignored.
|
|
28
|
+
# @!attribute [rw] sensitive_logging_enabled
|
|
29
|
+
# @return [::Boolean]
|
|
30
|
+
# Optional. Enables sensitive logging. Sensitive logging includes customer
|
|
31
|
+
# core content (e.g. prompts, responses). If `false`, will sanitize all
|
|
32
|
+
# sensitive fields.
|
|
33
|
+
class ObservabilityConfig
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
end
|
|
39
|
+
end
|
|
40
|
+
end
|
|
@@ -40,6 +40,12 @@ module Google
|
|
|
40
40
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms}]
|
|
41
41
|
# Output only. A map of terms of services. The key is the `id` of
|
|
42
42
|
# {::Google::Cloud::DiscoveryEngine::V1beta::Project::ServiceTerms ServiceTerms}.
|
|
43
|
+
# @!attribute [rw] customer_provided_config
|
|
44
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::CustomerProvidedConfig]
|
|
45
|
+
# Optional. Customer provided configurations.
|
|
46
|
+
# @!attribute [r] configurable_billing_status
|
|
47
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::ConfigurableBillingStatus]
|
|
48
|
+
# Output only. The current status of the project's configurable billing.
|
|
43
49
|
class Project
|
|
44
50
|
include ::Google::Protobuf::MessageExts
|
|
45
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -91,6 +97,214 @@ module Google
|
|
|
91
97
|
end
|
|
92
98
|
end
|
|
93
99
|
|
|
100
|
+
# Customer provided configurations.
|
|
101
|
+
# @!attribute [rw] notebooklm_config
|
|
102
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::CustomerProvidedConfig::NotebooklmConfig]
|
|
103
|
+
# Optional. Configuration for NotebookLM settings.
|
|
104
|
+
class CustomerProvidedConfig
|
|
105
|
+
include ::Google::Protobuf::MessageExts
|
|
106
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
107
|
+
|
|
108
|
+
# Configuration for NotebookLM.
|
|
109
|
+
# @!attribute [rw] model_armor_config
|
|
110
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::CustomerProvidedConfig::NotebooklmConfig::ModelArmorConfig]
|
|
111
|
+
# Model Armor configuration to be used for sanitizing user prompts and
|
|
112
|
+
# LLM responses.
|
|
113
|
+
# @!attribute [rw] opt_out_notebook_sharing
|
|
114
|
+
# @return [::Boolean]
|
|
115
|
+
# Optional. Whether to disable the notebook sharing feature for the
|
|
116
|
+
# project. Default to false if not specified.
|
|
117
|
+
# @!attribute [rw] data_protection_policy
|
|
118
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy]
|
|
119
|
+
# Optional. Specifies the data protection policy for NotebookLM.
|
|
120
|
+
# @!attribute [rw] observability_config
|
|
121
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::ObservabilityConfig]
|
|
122
|
+
# Optional. Observability config for NotebookLM.
|
|
123
|
+
class NotebooklmConfig
|
|
124
|
+
include ::Google::Protobuf::MessageExts
|
|
125
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
|
+
|
|
127
|
+
# Configuration for customer defined Model Armor templates to be used for
|
|
128
|
+
# sanitizing user prompts and LLM responses.
|
|
129
|
+
# @!attribute [rw] user_prompt_template
|
|
130
|
+
# @return [::String]
|
|
131
|
+
# Optional. The resource name of the Model Armor Template for
|
|
132
|
+
# sanitizing user prompts. Format:
|
|
133
|
+
# projects/\\{project}/locations/\\{location}/templates/\\{template_id}
|
|
134
|
+
# If not specified, no sanitization will be applied to the user prompt.
|
|
135
|
+
# @!attribute [rw] response_template
|
|
136
|
+
# @return [::String]
|
|
137
|
+
# Optional. The resource name of the Model Armor Template for
|
|
138
|
+
# sanitizing LLM responses. Format:
|
|
139
|
+
# projects/\\{project}/locations/\\{location}/templates/\\{template_id}
|
|
140
|
+
# If not specified, no sanitization will be applied to the LLM
|
|
141
|
+
# response.
|
|
142
|
+
class ModelArmorConfig
|
|
143
|
+
include ::Google::Protobuf::MessageExts
|
|
144
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
145
|
+
end
|
|
146
|
+
|
|
147
|
+
# Data protection policy config for NotebookLM.
|
|
148
|
+
# @!attribute [rw] sensitive_data_protection_policy
|
|
149
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::CustomerProvidedConfig::NotebooklmConfig::DataProtectionPolicy::SensitiveDataProtectionPolicy]
|
|
150
|
+
# Optional. The sensitive data protection policy.
|
|
151
|
+
class DataProtectionPolicy
|
|
152
|
+
include ::Google::Protobuf::MessageExts
|
|
153
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
154
|
+
|
|
155
|
+
# Specifies a Sensitive Data Protection
|
|
156
|
+
# (https://cloud.google.com/sensitive-data-protection/docs/sensitive-data-protection-overview)
|
|
157
|
+
# policy.
|
|
158
|
+
# @!attribute [rw] policy
|
|
159
|
+
# @return [::String]
|
|
160
|
+
# Optional. The Sensitive Data Protection policy resource name.
|
|
161
|
+
class SensitiveDataProtectionPolicy
|
|
162
|
+
include ::Google::Protobuf::MessageExts
|
|
163
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
164
|
+
end
|
|
165
|
+
end
|
|
166
|
+
end
|
|
167
|
+
end
|
|
168
|
+
|
|
169
|
+
# Represents the currently effective configurable billing parameters.
|
|
170
|
+
# These values are derived from the customer's subscription history stored
|
|
171
|
+
# internally and reflect the thresholds actively being used for billing
|
|
172
|
+
# purposes at the time of the GetProject call. This includes the start_time
|
|
173
|
+
# of the subscription and may differ from the values in
|
|
174
|
+
# `customer_provided_config` due to billing rules
|
|
175
|
+
# (e.g., scale-downs taking effect only at the start of a new month).
|
|
176
|
+
# We also include the update type to indicate the type of update performed on
|
|
177
|
+
# the configurable billing configuration in the UpdateProject operation.
|
|
178
|
+
# @!attribute [rw] effective_search_qpm_threshold
|
|
179
|
+
# @return [::Integer]
|
|
180
|
+
# Optional. The currently effective Search QPM threshold in queries per
|
|
181
|
+
# minute. This is the threshold against which QPM usage is compared for
|
|
182
|
+
# overage calculations.
|
|
183
|
+
# @!attribute [rw] effective_indexing_core_threshold
|
|
184
|
+
# @return [::Integer]
|
|
185
|
+
# Optional. The currently effective Indexing Core threshold.
|
|
186
|
+
# This is the threshold against which Indexing Core usage is compared
|
|
187
|
+
# for overage calculations.
|
|
188
|
+
# @!attribute [rw] start_time
|
|
189
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
190
|
+
# Optional. The start time of the currently active billing subscription.
|
|
191
|
+
# @!attribute [r] terminate_time
|
|
192
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
193
|
+
# Output only. The latest terminate effective time of search qpm and
|
|
194
|
+
# indexing core subscriptions.
|
|
195
|
+
# @!attribute [r] search_qpm_threshold_next_update_time
|
|
196
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
197
|
+
# Output only. The earliest next update time for the search QPM
|
|
198
|
+
# subscription threshold. This is based on the next_update_time returned by
|
|
199
|
+
# the underlying Cloud Billing Subscription V3 API. This field is populated
|
|
200
|
+
# only if an update QPM subscription threshold request is succeeded.
|
|
201
|
+
# @!attribute [r] indexing_core_threshold_next_update_time
|
|
202
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
203
|
+
# Output only. The earliest next update time for the indexing core
|
|
204
|
+
# subscription threshold. This is based on the next_update_time returned by
|
|
205
|
+
# the underlying Cloud Billing Subscription V3 API. This field is populated
|
|
206
|
+
# only if an update indexing core subscription threshold
|
|
207
|
+
# request is succeeded.
|
|
208
|
+
# @!attribute [r] update_type
|
|
209
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::ConfigurableBillingStatus::UpdateType]
|
|
210
|
+
# Output only. The type of update performed in this operation.
|
|
211
|
+
# This field is populated in the response of UpdateProject.
|
|
212
|
+
# @!attribute [r] agent_search_token_subscription_statuses
|
|
213
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::Project::ConfigurableBillingStatus::AgentSearchTokenSubscriptionStatus>]
|
|
214
|
+
# Output only. Per-model Agent Search TPM subscription status.
|
|
215
|
+
class ConfigurableBillingStatus
|
|
216
|
+
include ::Google::Protobuf::MessageExts
|
|
217
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
218
|
+
|
|
219
|
+
# Per-model Agent Search TPM subscription status. One entry per active
|
|
220
|
+
# `core_subscription.agent_search_token_subscriptions[*]` entry in the
|
|
221
|
+
# customer-provided config; populated by UpdateProject and GetProject.
|
|
222
|
+
#
|
|
223
|
+
# The lifecycle scalars on this message (`start_time`, `terminate_time`,
|
|
224
|
+
# `update_type`, `tpm_threshold_next_update_time`) are per (project,
|
|
225
|
+
# model_version) — siblings of the whole-relationship `start_time` /
|
|
226
|
+
# `terminate_time` / `update_type` on the enclosing
|
|
227
|
+
# ConfigurableBillingStatus, but scoped to this specific Agent Search
|
|
228
|
+
# TPM subscription instead of to the overall customer-configurable-
|
|
229
|
+
# pricing relationship. This per-instance granularity is intentional:
|
|
230
|
+
# the underlying SubV3 storage is per-(project, model_version), so
|
|
231
|
+
# each model has its own activation, termination, and deferred-update
|
|
232
|
+
# clock; surfacing that on the response gives customers the granularity
|
|
233
|
+
# they need to manage per-model commitments independently. QPM /
|
|
234
|
+
# IndexingCore differ — their storage is one row per (project,
|
|
235
|
+
# location), so their lifecycle is represented only by the whole-
|
|
236
|
+
# relationship scalars on ConfigurableBillingStatus.
|
|
237
|
+
# @!attribute [r] model_version
|
|
238
|
+
# @return [::String]
|
|
239
|
+
# Output only. The Gemini model version this status corresponds to.
|
|
240
|
+
# Matches CoreSubscription.AgentSearchTokenSubscription.model_version (a
|
|
241
|
+
# stable Gemini model version from the Gemini Enterprise Agent Platform
|
|
242
|
+
# model-versions registry; see
|
|
243
|
+
# https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/model-versions#gemini-models).
|
|
244
|
+
# @!attribute [r] effective_tpm_threshold
|
|
245
|
+
# @return [::Integer]
|
|
246
|
+
# Output only. The currently effective TPM threshold. Reflects scale-up
|
|
247
|
+
# immediately and scale-down at the next billing cycle, matching
|
|
248
|
+
# `effective_search_qpm_threshold` semantics.
|
|
249
|
+
# @!attribute [r] tpm_threshold_next_update_time
|
|
250
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
251
|
+
# Output only. The earliest next update time for the TPM subscription
|
|
252
|
+
# threshold for this (project, model_version). Populated only after a
|
|
253
|
+
# successful update.
|
|
254
|
+
# @!attribute [r] start_time
|
|
255
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
256
|
+
# Output only. When this (project, model_version) Agent Search TPM
|
|
257
|
+
# subscription was first activated. Set once on first activation of this
|
|
258
|
+
# model version and never moved by subsequent threshold updates; on
|
|
259
|
+
# termination + re-activation a new value is recorded. Does NOT move
|
|
260
|
+
# the whole-relationship `start_time` on the enclosing
|
|
261
|
+
# ConfigurableBillingStatus, which continues to represent the first
|
|
262
|
+
# activation of the overall customer-configurable-pricing
|
|
263
|
+
# relationship.
|
|
264
|
+
# @!attribute [r] terminate_time
|
|
265
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
266
|
+
# Output only. If set, the scheduled effective time at which this
|
|
267
|
+
# (project, model_version) Agent Search TPM subscription will terminate.
|
|
268
|
+
# Populated when the customer removes this entry from
|
|
269
|
+
# `core_subscription.agent_search_token_subscriptions[*]`. Does NOT move
|
|
270
|
+
# the whole-relationship `terminate_time` on the enclosing
|
|
271
|
+
# ConfigurableBillingStatus, which is populated only when the entire
|
|
272
|
+
# customer-configurable-pricing relationship is being torn down.
|
|
273
|
+
# @!attribute [r] update_type
|
|
274
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Project::ConfigurableBillingStatus::UpdateType]
|
|
275
|
+
# Output only. The type of the most recent update to this (project,
|
|
276
|
+
# model_version) subscription, as performed by the most recent
|
|
277
|
+
# UpdateProject call. `UPDATE_TYPE_UNSPECIFIED` indicates this
|
|
278
|
+
# model_version was not touched by the most recent UpdateProject (its
|
|
279
|
+
# `effective_tpm_threshold` reflects an earlier update). The
|
|
280
|
+
# whole-relationship `update_type` on the enclosing
|
|
281
|
+
# ConfigurableBillingStatus continues to summarize the direction of
|
|
282
|
+
# the most recent update across all surfaces in the project (QPM,
|
|
283
|
+
# IndexingCore, and Agent Search TPM together).
|
|
284
|
+
class AgentSearchTokenSubscriptionStatus
|
|
285
|
+
include ::Google::Protobuf::MessageExts
|
|
286
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
287
|
+
end
|
|
288
|
+
|
|
289
|
+
# The type of update performed on the configurable billing configuration.
|
|
290
|
+
module UpdateType
|
|
291
|
+
# Unspecified update type.
|
|
292
|
+
UPDATE_TYPE_UNSPECIFIED = 0
|
|
293
|
+
|
|
294
|
+
# Configurable billing was created/enabled.
|
|
295
|
+
CREATE = 1
|
|
296
|
+
|
|
297
|
+
# Configurable billing was deleted/disabled.
|
|
298
|
+
DELETE = 2
|
|
299
|
+
|
|
300
|
+
# Subscription was scaled up (thresholds increased).
|
|
301
|
+
SCALE_UP = 3
|
|
302
|
+
|
|
303
|
+
# Subscription was scaled down (thresholds decreased).
|
|
304
|
+
SCALE_DOWN = 4
|
|
305
|
+
end
|
|
306
|
+
end
|
|
307
|
+
|
|
94
308
|
# @!attribute [rw] key
|
|
95
309
|
# @return [::String]
|
|
96
310
|
# @!attribute [rw] value
|
|
@@ -41,9 +41,27 @@ module Google
|
|
|
41
41
|
# and would like to give consent to.
|
|
42
42
|
#
|
|
43
43
|
# Acceptable version is `2022-11-23`, and this may change over time.
|
|
44
|
+
# @!attribute [rw] saas_params
|
|
45
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::ProvisionProjectRequest::SaasParams]
|
|
46
|
+
# Optional. Parameters for Agentspace.
|
|
44
47
|
class ProvisionProjectRequest
|
|
45
48
|
include ::Google::Protobuf::MessageExts
|
|
46
49
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
50
|
+
|
|
51
|
+
# Parameters for Agentspace.
|
|
52
|
+
# @!attribute [rw] accept_biz_qos
|
|
53
|
+
# @return [::Boolean]
|
|
54
|
+
# Optional. Set to `true` to specify that caller has read and would like to
|
|
55
|
+
# give consent to the [Terms for Agent Space quality of service].
|
|
56
|
+
# @!attribute [rw] is_biz
|
|
57
|
+
# @return [::Boolean]
|
|
58
|
+
# Optional. Indicates if the current request is for Biz edition (= true) or
|
|
59
|
+
# not
|
|
60
|
+
# (= false).
|
|
61
|
+
class SaasParams
|
|
62
|
+
include ::Google::Protobuf::MessageExts
|
|
63
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
64
|
+
end
|
|
47
65
|
end
|
|
48
66
|
|
|
49
67
|
# Metadata associated with a project provision operation.
|
|
@@ -41,16 +41,20 @@ module Google
|
|
|
41
41
|
# * `userId`: Double quoted string. Specifying this will delete all events
|
|
42
42
|
# associated with a user.
|
|
43
43
|
#
|
|
44
|
+
# Note: This API only supports purging a max range of 30 days.
|
|
45
|
+
#
|
|
44
46
|
# Examples:
|
|
45
47
|
#
|
|
46
48
|
# * Deleting all events in a time range:
|
|
47
49
|
# `eventTime > "2012-04-23T18:25:43.511Z"
|
|
48
50
|
# eventTime < "2012-04-23T18:30:43.511Z"`
|
|
49
|
-
# * Deleting specific eventType:
|
|
50
|
-
# `
|
|
51
|
-
#
|
|
52
|
-
#
|
|
53
|
-
#
|
|
51
|
+
# * Deleting specific eventType in a time range:
|
|
52
|
+
# `eventTime > "2012-04-23T18:25:43.511Z"
|
|
53
|
+
# eventTime < "2012-04-23T18:30:43.511Z" eventType = "search"`
|
|
54
|
+
# * Deleting all events for a specific visitor in a time range:
|
|
55
|
+
# `eventTime > "2012-04-23T18:25:43.511Z"
|
|
56
|
+
# eventTime < "2012-04-23T18:30:43.511Z" userPseudoId = "visitor1024"`
|
|
57
|
+
# * Deleting the past 30 days of events inside a DataStore:
|
|
54
58
|
# `*`
|
|
55
59
|
#
|
|
56
60
|
# The filtering fields are assumed to have an implicit AND.
|
|
@@ -44,6 +44,8 @@ module Google
|
|
|
44
44
|
# @!attribute [rw] score
|
|
45
45
|
# @return [::Float]
|
|
46
46
|
# The score of this record based on the given query and selected model.
|
|
47
|
+
# The score will be rounded to 4 decimal places. If the score is close to 0,
|
|
48
|
+
# it will be rounded to 0.00001 to avoid returning unset.
|
|
47
49
|
class RankingRecord
|
|
48
50
|
include ::Google::Protobuf::MessageExts
|
|
49
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -60,7 +62,7 @@ module Google
|
|
|
60
62
|
# @return [::String]
|
|
61
63
|
# The identifier of the model to use. It is one of:
|
|
62
64
|
#
|
|
63
|
-
# * `semantic-ranker-512@latest`: Semantic ranking model with
|
|
65
|
+
# * `semantic-ranker-512@latest`: Semantic ranking model with maximum input
|
|
64
66
|
# token size 512.
|
|
65
67
|
#
|
|
66
68
|
# It is set to `semantic-ranker-512@latest` by default if unspecified.
|
|
@@ -73,7 +75,7 @@ module Google
|
|
|
73
75
|
# The query to use.
|
|
74
76
|
# @!attribute [rw] records
|
|
75
77
|
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::RankingRecord>]
|
|
76
|
-
# Required. A list of records to rank.
|
|
78
|
+
# Required. A list of records to rank.
|
|
77
79
|
# @!attribute [rw] ignore_record_details_in_response
|
|
78
80
|
# @return [::Boolean]
|
|
79
81
|
# If true, the response will contain only record ID and score. By default, it
|
|
@@ -77,9 +77,9 @@ module Google
|
|
|
77
77
|
# attribute-based expressions are expected instead of the above described
|
|
78
78
|
# tag-based syntax. Examples:
|
|
79
79
|
#
|
|
80
|
-
# * (
|
|
80
|
+
# * (language: ANY("en", "es")) AND NOT (categories: ANY("Movie"))
|
|
81
81
|
# * (available: true) AND
|
|
82
|
-
# (
|
|
82
|
+
# (language: ANY("en", "es")) OR (categories: ANY("Movie"))
|
|
83
83
|
#
|
|
84
84
|
# If your filter blocks all results, the API returns generic
|
|
85
85
|
# (unfiltered) popular Documents. If you only want results strictly matching
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
# Safety rating corresponding to the generated content.
|
|
25
|
+
# @!attribute [r] category
|
|
26
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::HarmCategory]
|
|
27
|
+
# Output only. Harm category.
|
|
28
|
+
# @!attribute [r] probability
|
|
29
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SafetyRating::HarmProbability]
|
|
30
|
+
# Output only. Harm probability levels in the content.
|
|
31
|
+
# @!attribute [r] probability_score
|
|
32
|
+
# @return [::Float]
|
|
33
|
+
# Output only. Harm probability score.
|
|
34
|
+
# @!attribute [r] severity
|
|
35
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SafetyRating::HarmSeverity]
|
|
36
|
+
# Output only. Harm severity levels in the content.
|
|
37
|
+
# @!attribute [r] severity_score
|
|
38
|
+
# @return [::Float]
|
|
39
|
+
# Output only. Harm severity score.
|
|
40
|
+
# @!attribute [r] blocked
|
|
41
|
+
# @return [::Boolean]
|
|
42
|
+
# Output only. Indicates whether the content was filtered out because of this
|
|
43
|
+
# rating.
|
|
44
|
+
class SafetyRating
|
|
45
|
+
include ::Google::Protobuf::MessageExts
|
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
|
+
|
|
48
|
+
# Harm probability levels in the content.
|
|
49
|
+
module HarmProbability
|
|
50
|
+
# Harm probability unspecified.
|
|
51
|
+
HARM_PROBABILITY_UNSPECIFIED = 0
|
|
52
|
+
|
|
53
|
+
# Negligible level of harm.
|
|
54
|
+
NEGLIGIBLE = 1
|
|
55
|
+
|
|
56
|
+
# Low level of harm.
|
|
57
|
+
LOW = 2
|
|
58
|
+
|
|
59
|
+
# Medium level of harm.
|
|
60
|
+
MEDIUM = 3
|
|
61
|
+
|
|
62
|
+
# High level of harm.
|
|
63
|
+
HIGH = 4
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
# Harm severity levels.
|
|
67
|
+
module HarmSeverity
|
|
68
|
+
# Harm severity unspecified.
|
|
69
|
+
HARM_SEVERITY_UNSPECIFIED = 0
|
|
70
|
+
|
|
71
|
+
# Negligible level of harm severity.
|
|
72
|
+
HARM_SEVERITY_NEGLIGIBLE = 1
|
|
73
|
+
|
|
74
|
+
# Low level of harm severity.
|
|
75
|
+
HARM_SEVERITY_LOW = 2
|
|
76
|
+
|
|
77
|
+
# Medium level of harm severity.
|
|
78
|
+
HARM_SEVERITY_MEDIUM = 3
|
|
79
|
+
|
|
80
|
+
# High level of harm severity.
|
|
81
|
+
HARM_SEVERITY_HIGH = 4
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
# Harm categories that will block the content.
|
|
86
|
+
module HarmCategory
|
|
87
|
+
# The harm category is unspecified.
|
|
88
|
+
HARM_CATEGORY_UNSPECIFIED = 0
|
|
89
|
+
|
|
90
|
+
# The harm category is hate speech.
|
|
91
|
+
HARM_CATEGORY_HATE_SPEECH = 1
|
|
92
|
+
|
|
93
|
+
# The harm category is dangerous content.
|
|
94
|
+
HARM_CATEGORY_DANGEROUS_CONTENT = 2
|
|
95
|
+
|
|
96
|
+
# The harm category is harassment.
|
|
97
|
+
HARM_CATEGORY_HARASSMENT = 3
|
|
98
|
+
|
|
99
|
+
# The harm category is sexually explicit content.
|
|
100
|
+
HARM_CATEGORY_SEXUALLY_EXPLICIT = 4
|
|
101
|
+
|
|
102
|
+
# The harm category is civic integrity.
|
|
103
|
+
HARM_CATEGORY_CIVIC_INTEGRITY = 5
|
|
104
|
+
end
|
|
105
|
+
end
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|