class Google::Apis::CustomsearchV1::Search::Spelling
Spell correction information for a query.
Attributes
corrected_query[RW]
The corrected query. Corresponds to the JSON property `correctedQuery` @return [String]
html_corrected_query[RW]
The corrected query, formatted in HTML. Corresponds to the JSON property `htmlCorrectedQuery` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/customsearch_v1/classes.rb, line 1382 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/customsearch_v1/classes.rb, line 1387 def update!(**args) @corrected_query = args[:corrected_query] if args.key?(:corrected_query) @html_corrected_query = args[:html_corrected_query] if args.key?(:html_corrected_query) end