Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec

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) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestDisplaySpec.



30453
30454
30455
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30453

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)


30451
30452
30453
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30451

def match_highlighting_condition
  @match_highlighting_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30458
30459
30460
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30458

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