Class: Google::Apis::JobsV2::SpellingCorrection
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::JobsV2::SpellingCorrection
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/jobs_v2/classes.rb,
 generated/google/apis/jobs_v2/representations.rb,
 generated/google/apis/jobs_v2/representations.rb
Overview
Output only. Spell check result.
Instance Attribute Summary collapse
- 
  
    
      #corrected  ⇒ Boolean 
    
    
      (also: #corrected?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Indicates if the query was corrected by the spell checker. 
- 
  
    
      #corrected_text  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Correction output consisting of the corrected keyword string. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SpellingCorrection 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SpellingCorrection. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SpellingCorrection
Returns a new instance of SpellingCorrection
| 3277 3278 3279 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3277 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#corrected ⇒ Boolean Also known as: corrected?
Indicates if the query was corrected by the spell checker.
Corresponds to the JSON property corrected
| 3269 3270 3271 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3269 def corrected @corrected end | 
#corrected_text ⇒ String
Correction output consisting of the corrected keyword string.
Corresponds to the JSON property correctedText
| 3275 3276 3277 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3275 def corrected_text @corrected_text end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 3282 3283 3284 3285 | # File 'generated/google/apis/jobs_v2/classes.rb', line 3282 def update!(**args) @corrected = args[:corrected] if args.key?(:corrected) @corrected_text = args[:corrected_text] if args.key?(:corrected_text) end |