Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
- 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
-
#condition ⇒ String
The condition under which search as you type should occur.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSearchRequestSearchAsYouTypeSpec.
14639 14640 14641 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#condition ⇒ String
The condition under which search as you type should occur. Default to
Condition.DISABLED.
Corresponds to the JSON property condition
14637 14638 14639 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14637 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14644 14645 14646 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 14644 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |