Class: Google::Apis::CloudsearchV1::SpellResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SpellResult
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#suggested_query ⇒ String
The suggested spelling of the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SpellResult
constructor
A new instance of SpellResult.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SpellResult
Returns a new instance of SpellResult.
18729 18730 18731 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18729 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_query ⇒ String
The suggested spelling of the query.
Corresponds to the JSON property suggestedQuery
18727 18728 18729 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18727 def suggested_query @suggested_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18734 18735 18736 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 18734 def update!(**args) @suggested_query = args[:suggested_query] if args.key?(:suggested_query) end |