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.



30759
30760
30761
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30759

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)


30757
30758
30759
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30757

def match_highlighting_condition
  @match_highlighting_condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



30764
30765
30766
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 30764

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