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
| 726 727 728 | # File 'generated/google/apis/jobs_v2/classes.rb', line 726 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
| 714 715 716 | # File 'generated/google/apis/jobs_v2/classes.rb', line 714 def image_url @image_url end | 
#suggestion ⇒ String
The suggestion for the query.
Corresponds to the JSON property suggestion
| 719 720 721 | # File 'generated/google/apis/jobs_v2/classes.rb', line 719 def suggestion @suggestion end | 
#type ⇒ String
The completion topic.
Corresponds to the JSON property type
| 724 725 726 | # File 'generated/google/apis/jobs_v2/classes.rb', line 724 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 731 732 733 734 735 | # File 'generated/google/apis/jobs_v2/classes.rb', line 731 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 |