Skip to content

Commit

Permalink
Autogenerated update (2018-12-15)
Browse files Browse the repository at this point in the history
Update:
- jobs_v3
  • Loading branch information
googleapis-publisher committed Dec 15, 2018
1 parent 4a6d942 commit 5443527
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions api_names_out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73356,6 +73356,7 @@
"/jobs:v3/ResponseMetadata/requestId": request_id
"/jobs:v3/SearchJobsRequest": search_jobs_request
"/jobs:v3/SearchJobsRequest/disableKeywordMatch": disable_keyword_match
"/jobs:v3/SearchJobsRequest/diversificationLevel": diversification_level
"/jobs:v3/SearchJobsRequest/enableBroadening": enable_broadening
"/jobs:v3/SearchJobsRequest/histogramFacets": histogram_facets
"/jobs:v3/SearchJobsRequest/jobQuery": job_query
Expand Down
2 changes: 1 addition & 1 deletion generated/google/apis/jobs_v3.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module Apis
# @see https://cloud.google.com/talent-solution/job-search/docs/
module JobsV3
VERSION = 'V3'
REVISION = '20181114'
REVISION = '20181210'

# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
Expand Down
14 changes: 14 additions & 0 deletions generated/google/apis/jobs_v3/classes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2204,6 +2204,19 @@ class SearchJobsRequest
attr_accessor :disable_keyword_match
alias_method :disable_keyword_match?, :disable_keyword_match

# Optional.
# Controls whether highly similar jobs are returned next to each other in
# the search results. Jobs are identified as highly similar based on
# their titles, job categories, and locations. Highly similar results are
# clustered so that only one representative job of the cluster is
# displayed to the job seeker higher up in the results, with the other jobs
# being displayed lower down in the results.
# Defaults to DiversificationLevel.SIMPLE if no value
# is specified.
# Corresponds to the JSON property `diversificationLevel`
# @return [String]
attr_accessor :diversification_level

# Optional.
# Controls whether to broaden the search when it produces sparse results.
# Broadened queries append results to the end of the matching results
Expand Down Expand Up @@ -2327,6 +2340,7 @@ def initialize(**args)
# Update properties of this object
def update!(**args)
@disable_keyword_match = args[:disable_keyword_match] if args.key?(:disable_keyword_match)
@diversification_level = args[:diversification_level] if args.key?(:diversification_level)
@enable_broadening = args[:enable_broadening] if args.key?(:enable_broadening)
@histogram_facets = args[:histogram_facets] if args.key?(:histogram_facets)
@job_query = args[:job_query] if args.key?(:job_query)
Expand Down
1 change: 1 addition & 0 deletions generated/google/apis/jobs_v3/representations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -787,6 +787,7 @@ class SearchJobsRequest
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :disable_keyword_match, as: 'disableKeywordMatch'
property :diversification_level, as: 'diversificationLevel'
property :enable_broadening, as: 'enableBroadening'
property :histogram_facets, as: 'histogramFacets', class: Google::Apis::JobsV3::HistogramFacets, decorator: Google::Apis::JobsV3::HistogramFacets::Representation

Expand Down

0 comments on commit 5443527

Please sign in to comment.