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,280 @@
|
|
|
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
|
+
# Request message for
|
|
25
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#create_identity_mapping_store IdentityMappingStoreService.CreateIdentityMappingStore}
|
|
26
|
+
# @!attribute [rw] cmek_config_name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Resource name of the CmekConfig to use for protecting this Identity
|
|
29
|
+
# Mapping Store.
|
|
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
|
+
# Identity Mapping Store without CMEK protections. If a default CmekConfig
|
|
35
|
+
# is set for the project, setting this field will override the default
|
|
36
|
+
# CmekConfig as 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.
|
|
39
|
+
# @!attribute [rw] parent
|
|
40
|
+
# @return [::String]
|
|
41
|
+
# Required. The parent collection resource name, such as
|
|
42
|
+
# `projects/{project}/locations/{location}`.
|
|
43
|
+
# @!attribute [rw] identity_mapping_store_id
|
|
44
|
+
# @return [::String]
|
|
45
|
+
# Required. The ID of the Identity Mapping Store to create.
|
|
46
|
+
#
|
|
47
|
+
# The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores
|
|
48
|
+
# (_), and hyphens (-). The maximum length is 63 characters.
|
|
49
|
+
# @!attribute [rw] identity_mapping_store
|
|
50
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStore]
|
|
51
|
+
# Required. The Identity Mapping Store to create.
|
|
52
|
+
class CreateIdentityMappingStoreRequest
|
|
53
|
+
include ::Google::Protobuf::MessageExts
|
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Request message for
|
|
58
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#get_identity_mapping_store IdentityMappingStoreService.GetIdentityMappingStore}
|
|
59
|
+
# @!attribute [rw] name
|
|
60
|
+
# @return [::String]
|
|
61
|
+
# Required. The name of the Identity Mapping Store to get.
|
|
62
|
+
# Format:
|
|
63
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
|
64
|
+
class GetIdentityMappingStoreRequest
|
|
65
|
+
include ::Google::Protobuf::MessageExts
|
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Request message for
|
|
70
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#delete_identity_mapping_store IdentityMappingStoreService.DeleteIdentityMappingStore}
|
|
71
|
+
# @!attribute [rw] name
|
|
72
|
+
# @return [::String]
|
|
73
|
+
# Required. The name of the Identity Mapping Store to delete.
|
|
74
|
+
# Format:
|
|
75
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
|
76
|
+
class DeleteIdentityMappingStoreRequest
|
|
77
|
+
include ::Google::Protobuf::MessageExts
|
|
78
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
79
|
+
end
|
|
80
|
+
|
|
81
|
+
# Request message for
|
|
82
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#import_identity_mappings IdentityMappingStoreService.ImportIdentityMappings}
|
|
83
|
+
# @!attribute [rw] inline_source
|
|
84
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::ImportIdentityMappingsRequest::InlineSource]
|
|
85
|
+
# The inline source to import identity mapping entries from.
|
|
86
|
+
# @!attribute [rw] identity_mapping_store
|
|
87
|
+
# @return [::String]
|
|
88
|
+
# Required. The name of the Identity Mapping Store to import Identity Mapping
|
|
89
|
+
# Entries to. Format:
|
|
90
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
|
91
|
+
class ImportIdentityMappingsRequest
|
|
92
|
+
include ::Google::Protobuf::MessageExts
|
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
94
|
+
|
|
95
|
+
# The inline source to import identity mapping entries from.
|
|
96
|
+
# @!attribute [rw] identity_mapping_entries
|
|
97
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingEntry>]
|
|
98
|
+
# A maximum of 10000 entries can be imported at one time
|
|
99
|
+
class InlineSource
|
|
100
|
+
include ::Google::Protobuf::MessageExts
|
|
101
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
105
|
+
# Response message for
|
|
106
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#import_identity_mappings IdentityMappingStoreService.ImportIdentityMappings}
|
|
107
|
+
# @!attribute [rw] error_samples
|
|
108
|
+
# @return [::Array<::Google::Rpc::Status>]
|
|
109
|
+
# A sample of errors encountered while processing the request.
|
|
110
|
+
class ImportIdentityMappingsResponse
|
|
111
|
+
include ::Google::Protobuf::MessageExts
|
|
112
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
# Request message for
|
|
116
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#purge_identity_mappings IdentityMappingStoreService.PurgeIdentityMappings}
|
|
117
|
+
# @!attribute [rw] inline_source
|
|
118
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::PurgeIdentityMappingsRequest::InlineSource]
|
|
119
|
+
# The inline source to purge identity mapping entries from.
|
|
120
|
+
# @!attribute [rw] identity_mapping_store
|
|
121
|
+
# @return [::String]
|
|
122
|
+
# Required. The name of the Identity Mapping Store to purge Identity Mapping
|
|
123
|
+
# Entries from. Format:
|
|
124
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
|
125
|
+
# @!attribute [rw] filter
|
|
126
|
+
# @return [::String]
|
|
127
|
+
# Filter matching identity mappings to purge.
|
|
128
|
+
# The eligible field for filtering is:
|
|
129
|
+
#
|
|
130
|
+
# * `update_time`: in ISO 8601 "zulu" format.
|
|
131
|
+
# * `external_id`
|
|
132
|
+
#
|
|
133
|
+
# Examples:
|
|
134
|
+
#
|
|
135
|
+
# * Deleting all identity mappings updated in a time range:
|
|
136
|
+
# `update_time > "2012-04-23T18:25:43.511Z" AND update_time <
|
|
137
|
+
# "2012-04-23T18:30:43.511Z"`
|
|
138
|
+
# * Deleting all identity mappings for a given external_id:
|
|
139
|
+
# `external_id = "id1"`
|
|
140
|
+
# * Deleting all identity mappings inside an identity mapping store:
|
|
141
|
+
# `*`
|
|
142
|
+
#
|
|
143
|
+
# The filtering fields are assumed to have an implicit AND.
|
|
144
|
+
# Should not be used with source. An error will be thrown, if both are
|
|
145
|
+
# provided.
|
|
146
|
+
# @!attribute [rw] force
|
|
147
|
+
# @return [::Boolean]
|
|
148
|
+
# Actually performs the purge. If `force` is set to false, return the
|
|
149
|
+
# expected purge count without deleting any identity mappings. This field is
|
|
150
|
+
# only supported for purge with filter. For input source this field is
|
|
151
|
+
# ignored and data will be purged regardless of the value of this field.
|
|
152
|
+
class PurgeIdentityMappingsRequest
|
|
153
|
+
include ::Google::Protobuf::MessageExts
|
|
154
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
155
|
+
|
|
156
|
+
# The inline source to purge identity mapping entries from.
|
|
157
|
+
# @!attribute [rw] identity_mapping_entries
|
|
158
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingEntry>]
|
|
159
|
+
# A maximum of 10000 entries can be purged at one time
|
|
160
|
+
class InlineSource
|
|
161
|
+
include ::Google::Protobuf::MessageExts
|
|
162
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
163
|
+
end
|
|
164
|
+
end
|
|
165
|
+
|
|
166
|
+
# Request message for
|
|
167
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#list_identity_mappings IdentityMappingStoreService.ListIdentityMappings}
|
|
168
|
+
# @!attribute [rw] identity_mapping_store
|
|
169
|
+
# @return [::String]
|
|
170
|
+
# Required. The name of the Identity Mapping Store to list Identity Mapping
|
|
171
|
+
# Entries in. Format:
|
|
172
|
+
# `projects/{project}/locations/{location}/identityMappingStores/{identityMappingStore}`
|
|
173
|
+
# @!attribute [rw] page_size
|
|
174
|
+
# @return [::Integer]
|
|
175
|
+
# Maximum number of IdentityMappings to return. If unspecified, defaults
|
|
176
|
+
# to 2000. The maximum allowed value is 10000. Values above 10000 will be
|
|
177
|
+
# coerced to 10000.
|
|
178
|
+
# @!attribute [rw] page_token
|
|
179
|
+
# @return [::String]
|
|
180
|
+
# A page token, received from a previous `ListIdentityMappings` call.
|
|
181
|
+
# Provide this to retrieve the subsequent page.
|
|
182
|
+
#
|
|
183
|
+
# When paginating, all other parameters provided to
|
|
184
|
+
# `ListIdentityMappings` must match the call that provided the page
|
|
185
|
+
# token.
|
|
186
|
+
class ListIdentityMappingsRequest
|
|
187
|
+
include ::Google::Protobuf::MessageExts
|
|
188
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
189
|
+
end
|
|
190
|
+
|
|
191
|
+
# Response message for
|
|
192
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#list_identity_mappings IdentityMappingStoreService.ListIdentityMappings}
|
|
193
|
+
# @!attribute [rw] identity_mapping_entries
|
|
194
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingEntry>]
|
|
195
|
+
# The Identity Mapping Entries.
|
|
196
|
+
# @!attribute [rw] next_page_token
|
|
197
|
+
# @return [::String]
|
|
198
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
199
|
+
# field is omitted, there are no subsequent pages.
|
|
200
|
+
class ListIdentityMappingsResponse
|
|
201
|
+
include ::Google::Protobuf::MessageExts
|
|
202
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
# Request message for
|
|
206
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#list_identity_mapping_stores IdentityMappingStoreService.ListIdentityMappingStores}
|
|
207
|
+
# @!attribute [rw] parent
|
|
208
|
+
# @return [::String]
|
|
209
|
+
# Required. The parent of the Identity Mapping Stores to list.
|
|
210
|
+
# Format:
|
|
211
|
+
# `projects/{project}/locations/{location}`.
|
|
212
|
+
# @!attribute [rw] page_size
|
|
213
|
+
# @return [::Integer]
|
|
214
|
+
# Maximum number of IdentityMappingStores to return. If unspecified, defaults
|
|
215
|
+
# to 100. The maximum allowed value is 1000. Values above 1000 will be
|
|
216
|
+
# coerced to 1000.
|
|
217
|
+
# @!attribute [rw] page_token
|
|
218
|
+
# @return [::String]
|
|
219
|
+
# A page token, received from a previous `ListIdentityMappingStores` call.
|
|
220
|
+
# Provide this to retrieve the subsequent page.
|
|
221
|
+
#
|
|
222
|
+
# When paginating, all other parameters provided to
|
|
223
|
+
# `ListIdentityMappingStores` must match the call that provided the page
|
|
224
|
+
# token.
|
|
225
|
+
class ListIdentityMappingStoresRequest
|
|
226
|
+
include ::Google::Protobuf::MessageExts
|
|
227
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
228
|
+
end
|
|
229
|
+
|
|
230
|
+
# Response message for
|
|
231
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#list_identity_mapping_stores IdentityMappingStoreService.ListIdentityMappingStores}
|
|
232
|
+
# @!attribute [rw] identity_mapping_stores
|
|
233
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStore>]
|
|
234
|
+
# The Identity Mapping Stores.
|
|
235
|
+
# @!attribute [rw] next_page_token
|
|
236
|
+
# @return [::String]
|
|
237
|
+
# A token that can be sent as `page_token` to retrieve the next page. If this
|
|
238
|
+
# field is omitted, there are no subsequent pages.
|
|
239
|
+
class ListIdentityMappingStoresResponse
|
|
240
|
+
include ::Google::Protobuf::MessageExts
|
|
241
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
242
|
+
end
|
|
243
|
+
|
|
244
|
+
# IdentityMappingEntry LongRunningOperation metadata for
|
|
245
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#import_identity_mappings IdentityMappingStoreService.ImportIdentityMappings}
|
|
246
|
+
# and
|
|
247
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#purge_identity_mappings IdentityMappingStoreService.PurgeIdentityMappings}
|
|
248
|
+
# @!attribute [rw] success_count
|
|
249
|
+
# @return [::Integer]
|
|
250
|
+
# The number of IdentityMappingEntries that were successfully processed.
|
|
251
|
+
# @!attribute [rw] failure_count
|
|
252
|
+
# @return [::Integer]
|
|
253
|
+
# The number of IdentityMappingEntries that failed to be processed.
|
|
254
|
+
# @!attribute [rw] total_count
|
|
255
|
+
# @return [::Integer]
|
|
256
|
+
# The total number of IdentityMappingEntries that were processed.
|
|
257
|
+
class IdentityMappingEntryOperationMetadata
|
|
258
|
+
include ::Google::Protobuf::MessageExts
|
|
259
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
260
|
+
end
|
|
261
|
+
|
|
262
|
+
# Metadata related to the progress of the
|
|
263
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::IdentityMappingStoreService::Client#delete_identity_mapping_store IdentityMappingStoreService.DeleteIdentityMappingStore}
|
|
264
|
+
# operation. This will be returned by the google.longrunning.Operation.metadata
|
|
265
|
+
# field.
|
|
266
|
+
# @!attribute [rw] create_time
|
|
267
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
268
|
+
# Operation create time.
|
|
269
|
+
# @!attribute [rw] update_time
|
|
270
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
271
|
+
# Operation last update time. If the operation is done, this is also the
|
|
272
|
+
# finish time.
|
|
273
|
+
class DeleteIdentityMappingStoreMetadata
|
|
274
|
+
include ::Google::Protobuf::MessageExts
|
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
276
|
+
end
|
|
277
|
+
end
|
|
278
|
+
end
|
|
279
|
+
end
|
|
280
|
+
end
|
|
@@ -225,7 +225,7 @@ module Google
|
|
|
225
225
|
# The type of values in a Bigtable column or column family.
|
|
226
226
|
# The values are expected to be encoded using
|
|
227
227
|
# [HBase
|
|
228
|
-
# Bytes.toBytes](https://hbase.apache.org/apidocs/org/apache/hadoop/hbase/util/Bytes.html)
|
|
228
|
+
# Bytes.toBytes](https://hbase.apache.org/1.4/apidocs/org/apache/hadoop/hbase/util/Bytes.html)
|
|
229
229
|
# function when the encoding value is set to `BINARY`.
|
|
230
230
|
module Type
|
|
231
231
|
# The type is unspecified.
|
|
@@ -304,6 +304,17 @@ module Google
|
|
|
304
304
|
# all [supported FHIR resource
|
|
305
305
|
# types](https://cloud.google.com/generative-ai-app-builder/docs/fhir-schema-reference#resource-level-specification).
|
|
306
306
|
# Default to all supported FHIR resource types if empty.
|
|
307
|
+
# @!attribute [rw] update_from_latest_predefined_schema
|
|
308
|
+
# @return [::Boolean]
|
|
309
|
+
# Optional. Whether to update the DataStore schema to the latest predefined
|
|
310
|
+
# schema.
|
|
311
|
+
#
|
|
312
|
+
# If true, the DataStore schema will be updated to include any FHIR fields
|
|
313
|
+
# or resource types that have been added since the last import and
|
|
314
|
+
# corresponding FHIR resources will be imported from the FHIR store.
|
|
315
|
+
#
|
|
316
|
+
# Note this field cannot be used in conjunction with `resource_types`. It
|
|
317
|
+
# should be used after initial import.
|
|
307
318
|
class FhirStoreSource
|
|
308
319
|
include ::Google::Protobuf::MessageExts
|
|
309
320
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -484,10 +495,10 @@ module Google
|
|
|
484
495
|
# @!attribute [rw] create_time
|
|
485
496
|
# @return [::Google::Protobuf::Timestamp]
|
|
486
497
|
# Operation create time.
|
|
487
|
-
# @!attribute [
|
|
498
|
+
# @!attribute [r] update_time
|
|
488
499
|
# @return [::Google::Protobuf::Timestamp]
|
|
489
|
-
# Operation last update time. If the operation is done, this is
|
|
490
|
-
# finish time.
|
|
500
|
+
# Output only. Operation last update time. If the operation is done, this is
|
|
501
|
+
# also the finish time.
|
|
491
502
|
# @!attribute [rw] success_count
|
|
492
503
|
# @return [::Integer]
|
|
493
504
|
# Count of entries that were processed successfully.
|
|
@@ -646,8 +657,14 @@ module Google
|
|
|
646
657
|
# must be `custom` or `csv`. Otherwise, an INVALID_ARGUMENT error is thrown.
|
|
647
658
|
# * {::Google::Cloud::DiscoveryEngine::V1beta::SpannerSource SpannerSource}.
|
|
648
659
|
# * {::Google::Cloud::DiscoveryEngine::V1beta::CloudSqlSource CloudSqlSource}.
|
|
649
|
-
# * {::Google::Cloud::DiscoveryEngine::V1beta::FirestoreSource FirestoreSource}.
|
|
650
660
|
# * {::Google::Cloud::DiscoveryEngine::V1beta::BigtableSource BigtableSource}.
|
|
661
|
+
# @!attribute [rw] force_refresh_content
|
|
662
|
+
# @return [::Boolean]
|
|
663
|
+
# Optional. Whether to force refresh the unstructured content of the
|
|
664
|
+
# documents.
|
|
665
|
+
#
|
|
666
|
+
# If set to `true`, the content part of the documents will be refreshed
|
|
667
|
+
# regardless of the update status of the referencing content.
|
|
651
668
|
class ImportDocumentsRequest
|
|
652
669
|
include ::Google::Protobuf::MessageExts
|
|
653
670
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -674,6 +691,9 @@ module Google
|
|
|
674
691
|
|
|
675
692
|
# Calculates diff and replaces the entire document dataset. Existing
|
|
676
693
|
# documents may be deleted if they are not present in the source location.
|
|
694
|
+
# When using this mode, there won't be any downtime on the dataset
|
|
695
|
+
# targeted. Any document that should remain unchanged or that should be
|
|
696
|
+
# updated will continue serving while the operation is running.
|
|
677
697
|
FULL = 2
|
|
678
698
|
end
|
|
679
699
|
end
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module DiscoveryEngine
|
|
23
|
+
module V1beta
|
|
24
|
+
# Information about users' licenses.
|
|
25
|
+
# @!attribute [rw] name
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Immutable. Identifier. The fully qualified resource name of the license
|
|
28
|
+
# config. Format:
|
|
29
|
+
# `projects/{project}/locations/{location}/licenseConfigs/{license_config}`
|
|
30
|
+
# @!attribute [rw] license_count
|
|
31
|
+
# @return [::Integer]
|
|
32
|
+
# Required. Number of licenses purchased.
|
|
33
|
+
# @!attribute [rw] subscription_tier
|
|
34
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTier]
|
|
35
|
+
# Required. Subscription tier information for the license config.
|
|
36
|
+
# @!attribute [r] state
|
|
37
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig::State]
|
|
38
|
+
# Output only. The state of the license config.
|
|
39
|
+
# @!attribute [rw] auto_renew
|
|
40
|
+
# @return [::Boolean]
|
|
41
|
+
# Optional. Whether the license config should be auto renewed when it reaches
|
|
42
|
+
# the end date.
|
|
43
|
+
# @!attribute [rw] start_date
|
|
44
|
+
# @return [::Google::Type::Date]
|
|
45
|
+
# Required. The start date.
|
|
46
|
+
# @!attribute [rw] end_date
|
|
47
|
+
# @return [::Google::Type::Date]
|
|
48
|
+
# Optional. The planed end date.
|
|
49
|
+
# @!attribute [rw] subscription_term
|
|
50
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::SubscriptionTerm]
|
|
51
|
+
# Required. Subscription term.
|
|
52
|
+
# @!attribute [rw] free_trial
|
|
53
|
+
# @return [::Boolean]
|
|
54
|
+
# Optional. Whether the license config is for free trial.
|
|
55
|
+
# @!attribute [r] gemini_bundle
|
|
56
|
+
# @return [::Boolean]
|
|
57
|
+
# Output only. Whether the license config is for Gemini bundle.
|
|
58
|
+
# @!attribute [r] early_terminated
|
|
59
|
+
# @return [::Boolean]
|
|
60
|
+
# Output only. Indication of whether the subscription is terminated earlier
|
|
61
|
+
# than the expiration date. This is usually terminated by pipeline once the
|
|
62
|
+
# subscription gets terminated from subsv3.
|
|
63
|
+
# @!attribute [r] early_termination_date
|
|
64
|
+
# @return [::Google::Type::Date]
|
|
65
|
+
# Output only. The date when the subscription is terminated earlier than the
|
|
66
|
+
# expiration date.
|
|
67
|
+
class LicenseConfig
|
|
68
|
+
include ::Google::Protobuf::MessageExts
|
|
69
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
70
|
+
|
|
71
|
+
# License config state enumeration.
|
|
72
|
+
module State
|
|
73
|
+
# Default value. The license config does not exist.
|
|
74
|
+
STATE_UNSPECIFIED = 0
|
|
75
|
+
|
|
76
|
+
# The license config is effective and being used.
|
|
77
|
+
ACTIVE = 1
|
|
78
|
+
|
|
79
|
+
# The license config has expired.
|
|
80
|
+
EXPIRED = 2
|
|
81
|
+
|
|
82
|
+
# The license config has not started yet, and its start date is in the
|
|
83
|
+
# future.
|
|
84
|
+
NOT_STARTED = 3
|
|
85
|
+
|
|
86
|
+
# This is when a sub license config has returned all its seats back to
|
|
87
|
+
# BillingAccountLicenseConfig that it belongs to.
|
|
88
|
+
# Similar to EXPIRED.
|
|
89
|
+
WITHDRAWN = 4
|
|
90
|
+
|
|
91
|
+
# The license config is terminated earlier than the expiration date and it
|
|
92
|
+
# is deactivating. The customer will still have access in this state. It
|
|
93
|
+
# will be converted to EXPIRED after the deactivating period ends (14 days)
|
|
94
|
+
# or when the end date is reached, whichever comes first.
|
|
95
|
+
DEACTIVATING = 5
|
|
96
|
+
end
|
|
97
|
+
end
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
end
|
|
101
|
+
end
|
|
@@ -0,0 +1,224 @@
|
|
|
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
|
+
# Request message for
|
|
25
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#create_license_config LicenseConfigService.CreateLicenseConfig}
|
|
26
|
+
# method.
|
|
27
|
+
# @!attribute [rw] parent
|
|
28
|
+
# @return [::String]
|
|
29
|
+
# Required. The parent resource name, such as
|
|
30
|
+
# `projects/{project}/locations/{location}`.
|
|
31
|
+
# @!attribute [rw] license_config
|
|
32
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig]
|
|
33
|
+
# Required. The
|
|
34
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig} to
|
|
35
|
+
# create.
|
|
36
|
+
# @!attribute [rw] license_config_id
|
|
37
|
+
# @return [::String]
|
|
38
|
+
# Optional. The ID to use for the
|
|
39
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig}, which
|
|
40
|
+
# will become the final component of the
|
|
41
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig}'s
|
|
42
|
+
# resource name. We are using the tier (product edition) name as the license
|
|
43
|
+
# config id such as `search` or `search_and_assistant`.
|
|
44
|
+
class CreateLicenseConfigRequest
|
|
45
|
+
include ::Google::Protobuf::MessageExts
|
|
46
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
47
|
+
end
|
|
48
|
+
|
|
49
|
+
# Request message for
|
|
50
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#update_license_config LicenseConfigService.UpdateLicenseConfig}
|
|
51
|
+
# method.
|
|
52
|
+
# @!attribute [rw] license_config
|
|
53
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig]
|
|
54
|
+
# Required. The
|
|
55
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig} to
|
|
56
|
+
# update.
|
|
57
|
+
# @!attribute [rw] update_mask
|
|
58
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
59
|
+
# Optional. Indicates which fields in the provided
|
|
60
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig} to
|
|
61
|
+
# update.
|
|
62
|
+
#
|
|
63
|
+
# If an unsupported or unknown field is provided, an INVALID_ARGUMENT error
|
|
64
|
+
# is returned.
|
|
65
|
+
class UpdateLicenseConfigRequest
|
|
66
|
+
include ::Google::Protobuf::MessageExts
|
|
67
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
68
|
+
end
|
|
69
|
+
|
|
70
|
+
# Request message for
|
|
71
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#get_license_config LicenseConfigService.GetLicenseConfig}
|
|
72
|
+
# method.
|
|
73
|
+
# @!attribute [rw] name
|
|
74
|
+
# @return [::String]
|
|
75
|
+
# Required. Full resource name of
|
|
76
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig}, such as
|
|
77
|
+
# `projects/{project}/locations/{location}/licenseConfigs/*`.
|
|
78
|
+
#
|
|
79
|
+
# If the caller does not have permission to access the
|
|
80
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig},
|
|
81
|
+
# regardless of whether or not it exists, a PERMISSION_DENIED error is
|
|
82
|
+
# returned.
|
|
83
|
+
#
|
|
84
|
+
# If the requested
|
|
85
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig} does not
|
|
86
|
+
# exist, a NOT_FOUND error is returned.
|
|
87
|
+
class GetLicenseConfigRequest
|
|
88
|
+
include ::Google::Protobuf::MessageExts
|
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
# Request message for
|
|
93
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#list_license_configs LicenseConfigService.ListLicenseConfigs}
|
|
94
|
+
# method.
|
|
95
|
+
# @!attribute [rw] parent
|
|
96
|
+
# @return [::String]
|
|
97
|
+
# Required. The parent branch resource name, such as
|
|
98
|
+
# `projects/{project}/locations/{location}`.
|
|
99
|
+
# @!attribute [rw] page_size
|
|
100
|
+
# @return [::Integer]
|
|
101
|
+
# Optional. Not supported.
|
|
102
|
+
# @!attribute [rw] page_token
|
|
103
|
+
# @return [::String]
|
|
104
|
+
# Optional. Not supported.
|
|
105
|
+
# @!attribute [rw] filter
|
|
106
|
+
# @return [::String]
|
|
107
|
+
# Optional. The filter to apply to the list results.
|
|
108
|
+
#
|
|
109
|
+
# The supported fields are:
|
|
110
|
+
#
|
|
111
|
+
# * `subscription_tier`
|
|
112
|
+
# * `state`
|
|
113
|
+
#
|
|
114
|
+
# Examples:
|
|
115
|
+
#
|
|
116
|
+
# * `subscription_tier=SUBSCRIPTION_TIER_SEARCH,state=ACTIVE` - Lists all
|
|
117
|
+
# active search license configs.
|
|
118
|
+
# * `state=ACTIVE` - Lists all active license configs.
|
|
119
|
+
#
|
|
120
|
+
# The filter string should be a comma-separated list of field=value pairs.
|
|
121
|
+
class ListLicenseConfigsRequest
|
|
122
|
+
include ::Google::Protobuf::MessageExts
|
|
123
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Response message for
|
|
127
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#list_license_configs LicenseConfigService.ListLicenseConfigs}
|
|
128
|
+
# method.
|
|
129
|
+
# @!attribute [rw] license_configs
|
|
130
|
+
# @return [::Array<::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig>]
|
|
131
|
+
# All the customer's
|
|
132
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig}s.
|
|
133
|
+
# @!attribute [rw] next_page_token
|
|
134
|
+
# @return [::String]
|
|
135
|
+
# Not supported.
|
|
136
|
+
class ListLicenseConfigsResponse
|
|
137
|
+
include ::Google::Protobuf::MessageExts
|
|
138
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
139
|
+
end
|
|
140
|
+
|
|
141
|
+
# Request message for
|
|
142
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#distribute_license_config LicenseConfigService.DistributeLicenseConfig}
|
|
143
|
+
# method.
|
|
144
|
+
# @!attribute [rw] billing_account_license_config
|
|
145
|
+
# @return [::String]
|
|
146
|
+
# Required. Full resource name of [BillingAccountLicenseConfig][].
|
|
147
|
+
#
|
|
148
|
+
# Format:
|
|
149
|
+
# `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
|
|
150
|
+
# @!attribute [rw] project_number
|
|
151
|
+
# @return [::Integer]
|
|
152
|
+
# Required. The target GCP project number to distribute the license config
|
|
153
|
+
# to.
|
|
154
|
+
# @!attribute [rw] location
|
|
155
|
+
# @return [::String]
|
|
156
|
+
# Required. The target GCP project region to distribute the license config
|
|
157
|
+
# to.
|
|
158
|
+
# @!attribute [rw] license_count
|
|
159
|
+
# @return [::Integer]
|
|
160
|
+
# Required. The number of licenses to distribute.
|
|
161
|
+
# @!attribute [rw] license_config_id
|
|
162
|
+
# @return [::String]
|
|
163
|
+
# Optional. Distribute seats to this license config instead of creating a new
|
|
164
|
+
# one. If not specified, a new license config will be created from the
|
|
165
|
+
# billing account license config.
|
|
166
|
+
class DistributeLicenseConfigRequest
|
|
167
|
+
include ::Google::Protobuf::MessageExts
|
|
168
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
169
|
+
end
|
|
170
|
+
|
|
171
|
+
# Response message for
|
|
172
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#distribute_license_config LicenseConfigService.DistributeLicenseConfig}
|
|
173
|
+
# method.
|
|
174
|
+
# @!attribute [rw] license_config
|
|
175
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig]
|
|
176
|
+
# The updated or created LicenseConfig.
|
|
177
|
+
class DistributeLicenseConfigResponse
|
|
178
|
+
include ::Google::Protobuf::MessageExts
|
|
179
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
# Request message for
|
|
183
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#retract_license_config LicenseConfigService.RetractLicenseConfig}
|
|
184
|
+
# method.
|
|
185
|
+
# @!attribute [rw] billing_account_license_config
|
|
186
|
+
# @return [::String]
|
|
187
|
+
# Required. Full resource name of [BillingAccountLicenseConfig][].
|
|
188
|
+
#
|
|
189
|
+
# Format:
|
|
190
|
+
# `billingAccounts/{billing_account}/billingAccountLicenseConfigs/{billing_account_license_config_id}`.
|
|
191
|
+
# @!attribute [rw] license_config
|
|
192
|
+
# @return [::String]
|
|
193
|
+
# Required. Full resource name of
|
|
194
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig LicenseConfig}.
|
|
195
|
+
#
|
|
196
|
+
# Format:
|
|
197
|
+
# `projects/{project}/locations/{location}/licenseConfigs/{license_config_id}`.
|
|
198
|
+
# @!attribute [rw] full_retract
|
|
199
|
+
# @return [::Boolean]
|
|
200
|
+
# Optional. If set to true, retract the entire license config. Otherwise,
|
|
201
|
+
# retract the specified license count.
|
|
202
|
+
# @!attribute [rw] license_count
|
|
203
|
+
# @return [::Integer]
|
|
204
|
+
# Optional. The number of licenses to retract. Only used when full_retract is
|
|
205
|
+
# false.
|
|
206
|
+
class RetractLicenseConfigRequest
|
|
207
|
+
include ::Google::Protobuf::MessageExts
|
|
208
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
# Response message for
|
|
212
|
+
# {::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfigService::Client#retract_license_config LicenseConfigService.RetractLicenseConfig}
|
|
213
|
+
# method.
|
|
214
|
+
# @!attribute [rw] license_config
|
|
215
|
+
# @return [::Google::Cloud::DiscoveryEngine::V1beta::LicenseConfig]
|
|
216
|
+
# The updated LicenseConfig.
|
|
217
|
+
class RetractLicenseConfigResponse
|
|
218
|
+
include ::Google::Protobuf::MessageExts
|
|
219
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
220
|
+
end
|
|
221
|
+
end
|
|
222
|
+
end
|
|
223
|
+
end
|
|
224
|
+
end
|