@@ -3088,7 +3088,8 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion
30883088 # @return [String]
30893089 attr_accessor :title
30903090
3091- # Required. The URL for the page the user wants to promote.
3091+ # Optional. The URL for the page the user wants to promote. Must be set for site
3092+ # search. For other verticals, this is optional.
30923093 # Corresponds to the JSON property `uri`
30933094 # @return [String]
30943095 attr_accessor :uri
@@ -4198,6 +4199,56 @@ def update!(**args)
41984199 end
41994200 end
42004201
4202+ # The connector level alert config.
4203+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
4204+ include Google::Apis::Core::Hashable
4205+
4206+ # Optional. The enrollment states of each alert.
4207+ # Corresponds to the JSON property `alertEnrollments`
4208+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
4209+ attr_accessor :alert_enrollments
4210+
4211+ # Immutable. The fully qualified resource name of the AlertPolicy.
4212+ # Corresponds to the JSON property `alertPolicyName`
4213+ # @return [String]
4214+ attr_accessor :alert_policy_name
4215+
4216+ def initialize(**args)
4217+ update!(**args)
4218+ end
4219+
4220+ # Update properties of this object
4221+ def update!(**args)
4222+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
4223+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
4224+ end
4225+ end
4226+
4227+ # The alert enrollment status.
4228+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
4229+ include Google::Apis::Core::Hashable
4230+
4231+ # Immutable. The id of an alert.
4232+ # Corresponds to the JSON property `alertId`
4233+ # @return [String]
4234+ attr_accessor :alert_id
4235+
4236+ # Required. The enrollment status of a customer.
4237+ # Corresponds to the JSON property `enrollState`
4238+ # @return [String]
4239+ attr_accessor :enroll_state
4240+
4241+ def initialize(**args)
4242+ update!(**args)
4243+ end
4244+
4245+ # Update properties of this object
4246+ def update!(**args)
4247+ @alert_id = args[:alert_id] if args.key?(:alert_id)
4248+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
4249+ end
4250+ end
4251+
42014252 # Defines an answer.
42024253 class GoogleCloudDiscoveryengineV1alphaAnswer
42034254 include Google::Apis::Core::Hashable
@@ -5873,6 +5924,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
58735924 # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaActionConfig]
58745925 attr_accessor :action_config
58755926
5927+ # Optional. The connector level alert config.
5928+ # Corresponds to the JSON property `alertPolicyConfigs`
5929+ # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
5930+ attr_accessor :alert_policy_configs
5931+
58765932 # Indicates whether the connector is disabled for auto run. It can be used to
58775933 # pause periodical and real time sync.
58785934 # Corresponds to the JSON property `autoRunDisabled`
@@ -6062,6 +6118,7 @@ def initialize(**args)
60626118 # Update properties of this object
60636119 def update!(**args)
60646120 @action_config = args[:action_config] if args.key?(:action_config)
6121+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
60656122 @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
60666123 @bap_config = args[:bap_config] if args.key?(:bap_config)
60676124 @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -9342,7 +9399,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
93429399 # @return [String]
93439400 attr_accessor :title
93449401
9345- # Required. The URL for the page the user wants to promote.
9402+ # Optional. The URL for the page the user wants to promote. Must be set for site
9403+ # search. For other verticals, this is optional.
93469404 # Corresponds to the JSON property `uri`
93479405 # @return [String]
93489406 attr_accessor :uri
@@ -12437,6 +12495,12 @@ def update!(**args)
1243712495 class GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpec
1243812496 include Google::Apis::Core::Hashable
1243912497
12498+ # Optional. Whether to disable spell correction. The default value is `false`.
12499+ # Corresponds to the JSON property `disableSpellCorrection`
12500+ # @return [Boolean]
12501+ attr_accessor :disable_spell_correction
12502+ alias_method :disable_spell_correction?, :disable_spell_correction
12503+
1244012504 # Query classification specification.
1244112505 # Corresponds to the JSON property `queryClassificationSpec`
1244212506 # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaAnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -12453,6 +12517,7 @@ def initialize(**args)
1245312517
1245412518 # Update properties of this object
1245512519 def update!(**args)
12520+ @disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
1245612521 @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
1245712522 @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
1245812523 end
@@ -20156,7 +20221,8 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
2015620221 # @return [String]
2015720222 attr_accessor :title
2015820223
20159- # Required. The URL for the page the user wants to promote.
20224+ # Optional. The URL for the page the user wants to promote. Must be set for site
20225+ # search. For other verticals, this is optional.
2016020226 # Corresponds to the JSON property `uri`
2016120227 # @return [String]
2016220228 attr_accessor :uri
@@ -20217,6 +20283,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2021720283 # @return [Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
2021820284 attr_accessor :data_store_specs
2021920285
20286+ # Specifies features for display, like match highlighting.
20287+ # Corresponds to the JSON property `displaySpec`
20288+ # @return [Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
20289+ attr_accessor :display_spec
20290+
2022020291 # The specification that uses customized query embedding vector to do semantic
2022120292 # document retrieval.
2022220293 # Corresponds to the JSON property `embeddingSpec`
@@ -20488,6 +20559,7 @@ def update!(**args)
2048820559 @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
2048920560 @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
2049020561 @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
20562+ @display_spec = args[:display_spec] if args.key?(:display_spec)
2049120563 @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
2049220564 @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
2049320565 @filter = args[:filter] if args.key?(:filter)
@@ -21044,6 +21116,25 @@ def update!(**args)
2104421116 end
2104521117 end
2104621118
21119+ # Specifies features for display, like match highlighting.
21120+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
21121+ include Google::Apis::Core::Hashable
21122+
21123+ # The condition under which match highlighting should occur.
21124+ # Corresponds to the JSON property `matchHighlightingCondition`
21125+ # @return [String]
21126+ attr_accessor :match_highlighting_condition
21127+
21128+ def initialize(**args)
21129+ update!(**args)
21130+ end
21131+
21132+ # Update properties of this object
21133+ def update!(**args)
21134+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
21135+ end
21136+ end
21137+
2104721138 # The specification that uses customized query embedding vector to do semantic
2104821139 # document retrieval.
2104921140 class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
0 commit comments