Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec

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

Overview

Specification for search as you type in search requests.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec.



18850
18851
18852
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18850

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)


18848
18849
18850
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18848

def condition
  @condition
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18855
18856
18857
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 18855

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