From 38f0da159db10ce4f139f7eb8a7fa5aecf90409e Mon Sep 17 00:00:00 2001 From: Yoshi Automation Bot Date: Sun, 16 Nov 2025 10:48:42 +0000 Subject: [PATCH] feat: Automated regeneration of discoveryengine v1beta client --- api_names_out.yaml | 24 ++++ .../CHANGELOG.md | 4 + .../apis/discoveryengine_v1beta/classes.rb | 119 ++++++++++++++++++ .../discoveryengine_v1beta/gem_version.rb | 4 +- .../discoveryengine_v1beta/representations.rb | 40 ++++++ .../apis/discoveryengine_v1beta/service.rb | 46 +++++-- 6 files changed, 228 insertions(+), 9 deletions(-) diff --git a/api_names_out.yaml b/api_names_out.yaml index 991f81d4ec5..ae3decfaf14 100644 --- a/api_names_out.yaml +++ b/api_names_out.yaml @@ -223254,6 +223254,8 @@ : enable_get_processed_document ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses": exclude_html_classes @@ -223283,6 +223285,7 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/appType": app_type "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/chatEngineConfig": chat_engine_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/cmekConfig": cmek_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/commonConfig": common_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/createTime": create_time @@ -223294,6 +223297,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/features/feature": feature "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/industryVertical": industry_vertical "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/modelConfigs": model_configs +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/modelConfigs/model_config": model_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/name": name "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/searchEngineConfig": search_engine_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1Engine/solutionType": solution_type @@ -224205,6 +224210,8 @@ : enable_get_processed_document ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses" @@ -224237,6 +224244,7 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/appType": app_type "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/chatEngineConfig": chat_engine_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/cmekConfig": cmek_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/commonConfig": common_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/createTime": create_time @@ -224248,6 +224256,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/features/feature": feature "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/industryVertical": industry_vertical "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/modelConfigs": model_configs +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/modelConfigs/model_config": model_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/name": name "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/recommendationMetadata": recommendation_metadata "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1alphaEngine/searchEngineConfig": search_engine_config @@ -225805,6 +225815,8 @@ : enable_get_processed_document ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableImageAnnotation" : enable_image_annotation +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableLlmLayoutParsing" +: enable_llm_layout_parsing ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/enableTableAnnotation" : enable_table_annotation ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayoutParsingConfig/excludeHtmlClasses" @@ -225842,6 +225854,7 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/appType": app_type "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/chatEngineConfig": chat_engine_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/chatEngineMetadata": chat_engine_metadata +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/cmekConfig": cmek_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/commonConfig": common_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/configurableBillingApproach": configurable_billing_approach "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/createTime": create_time @@ -225853,6 +225866,8 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/features/feature": feature "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/industryVertical": industry_vertical "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/mediaRecommendationEngineConfig": media_recommendation_engine_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/modelConfigs": model_configs +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/modelConfigs/model_config": model_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/name": name "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/searchEngineConfig": search_engine_config "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaEngine/solutionType": solution_type @@ -226214,6 +226229,9 @@ "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/state": state "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/subscriptionTerm": subscription_term "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfig/subscriptionTier": subscription_tier +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats": google_cloud_discoveryengine_v1beta_license_config_usage_stats +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats/licenseConfig": license_config +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats/usedLicenseCount": used_license_count "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse": google_cloud_discoveryengine_v1beta_list_cmek_configs_response "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse/cmekConfigs": cmek_configs "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse/cmekConfigs/cmek_config": cmek_config @@ -226261,6 +226279,10 @@ ? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse/identityMappingEntries/identity_mapping_entry" : identity_mapping_entry "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListIdentityMappingsResponse/nextPageToken": next_page_token +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse": google_cloud_discoveryengine_v1beta_list_license_configs_usage_stats_response +"/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse/licenseConfigUsageStats": license_config_usage_stats +? "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse/licenseConfigUsageStats/license_config_usage_stat" +: license_config_usage_stat "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse": google_cloud_discoveryengine_v1beta_list_sample_queries_response "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse/nextPageToken": next_page_token "/discoveryengine:v1beta/GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse/sampleQueries": sample_queries @@ -227918,6 +227940,8 @@ "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.delete/name": name "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.get": get_project_location_user_store "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.get/name": name +"/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list": list_project_location_user_store_license_configs_usage_stats +"/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.licenseConfigsUsageStats.list/parent": parent "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.patch": patch_project_location_user_store "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.patch/name": name "/discoveryengine:v1beta/discoveryengine.projects.locations.userStores.patch/updateMask": update_mask diff --git a/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md b/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md index 83b0b06b261..456baef384d 100644 --- a/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md +++ b/generated/google-apis-discoveryengine_v1beta/CHANGELOG.md @@ -1,5 +1,9 @@ # Release history for google-apis-discoveryengine_v1beta +### v0.89.0 (2025-11-16) + +* Regenerated from discovery document revision 20251109 + ### v0.88.0 (2025-11-02) * Regenerated from discovery document revision 20251030 diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb index 4f498d650b8..eb0c2eeacc6 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/classes.rb @@ -3934,6 +3934,12 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -3970,6 +3976,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -4069,6 +4076,11 @@ class GoogleCloudDiscoveryengineV1Engine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig] @@ -4130,6 +4142,17 @@ class GoogleCloudDiscoveryengineV1Engine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -4163,6 +4186,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -4172,6 +4196,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @solution_type = args[:solution_type] if args.key?(:solution_type) @@ -10750,6 +10775,12 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -10786,6 +10817,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -10885,6 +10917,11 @@ class GoogleCloudDiscoveryengineV1alphaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig] @@ -10946,6 +10983,17 @@ class GoogleCloudDiscoveryengineV1alphaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -10989,6 +11037,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -10998,6 +11047,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @recommendation_metadata = args[:recommendation_metadata] if args.key?(:recommendation_metadata) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @@ -22181,6 +22231,12 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou attr_accessor :enable_image_annotation alias_method :enable_image_annotation?, :enable_image_annotation + # Optional. If true, the pdf layout will be refined using an LLM. + # Corresponds to the JSON property `enableLlmLayoutParsing` + # @return [Boolean] + attr_accessor :enable_llm_layout_parsing + alias_method :enable_llm_layout_parsing?, :enable_llm_layout_parsing + # Optional. If true, the LLM based annotation is added to the table during # parsing. # Corresponds to the JSON property `enableTableAnnotation` @@ -22217,6 +22273,7 @@ def initialize(**args) def update!(**args) @enable_get_processed_document = args[:enable_get_processed_document] if args.key?(:enable_get_processed_document) @enable_image_annotation = args[:enable_image_annotation] if args.key?(:enable_image_annotation) + @enable_llm_layout_parsing = args[:enable_llm_layout_parsing] if args.key?(:enable_llm_layout_parsing) @enable_table_annotation = args[:enable_table_annotation] if args.key?(:enable_table_annotation) @exclude_html_classes = args[:exclude_html_classes] if args.key?(:exclude_html_classes) @exclude_html_elements = args[:exclude_html_elements] if args.key?(:exclude_html_elements) @@ -22367,6 +22424,11 @@ class GoogleCloudDiscoveryengineV1betaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata] attr_accessor :chat_engine_metadata + # Configurations used to enable CMEK data encryption with Cloud KMS keys. + # Corresponds to the JSON property `cmekConfig` + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig] + attr_accessor :cmek_config + # Common configurations for an Engine. # Corresponds to the JSON property `commonConfig` # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig] @@ -22428,6 +22490,17 @@ class GoogleCloudDiscoveryengineV1betaEngine # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig] attr_accessor :media_recommendation_engine_config + # Optional. Maps a model name to its specific configuration for this engine. + # This allows admin users to turn on/off individual models. This only stores + # models whose states are overridden by the admin. When the state is unspecified, + # or model_configs is empty for this model, the system will decide if this + # model should be available or not based on the default configuration. For + # example, a preview model should be disabled by default if the admin has not + # chosen to enable it. + # Corresponds to the JSON property `modelConfigs` + # @return [Hash] + attr_accessor :model_configs + # Immutable. Identifier. The fully qualified resource name of the engine. This # field must be a UTF-8 encoded string with a length limit of 1024 characters. # Format: `projects/`project`/locations/`location`/collections/`collection`/ @@ -22461,6 +22534,7 @@ def update!(**args) @app_type = args[:app_type] if args.key?(:app_type) @chat_engine_config = args[:chat_engine_config] if args.key?(:chat_engine_config) @chat_engine_metadata = args[:chat_engine_metadata] if args.key?(:chat_engine_metadata) + @cmek_config = args[:cmek_config] if args.key?(:cmek_config) @common_config = args[:common_config] if args.key?(:common_config) @configurable_billing_approach = args[:configurable_billing_approach] if args.key?(:configurable_billing_approach) @create_time = args[:create_time] if args.key?(:create_time) @@ -22470,6 +22544,7 @@ def update!(**args) @features = args[:features] if args.key?(:features) @industry_vertical = args[:industry_vertical] if args.key?(:industry_vertical) @media_recommendation_engine_config = args[:media_recommendation_engine_config] if args.key?(:media_recommendation_engine_config) + @model_configs = args[:model_configs] if args.key?(:model_configs) @name = args[:name] if args.key?(:name) @search_engine_config = args[:search_engine_config] if args.key?(:search_engine_config) @solution_type = args[:solution_type] if args.key?(:solution_type) @@ -24336,6 +24411,31 @@ def update!(**args) end end + # Stats about users' licenses. + class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats + include Google::Apis::Core::Hashable + + # Required. The LicenseConfig name. + # Corresponds to the JSON property `licenseConfig` + # @return [String] + attr_accessor :license_config + + # Required. The number of licenses used. + # Corresponds to the JSON property `usedLicenseCount` + # @return [Fixnum] + attr_accessor :used_license_count + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @license_config = args[:license_config] if args.key?(:license_config) + @used_license_count = args[:used_license_count] if args.key?(:used_license_count) + end + end + # Response message for CmekConfigService.ListCmekConfigs method. class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse include Google::Apis::Core::Hashable @@ -24631,6 +24731,25 @@ def update!(**args) end end + # Response message for UserLicenseService.ListLicenseConfigUsageStats method. + class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse + include Google::Apis::Core::Hashable + + # All the customer's LicenseConfigUsageStats. + # Corresponds to the JSON property `licenseConfigUsageStats` + # @return [Array] + attr_accessor :license_config_usage_stats + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @license_config_usage_stats = args[:license_config_usage_stats] if args.key?(:license_config_usage_stats) + end + end + # Response message for SampleQueryService.ListSampleQueries method. class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse include Google::Apis::Core::Hashable diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb index 63f154731e6..e8e8e7a6df7 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/gem_version.rb @@ -16,13 +16,13 @@ module Google module Apis module DiscoveryengineV1beta # Version of the google-apis-discoveryengine_v1beta gem - GEM_VERSION = "0.88.0" + GEM_VERSION = "0.89.0" # Version of the code generator used to generate this client GENERATOR_VERSION = "0.18.0" # Revision of the discovery document this client was generated from - REVISION = "20251030" + REVISION = "20251109" end end end diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb index a5bbaccbde1..558221e6d81 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/representations.rb @@ -3856,6 +3856,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -3928,6 +3934,12 @@ class Representation < Google::Apis::Core::JsonRepresentation; end include Google::Apis::Core::JsonObjectSupport end + class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse + class Representation < Google::Apis::Core::JsonRepresentation; end + + include Google::Apis::Core::JsonObjectSupport + end + class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse class Representation < Google::Apis::Core::JsonRepresentation; end @@ -5982,6 +5994,7 @@ class GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfigLayoutPar class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -6020,6 +6033,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1CmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -6031,6 +6046,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1EngineSearchEngineConfig::Representation @@ -7819,6 +7835,7 @@ class GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigParsingConfigLayo class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -7857,6 +7874,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaCmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -7868,6 +7887,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :recommendation_metadata, as: 'recommendationMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaEngineRecommendationMetadata::Representation @@ -10916,6 +10936,7 @@ class GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfigLayou class Representation < Google::Apis::Core::JsonRepresentation property :enable_get_processed_document, as: 'enableGetProcessedDocument' property :enable_image_annotation, as: 'enableImageAnnotation' + property :enable_llm_layout_parsing, as: 'enableLlmLayoutParsing' property :enable_table_annotation, as: 'enableTableAnnotation' collection :exclude_html_classes, as: 'excludeHtmlClasses' collection :exclude_html_elements, as: 'excludeHtmlElements' @@ -10974,6 +10995,8 @@ class Representation < Google::Apis::Core::JsonRepresentation property :chat_engine_metadata, as: 'chatEngineMetadata', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineChatEngineMetadata::Representation + property :cmek_config, as: 'cmekConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaCmekConfig::Representation + property :common_config, as: 'commonConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineCommonConfig::Representation property :configurable_billing_approach, as: 'configurableBillingApproach' @@ -10985,6 +11008,7 @@ class Representation < Google::Apis::Core::JsonRepresentation property :industry_vertical, as: 'industryVertical' property :media_recommendation_engine_config, as: 'mediaRecommendationEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineMediaRecommendationEngineConfig::Representation + hash :model_configs, as: 'modelConfigs' property :name, as: 'name' property :search_engine_config, as: 'searchEngineConfig', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEngineSearchEngineConfig::Representation @@ -11536,6 +11560,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats + # @private + class Representation < Google::Apis::Core::JsonRepresentation + property :license_config, as: 'licenseConfig' + property :used_license_count, :numeric_string => true, as: 'usedLicenseCount' + end + end + class GoogleCloudDiscoveryengineV1betaListCmekConfigsResponse # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -11643,6 +11675,14 @@ class Representation < Google::Apis::Core::JsonRepresentation end end + class GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse + # @private + class Representation < Google::Apis::Core::JsonRepresentation + collection :license_config_usage_stats, as: 'licenseConfigUsageStats', class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats, decorator: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaLicenseConfigUsageStats::Representation + + end + end + class GoogleCloudDiscoveryengineV1betaListSampleQueriesResponse # @private class Representation < Google::Apis::Core::JsonRepresentation diff --git a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb index 2410d0898ba..bff77eecc06 100644 --- a/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb +++ b/generated/google-apis-discoveryengine_v1beta/lib/google/apis/discoveryengine_v1beta/service.rb @@ -9856,18 +9856,50 @@ def patch_project_location_user_store(name, google_cloud_discoveryengine_v1beta_ execute_or_queue_command(command, &block) end + # Lists all the LicenseConfigUsageStatss associated with the project. + # @param [String] parent + # Required. The parent branch resource name, such as `projects/`project`/ + # locations/`location`/userStores/`user_store_id``. + # @param [String] fields + # Selector specifying which fields to include in a partial response. + # @param [String] quota_user + # Available to use for quota purposes for server-side applications. Can be any + # arbitrary string assigned to a user, but should not exceed 40 characters. + # @param [Google::Apis::RequestOptions] options + # Request-specific options + # + # @yield [result, err] Result & error if block supplied + # @yieldparam result [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse] parsed result object + # @yieldparam err [StandardError] error object if request failed + # + # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse] + # + # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried + # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification + # @raise [Google::Apis::AuthorizationError] Authorization is required + def list_project_location_user_store_license_configs_usage_stats(parent, fields: nil, quota_user: nil, options: nil, &block) + command = make_simple_command(:get, 'v1beta/{+parent}/licenseConfigsUsageStats', options) + command.response_representation = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse::Representation + command.response_class = Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaListLicenseConfigsUsageStatsResponse + command.params['parent'] = parent unless parent.nil? + command.query['fields'] = fields unless fields.nil? + command.query['quotaUser'] = quota_user unless quota_user.nil? + execute_or_queue_command(command, &block) + end + # Lists the User Licenses. # @param [String] parent # Required. The parent UserStore resource name, format: `projects/`project`/ # locations/`location`/userStores/`user_store_id``. # @param [String] filter - # Optional. Filter for the list request. Supported fields: * ` - # license_assignment_state` Examples: * `license_assignment_state = ASSIGNED` to - # list assigned user licenses. * `license_assignment_state = NO_LICENSE` to list - # not licensed users. * `license_assignment_state = NO_LICENSE_ATTEMPTED_LOGIN` - # to list users who attempted login but no license assigned. * ` - # license_assignment_state != NO_LICENSE_ATTEMPTED_LOGIN` to filter out users - # who attempted login but no license assigned. + # Optional. Filter for the list request. Supported fields: * `license`_` + # assignment`_`state` * `user_principal` * `user_profile` Examples: * `license`_` + # assignment`_`state = ASSIGNED` to list assigned user licenses. * `license`_` + # assignment`_`state = NO_LICENSE` to list not licensed users. * `license`_` + # assignment`_`state = NO_LICENSE_ATTEMPTED_LOGIN` to list users who attempted + # login but no license assigned. * `license`_`assignment`_`state != + # NO_LICENSE_ATTEMPTED_LOGIN` to filter out users who attempted login but no + # license assigned. # @param [Fixnum] page_size # Optional. Requested page size. Server may return fewer items than requested. # If unspecified, defaults to 10. The maximum value is 50; values above 50 will