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
|
@@ -24,7 +24,7 @@ module Google
|
|
|
24
24
|
# DataStore captures global settings and configs at the DataStore level.
|
|
25
25
|
# @!attribute [rw] name
|
|
26
26
|
# @return [::String]
|
|
27
|
-
# Immutable. The full resource name of the data store.
|
|
27
|
+
# Immutable. Identifier. The full resource name of the data store.
|
|
28
28
|
# Format:
|
|
29
29
|
# `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}`.
|
|
30
30
|
#
|
|
@@ -50,7 +50,7 @@ module Google
|
|
|
50
50
|
# @!attribute [r] default_schema_id
|
|
51
51
|
# @return [::String]
|
|
52
52
|
# Output only. The id of the default
|
|
53
|
-
# {::Google::Cloud::DiscoveryEngine::V1beta::Schema Schema}
|
|
53
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Schema Schema} associated to this
|
|
54
54
|
# data store.
|
|
55
55
|
# @!attribute [rw] content_config
|
|
56
56
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ContentConfig]
|
|
@@ -61,15 +61,50 @@ module Google
|
|
|
61
61
|
# @return [::Google::Protobuf::Timestamp]
|
|
62
62
|
# Output only. Timestamp the
|
|
63
63
|
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore} was created at.
|
|
64
|
+
# @!attribute [rw] advanced_site_search_config
|
|
65
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::AdvancedSiteSearchConfig]
|
|
66
|
+
# Optional. Configuration for advanced site search.
|
|
64
67
|
# @!attribute [rw] language_info
|
|
65
68
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LanguageInfo]
|
|
66
69
|
# Language info for DataStore.
|
|
67
70
|
# @!attribute [rw] natural_language_query_understanding_config
|
|
68
71
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::NaturalLanguageQueryUnderstandingConfig]
|
|
69
72
|
# Optional. Configuration for Natural Language Query Understanding.
|
|
73
|
+
# @!attribute [rw] kms_key_name
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Input only. The KMS key to be used to protect this DataStore at creation
|
|
76
|
+
# time.
|
|
77
|
+
#
|
|
78
|
+
# Must be set for requests that need to comply with CMEK Org Policy
|
|
79
|
+
# protections.
|
|
80
|
+
#
|
|
81
|
+
# If this field is set and processed successfully, the DataStore will be
|
|
82
|
+
# protected by the KMS key, as indicated in the cmek_config field.
|
|
83
|
+
# @!attribute [r] cmek_config
|
|
84
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::CmekConfig]
|
|
85
|
+
# Output only. CMEK-related information for the DataStore.
|
|
70
86
|
# @!attribute [r] billing_estimation
|
|
71
87
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::BillingEstimation]
|
|
72
88
|
# Output only. Data size estimation for billing.
|
|
89
|
+
# @!attribute [rw] acl_enabled
|
|
90
|
+
# @return [::Boolean]
|
|
91
|
+
# Immutable. Whether data in the
|
|
92
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore} has ACL
|
|
93
|
+
# information. If set to `true`, the source data must have ACL. ACL will be
|
|
94
|
+
# ingested when data is ingested by
|
|
95
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Client#import_documents DocumentService.ImportDocuments}
|
|
96
|
+
# methods.
|
|
97
|
+
#
|
|
98
|
+
# When ACL is enabled for the
|
|
99
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore},
|
|
100
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::Document Document} can't be accessed
|
|
101
|
+
# by calling
|
|
102
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Client#get_document DocumentService.GetDocument}
|
|
103
|
+
# or
|
|
104
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DocumentService::Client#list_documents DocumentService.ListDocuments}.
|
|
105
|
+
#
|
|
106
|
+
# Currently ACL is only supported in `GENERIC` industry vertical with
|
|
107
|
+
# non-`PUBLIC_WEBSITE` content config.
|
|
73
108
|
# @!attribute [rw] workspace_config
|
|
74
109
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::WorkspaceConfig]
|
|
75
110
|
# Config to store data store type configuration for workspace data. This
|
|
@@ -87,9 +122,12 @@ module Google
|
|
|
87
122
|
# provisioning it. If unset, a default vertical specialized schema will be
|
|
88
123
|
# used.
|
|
89
124
|
#
|
|
90
|
-
# This field is only used by
|
|
91
|
-
#
|
|
92
|
-
#
|
|
125
|
+
# This field is only used by
|
|
126
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStoreService::Client#create_data_store CreateDataStore}
|
|
127
|
+
# API, and will be ignored if used in other APIs. This field will be omitted
|
|
128
|
+
# from all API responses including
|
|
129
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStoreService::Client#create_data_store CreateDataStore}
|
|
130
|
+
# API. To retrieve a schema of a
|
|
93
131
|
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStore DataStore}, use
|
|
94
132
|
# {::Google::Cloud::DiscoveryEngine::V1beta::SchemaService::Client#get_schema SchemaService.GetSchema}
|
|
95
133
|
# API instead.
|
|
@@ -97,9 +135,32 @@ module Google
|
|
|
97
135
|
# The provided schema will be validated against certain rules on schema.
|
|
98
136
|
# Learn more from [this
|
|
99
137
|
# doc](https://cloud.google.com/generative-ai-app-builder/docs/provide-schema).
|
|
138
|
+
# @!attribute [rw] healthcare_fhir_config
|
|
139
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::HealthcareFhirConfig]
|
|
140
|
+
# Optional. Configuration for `HEALTHCARE_FHIR` vertical.
|
|
100
141
|
# @!attribute [rw] serving_config_data_store
|
|
101
142
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ServingConfigDataStore]
|
|
102
143
|
# Optional. Stores serving config at DataStore level.
|
|
144
|
+
# @!attribute [rw] identity_mapping_store
|
|
145
|
+
# @return [::String]
|
|
146
|
+
# Immutable. The fully qualified resource name of the associated
|
|
147
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStore IdentityMappingStore}.
|
|
148
|
+
# This field can only be set for acl_enabled DataStores with `THIRD_PARTY` or
|
|
149
|
+
# `GSUITE` IdP. Format:
|
|
150
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identity_mapping_store}`.
|
|
151
|
+
# @!attribute [rw] is_infobot_faq_data_store
|
|
152
|
+
# @return [::Boolean]
|
|
153
|
+
# Optional. If set, this DataStore is an Infobot FAQ DataStore.
|
|
154
|
+
# @!attribute [rw] federated_search_config
|
|
155
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig]
|
|
156
|
+
# Optional. If set, this DataStore is a federated search DataStore.
|
|
157
|
+
# @!attribute [rw] configurable_billing_approach
|
|
158
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::ConfigurableBillingApproach]
|
|
159
|
+
# Optional. Configuration for configurable billing approach. See
|
|
160
|
+
# @!attribute [r] configurable_billing_approach_update_time
|
|
161
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
162
|
+
# Output only. The timestamp when configurable_billing_approach was last
|
|
163
|
+
# updated.
|
|
103
164
|
class DataStore
|
|
104
165
|
include ::Google::Protobuf::MessageExts
|
|
105
166
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -131,13 +192,131 @@ module Google
|
|
|
131
192
|
# Stores information regarding the serving configurations at DataStore level.
|
|
132
193
|
# @!attribute [rw] disabled_for_serving
|
|
133
194
|
# @return [::Boolean]
|
|
134
|
-
# If set true, the DataStore will not be available for serving
|
|
135
|
-
# requests.
|
|
195
|
+
# Optional. If set true, the DataStore will not be available for serving
|
|
196
|
+
# search requests.
|
|
136
197
|
class ServingConfigDataStore
|
|
137
198
|
include ::Google::Protobuf::MessageExts
|
|
138
199
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
139
200
|
end
|
|
140
201
|
|
|
202
|
+
# Stores information for federated search.
|
|
203
|
+
# @!attribute [rw] alloy_db_config
|
|
204
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig]
|
|
205
|
+
# AlloyDB config. If set, this DataStore is connected to AlloyDB.
|
|
206
|
+
#
|
|
207
|
+
# Note: The following fields are mutually exclusive: `alloy_db_config`, `third_party_oauth_config`, `notebooklm_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
208
|
+
# @!attribute [rw] third_party_oauth_config
|
|
209
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::ThirdPartyOauthConfig]
|
|
210
|
+
# Third Party OAuth config. If set, this DataStore is connected to a
|
|
211
|
+
# third party application.
|
|
212
|
+
#
|
|
213
|
+
# Note: The following fields are mutually exclusive: `third_party_oauth_config`, `alloy_db_config`, `notebooklm_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
214
|
+
# @!attribute [rw] notebooklm_config
|
|
215
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::NotebooklmConfig]
|
|
216
|
+
# NotebookLM config. If set, this DataStore is connected to
|
|
217
|
+
# NotebookLM Enterprise.
|
|
218
|
+
#
|
|
219
|
+
# Note: The following fields are mutually exclusive: `notebooklm_config`, `alloy_db_config`, `third_party_oauth_config`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
220
|
+
class FederatedSearchConfig
|
|
221
|
+
include ::Google::Protobuf::MessageExts
|
|
222
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
223
|
+
|
|
224
|
+
# Stores information for connecting to AlloyDB.
|
|
225
|
+
# @!attribute [rw] alloydb_connection_config
|
|
226
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig]
|
|
227
|
+
# Required. Configuration for connecting to AlloyDB.
|
|
228
|
+
# @!attribute [rw] alloydb_ai_nl_config
|
|
229
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbAiNaturalLanguageConfig]
|
|
230
|
+
# Optional. Configuration for Magic.
|
|
231
|
+
# @!attribute [rw] returned_fields
|
|
232
|
+
# @return [::Array<::String>]
|
|
233
|
+
# Optional. Fields to be returned in the search results. If empty, all
|
|
234
|
+
# fields will be returned.
|
|
235
|
+
class AlloyDbConfig
|
|
236
|
+
include ::Google::Protobuf::MessageExts
|
|
237
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
238
|
+
|
|
239
|
+
# Configuration for connecting to AlloyDB.
|
|
240
|
+
# @!attribute [rw] instance
|
|
241
|
+
# @return [::String]
|
|
242
|
+
# Required. The AlloyDB instance to connect to.
|
|
243
|
+
# @!attribute [rw] database
|
|
244
|
+
# @return [::String]
|
|
245
|
+
# Required. The AlloyDB database to connect to.
|
|
246
|
+
# @!attribute [rw] user
|
|
247
|
+
# @return [::String]
|
|
248
|
+
# Required. Database user.
|
|
249
|
+
#
|
|
250
|
+
# If auth_mode = END_USER_ACCOUNT, it can be unset. In that case,
|
|
251
|
+
# the user will be inferred on the AlloyDB side, based on the
|
|
252
|
+
# authenticated user.
|
|
253
|
+
# @!attribute [rw] password
|
|
254
|
+
# @return [::String]
|
|
255
|
+
# Required. Database password.
|
|
256
|
+
#
|
|
257
|
+
# If auth_mode = END_USER_ACCOUNT, it can be unset. In that case,
|
|
258
|
+
# the password will be inferred on the AlloyDB side, based on the
|
|
259
|
+
# authenticated user.
|
|
260
|
+
# @!attribute [rw] auth_mode
|
|
261
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::DataStore::FederatedSearchConfig::AlloyDbConfig::AlloyDbConnectionConfig::AuthMode]
|
|
262
|
+
# Optional. Auth mode.
|
|
263
|
+
# @!attribute [rw] enable_psvs
|
|
264
|
+
# @return [::Boolean]
|
|
265
|
+
# Optional. If true, enable PSVS for AlloyDB.
|
|
266
|
+
class AlloyDbConnectionConfig
|
|
267
|
+
include ::Google::Protobuf::MessageExts
|
|
268
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
269
|
+
|
|
270
|
+
# Auth mode.
|
|
271
|
+
module AuthMode
|
|
272
|
+
AUTH_MODE_UNSPECIFIED = 0
|
|
273
|
+
|
|
274
|
+
# Uses P4SA when VAIS talks to AlloyDB.
|
|
275
|
+
AUTH_MODE_SERVICE_ACCOUNT = 1
|
|
276
|
+
|
|
277
|
+
# Uses EUC when VAIS talks to AlloyDB.
|
|
278
|
+
AUTH_MODE_END_USER_ACCOUNT = 2
|
|
279
|
+
end
|
|
280
|
+
end
|
|
281
|
+
|
|
282
|
+
# Configuration for AlloyDB AI Natural Language.
|
|
283
|
+
# @!attribute [rw] nl_config_id
|
|
284
|
+
# @return [::String]
|
|
285
|
+
# Optional. AlloyDb AI NL config id, i.e. the value that was used for
|
|
286
|
+
# calling `SELECT alloydb_ai_nl.g_create_configuration(...)`. Can be
|
|
287
|
+
# empty.
|
|
288
|
+
class AlloyDbAiNaturalLanguageConfig
|
|
289
|
+
include ::Google::Protobuf::MessageExts
|
|
290
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
291
|
+
end
|
|
292
|
+
end
|
|
293
|
+
|
|
294
|
+
# Stores information for third party applicationOAuth.
|
|
295
|
+
# @!attribute [rw] app_name
|
|
296
|
+
# @return [::String]
|
|
297
|
+
# Optional. The type of the application. E.g., "jira", "box", etc.
|
|
298
|
+
# @!attribute [rw] instance_name
|
|
299
|
+
# @return [::String]
|
|
300
|
+
# Optional. The instance name identifying the 3P app, e.g.,
|
|
301
|
+
# "vaissptbots-my". This is different from the instance_uri which is the
|
|
302
|
+
# full URL of the 3P app e.g., "https://vaissptbots-my.sharepoint.com".
|
|
303
|
+
class ThirdPartyOauthConfig
|
|
304
|
+
include ::Google::Protobuf::MessageExts
|
|
305
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Config for connecting to NotebookLM Enterprise.
|
|
309
|
+
# @!attribute [rw] search_config
|
|
310
|
+
# @return [::String]
|
|
311
|
+
# Required. Search config name.
|
|
312
|
+
#
|
|
313
|
+
# Format: projects/*/locations/global/notebookLmSearchConfigs/*
|
|
314
|
+
class NotebooklmConfig
|
|
315
|
+
include ::Google::Protobuf::MessageExts
|
|
316
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
317
|
+
end
|
|
318
|
+
end
|
|
319
|
+
|
|
141
320
|
# Content config of the data store.
|
|
142
321
|
module ContentConfig
|
|
143
322
|
# Default value.
|
|
@@ -159,6 +338,31 @@ module Google
|
|
|
159
338
|
# {::Google::Cloud::DiscoveryEngine::V1beta::WorkspaceConfig WorkspaceConfig}.
|
|
160
339
|
GOOGLE_WORKSPACE = 4
|
|
161
340
|
end
|
|
341
|
+
|
|
342
|
+
# Configuration for configurable billing approach.
|
|
343
|
+
module ConfigurableBillingApproach
|
|
344
|
+
# Default value. For Spark and non-Spark non-configurable billing approach.
|
|
345
|
+
CONFIGURABLE_BILLING_APPROACH_UNSPECIFIED = 0
|
|
346
|
+
|
|
347
|
+
# Use the subscription base + overage billing for indexing core for non
|
|
348
|
+
# embedding storage.
|
|
349
|
+
CONFIGURABLE_SUBSCRIPTION_INDEXING_CORE = 1
|
|
350
|
+
|
|
351
|
+
# Use the consumption pay-as-you-go billing for embedding storage add-on.
|
|
352
|
+
CONFIGURABLE_CONSUMPTION_EMBEDDING = 2
|
|
353
|
+
end
|
|
354
|
+
end
|
|
355
|
+
|
|
356
|
+
# Configuration data for advance site search.
|
|
357
|
+
# @!attribute [rw] disable_initial_index
|
|
358
|
+
# @return [::Boolean]
|
|
359
|
+
# If set true, initial indexing is disabled for the DataStore.
|
|
360
|
+
# @!attribute [rw] disable_automatic_refresh
|
|
361
|
+
# @return [::Boolean]
|
|
362
|
+
# If set true, automatic refresh is disabled for the DataStore.
|
|
363
|
+
class AdvancedSiteSearchConfig
|
|
364
|
+
include ::Google::Protobuf::MessageExts
|
|
365
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
162
366
|
end
|
|
163
367
|
|
|
164
368
|
# Language info for DataStore.
|
|
@@ -214,9 +418,11 @@ module Google
|
|
|
214
418
|
# @!attribute [rw] type
|
|
215
419
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::WorkspaceConfig::Type]
|
|
216
420
|
# The Google Workspace data source.
|
|
217
|
-
# @!attribute [
|
|
421
|
+
# @!attribute [r] dasher_customer_id
|
|
218
422
|
# @return [::String]
|
|
219
|
-
# Obfuscated Dasher customer ID.
|
|
423
|
+
# Output only. Obfuscated Dasher customer ID. Derived by the server from
|
|
424
|
+
# the project's GCP organization at data store creation time; any value
|
|
425
|
+
# supplied in the request payload is ignored.
|
|
220
426
|
# @!attribute [rw] super_admin_service_account
|
|
221
427
|
# @return [::String]
|
|
222
428
|
# Optional. The super admin service account for the workspace that will be
|
|
@@ -256,6 +462,9 @@ module Google
|
|
|
256
462
|
|
|
257
463
|
# Workspace Data Store contains Keep data
|
|
258
464
|
GOOGLE_KEEP = 7
|
|
465
|
+
|
|
466
|
+
# Workspace Data Store contains People data
|
|
467
|
+
GOOGLE_PEOPLE = 8
|
|
259
468
|
end
|
|
260
469
|
end
|
|
261
470
|
end
|
|
@@ -24,6 +24,18 @@ module Google
|
|
|
24
24
|
# Request for
|
|
25
25
|
# {::Google::Cloud::DiscoveryEngine::V1beta::DataStoreService::Client#create_data_store DataStoreService.CreateDataStore}
|
|
26
26
|
# method.
|
|
27
|
+
# @!attribute [rw] cmek_config_name
|
|
28
|
+
# @return [::String]
|
|
29
|
+
# Resource name of the CmekConfig to use for protecting this DataStore.
|
|
30
|
+
#
|
|
31
|
+
# Note: The following fields are mutually exclusive: `cmek_config_name`, `disable_cmek`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
32
|
+
# @!attribute [rw] disable_cmek
|
|
33
|
+
# @return [::Boolean]
|
|
34
|
+
# DataStore without CMEK protections. If a default CmekConfig is set for
|
|
35
|
+
# the project, setting this field will override the default CmekConfig as
|
|
36
|
+
# well.
|
|
37
|
+
#
|
|
38
|
+
# Note: The following fields are mutually exclusive: `disable_cmek`, `cmek_config_name`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
27
39
|
# @!attribute [rw] parent
|
|
28
40
|
# @return [::String]
|
|
29
41
|
# Required. The parent resource name, such as
|
|
@@ -50,15 +50,14 @@ module Google
|
|
|
50
50
|
# Immutable. The identifier of the document.
|
|
51
51
|
#
|
|
52
52
|
# Id should conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
|
|
53
|
-
# standard with a length limit of
|
|
53
|
+
# standard with a length limit of 128 characters.
|
|
54
54
|
# @!attribute [rw] schema_id
|
|
55
55
|
# @return [::String]
|
|
56
56
|
# The identifier of the schema located in the same data store.
|
|
57
57
|
# @!attribute [rw] content
|
|
58
58
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Document::Content]
|
|
59
|
-
# The unstructured data linked to this document. Content
|
|
60
|
-
# document is under a
|
|
61
|
-
# `CONTENT_REQUIRED` data store.
|
|
59
|
+
# The unstructured data linked to this document. Content can only be set
|
|
60
|
+
# and must be set if this document is under a `CONTENT_REQUIRED` data store.
|
|
62
61
|
# @!attribute [rw] parent_document_id
|
|
63
62
|
# @return [::String]
|
|
64
63
|
# The identifier of the parent document. Currently supports at most two level
|
|
@@ -70,13 +69,19 @@ module Google
|
|
|
70
69
|
# @return [::Google::Protobuf::Struct]
|
|
71
70
|
# Output only. This field is OUTPUT_ONLY.
|
|
72
71
|
# It contains derived data that are not in the original input document.
|
|
72
|
+
# @!attribute [rw] acl_info
|
|
73
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Document::AclInfo]
|
|
74
|
+
# Access control information for the document.
|
|
73
75
|
# @!attribute [r] index_time
|
|
74
76
|
# @return [::Google::Protobuf::Timestamp]
|
|
75
|
-
# Output only. The
|
|
76
|
-
#
|
|
77
|
+
# Output only. The time when the document was last indexed.
|
|
78
|
+
#
|
|
79
|
+
# If this field is populated, it means the document has been indexed.
|
|
80
|
+
# While documents typically become searchable within seconds of indexing,
|
|
81
|
+
# it can sometimes take up to a few hours.
|
|
77
82
|
#
|
|
78
|
-
#
|
|
79
|
-
#
|
|
83
|
+
# If this field is not populated, it means the document has never been
|
|
84
|
+
# indexed.
|
|
80
85
|
# @!attribute [r] index_status
|
|
81
86
|
# @return [::Google::Cloud::DiscoveryEngine::V1beta::Document::IndexStatus]
|
|
82
87
|
# Output only. The index status of the document.
|
|
@@ -84,7 +89,8 @@ module Google
|
|
|
84
89
|
# * If document is indexed successfully, the index_time field is populated.
|
|
85
90
|
# * Otherwise, if document is not indexed due to errors, the error_samples
|
|
86
91
|
# field is populated.
|
|
87
|
-
# * Otherwise,
|
|
92
|
+
# * Otherwise, if document's index is in progress, the pending_message field
|
|
93
|
+
# is populated.
|
|
88
94
|
class Document
|
|
89
95
|
include ::Google::Protobuf::MessageExts
|
|
90
96
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -115,9 +121,23 @@ module Google
|
|
|
115
121
|
#
|
|
116
122
|
# * `application/pdf` (PDF, only native PDFs are supported for now)
|
|
117
123
|
# * `text/html` (HTML)
|
|
124
|
+
# * `text/plain` (TXT)
|
|
125
|
+
# * `application/xml` or `text/xml` (XML)
|
|
126
|
+
# * `application/json` (JSON)
|
|
118
127
|
# * `application/vnd.openxmlformats-officedocument.wordprocessingml.document` (DOCX)
|
|
119
128
|
# * `application/vnd.openxmlformats-officedocument.presentationml.presentation` (PPTX)
|
|
120
|
-
# * `
|
|
129
|
+
# * `application/vnd.openxmlformats-officedocument.spreadsheetml.sheet`
|
|
130
|
+
# (XLSX)
|
|
131
|
+
# * `application/vnd.ms-excel.sheet.macroenabled.12` (XLSM)
|
|
132
|
+
#
|
|
133
|
+
# The following types are supported only if layout parser is enabled in the
|
|
134
|
+
# data store:
|
|
135
|
+
#
|
|
136
|
+
# * `image/bmp` (BMP)
|
|
137
|
+
# * `image/gif` (GIF)
|
|
138
|
+
# * `image/jpeg` (JPEG)
|
|
139
|
+
# * `image/png` (PNG)
|
|
140
|
+
# * `image/tiff` (TIFF)
|
|
121
141
|
#
|
|
122
142
|
# See https://www.iana.org/assignments/media-types/media-types.xhtml.
|
|
123
143
|
class Content
|
|
@@ -125,15 +145,100 @@ module Google
|
|
|
125
145
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
126
146
|
end
|
|
127
147
|
|
|
148
|
+
# ACL Information of the Document.
|
|
149
|
+
# @!attribute [rw] readers
|
|
150
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::Document::AclInfo::AccessRestriction>]
|
|
151
|
+
# Readers of the document.
|
|
152
|
+
class AclInfo
|
|
153
|
+
include ::Google::Protobuf::MessageExts
|
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
155
|
+
|
|
156
|
+
# AclRestriction to model complex inheritance restrictions.
|
|
157
|
+
#
|
|
158
|
+
# Example: Modeling a "Both Permit" inheritance, where to access a
|
|
159
|
+
# child document, user needs to have access to parent document.
|
|
160
|
+
#
|
|
161
|
+
# Document Hierarchy - Space_S --> Page_P.
|
|
162
|
+
#
|
|
163
|
+
# Readers:
|
|
164
|
+
# Space_S: group_1, user_1
|
|
165
|
+
# Page_P: group_2, group_3, user_2
|
|
166
|
+
#
|
|
167
|
+
# Space_S ACL Restriction -
|
|
168
|
+
# {
|
|
169
|
+
# "acl_info": {
|
|
170
|
+
# "readers": [
|
|
171
|
+
# {
|
|
172
|
+
# "principals": [
|
|
173
|
+
# {
|
|
174
|
+
# "group_id": "group_1"
|
|
175
|
+
# },
|
|
176
|
+
# {
|
|
177
|
+
# "user_id": "user_1"
|
|
178
|
+
# }
|
|
179
|
+
# ]
|
|
180
|
+
# }
|
|
181
|
+
# ]
|
|
182
|
+
# }
|
|
183
|
+
# }
|
|
184
|
+
#
|
|
185
|
+
# Page_P ACL Restriction.
|
|
186
|
+
# {
|
|
187
|
+
# "acl_info": {
|
|
188
|
+
# "readers": [
|
|
189
|
+
# {
|
|
190
|
+
# "principals": [
|
|
191
|
+
# {
|
|
192
|
+
# "group_id": "group_2"
|
|
193
|
+
# },
|
|
194
|
+
# {
|
|
195
|
+
# "group_id": "group_3"
|
|
196
|
+
# },
|
|
197
|
+
# {
|
|
198
|
+
# "user_id": "user_2"
|
|
199
|
+
# }
|
|
200
|
+
# ],
|
|
201
|
+
# },
|
|
202
|
+
# {
|
|
203
|
+
# "principals": [
|
|
204
|
+
# {
|
|
205
|
+
# "group_id": "group_1"
|
|
206
|
+
# },
|
|
207
|
+
# {
|
|
208
|
+
# "user_id": "user_1"
|
|
209
|
+
# }
|
|
210
|
+
# ],
|
|
211
|
+
# }
|
|
212
|
+
# ]
|
|
213
|
+
# }
|
|
214
|
+
# }
|
|
215
|
+
# @!attribute [rw] principals
|
|
216
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::Principal>]
|
|
217
|
+
# List of principals.
|
|
218
|
+
# @!attribute [rw] idp_wide
|
|
219
|
+
# @return [::Boolean]
|
|
220
|
+
# All users within the Identity Provider.
|
|
221
|
+
class AccessRestriction
|
|
222
|
+
include ::Google::Protobuf::MessageExts
|
|
223
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
224
|
+
end
|
|
225
|
+
end
|
|
226
|
+
|
|
128
227
|
# Index status of the document.
|
|
129
228
|
# @!attribute [rw] index_time
|
|
130
229
|
# @return [::Google::Protobuf::Timestamp]
|
|
131
230
|
# The time when the document was indexed.
|
|
132
231
|
# If this field is populated, it means the document has been indexed.
|
|
232
|
+
# While documents typically become searchable within seconds of indexing,
|
|
233
|
+
# it can sometimes take up to a few hours.
|
|
133
234
|
# @!attribute [rw] error_samples
|
|
134
235
|
# @return [::Array<::Google::Rpc::Status>]
|
|
135
236
|
# A sample of errors encountered while indexing the document.
|
|
136
237
|
# If this field is populated, the document is not indexed due to errors.
|
|
238
|
+
# @!attribute [rw] pending_message
|
|
239
|
+
# @return [::String]
|
|
240
|
+
# Immutable. The message indicates the document index is in progress.
|
|
241
|
+
# If this field is populated, the document index is pending.
|
|
137
242
|
class IndexStatus
|
|
138
243
|
include ::Google::Protobuf::MessageExts
|
|
139
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -132,6 +132,36 @@ module Google
|
|
|
132
132
|
end
|
|
133
133
|
|
|
134
134
|
# The layout parsing configurations for documents.
|
|
135
|
+
# @!attribute [rw] enable_table_annotation
|
|
136
|
+
# @return [::Boolean]
|
|
137
|
+
# Optional. If true, the LLM based annotation is added to the table
|
|
138
|
+
# during parsing.
|
|
139
|
+
# @!attribute [rw] enable_image_annotation
|
|
140
|
+
# @return [::Boolean]
|
|
141
|
+
# Optional. If true, the LLM based annotation is added to the image
|
|
142
|
+
# during parsing.
|
|
143
|
+
# @!attribute [rw] enable_llm_layout_parsing
|
|
144
|
+
# @return [::Boolean]
|
|
145
|
+
# Optional. If true, the pdf layout will be refined using an LLM.
|
|
146
|
+
# @!attribute [rw] structured_content_types
|
|
147
|
+
# @return [::Array<::String>]
|
|
148
|
+
# Optional. Contains the required structure types to extract from the
|
|
149
|
+
# document. Supported values:
|
|
150
|
+
#
|
|
151
|
+
# * `shareholder-structure`
|
|
152
|
+
# @!attribute [rw] exclude_html_elements
|
|
153
|
+
# @return [::Array<::String>]
|
|
154
|
+
# Optional. List of HTML elements to exclude from the parsed content.
|
|
155
|
+
# @!attribute [rw] exclude_html_classes
|
|
156
|
+
# @return [::Array<::String>]
|
|
157
|
+
# Optional. List of HTML classes to exclude from the parsed content.
|
|
158
|
+
# @!attribute [rw] exclude_html_ids
|
|
159
|
+
# @return [::Array<::String>]
|
|
160
|
+
# Optional. List of HTML ids to exclude from the parsed content.
|
|
161
|
+
# @!attribute [rw] enable_get_processed_document
|
|
162
|
+
# @return [::Boolean]
|
|
163
|
+
# Optional. If true, the processed document will be made available for
|
|
164
|
+
# the GetProcessedDocument API.
|
|
135
165
|
class LayoutParsingConfig
|
|
136
166
|
include ::Google::Protobuf::MessageExts
|
|
137
167
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
# Otherwise, an `ALREADY_EXISTS` error is returned.
|
|
125
125
|
#
|
|
126
126
|
# This field must conform to [RFC-1034](https://tools.ietf.org/html/rfc1034)
|
|
127
|
-
# standard with a length limit of
|
|
127
|
+
# standard with a length limit of 128 characters. Otherwise, an
|
|
128
128
|
# `INVALID_ARGUMENT` error is returned.
|
|
129
129
|
class CreateDocumentRequest
|
|
130
130
|
include ::Google::Protobuf::MessageExts
|