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.



16354
16355
16356
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16354

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)


16352
16353
16354
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16352

def match_highlighting_condition
  @match_highlighting_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16359
16360
16361
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 16359

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