google-cloud-talent-v4 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +8 -8
- data/README.md +1 -1
- data/lib/google/cloud/talent/v4/common_pb.rb +3 -0
- data/lib/google/cloud/talent/v4/company_service/client.rb +48 -54
- data/lib/google/cloud/talent/v4/completion/client.rb +34 -42
- data/lib/google/cloud/talent/v4/event_service/client.rb +33 -38
- data/lib/google/cloud/talent/v4/job_service/client.rb +77 -62
- data/lib/google/cloud/talent/v4/job_service/operations.rb +34 -25
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +48 -54
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/proto_docs/google/api/field_behavior.rb +7 -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
- data/proto_docs/google/type/money.rb +1 -1
- data/proto_docs/google/type/timeofday.rb +2 -1
- metadata +13 -7
@@ -57,9 +57,15 @@ module Google
|
|
57
57
|
|
58
58
|
# Denotes that a (repeated) field is an unordered list.
|
59
59
|
# This indicates that the service may provide the elements of the list
|
60
|
-
# in any arbitrary
|
60
|
+
# in any arbitrary order, rather than the order the user originally
|
61
61
|
# provided. Additionally, the list's order may or may not be stable.
|
62
62
|
UNORDERED_LIST = 6
|
63
|
+
|
64
|
+
# Denotes that this field returns a non-empty default value if not set.
|
65
|
+
# This indicates that if the user provides the empty value in a request,
|
66
|
+
# a non-empty value will be returned. The user will not be aware of what
|
67
|
+
# non-empty value to expect.
|
68
|
+
NON_EMPTY_DEFAULT = 7
|
63
69
|
end
|
64
70
|
end
|
65
71
|
end
|
@@ -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.
|
@@ -22,7 +22,7 @@ module Google
|
|
22
22
|
# Represents an amount of money with its currency type.
|
23
23
|
# @!attribute [rw] currency_code
|
24
24
|
# @return [::String]
|
25
|
-
# The
|
25
|
+
# The three-letter currency code defined in ISO 4217.
|
26
26
|
# @!attribute [rw] units
|
27
27
|
# @return [::Integer]
|
28
28
|
# The whole units of the amount.
|
@@ -21,7 +21,8 @@ module Google
|
|
21
21
|
module Type
|
22
22
|
# Represents a time of day. The date and time zone are either not significant
|
23
23
|
# or are specified elsewhere. An API may choose to allow leap seconds. Related
|
24
|
-
# types are [google.type.Date][google.type.Date] and
|
24
|
+
# types are [google.type.Date][google.type.Date] and
|
25
|
+
# `google.protobuf.Timestamp`.
|
25
26
|
# @!attribute [rw] hours
|
26
27
|
# @return [::Integer]
|
27
28
|
# Hours of day in 24 hour format. Should be from 0 to 23. An API may choose
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
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-
|
11
|
+
date: 2021-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.7'
|
20
|
+
- - "<"
|
18
21
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.7'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
- !ruby/object:Gem::Dependency
|
28
34
|
name: google-cloud-errors
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -253,7 +259,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
253
259
|
- !ruby/object:Gem::Version
|
254
260
|
version: '0'
|
255
261
|
requirements: []
|
256
|
-
rubygems_version: 3.2.
|
262
|
+
rubygems_version: 3.2.17
|
257
263
|
signing_key:
|
258
264
|
specification_version: 4
|
259
265
|
summary: API Client library for the Cloud Talent Solution V4 API
|