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.



17122
17123
17124
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17122

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)


17120
17121
17122
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17120

def match_highlighting_condition
  @match_highlighting_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



17127
17128
17129
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 17127

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