Class: Google::Apis::JobsV2::CompletionResult
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV2::CompletionResult
 
 
- 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. Resource that represents completion results.
Instance Attribute Summary collapse
- 
  
    
      #image_url  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The URL for the company logo if
type=COMPANY_NAME. - 
  
    
      #suggestion  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The suggestion for the query.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The completion topic.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CompletionResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of CompletionResult.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CompletionResult
Returns a new instance of CompletionResult
      734 735 736  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 734 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#image_url ⇒ String
The URL for the company logo if type=COMPANY_NAME.
Corresponds to the JSON property imageUrl
      722 723 724  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 722 def image_url @image_url end  | 
  
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
      727 728 729  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 727 def suggestion @suggestion end  | 
  
#type ⇒ String
The completion topic.
Corresponds to the JSON property type
      732 733 734  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 732 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      739 740 741 742 743  | 
    
      # File 'generated/google/apis/jobs_v2/classes.rb', line 739 def update!(**args) @image_url = args[:image_url] if args.key?(:image_url) @suggestion = args[:suggestion] if args.key?(:suggestion) @type = args[:type] if args.key?(:type) end  |