Autogenerated update (2018-12-15)

Update:
- jobs_v3
This commit is contained in:
Google APIs 2018-12-15 00:36:30 +00:00
parent 4a6d9423c4
commit 5443527ab9
4 changed files with 17 additions and 1 deletions

View File

@ -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

View File

@ -26,7 +26,7 @@ module Google
# @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'

View File

@ -2204,6 +2204,19 @@ module Google
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
@ -2327,6 +2340,7 @@ module Google
# 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)

View File

@ -787,6 +787,7 @@ module Google
# @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