Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Specifies features for display, like match highlighting.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestDisplaySpec.



16150
16151
16152
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16150

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#match_highlighting_conditionString

The condition under which match highlighting should occur. Corresponds to the JSON property matchHighlightingCondition

Returns:

  • (String)


16148
16149
16150
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16148

def match_highlighting_condition
  @match_highlighting_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16155
16156
16157
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16155

def update!(**args)
  @match_highlighting_condition = args[:match_highlighting_condition] if args.key?(:match_highlighting_condition)
end