@@ -1406,6 +1406,12 @@ def update!(**args)
14061406 class GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpec
14071407 include Google::Apis::Core::Hashable
14081408
1409+ # Optional. Whether to disable spell correction. The default value is `false`.
1410+ # Corresponds to the JSON property `disableSpellCorrection`
1411+ # @return [Boolean]
1412+ attr_accessor :disable_spell_correction
1413+ alias_method :disable_spell_correction?, :disable_spell_correction
1414+
14091415 # Query classification specification.
14101416 # Corresponds to the JSON property `queryClassificationSpec`
14111417 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1AnswerQueryRequestQueryUnderstandingSpecQueryClassificationSpec]
@@ -1422,6 +1428,7 @@ def initialize(**args)
14221428
14231429 # Update properties of this object
14241430 def update!(**args)
1431+ @disable_spell_correction = args[:disable_spell_correction] if args.key?(:disable_spell_correction)
14251432 @query_classification_spec = args[:query_classification_spec] if args.key?(:query_classification_spec)
14261433 @query_rephraser_spec = args[:query_rephraser_spec] if args.key?(:query_rephraser_spec)
14271434 end
@@ -8093,7 +8100,8 @@ class GoogleCloudDiscoveryengineV1SearchLinkPromotion
80938100 # @return [String]
80948101 attr_accessor :title
80958102
8096- # Required. The URL for the page the user wants to promote.
8103+ # Optional. The URL for the page the user wants to promote. Must be set for site
8104+ # search. For other verticals, this is optional.
80978105 # Corresponds to the JSON property `uri`
80988106 # @return [String]
80998107 attr_accessor :uri
@@ -8154,6 +8162,11 @@ class GoogleCloudDiscoveryengineV1SearchRequest
81548162 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDataStoreSpec>]
81558163 attr_accessor :data_store_specs
81568164
8165+ # Specifies features for display, like match highlighting.
8166+ # Corresponds to the JSON property `displaySpec`
8167+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec]
8168+ attr_accessor :display_spec
8169+
81578170 # Facet specifications for faceted search. If empty, no facets are returned. A
81588171 # maximum of 100 values are allowed. Otherwise, an `INVALID_ARGUMENT` error is
81598172 # returned.
@@ -8354,6 +8367,7 @@ def update!(**args)
83548367 @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
83558368 @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
83568369 @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
8370+ @display_spec = args[:display_spec] if args.key?(:display_spec)
83578371 @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
83588372 @filter = args[:filter] if args.key?(:filter)
83598373 @image_query = args[:image_query] if args.key?(:image_query)
@@ -8903,6 +8917,25 @@ def update!(**args)
89038917 end
89048918 end
89058919
8920+ # Specifies features for display, like match highlighting.
8921+ class GoogleCloudDiscoveryengineV1SearchRequestDisplaySpec
8922+ include Google::Apis::Core::Hashable
8923+
8924+ # The condition under which match highlighting should occur.
8925+ # Corresponds to the JSON property `matchHighlightingCondition`
8926+ # @return [String]
8927+ attr_accessor :match_highlighting_condition
8928+
8929+ def initialize(**args)
8930+ update!(**args)
8931+ end
8932+
8933+ # Update properties of this object
8934+ def update!(**args)
8935+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
8936+ end
8937+ end
8938+
89068939 # A facet specification to perform faceted search.
89078940 class GoogleCloudDiscoveryengineV1SearchRequestFacetSpec
89088941 include Google::Apis::Core::Hashable
@@ -11066,6 +11099,56 @@ def update!(**args)
1106611099 end
1106711100 end
1106811101
11102+ # The connector level alert config.
11103+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig
11104+ include Google::Apis::Core::Hashable
11105+
11106+ # Optional. The enrollment states of each alert.
11107+ # Corresponds to the JSON property `alertEnrollments`
11108+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment>]
11109+ attr_accessor :alert_enrollments
11110+
11111+ # Immutable. The fully qualified resource name of the AlertPolicy.
11112+ # Corresponds to the JSON property `alertPolicyName`
11113+ # @return [String]
11114+ attr_accessor :alert_policy_name
11115+
11116+ def initialize(**args)
11117+ update!(**args)
11118+ end
11119+
11120+ # Update properties of this object
11121+ def update!(**args)
11122+ @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments)
11123+ @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name)
11124+ end
11125+ end
11126+
11127+ # The alert enrollment status.
11128+ class GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
11129+ include Google::Apis::Core::Hashable
11130+
11131+ # Immutable. The id of an alert.
11132+ # Corresponds to the JSON property `alertId`
11133+ # @return [String]
11134+ attr_accessor :alert_id
11135+
11136+ # Required. The enrollment status of a customer.
11137+ # Corresponds to the JSON property `enrollState`
11138+ # @return [String]
11139+ attr_accessor :enroll_state
11140+
11141+ def initialize(**args)
11142+ update!(**args)
11143+ end
11144+
11145+ # Update properties of this object
11146+ def update!(**args)
11147+ @alert_id = args[:alert_id] if args.key?(:alert_id)
11148+ @enroll_state = args[:enroll_state] if args.key?(:enroll_state)
11149+ end
11150+ end
11151+
1106911152 # Defines an answer.
1107011153 class GoogleCloudDiscoveryengineV1alphaAnswer
1107111154 include Google::Apis::Core::Hashable
@@ -12741,6 +12824,11 @@ class GoogleCloudDiscoveryengineV1alphaDataConnector
1274112824 # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaActionConfig]
1274212825 attr_accessor :action_config
1274312826
12827+ # Optional. The connector level alert config.
12828+ # Corresponds to the JSON property `alertPolicyConfigs`
12829+ # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfig>]
12830+ attr_accessor :alert_policy_configs
12831+
1274412832 # Indicates whether the connector is disabled for auto run. It can be used to
1274512833 # pause periodical and real time sync.
1274612834 # Corresponds to the JSON property `autoRunDisabled`
@@ -12930,6 +13018,7 @@ def initialize(**args)
1293013018 # Update properties of this object
1293113019 def update!(**args)
1293213020 @action_config = args[:action_config] if args.key?(:action_config)
13021+ @alert_policy_configs = args[:alert_policy_configs] if args.key?(:alert_policy_configs)
1293313022 @auto_run_disabled = args[:auto_run_disabled] if args.key?(:auto_run_disabled)
1293413023 @bap_config = args[:bap_config] if args.key?(:bap_config)
1293513024 @blocking_reasons = args[:blocking_reasons] if args.key?(:blocking_reasons)
@@ -16210,7 +16299,8 @@ class GoogleCloudDiscoveryengineV1alphaSearchLinkPromotion
1621016299 # @return [String]
1621116300 attr_accessor :title
1621216301
16213- # Required. The URL for the page the user wants to promote.
16302+ # Optional. The URL for the page the user wants to promote. Must be set for site
16303+ # search. For other verticals, this is optional.
1621416304 # Corresponds to the JSON property `uri`
1621516305 # @return [String]
1621616306 attr_accessor :uri
@@ -21095,7 +21185,8 @@ class GoogleCloudDiscoveryengineV1betaSearchLinkPromotion
2109521185 # @return [String]
2109621186 attr_accessor :title
2109721187
21098- # Required. The URL for the page the user wants to promote.
21188+ # Optional. The URL for the page the user wants to promote. Must be set for site
21189+ # search. For other verticals, this is optional.
2109921190 # Corresponds to the JSON property `uri`
2110021191 # @return [String]
2110121192 attr_accessor :uri
@@ -21156,6 +21247,11 @@ class GoogleCloudDiscoveryengineV1betaSearchRequest
2115621247 # @return [Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDataStoreSpec>]
2115721248 attr_accessor :data_store_specs
2115821249
21250+ # Specifies features for display, like match highlighting.
21251+ # Corresponds to the JSON property `displaySpec`
21252+ # @return [Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec]
21253+ attr_accessor :display_spec
21254+
2115921255 # The specification that uses customized query embedding vector to do semantic
2116021256 # document retrieval.
2116121257 # Corresponds to the JSON property `embeddingSpec`
@@ -21427,6 +21523,7 @@ def update!(**args)
2142721523 @canonical_filter = args[:canonical_filter] if args.key?(:canonical_filter)
2142821524 @content_search_spec = args[:content_search_spec] if args.key?(:content_search_spec)
2142921525 @data_store_specs = args[:data_store_specs] if args.key?(:data_store_specs)
21526+ @display_spec = args[:display_spec] if args.key?(:display_spec)
2143021527 @embedding_spec = args[:embedding_spec] if args.key?(:embedding_spec)
2143121528 @facet_specs = args[:facet_specs] if args.key?(:facet_specs)
2143221529 @filter = args[:filter] if args.key?(:filter)
@@ -21983,6 +22080,25 @@ def update!(**args)
2198322080 end
2198422081 end
2198522082
22083+ # Specifies features for display, like match highlighting.
22084+ class GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec
22085+ include Google::Apis::Core::Hashable
22086+
22087+ # The condition under which match highlighting should occur.
22088+ # Corresponds to the JSON property `matchHighlightingCondition`
22089+ # @return [String]
22090+ attr_accessor :match_highlighting_condition
22091+
22092+ def initialize(**args)
22093+ update!(**args)
22094+ end
22095+
22096+ # Update properties of this object
22097+ def update!(**args)
22098+ @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
22099+ end
22100+ end
22101+
2198622102 # The specification that uses customized query embedding vector to do semantic
2198722103 # document retrieval.
2198822104 class GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec
0 commit comments