google-cloud-talent-v4 0.4.3 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/talent/v4/common_pb.rb +3 -0
- data/lib/google/cloud/talent/v4/job_service/client.rb +14 -3
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/proto_docs/google/cloud/talent/v4/common.rb +12 -1
- data/proto_docs/google/cloud/talent/v4/filters.rb +12 -8
- data/proto_docs/google/cloud/talent/v4/job.rb +9 -0
- data/proto_docs/google/cloud/talent/v4/job_service.rb +10 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8e537942ec731fc39aeafa4159281e74d0d0446a4a1d6b5529c22d98c320fdfb
|
|
4
|
+
data.tar.gz: 11aed772767ea9711909cf20de1cddecc675ed3f859518da7a9695d62eec3568
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 64ad3a81914c31b2ec67fb0c0c06ce1ef58e6f36b8299105e9c9c719cc960a3d05bb850ab7642323eefd306cfb511f725d3636f50ec46424dcf5cb631f1c3759
|
|
7
|
+
data.tar.gz: 42f0debe5dc26d2c08b7a0dcf597591ba9198a2b8f19854b1c005c674aafed6b5034febba974f0517326d443a9ba0d16fd61a91ca2e5fc69b3540f94a69e7918
|
|
@@ -764,11 +764,14 @@ module Google
|
|
|
764
764
|
#
|
|
765
765
|
# The fields eligible for filtering are:
|
|
766
766
|
#
|
|
767
|
-
# * `companyName`
|
|
767
|
+
# * `companyName`
|
|
768
768
|
# * `requisitionId`
|
|
769
769
|
# * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
|
|
770
770
|
# OPEN if no value is specified.
|
|
771
771
|
#
|
|
772
|
+
# At least one of `companyName` and `requisitionId` must present or an
|
|
773
|
+
# INVALID_ARGUMENT error is thrown.
|
|
774
|
+
#
|
|
772
775
|
# Sample Query:
|
|
773
776
|
#
|
|
774
777
|
# * companyName = "projects/foo/tenants/bar/companies/baz"
|
|
@@ -776,6 +779,8 @@ module Google
|
|
|
776
779
|
# requisitionId = "req-1"
|
|
777
780
|
# * companyName = "projects/foo/tenants/bar/companies/baz" AND
|
|
778
781
|
# status = "EXPIRED"
|
|
782
|
+
# * requisitionId = "req-1"
|
|
783
|
+
# * requisitionId = "req-1" AND status = "EXPIRED"
|
|
779
784
|
# @param page_token [::String]
|
|
780
785
|
# The starting point of a query result.
|
|
781
786
|
# @param page_size [::Integer]
|
|
@@ -919,6 +924,9 @@ module Google
|
|
|
919
924
|
# "FULL_TIME", "PART_TIME".
|
|
920
925
|
# * company_size: histogram by {::Google::Cloud::Talent::V4::CompanySize CompanySize}, for example, "SMALL",
|
|
921
926
|
# "MEDIUM", "BIG".
|
|
927
|
+
# * publish_time_in_day: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
928
|
+
# in days.
|
|
929
|
+
# Must specify list of numeric buckets in spec.
|
|
922
930
|
# * publish_time_in_month: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
923
931
|
# in months.
|
|
924
932
|
# Must specify list of numeric buckets in spec.
|
|
@@ -972,7 +980,7 @@ module Google
|
|
|
972
980
|
# bucket(100000, MAX)])`
|
|
973
981
|
# * `count(string_custom_attribute["some-string-custom-attribute"])`
|
|
974
982
|
# * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
|
|
975
|
-
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
|
|
983
|
+
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
|
|
976
984
|
# @param job_view [::Google::Cloud::Talent::V4::JobView]
|
|
977
985
|
# The desired job attributes returned for jobs in the search response.
|
|
978
986
|
# Defaults to {::Google::Cloud::Talent::V4::JobView::JOB_VIEW_SMALL JobView.JOB_VIEW_SMALL} if no value is specified.
|
|
@@ -1213,6 +1221,9 @@ module Google
|
|
|
1213
1221
|
# "FULL_TIME", "PART_TIME".
|
|
1214
1222
|
# * company_size: histogram by {::Google::Cloud::Talent::V4::CompanySize CompanySize}, for example, "SMALL",
|
|
1215
1223
|
# "MEDIUM", "BIG".
|
|
1224
|
+
# * publish_time_in_day: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
1225
|
+
# in days.
|
|
1226
|
+
# Must specify list of numeric buckets in spec.
|
|
1216
1227
|
# * publish_time_in_month: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
1217
1228
|
# in months.
|
|
1218
1229
|
# Must specify list of numeric buckets in spec.
|
|
@@ -1266,7 +1277,7 @@ module Google
|
|
|
1266
1277
|
# bucket(100000, MAX)])`
|
|
1267
1278
|
# * `count(string_custom_attribute["some-string-custom-attribute"])`
|
|
1268
1279
|
# * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
|
|
1269
|
-
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
|
|
1280
|
+
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
|
|
1270
1281
|
# @param job_view [::Google::Cloud::Talent::V4::JobView]
|
|
1271
1282
|
# The desired job attributes returned for jobs in the search response.
|
|
1272
1283
|
# Defaults to {::Google::Cloud::Talent::V4::JobView::JOB_VIEW_SMALL JobView.JOB_VIEW_SMALL} if no value is specified.
|
|
@@ -865,7 +865,8 @@ module Google
|
|
|
865
865
|
SIMPLE_FORMATTING_ONLY = 2
|
|
866
866
|
end
|
|
867
867
|
|
|
868
|
-
# Method for commute.
|
|
868
|
+
# Method for commute. Walking, biking and wheelchair accessible transit is
|
|
869
|
+
# still in the Preview stage.
|
|
869
870
|
module CommuteMethod
|
|
870
871
|
# Commute method isn't specified.
|
|
871
872
|
COMMUTE_METHOD_UNSPECIFIED = 0
|
|
@@ -876,6 +877,16 @@ module Google
|
|
|
876
877
|
# Commute time is calculated based on public transit including bus, metro,
|
|
877
878
|
# subway, and so on.
|
|
878
879
|
TRANSIT = 2
|
|
880
|
+
|
|
881
|
+
# Commute time is calculated based on walking time.
|
|
882
|
+
WALKING = 3
|
|
883
|
+
|
|
884
|
+
# Commute time is calculated based on biking time.
|
|
885
|
+
CYCLING = 4
|
|
886
|
+
|
|
887
|
+
# Commute time is calculated based on public transit that is wheelchair
|
|
888
|
+
# accessible.
|
|
889
|
+
TRANSIT_ACCESSIBLE = 5
|
|
879
890
|
end
|
|
880
891
|
end
|
|
881
892
|
end
|
|
@@ -124,7 +124,7 @@ module Google
|
|
|
124
124
|
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
|
|
125
125
|
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
|
|
126
126
|
# comparisons or functions are allowed in the expression. The expression
|
|
127
|
-
# must be <
|
|
127
|
+
# must be < 10000 bytes in length.
|
|
128
128
|
#
|
|
129
129
|
# Sample Query:
|
|
130
130
|
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
|
|
@@ -180,16 +180,20 @@ module Google
|
|
|
180
180
|
# The address name, such as "Mountain View" or "Bay Area".
|
|
181
181
|
# @!attribute [rw] region_code
|
|
182
182
|
# @return [::String]
|
|
183
|
-
# CLDR region code of the country/region
|
|
184
|
-
# to address ambiguity of the user-input location, for example, "Liverpool"
|
|
185
|
-
# against "Liverpool, NY, US" or "Liverpool, UK".
|
|
183
|
+
# CLDR region code of the country/region. This field may be used in two ways:
|
|
186
184
|
#
|
|
187
|
-
#
|
|
188
|
-
#
|
|
189
|
-
#
|
|
185
|
+
# 1) If telecommute preference is not set, this field is used address
|
|
186
|
+
# ambiguity of the user-input address. For example, "Liverpool" may refer to
|
|
187
|
+
# "Liverpool, NY, US" or "Liverpool, UK". This region code biases the
|
|
188
|
+
# address resolution toward a specific country or territory. If this field is
|
|
189
|
+
# not set, address resolution is biased toward the United States by default.
|
|
190
|
+
#
|
|
191
|
+
# 2) If telecommute preference is set to TELECOMMUTE_ALLOWED, the
|
|
192
|
+
# telecommute location filter will be limited to the region specified in this
|
|
193
|
+
# field. If this field is not set, the telecommute job locations will not be
|
|
190
194
|
#
|
|
191
195
|
# See
|
|
192
|
-
# https://
|
|
196
|
+
# https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_information.html
|
|
193
197
|
# for details. Example: "CH" for Switzerland.
|
|
194
198
|
# @!attribute [rw] lat_lng
|
|
195
199
|
# @return [::Google::Type::LatLng]
|
|
@@ -88,6 +88,15 @@ module Google
|
|
|
88
88
|
# suggested to group the locations that close to each other in the same job
|
|
89
89
|
# for better search experience.
|
|
90
90
|
#
|
|
91
|
+
# Jobs with multiple addresses must have their addresses with the same
|
|
92
|
+
# [LocationType][] to allow location filtering to work properly. (For
|
|
93
|
+
# example, a Job with addresses "1600 Amphitheatre Parkway, Mountain View,
|
|
94
|
+
# CA, USA" and "London, UK" may not have location filters applied correctly
|
|
95
|
+
# at search time since the first is a [LocationType.STREET_ADDRESS][] and the
|
|
96
|
+
# second is a [LocationType.LOCALITY][].) If a job needs to have multiple
|
|
97
|
+
# addresses, it is suggested to split it into multiple jobs with same
|
|
98
|
+
# LocationTypes.
|
|
99
|
+
#
|
|
91
100
|
# The maximum number of allowed characters is 500.
|
|
92
101
|
# @!attribute [rw] application_info
|
|
93
102
|
# @return [::Google::Cloud::Talent::V4::Job::ApplicationInfo]
|
|
@@ -95,11 +95,14 @@ module Google
|
|
|
95
95
|
#
|
|
96
96
|
# The fields eligible for filtering are:
|
|
97
97
|
#
|
|
98
|
-
# * `companyName`
|
|
98
|
+
# * `companyName`
|
|
99
99
|
# * `requisitionId`
|
|
100
100
|
# * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
|
|
101
101
|
# OPEN if no value is specified.
|
|
102
102
|
#
|
|
103
|
+
# At least one of `companyName` and `requisitionId` must present or an
|
|
104
|
+
# INVALID_ARGUMENT error is thrown.
|
|
105
|
+
#
|
|
103
106
|
# Sample Query:
|
|
104
107
|
#
|
|
105
108
|
# * companyName = "projects/foo/tenants/bar/companies/baz"
|
|
@@ -107,6 +110,8 @@ module Google
|
|
|
107
110
|
# requisitionId = "req-1"
|
|
108
111
|
# * companyName = "projects/foo/tenants/bar/companies/baz" AND
|
|
109
112
|
# status = "EXPIRED"
|
|
113
|
+
# * requisitionId = "req-1"
|
|
114
|
+
# * requisitionId = "req-1" AND status = "EXPIRED"
|
|
110
115
|
# @!attribute [rw] page_token
|
|
111
116
|
# @return [::String]
|
|
112
117
|
# The starting point of a query result.
|
|
@@ -213,6 +218,9 @@ module Google
|
|
|
213
218
|
# "FULL_TIME", "PART_TIME".
|
|
214
219
|
# * company_size: histogram by {::Google::Cloud::Talent::V4::CompanySize CompanySize}, for example, "SMALL",
|
|
215
220
|
# "MEDIUM", "BIG".
|
|
221
|
+
# * publish_time_in_day: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
222
|
+
# in days.
|
|
223
|
+
# Must specify list of numeric buckets in spec.
|
|
216
224
|
# * publish_time_in_month: histogram by the {::Google::Cloud::Talent::V4::Job#posting_publish_time Job.posting_publish_time}
|
|
217
225
|
# in months.
|
|
218
226
|
# Must specify list of numeric buckets in spec.
|
|
@@ -266,7 +274,7 @@ module Google
|
|
|
266
274
|
# bucket(100000, MAX)])`
|
|
267
275
|
# * `count(string_custom_attribute["some-string-custom-attribute"])`
|
|
268
276
|
# * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
|
|
269
|
-
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
|
|
277
|
+
# [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
|
|
270
278
|
# @!attribute [rw] job_view
|
|
271
279
|
# @return [::Google::Cloud::Talent::V4::JobView]
|
|
272
280
|
# The desired job attributes returned for jobs in the search response.
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-talent-v4
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-08-
|
|
11
|
+
date: 2021-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|