Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
- 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
-
#condition ⇒ String
The condition under which search as you type should occur.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
constructor
A new instance of GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec
Returns a new instance of GoogleCloudDiscoveryengineV1betaSearchRequestSearchAsYouTypeSpec.
16955 16956 16957 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16955 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
16953 16954 16955 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16953 def condition @condition end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16960 16961 16962 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 16960 def update!(**args) @condition = args[:condition] if args.key?(:condition) end |