Class: Google::Apis::CloudsearchV1::SpellResult
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SpellResult
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpellResult
Returns a new instance of SpellResult
4119 4120 4121 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4119 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggested_query ⇒ String
The suggested spelling of the query.
Corresponds to the JSON property suggestedQuery
4117 4118 4119 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4117 def suggested_query @suggested_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4124 4125 4126 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4124 def update!(**args) @suggested_query = args[:suggested_query] if args.key?(:suggested_query) end |