class Google::Apis::CustomsearchV1::Search::Spelling

Attributes

corrected_query[RW]

Corresponds to the JSON property `correctedQuery` @return [String]

html_corrected_query[RW]

Corresponds to the JSON property `htmlCorrectedQuery` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/customsearch_v1/classes.rb, line 733
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/customsearch_v1/classes.rb, line 738
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