Skip to content

Commit d877387

Browse files
feat: Automated regeneration of jobs v4 client (googleapis#21127)
Auto-created at 2024-12-22 10:22:46 +0000 using the toys pull request generator.
1 parent d55ad92 commit d877387

File tree

5 files changed

+84
-63
lines changed

5 files changed

+84
-63
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251343,6 +251343,7 @@
251343251343
"/jobs:v4/SearchJobsRequest/offset": offset
251344251344
"/jobs:v4/SearchJobsRequest/orderBy": order_by
251345251345
"/jobs:v4/SearchJobsRequest/pageToken": page_token
251346+
"/jobs:v4/SearchJobsRequest/relevanceThreshold": relevance_threshold
251346251347
"/jobs:v4/SearchJobsRequest/requestMetadata": request_metadata
251347251348
"/jobs:v4/SearchJobsRequest/searchMode": search_mode
251348251349
"/jobs:v4/SearchJobsResponse": search_jobs_response

generated/google-apis-jobs_v4/CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release history for google-apis-jobs_v4
22

3+
### v0.33.0 (2024-12-22)
4+
5+
* Regenerated from discovery document revision 20241217
6+
* Regenerated using generator version 0.15.1
7+
38
### v0.32.0 (2024-06-23)
49

510
* Regenerated from discovery document revision 20240614

generated/google-apis-jobs_v4/lib/google/apis/jobs_v4/classes.rb

Lines changed: 74 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,17 +1090,17 @@ class Job
10901090
# immediately on creation. This kind of job can not be updated. And when
10911091
# creating a job with past timestamp, the posting_publish_time must be set
10921092
# before posting_expire_time. The purpose of this feature is to allow other
1093-
# objects, such as Application, to refer a job that didn't exist in the system
1094-
# prior to becoming expired. If you want to modify a job that was expired on
1095-
# creation, delete it and create a new one. If this value isn't provided at the
1096-
# time of job creation or is invalid, the job posting expires after 30 days from
1097-
# the job's creation time. For example, if the job was created on 2017/01/01 13:
1098-
# 00AM UTC with an unspecified expiration date, the job expires after 2017/01/31
1099-
# 13:00AM UTC. If this value isn't provided on job update, it depends on the
1100-
# field masks set by UpdateJobRequest.update_mask. If the field masks include
1101-
# job_end_time, or the masks are empty meaning that every field is updated, the
1102-
# job posting expires after 30 days from the job's last update time. Otherwise
1103-
# the expiration date isn't updated.
1093+
# objects, such as ApplicationInfo, to refer a job that didn't exist in the
1094+
# system prior to becoming expired. If you want to modify a job that was expired
1095+
# on creation, delete it and create a new one. If this value isn't provided at
1096+
# the time of job creation or is invalid, the job posting expires after 30 days
1097+
# from the job's creation time. For example, if the job was created on 2017/01/
1098+
# 01 13:00AM UTC with an unspecified expiration date, the job expires after 2017/
1099+
# 01/31 13:00AM UTC. If this value isn't provided on job update, it depends on
1100+
# the field masks set by UpdateJobRequest.update_mask. If the field masks
1101+
# include job_end_time, or the masks are empty meaning that every field is
1102+
# updated, the job posting expires after 30 days from the job's last update time.
1103+
# Otherwise the expiration date isn't updated.
11041104
# Corresponds to the JSON property `postingExpireTime`
11051105
# @return [String]
11061106
attr_accessor :posting_expire_time
@@ -1599,16 +1599,16 @@ class Location
15991599
# @return [String]
16001600
attr_accessor :location_type
16011601

1602-
# Represents a postal address, e.g. for postal delivery or payments addresses.
1603-
# Given a postal address, a postal service can deliver items to a premise, P.O.
1604-
# Box or similar. It is not intended to model geographical locations (roads,
1605-
# towns, mountains). In typical usage an address would be created via user input
1606-
# or from importing existing data, depending on the type of process. Advice on
1607-
# address input / editing: - Use an internationalization-ready address widget
1608-
# such as https://github.com/google/libaddressinput) - Users should not be
1609-
# presented with UI elements for input or editing of fields outside countries
1610-
# where that field is used. For more guidance on how to use this schema, please
1611-
# see: https://support.google.com/business/answer/6397478
1602+
# Represents a postal address. For example for postal delivery or payments
1603+
# addresses. Given a postal address, a postal service can deliver items to a
1604+
# premise, P.O. Box or similar. It is not intended to model geographical
1605+
# locations (roads, towns, mountains). In typical usage an address would be
1606+
# created by user input or from importing existing data, depending on the type
1607+
# of process. Advice on address input / editing: - Use an internationalization-
1608+
# ready address widget such as https://github.com/google/libaddressinput) -
1609+
# Users should not be presented with UI elements for input or editing of fields
1610+
# outside countries where that field is used. For more guidance on how to use
1611+
# this schema, see: https://support.google.com/business/answer/6397478
16121612
# Corresponds to the JSON property `postalAddress`
16131613
# @return [Google::Apis::JobsV4::PostalAddress]
16141614
attr_accessor :postal_address
@@ -1681,7 +1681,7 @@ class LocationFilter
16811681
# TelecommutePreference.TELECOMMUTE_EXCLUDED, the telecommute status of the jobs
16821682
# is ignored. Jobs that have PostingRegion.TELECOMMUTE and have additional Job.
16831683
# addresses may still be matched based on other location filters using address
1684-
# or latlng. This filter can be used by itself to search exclusively for
1684+
# or lat_lng. This filter can be used by itself to search exclusively for
16851685
# telecommuting jobs, or it can be combined with another location filter to
16861686
# search for a combination of job locations, such as "Mountain View" or "
16871687
# telecommuting" jobs. However, when used in combination with other location
@@ -1854,45 +1854,46 @@ def update!(**args)
18541854
end
18551855
end
18561856

1857-
# Represents a postal address, e.g. for postal delivery or payments addresses.
1858-
# Given a postal address, a postal service can deliver items to a premise, P.O.
1859-
# Box or similar. It is not intended to model geographical locations (roads,
1860-
# towns, mountains). In typical usage an address would be created via user input
1861-
# or from importing existing data, depending on the type of process. Advice on
1862-
# address input / editing: - Use an internationalization-ready address widget
1863-
# such as https://github.com/google/libaddressinput) - Users should not be
1864-
# presented with UI elements for input or editing of fields outside countries
1865-
# where that field is used. For more guidance on how to use this schema, please
1866-
# see: https://support.google.com/business/answer/6397478
1857+
# Represents a postal address. For example for postal delivery or payments
1858+
# addresses. Given a postal address, a postal service can deliver items to a
1859+
# premise, P.O. Box or similar. It is not intended to model geographical
1860+
# locations (roads, towns, mountains). In typical usage an address would be
1861+
# created by user input or from importing existing data, depending on the type
1862+
# of process. Advice on address input / editing: - Use an internationalization-
1863+
# ready address widget such as https://github.com/google/libaddressinput) -
1864+
# Users should not be presented with UI elements for input or editing of fields
1865+
# outside countries where that field is used. For more guidance on how to use
1866+
# this schema, see: https://support.google.com/business/answer/6397478
18671867
class PostalAddress
18681868
include Google::Apis::Core::Hashable
18691869

18701870
# Unstructured address lines describing the lower levels of an address. Because
18711871
# values in address_lines do not have type information and may sometimes contain
1872-
# multiple values in a single field (e.g. "Austin, TX"), it is important that
1873-
# the line order is clear. The order of address lines should be "envelope order"
1874-
# for the country/region of the address. In places where this can vary (e.g.
1875-
# Japan), address_language is used to make it explicit (e.g. "ja" for large-to-
1876-
# small ordering and "ja-Latn" or "en" for small-to-large). This way, the most
1877-
# specific line of an address can be selected based on the language. The minimum
1878-
# permitted structural representation of an address consists of a region_code
1879-
# with all remaining information placed in the address_lines. It would be
1880-
# possible to format such an address very approximately without geocoding, but
1881-
# no semantic reasoning could be made about any of the address components until
1882-
# it was at least partially resolved. Creating an address only containing a
1883-
# region_code and address_lines, and then geocoding is the recommended way to
1884-
# handle completely unstructured addresses (as opposed to guessing which parts
1885-
# of the address should be localities or administrative areas).
1872+
# multiple values in a single field (For example "Austin, TX"), it is important
1873+
# that the line order is clear. The order of address lines should be "envelope
1874+
# order" for the country/region of the address. In places where this can vary (
1875+
# For example Japan), address_language is used to make it explicit (For example "
1876+
# ja" for large-to-small ordering and "ja-Latn" or "en" for small-to-large).
1877+
# This way, the most specific line of an address can be selected based on the
1878+
# language. The minimum permitted structural representation of an address
1879+
# consists of a region_code with all remaining information placed in the
1880+
# address_lines. It would be possible to format such an address very
1881+
# approximately without geocoding, but no semantic reasoning could be made about
1882+
# any of the address components until it was at least partially resolved.
1883+
# Creating an address only containing a region_code and address_lines, and then
1884+
# geocoding is the recommended way to handle completely unstructured addresses (
1885+
# as opposed to guessing which parts of the address should be localities or
1886+
# administrative areas).
18861887
# Corresponds to the JSON property `addressLines`
18871888
# @return [Array<String>]
18881889
attr_accessor :address_lines
18891890

18901891
# Optional. Highest administrative subdivision which is used for postal
18911892
# addresses of a country or region. For example, this can be a state, a province,
18921893
# an oblast, or a prefecture. Specifically, for Spain this is the province and
1893-
# not the autonomous community (e.g. "Barcelona" and not "Catalonia"). Many
1894-
# countries don't use an administrative area in postal addresses. E.g. in
1895-
# Switzerland this should be left unpopulated.
1894+
# not the autonomous community (For example "Barcelona" and not "Catalonia").
1895+
# Many countries don't use an administrative area in postal addresses. For
1896+
# example in Switzerland this should be left unpopulated.
18961897
# Corresponds to the JSON property `administrativeArea`
18971898
# @return [String]
18981899
attr_accessor :administrative_area
@@ -1924,8 +1925,8 @@ class PostalAddress
19241925

19251926
# Optional. Postal code of the address. Not all countries use or require postal
19261927
# codes to be present, but where they are used, they may trigger additional
1927-
# validation with other parts of the address (e.g. state/zip validation in the U.
1928-
# S.A.).
1928+
# validation with other parts of the address (For example state/zip validation
1929+
# in the U.S.A.).
19291930
# Corresponds to the JSON property `postalCode`
19301931
# @return [String]
19311932
attr_accessor :postal_code
@@ -1954,9 +1955,9 @@ class PostalAddress
19541955

19551956
# Optional. Additional, country-specific, sorting code. This is not used in most
19561957
# regions. Where it is used, the value is either a string like "CEDEX",
1957-
# optionally followed by a number (e.g. "CEDEX 7"), or just a number alone,
1958-
# representing the "sector code" (Jamaica), "delivery area indicator" (Malawi)
1959-
# or "post office indicator" (e.g. Côte d'Ivoire).
1958+
# optionally followed by a number (For example "CEDEX 7"), or just a number
1959+
# alone, representing the "sector code" (Jamaica), "delivery area indicator" (
1960+
# Malawi) or "post office indicator" (For example Côte d'Ivoire).
19601961
# Corresponds to the JSON property `sortingCode`
19611962
# @return [String]
19621963
attr_accessor :sorting_code
@@ -2293,6 +2294,14 @@ class SearchJobsRequest
22932294
# @return [String]
22942295
attr_accessor :page_token
22952296

2297+
# Optional. The relevance threshold of the search results. Default to Google
2298+
# defined threshold, leveraging a balance of precision and recall to deliver
2299+
# both highly accurate results and comprehensive coverage of relevant
2300+
# information.
2301+
# Corresponds to the JSON property `relevanceThreshold`
2302+
# @return [String]
2303+
attr_accessor :relevance_threshold
2304+
22962305
# Meta information related to the job searcher or entity conducting the job
22972306
# search. This information is used to improve the performance of the service.
22982307
# Corresponds to the JSON property `requestMetadata`
@@ -2322,6 +2331,7 @@ def update!(**args)
23222331
@offset = args[:offset] if args.key?(:offset)
23232332
@order_by = args[:order_by] if args.key?(:order_by)
23242333
@page_token = args[:page_token] if args.key?(:page_token)
2334+
@relevance_threshold = args[:relevance_threshold] if args.key?(:relevance_threshold)
23252335
@request_metadata = args[:request_metadata] if args.key?(:request_metadata)
23262336
@search_mode = args[:search_mode] if args.key?(:search_mode)
23272337
end
@@ -2511,24 +2521,28 @@ def update!(**args)
25112521
class TimeOfDay
25122522
include Google::Apis::Core::Hashable
25132523

2514-
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to
2515-
# allow the value "24:00:00" for scenarios like business closing time.
2524+
# Hours of a day in 24 hour format. Must be greater than or equal to 0 and
2525+
# typically must be less than or equal to 23. An API may choose to allow the
2526+
# value "24:00:00" for scenarios like business closing time.
25162527
# Corresponds to the JSON property `hours`
25172528
# @return [Fixnum]
25182529
attr_accessor :hours
25192530

2520-
# Minutes of hour of day. Must be from 0 to 59.
2531+
# Minutes of an hour. Must be greater than or equal to 0 and less than or equal
2532+
# to 59.
25212533
# Corresponds to the JSON property `minutes`
25222534
# @return [Fixnum]
25232535
attr_accessor :minutes
25242536

2525-
# Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
2537+
# Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
2538+
# less than or equal to 999,999,999.
25262539
# Corresponds to the JSON property `nanos`
25272540
# @return [Fixnum]
25282541
attr_accessor :nanos
25292542

2530-
# Seconds of minutes of the time. Must normally be from 0 to 59. An API may
2531-
# allow the value 60 if it allows leap-seconds.
2543+
# Seconds of a minute. Must be greater than or equal to 0 and typically must be
2544+
# less than or equal to 59. An API may allow the value 60 if it allows leap-
2545+
# seconds.
25322546
# Corresponds to the JSON property `seconds`
25332547
# @return [Fixnum]
25342548
attr_accessor :seconds

generated/google-apis-jobs_v4/lib/google/apis/jobs_v4/gem_version.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module JobsV4
1818
# Version of the google-apis-jobs_v4 gem
19-
GEM_VERSION = "0.32.0"
19+
GEM_VERSION = "0.33.0"
2020

2121
# Version of the code generator used to generate this client
22-
GENERATOR_VERSION = "0.15.0"
22+
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240614"
25+
REVISION = "20241217"
2626
end
2727
end
2828
end

generated/google-apis-jobs_v4/lib/google/apis/jobs_v4/representations.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -822,6 +822,7 @@ class Representation < Google::Apis::Core::JsonRepresentation
822822
property :offset, as: 'offset'
823823
property :order_by, as: 'orderBy'
824824
property :page_token, as: 'pageToken'
825+
property :relevance_threshold, as: 'relevanceThreshold'
825826
property :request_metadata, as: 'requestMetadata', class: Google::Apis::JobsV4::RequestMetadata, decorator: Google::Apis::JobsV4::RequestMetadata::Representation
826827

827828
property :search_mode, as: 'searchMode'

0 commit comments

Comments
 (0)