Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec

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

Overview

Specification for search as you type in search requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec.



15785
15786
15787
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15785

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

Instance Attribute Details

#conditionString

The condition under which search as you type should occur. Default to Condition.DISABLED. Corresponds to the JSON property condition

Returns:

  • (String)


15783
15784
15785
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15783

def condition
  @condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



15790
15791
15792
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 15790

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