Class: Google::Apis::JobsV3::MatchingJob
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::JobsV3::MatchingJob
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/jobs_v3/classes.rb,
generated/google/apis/jobs_v3/representations.rb,
generated/google/apis/jobs_v3/representations.rb 
Overview
Output only. Job entry with metadata inside SearchJobsResponse.
Instance Attribute Summary collapse
- 
  
    
      #commute_info  ⇒ Google::Apis::JobsV3::CommuteInfo 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #job  ⇒ Google::Apis::JobsV3::Job 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A Job resource represents a job posting (also referred to as a "job listing" or "job requisition").
 - 
  
    
      #job_summary  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A summary of the job with core information that's displayed on the search results listing page.
 - 
  
    
      #job_title_snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Contains snippets of text from the Job.job_title field most closely matching a search query's keywords, if available.
 - 
  
    
      #search_text_snippet  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Contains snippets of text from the Job.description and similar fields that most closely match a search query's keywords, if available.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ MatchingJob 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of MatchingJob.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MatchingJob
Returns a new instance of MatchingJob
      1784 1785 1786  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1784 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#commute_info ⇒ Google::Apis::JobsV3::CommuteInfo
Output only.
Commute details related to this job.
Corresponds to the JSON property commuteInfo
      1754 1755 1756  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1754 def commute_info @commute_info end  | 
  
#job ⇒ Google::Apis::JobsV3::Job
A Job resource represents a job posting (also referred to as a "job listing"
or "job requisition"). A job belongs to a Company, which is the hiring
entity responsible for the job.
Corresponds to the JSON property job
      1761 1762 1763  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1761 def job @job end  | 
  
#job_summary ⇒ String
A summary of the job with core information that's displayed on the search
results listing page.
Corresponds to the JSON property jobSummary
      1767 1768 1769  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1767 def job_summary @job_summary end  | 
  
#job_title_snippet ⇒ String
Contains snippets of text from the Job.job_title field most
closely matching a search query's keywords, if available. The matching
query keywords are enclosed in HTML bold tags.
Corresponds to the JSON property jobTitleSnippet
      1774 1775 1776  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1774 def job_title_snippet @job_title_snippet end  | 
  
#search_text_snippet ⇒ String
Contains snippets of text from the Job.description and similar
fields that most closely match a search query's keywords, if available.
All HTML tags in the original fields are stripped when returned in this
field, and matching query keywords are enclosed in HTML bold tags.
Corresponds to the JSON property searchTextSnippet
      1782 1783 1784  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1782 def search_text_snippet @search_text_snippet end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1789 1790 1791 1792 1793 1794 1795  | 
    
      # File 'generated/google/apis/jobs_v3/classes.rb', line 1789 def update!(**args) @commute_info = args[:commute_info] if args.key?(:commute_info) @job = args[:job] if args.key?(:job) @job_summary = args[:job_summary] if args.key?(:job_summary) @job_title_snippet = args[:job_title_snippet] if args.key?(:job_title_snippet) @search_text_snippet = args[:search_text_snippet] if args.key?(:search_text_snippet) end  |