Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec
- 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) ⇒ GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec
Returns a new instance of GoogleCloudDiscoveryengineV1SearchRequestSearchAsYouTypeSpec.
8043 8044 8045 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8043 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
8041 8042 8043 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8041 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8048 8049 8050 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 8048 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |