google-cloud-talent-v4 0.1.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 +7 -0
- data/.yardopts +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +75 -0
- data/lib/google-cloud-talent-v4.rb +21 -0
- data/lib/google/cloud/talent/v4.rb +39 -0
- data/lib/google/cloud/talent/v4/common_pb.rb +280 -0
- data/lib/google/cloud/talent/v4/company_pb.rb +42 -0
- data/lib/google/cloud/talent/v4/company_service.rb +49 -0
- data/lib/google/cloud/talent/v4/company_service/client.rb +732 -0
- data/lib/google/cloud/talent/v4/company_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/company_service/paths.rb +69 -0
- data/lib/google/cloud/talent/v4/company_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4/company_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4/completion.rb +49 -0
- data/lib/google/cloud/talent/v4/completion/client.rb +408 -0
- data/lib/google/cloud/talent/v4/completion/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/completion/paths.rb +69 -0
- data/lib/google/cloud/talent/v4/completion_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +46 -0
- data/lib/google/cloud/talent/v4/event_pb.rb +55 -0
- data/lib/google/cloud/talent/v4/event_service.rb +49 -0
- data/lib/google/cloud/talent/v4/event_service/client.rb +383 -0
- data/lib/google/cloud/talent/v4/event_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/event_service/paths.rb +50 -0
- data/lib/google/cloud/talent/v4/event_service_pb.rb +28 -0
- data/lib/google/cloud/talent/v4/event_service_services_pb.rb +51 -0
- data/lib/google/cloud/talent/v4/filters_pb.rb +87 -0
- data/lib/google/cloud/talent/v4/histogram_pb.rb +28 -0
- data/lib/google/cloud/talent/v4/job_pb.rb +72 -0
- data/lib/google/cloud/talent/v4/job_service.rb +50 -0
- data/lib/google/cloud/talent/v4/job_service/client.rb +1632 -0
- data/lib/google/cloud/talent/v4/job_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/job_service/operations.rb +570 -0
- data/lib/google/cloud/talent/v4/job_service/paths.rb +88 -0
- data/lib/google/cloud/talent/v4/job_service_pb.rb +173 -0
- data/lib/google/cloud/talent/v4/job_service_services_pb.rb +86 -0
- data/lib/google/cloud/talent/v4/tenant_pb.rb +26 -0
- data/lib/google/cloud/talent/v4/tenant_service.rb +49 -0
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +720 -0
- data/lib/google/cloud/talent/v4/tenant_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/tenant_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4/tenant_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +53 -0
- data/lib/google/cloud/talent/v4/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +283 -0
- data/proto_docs/google/cloud/talent/v4/common.rb +949 -0
- data/proto_docs/google/cloud/talent/v4/company.rb +117 -0
- data/proto_docs/google/cloud/talent/v4/company_service.rb +133 -0
- data/proto_docs/google/cloud/talent/v4/completion_service.rb +148 -0
- data/proto_docs/google/cloud/talent/v4/event.rb +179 -0
- data/proto_docs/google/cloud/talent/v4/event_service.rb +42 -0
- data/proto_docs/google/cloud/talent/v4/filters.rb +360 -0
- data/proto_docs/google/cloud/talent/v4/histogram.rb +72 -0
- data/proto_docs/google/cloud/talent/v4/job.rb +378 -0
- data/proto_docs/google/cloud/talent/v4/job_service.rb +737 -0
- data/proto_docs/google/cloud/talent/v4/tenant.rb +50 -0
- data/proto_docs/google/cloud/talent/v4/tenant_service.rb +121 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- data/proto_docs/google/type/money.rb +43 -0
- data/proto_docs/google/type/postal_address.rb +135 -0
- data/proto_docs/google/type/timeofday.rb +44 -0
- metadata +258 -0
@@ -0,0 +1,42 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Talent
|
23
|
+
module V4
|
24
|
+
# The report event request.
|
25
|
+
# @!attribute [rw] parent
|
26
|
+
# @return [::String]
|
27
|
+
# Required. Resource name of the tenant under which the event is created.
|
28
|
+
#
|
29
|
+
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
30
|
+
# "projects/foo/tenants/bar".
|
31
|
+
# @!attribute [rw] client_event
|
32
|
+
# @return [::Google::Cloud::Talent::V4::ClientEvent]
|
33
|
+
# Required. Events issued when end user interacts with customer's application
|
34
|
+
# that uses Cloud Talent Solution.
|
35
|
+
class CreateClientEventRequest
|
36
|
+
include ::Google::Protobuf::MessageExts
|
37
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,360 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Talent
|
23
|
+
module V4
|
24
|
+
# The query required to perform a search query.
|
25
|
+
# @!attribute [rw] query
|
26
|
+
# @return [::String]
|
27
|
+
# The query string that matches against the job title, description, and
|
28
|
+
# location fields.
|
29
|
+
#
|
30
|
+
# The maximum number of allowed characters is 255.
|
31
|
+
# @!attribute [rw] query_language_code
|
32
|
+
# @return [::String]
|
33
|
+
# The language code of {::Google::Cloud::Talent::V4::JobQuery#query query}. For
|
34
|
+
# example, "en-US". This field helps to better interpret the query.
|
35
|
+
#
|
36
|
+
# If a value isn't specified, the query language code is automatically
|
37
|
+
# detected, which may not be accurate.
|
38
|
+
#
|
39
|
+
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
|
40
|
+
# For more information, see
|
41
|
+
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
42
|
+
# @!attribute [rw] companies
|
43
|
+
# @return [::Array<::String>]
|
44
|
+
# This filter specifies the company entities to search against.
|
45
|
+
#
|
46
|
+
# If a value isn't specified, jobs are searched for against all
|
47
|
+
# companies.
|
48
|
+
#
|
49
|
+
# If multiple values are specified, jobs are searched against the
|
50
|
+
# companies specified.
|
51
|
+
#
|
52
|
+
# The format is
|
53
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}". For
|
54
|
+
# example, "projects/foo/tenants/bar/companies/baz".
|
55
|
+
#
|
56
|
+
# At most 20 company filters are allowed.
|
57
|
+
# @!attribute [rw] location_filters
|
58
|
+
# @return [::Array<::Google::Cloud::Talent::V4::LocationFilter>]
|
59
|
+
# The location filter specifies geo-regions containing the jobs to
|
60
|
+
# search against. See {::Google::Cloud::Talent::V4::LocationFilter LocationFilter}
|
61
|
+
# for more information.
|
62
|
+
#
|
63
|
+
# If a location value isn't specified, jobs fitting the other search
|
64
|
+
# criteria are retrieved regardless of where they're located.
|
65
|
+
#
|
66
|
+
# If multiple values are specified, jobs are retrieved from any of the
|
67
|
+
# specified locations. If different values are specified for the
|
68
|
+
# {::Google::Cloud::Talent::V4::LocationFilter#distance_in_miles LocationFilter.distance_in_miles}
|
69
|
+
# parameter, the maximum provided distance is used for all locations.
|
70
|
+
#
|
71
|
+
# At most 5 location filters are allowed.
|
72
|
+
# @!attribute [rw] job_categories
|
73
|
+
# @return [::Array<::Google::Cloud::Talent::V4::JobCategory>]
|
74
|
+
# The category filter specifies the categories of jobs to search against.
|
75
|
+
# See {::Google::Cloud::Talent::V4::JobCategory JobCategory} for more information.
|
76
|
+
#
|
77
|
+
# If a value isn't specified, jobs from any category are searched against.
|
78
|
+
#
|
79
|
+
# If multiple values are specified, jobs from any of the specified
|
80
|
+
# categories are searched against.
|
81
|
+
# @!attribute [rw] commute_filter
|
82
|
+
# @return [::Google::Cloud::Talent::V4::CommuteFilter]
|
83
|
+
# Allows filtering jobs by commute time with different travel methods (for
|
84
|
+
# example, driving or public transit).
|
85
|
+
#
|
86
|
+
# Note: This only works when you specify a
|
87
|
+
# {::Google::Cloud::Talent::V4::CommuteMethod CommuteMethod}. In this case,
|
88
|
+
# {::Google::Cloud::Talent::V4::JobQuery#location_filters location_filters} is
|
89
|
+
# ignored.
|
90
|
+
#
|
91
|
+
# Currently we don't support sorting by commute time.
|
92
|
+
# @!attribute [rw] company_display_names
|
93
|
+
# @return [::Array<::String>]
|
94
|
+
# This filter specifies the exact company
|
95
|
+
# {::Google::Cloud::Talent::V4::Company#display_name Company.display_name} of the
|
96
|
+
# jobs to search against.
|
97
|
+
#
|
98
|
+
# If a value isn't specified, jobs within the search results are
|
99
|
+
# associated with any company.
|
100
|
+
#
|
101
|
+
# If multiple values are specified, jobs within the search results may be
|
102
|
+
# associated with any of the specified companies.
|
103
|
+
#
|
104
|
+
# At most 20 company display name filters are allowed.
|
105
|
+
# @!attribute [rw] compensation_filter
|
106
|
+
# @return [::Google::Cloud::Talent::V4::CompensationFilter]
|
107
|
+
# This search filter is applied only to
|
108
|
+
# {::Google::Cloud::Talent::V4::Job#compensation_info Job.compensation_info}. For
|
109
|
+
# example, if the filter is specified as "Hourly job with per-hour
|
110
|
+
# compensation > $15", only jobs meeting these criteria are searched. If a
|
111
|
+
# filter isn't defined, all open jobs are searched.
|
112
|
+
# @!attribute [rw] custom_attribute_filter
|
113
|
+
# @return [::String]
|
114
|
+
# This filter specifies a structured syntax to match against the
|
115
|
+
# {::Google::Cloud::Talent::V4::Job#custom_attributes Job.custom_attributes}
|
116
|
+
# marked as `filterable`.
|
117
|
+
#
|
118
|
+
# The syntax for this expression is a subset of SQL syntax.
|
119
|
+
#
|
120
|
+
# Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the
|
121
|
+
# left of the operator is a custom field key and the right of the operator
|
122
|
+
# is a number or a quoted string. You must escape backslash (\\) and
|
123
|
+
# quote (\") characters.
|
124
|
+
#
|
125
|
+
# Supported functions are `LOWER([field_name])` to
|
126
|
+
# perform a case insensitive match and `EMPTY([field_name])` to filter on the
|
127
|
+
# existence of a key.
|
128
|
+
#
|
129
|
+
# Boolean expressions (AND/OR/NOT) are supported up to 3 levels of
|
130
|
+
# nesting (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100
|
131
|
+
# comparisons or functions are allowed in the expression. The expression
|
132
|
+
# must be < 6000 bytes in length.
|
133
|
+
#
|
134
|
+
# Sample Query:
|
135
|
+
# `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND
|
136
|
+
# driving_years > 10`
|
137
|
+
# @!attribute [rw] disable_spell_check
|
138
|
+
# @return [::Boolean]
|
139
|
+
# This flag controls the spell-check feature. If false, the
|
140
|
+
# service attempts to correct a misspelled query,
|
141
|
+
# for example, "enginee" is corrected to "engineer".
|
142
|
+
#
|
143
|
+
# Defaults to false: a spell check is performed.
|
144
|
+
# @!attribute [rw] employment_types
|
145
|
+
# @return [::Array<::Google::Cloud::Talent::V4::EmploymentType>]
|
146
|
+
# The employment type filter specifies the employment type of jobs to
|
147
|
+
# search against, such as
|
148
|
+
# {::Google::Cloud::Talent::V4::EmploymentType::FULL_TIME EmploymentType.FULL_TIME}.
|
149
|
+
#
|
150
|
+
# If a value isn't specified, jobs in the search results includes any
|
151
|
+
# employment type.
|
152
|
+
#
|
153
|
+
# If multiple values are specified, jobs in the search results include
|
154
|
+
# any of the specified employment types.
|
155
|
+
# @!attribute [rw] language_codes
|
156
|
+
# @return [::Array<::String>]
|
157
|
+
# This filter specifies the locale of jobs to search against,
|
158
|
+
# for example, "en-US".
|
159
|
+
#
|
160
|
+
# If a value isn't specified, the search results can contain jobs in any
|
161
|
+
# locale.
|
162
|
+
#
|
163
|
+
#
|
164
|
+
# Language codes should be in BCP-47 format, such as "en-US" or "sr-Latn".
|
165
|
+
# For more information, see
|
166
|
+
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
167
|
+
#
|
168
|
+
# At most 10 language code filters are allowed.
|
169
|
+
# @!attribute [rw] publish_time_range
|
170
|
+
# @return [::Google::Cloud::Talent::V4::TimestampRange]
|
171
|
+
# Jobs published within a range specified by this filter are searched
|
172
|
+
# against.
|
173
|
+
# @!attribute [rw] excluded_jobs
|
174
|
+
# @return [::Array<::String>]
|
175
|
+
# This filter specifies a list of job names to be excluded during search.
|
176
|
+
#
|
177
|
+
# At most 400 excluded job names are allowed.
|
178
|
+
class JobQuery
|
179
|
+
include ::Google::Protobuf::MessageExts
|
180
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
181
|
+
end
|
182
|
+
|
183
|
+
# Geographic region of the search.
|
184
|
+
# @!attribute [rw] address
|
185
|
+
# @return [::String]
|
186
|
+
# The address name, such as "Mountain View" or "Bay Area".
|
187
|
+
# @!attribute [rw] region_code
|
188
|
+
# @return [::String]
|
189
|
+
# CLDR region code of the country/region of the address. This is used
|
190
|
+
# to address ambiguity of the user-input location, for example, "Liverpool"
|
191
|
+
# against "Liverpool, NY, US" or "Liverpool, UK".
|
192
|
+
#
|
193
|
+
# Set this field to bias location resolution toward a specific country
|
194
|
+
# or territory. If this field is not set, application behavior is biased
|
195
|
+
# toward the United States by default.
|
196
|
+
#
|
197
|
+
# See
|
198
|
+
# https://www.unicode.org/cldr/charts/30/supplemental/territory_information.html
|
199
|
+
# for details. Example: "CH" for Switzerland.
|
200
|
+
# @!attribute [rw] lat_lng
|
201
|
+
# @return [::Google::Type::LatLng]
|
202
|
+
# The latitude and longitude of the geographic center to search from. This
|
203
|
+
# field is ignored if `address` is provided.
|
204
|
+
# @!attribute [rw] distance_in_miles
|
205
|
+
# @return [::Float]
|
206
|
+
# The distance_in_miles is applied when the location being searched for is
|
207
|
+
# identified as a city or smaller. This field is ignored if the location
|
208
|
+
# being searched for is a state or larger.
|
209
|
+
# @!attribute [rw] telecommute_preference
|
210
|
+
# @return [::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference]
|
211
|
+
# Allows the client to return jobs without a
|
212
|
+
# set location, specifically, telecommuting jobs (telecommuting is considered
|
213
|
+
# by the service as a special location.
|
214
|
+
# {::Google::Cloud::Talent::V4::Job#posting_region Job.posting_region} indicates
|
215
|
+
# if a job permits telecommuting. If this field is set to
|
216
|
+
# {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_ALLOWED TelecommutePreference.TELECOMMUTE_ALLOWED},
|
217
|
+
# telecommuting jobs are searched, and
|
218
|
+
# {::Google::Cloud::Talent::V4::LocationFilter#address address} and
|
219
|
+
# {::Google::Cloud::Talent::V4::LocationFilter#lat_lng lat_lng} are ignored. If
|
220
|
+
# not set or set to
|
221
|
+
# {::Google::Cloud::Talent::V4::LocationFilter::TelecommutePreference::TELECOMMUTE_EXCLUDED TelecommutePreference.TELECOMMUTE_EXCLUDED},
|
222
|
+
# telecommute job are not searched.
|
223
|
+
#
|
224
|
+
# This filter can be used by itself to search exclusively for telecommuting
|
225
|
+
# jobs, or it can be combined with another location
|
226
|
+
# filter to search for a combination of job locations,
|
227
|
+
# such as "Mountain View" or "telecommuting" jobs. However, when used in
|
228
|
+
# combination with other location filters, telecommuting jobs can be
|
229
|
+
# treated as less relevant than other jobs in the search response.
|
230
|
+
#
|
231
|
+
# This field is only used for job search requests.
|
232
|
+
class LocationFilter
|
233
|
+
include ::Google::Protobuf::MessageExts
|
234
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
235
|
+
|
236
|
+
# Specify whether to include telecommute jobs.
|
237
|
+
module TelecommutePreference
|
238
|
+
# Default value if the telecommute preference isn't specified.
|
239
|
+
TELECOMMUTE_PREFERENCE_UNSPECIFIED = 0
|
240
|
+
|
241
|
+
# Exclude telecommute jobs.
|
242
|
+
TELECOMMUTE_EXCLUDED = 1
|
243
|
+
|
244
|
+
# Allow telecommute jobs.
|
245
|
+
TELECOMMUTE_ALLOWED = 2
|
246
|
+
end
|
247
|
+
end
|
248
|
+
|
249
|
+
# Filter on job compensation type and amount.
|
250
|
+
# @!attribute [rw] type
|
251
|
+
# @return [::Google::Cloud::Talent::V4::CompensationFilter::FilterType]
|
252
|
+
# Required. Type of filter.
|
253
|
+
# @!attribute [rw] units
|
254
|
+
# @return [::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit>]
|
255
|
+
# Required. Specify desired `base compensation entry's`
|
256
|
+
# {::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit CompensationInfo.CompensationUnit}.
|
257
|
+
# @!attribute [rw] range
|
258
|
+
# @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange]
|
259
|
+
# Compensation range.
|
260
|
+
# @!attribute [rw] include_jobs_with_unspecified_compensation_range
|
261
|
+
# @return [::Boolean]
|
262
|
+
# If set to true, jobs with unspecified compensation range fields are
|
263
|
+
# included.
|
264
|
+
class CompensationFilter
|
265
|
+
include ::Google::Protobuf::MessageExts
|
266
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
267
|
+
|
268
|
+
# Specify the type of filtering.
|
269
|
+
module FilterType
|
270
|
+
# Filter type unspecified. Position holder, INVALID, should never be used.
|
271
|
+
FILTER_TYPE_UNSPECIFIED = 0
|
272
|
+
|
273
|
+
# Filter by `base compensation entry's` unit. A job is a match if and
|
274
|
+
# only if the job contains a base CompensationEntry and the base
|
275
|
+
# CompensationEntry's unit matches provided
|
276
|
+
# {::Google::Cloud::Talent::V4::CompensationFilter#units units}. Populate one or
|
277
|
+
# more {::Google::Cloud::Talent::V4::CompensationFilter#units units}.
|
278
|
+
#
|
279
|
+
# See
|
280
|
+
# {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry CompensationInfo.CompensationEntry}
|
281
|
+
# for definition of base compensation entry.
|
282
|
+
UNIT_ONLY = 1
|
283
|
+
|
284
|
+
# Filter by `base compensation entry's` unit and amount / range. A job
|
285
|
+
# is a match if and only if the job contains a base CompensationEntry, and
|
286
|
+
# the base entry's unit matches provided
|
287
|
+
# {::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit CompensationUnit}
|
288
|
+
# and amount or range overlaps with provided
|
289
|
+
# {::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange CompensationRange}.
|
290
|
+
#
|
291
|
+
# See
|
292
|
+
# {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry CompensationInfo.CompensationEntry}
|
293
|
+
# for definition of base compensation entry.
|
294
|
+
#
|
295
|
+
# Set exactly one {::Google::Cloud::Talent::V4::CompensationFilter#units units}
|
296
|
+
# and populate {::Google::Cloud::Talent::V4::CompensationFilter#range range}.
|
297
|
+
UNIT_AND_AMOUNT = 2
|
298
|
+
|
299
|
+
# Filter by annualized base compensation amount and `base compensation
|
300
|
+
# entry's` unit. Populate
|
301
|
+
# {::Google::Cloud::Talent::V4::CompensationFilter#range range} and zero or more
|
302
|
+
# {::Google::Cloud::Talent::V4::CompensationFilter#units units}.
|
303
|
+
ANNUALIZED_BASE_AMOUNT = 3
|
304
|
+
|
305
|
+
# Filter by annualized total compensation amount and `base compensation
|
306
|
+
# entry's` unit . Populate
|
307
|
+
# {::Google::Cloud::Talent::V4::CompensationFilter#range range} and zero or more
|
308
|
+
# {::Google::Cloud::Talent::V4::CompensationFilter#units units}.
|
309
|
+
ANNUALIZED_TOTAL_AMOUNT = 4
|
310
|
+
end
|
311
|
+
end
|
312
|
+
|
313
|
+
# Parameters needed for commute search.
|
314
|
+
# @!attribute [rw] commute_method
|
315
|
+
# @return [::Google::Cloud::Talent::V4::CommuteMethod]
|
316
|
+
# Required. The method of transportation to calculate the commute time for.
|
317
|
+
# @!attribute [rw] start_coordinates
|
318
|
+
# @return [::Google::Type::LatLng]
|
319
|
+
# Required. The latitude and longitude of the location to calculate the
|
320
|
+
# commute time from.
|
321
|
+
# @!attribute [rw] travel_duration
|
322
|
+
# @return [::Google::Protobuf::Duration]
|
323
|
+
# Required. The maximum travel time in seconds. The maximum allowed value is
|
324
|
+
# `3600s` (one hour). Format is `123s`.
|
325
|
+
# @!attribute [rw] allow_imprecise_addresses
|
326
|
+
# @return [::Boolean]
|
327
|
+
# If `true`, jobs without street level addresses may also be returned.
|
328
|
+
# For city level addresses, the city center is used. For state and coarser
|
329
|
+
# level addresses, text matching is used.
|
330
|
+
# If this field is set to `false` or isn't specified, only jobs that include
|
331
|
+
# street level addresses will be returned by commute search.
|
332
|
+
# @!attribute [rw] road_traffic
|
333
|
+
# @return [::Google::Cloud::Talent::V4::CommuteFilter::RoadTraffic]
|
334
|
+
# Specifies the traffic density to use when calculating commute time.
|
335
|
+
# @!attribute [rw] departure_time
|
336
|
+
# @return [::Google::Type::TimeOfDay]
|
337
|
+
# The departure time used to calculate traffic impact, represented as
|
338
|
+
# {::Google::Type::TimeOfDay google.type.TimeOfDay} in local time zone.
|
339
|
+
#
|
340
|
+
# Currently traffic model is restricted to hour level resolution.
|
341
|
+
class CommuteFilter
|
342
|
+
include ::Google::Protobuf::MessageExts
|
343
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
344
|
+
|
345
|
+
# The traffic density to use when calculating commute time.
|
346
|
+
module RoadTraffic
|
347
|
+
# Road traffic situation isn't specified.
|
348
|
+
ROAD_TRAFFIC_UNSPECIFIED = 0
|
349
|
+
|
350
|
+
# Optimal commute time without considering any traffic impact.
|
351
|
+
TRAFFIC_FREE = 1
|
352
|
+
|
353
|
+
# Commute time calculation takes in account the peak traffic impact.
|
354
|
+
BUSY_HOUR = 2
|
355
|
+
end
|
356
|
+
end
|
357
|
+
end
|
358
|
+
end
|
359
|
+
end
|
360
|
+
end
|
@@ -0,0 +1,72 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Talent
|
23
|
+
module V4
|
24
|
+
# The histogram request.
|
25
|
+
# @!attribute [rw] histogram_query
|
26
|
+
# @return [::String]
|
27
|
+
# An expression specifies a histogram request against matching jobs for
|
28
|
+
# searches.
|
29
|
+
#
|
30
|
+
# See
|
31
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#histogram_queries SearchJobsRequest.histogram_queries}
|
32
|
+
# for details about syntax.
|
33
|
+
class HistogramQuery
|
34
|
+
include ::Google::Protobuf::MessageExts
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
36
|
+
end
|
37
|
+
|
38
|
+
# Histogram result that matches
|
39
|
+
# {::Google::Cloud::Talent::V4::HistogramQuery HistogramQuery} specified in
|
40
|
+
# searches.
|
41
|
+
# @!attribute [rw] histogram_query
|
42
|
+
# @return [::String]
|
43
|
+
# Requested histogram expression.
|
44
|
+
# @!attribute [rw] histogram
|
45
|
+
# @return [::Google::Protobuf::Map{::String => ::Integer}]
|
46
|
+
# A map from the values of the facet associated with distinct values to the
|
47
|
+
# number of matching entries with corresponding value.
|
48
|
+
#
|
49
|
+
# The key format is:
|
50
|
+
#
|
51
|
+
# * (for string histogram) string values stored in the field.
|
52
|
+
# * (for named numeric bucket) name specified in `bucket()` function, like
|
53
|
+
# for `bucket(0, MAX, "non-negative")`, the key will be `non-negative`.
|
54
|
+
# * (for anonymous numeric bucket) range formatted as `<low>-<high>`, for
|
55
|
+
# example, `0-1000`, `MIN-0`, and `0-MAX`.
|
56
|
+
class HistogramQueryResult
|
57
|
+
include ::Google::Protobuf::MessageExts
|
58
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
59
|
+
|
60
|
+
# @!attribute [rw] key
|
61
|
+
# @return [::String]
|
62
|
+
# @!attribute [rw] value
|
63
|
+
# @return [::Integer]
|
64
|
+
class HistogramEntry
|
65
|
+
include ::Google::Protobuf::MessageExts
|
66
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|