google-cloud-talent 0.1.0 → 0.2.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/.yardopts +2 -0
- data/AUTHENTICATION.md +199 -0
- data/lib/google/cloud/talent.rb +20 -19
- data/lib/google/cloud/talent/v4beta1.rb +22 -21
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +62 -0
- data/lib/google/cloud/talent/v4beta1/application_service_client.rb +492 -0
- data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +51 -0
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +47 -1
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +83 -55
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +62 -42
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +189 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +121 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +189 -94
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +12 -10
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +29 -20
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +26 -30
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +16 -55
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +9 -1
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +74 -164
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +2 -5
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +58 -86
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +109 -137
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +76 -375
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +21 -38
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +1 -3
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +3 -7
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +18 -26
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +15 -13
- data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +14 -10
- data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -34
- data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +2 -3
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -9
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +26 -13
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +8 -20
- data/lib/google/cloud/talent/v4beta1/helpers.rb +44 -10
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +3 -2
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +229 -204
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -1
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +8 -12
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +6 -64
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +72 -68
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +3 -3
- data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +34 -23
- metadata +11 -4
@@ -25,11 +25,8 @@ module Google
|
|
25
25
|
# An expression specifies a histogram request against matching resources
|
26
26
|
# (for example, jobs, profiles) for searches.
|
27
27
|
#
|
28
|
-
# See
|
29
|
-
# {Google::Cloud::Talent::V4beta1::
|
30
|
-
# and
|
31
|
-
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest#histogram_queries}
|
32
|
-
# for details about syntax.
|
28
|
+
# See {Google::Cloud::Talent::V4beta1::SearchJobsRequest#histogram_queries SearchJobsRequest#histogram_queries} and
|
29
|
+
# {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#histogram_queries SearchProfilesRequest#histogram_queries} for details about syntax.
|
33
30
|
class HistogramQuery; end
|
34
31
|
|
35
32
|
# Output only.
|
@@ -18,9 +18,8 @@ module Google
|
|
18
18
|
module Talent
|
19
19
|
module V4beta1
|
20
20
|
# A Job resource represents a job posting (also referred to as a "job listing"
|
21
|
-
# or "job requisition"). A job belongs to a
|
22
|
-
#
|
23
|
-
# responsible for the job.
|
21
|
+
# or "job requisition"). A job belongs to a {Google::Cloud::Talent::V4beta1::Company Company}, which is the hiring
|
22
|
+
# entity responsible for the job.
|
24
23
|
# @!attribute [rw] name
|
25
24
|
# @return [String]
|
26
25
|
# Required during job update.
|
@@ -28,18 +27,27 @@ module Google
|
|
28
27
|
# The resource name for the job. This is generated by the service when a
|
29
28
|
# job is created.
|
30
29
|
#
|
31
|
-
# The format is
|
32
|
-
#
|
30
|
+
# The format is
|
31
|
+
# "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
|
32
|
+
# example, "projects/api-test-project/tenants/foo/jobs/1234".
|
33
|
+
#
|
34
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
35
|
+
# example, "projects/api-test-project/jobs/1234".
|
33
36
|
#
|
34
37
|
# Use of this field in job queries and API calls is preferred over the use of
|
35
|
-
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id} since this
|
36
|
-
#
|
37
|
-
# @!attribute [rw] company_name
|
38
|
+
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id} since this value is unique.
|
39
|
+
# @!attribute [rw] company
|
38
40
|
# @return [String]
|
39
41
|
# Required.
|
40
42
|
#
|
41
|
-
# The resource name of the company listing the job
|
42
|
-
#
|
43
|
+
# The resource name of the company listing the job.
|
44
|
+
#
|
45
|
+
# The format is
|
46
|
+
# "projects/{project_id}/tenants/{tenant_id}/companies/{company_id}", for
|
47
|
+
# example, "projects/api-test-project/tenants/foo/companies/bar".
|
48
|
+
#
|
49
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
50
|
+
# example, "projects/api-test-project/companies/bar".
|
43
51
|
# @!attribute [rw] requisition_id
|
44
52
|
# @return [String]
|
45
53
|
# Required.
|
@@ -47,10 +55,8 @@ module Google
|
|
47
55
|
# The requisition ID, also referred to as the posting ID, is assigned by the
|
48
56
|
# client to identify a job. This field is intended to be used by clients
|
49
57
|
# for client identification and tracking of postings. A job isn't allowed
|
50
|
-
# to be created if there is another job with the same
|
51
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
52
|
-
# {Google::Cloud::Talent::V4beta1::Job#language_code language_code} and
|
53
|
-
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}.
|
58
|
+
# to be created if there is another job with the same {Google::Cloud::Talent::V4beta1::Job#name company},
|
59
|
+
# {Google::Cloud::Talent::V4beta1::Job#language_code language_code} and {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}.
|
54
60
|
#
|
55
61
|
# The maximum number of allowed characters is 255.
|
56
62
|
# @!attribute [rw] title
|
@@ -66,10 +72,9 @@ module Google
|
|
66
72
|
#
|
67
73
|
# The description of the job, which typically includes a multi-paragraph
|
68
74
|
# description of the company and related information. Separate fields are
|
69
|
-
# provided on the job object for
|
70
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
71
|
-
#
|
72
|
-
# job characteristics. Use of these separate job fields is recommended.
|
75
|
+
# provided on the job object for {Google::Cloud::Talent::V4beta1::Job#responsibilities responsibilities},
|
76
|
+
# {Google::Cloud::Talent::V4beta1::Job#qualifications qualifications}, and other job characteristics. Use of
|
77
|
+
# these separate job fields is recommended.
|
73
78
|
#
|
74
79
|
# This field accepts and sanitizes HTML input, and also accepts
|
75
80
|
# bold, italic, ordered list, and unordered list markup tags.
|
@@ -86,22 +91,17 @@ module Google
|
|
86
91
|
#
|
87
92
|
# At most 50 locations are allowed for best search performance. If a job has
|
88
93
|
# more locations, it is suggested to split it into multiple jobs with unique
|
89
|
-
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}s (e.g.
|
90
|
-
#
|
91
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
92
|
-
#
|
93
|
-
#
|
94
|
-
#
|
95
|
-
# preserved, a custom field should be used for storage. It is also suggested
|
96
|
-
# to group the locations that close to each other in the same job for better
|
97
|
-
# search experience.
|
94
|
+
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}s (e.g. 'ReqA' becomes 'ReqA-1', 'ReqA-2', and so on.) as
|
95
|
+
# multiple jobs with the same {Google::Cloud::Talent::V4beta1::Job#name company}[], {Language_code} and
|
96
|
+
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id} are not allowed. If the original {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id} must
|
97
|
+
# be preserved, a custom field should be used for storage. It is also
|
98
|
+
# suggested to group the locations that close to each other in the same job
|
99
|
+
# for better search experience.
|
98
100
|
#
|
99
101
|
# The maximum number of allowed characters is 500.
|
100
102
|
# @!attribute [rw] application_info
|
101
103
|
# @return [Google::Cloud::Talent::V4beta1::Job::ApplicationInfo]
|
102
|
-
#
|
103
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo ApplicationInfo} must be
|
104
|
-
# specified.
|
104
|
+
# Optional.
|
105
105
|
#
|
106
106
|
# Job application information.
|
107
107
|
# @!attribute [rw] job_benefits
|
@@ -113,7 +113,8 @@ module Google
|
|
113
113
|
# @return [Google::Cloud::Talent::V4beta1::CompensationInfo]
|
114
114
|
# Optional.
|
115
115
|
#
|
116
|
-
# Job compensation information.
|
116
|
+
# Job compensation information (a.k.a. "pay rate") i.e., the compensation
|
117
|
+
# that will paid to the employee.
|
117
118
|
# @!attribute [rw] custom_attributes
|
118
119
|
# @return [Hash{String => Google::Cloud::Talent::V4beta1::CustomAttribute}]
|
119
120
|
# Optional.
|
@@ -170,11 +171,9 @@ module Google
|
|
170
171
|
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47){:
|
171
172
|
# class="external" target="_blank" }.
|
172
173
|
#
|
173
|
-
# If this field is unspecified and
|
174
|
-
# {Google::Cloud::Talent::V4beta1::Job#description Job#description} is
|
175
|
-
#
|
176
|
-
# {Google::Cloud::Talent::V4beta1::Job#description Job#description} is assigned,
|
177
|
-
# otherwise defaults to 'en_US'.
|
174
|
+
# If this field is unspecified and {Google::Cloud::Talent::V4beta1::Job#description Job#description} is present, detected
|
175
|
+
# language code based on {Google::Cloud::Talent::V4beta1::Job#description Job#description} is assigned, otherwise
|
176
|
+
# defaults to 'en_US'.
|
178
177
|
# @!attribute [rw] job_level
|
179
178
|
# @return [Google::Cloud::Talent::V4beta1::JobLevel]
|
180
179
|
# Optional.
|
@@ -197,8 +196,7 @@ module Google
|
|
197
196
|
#
|
198
197
|
# A description of the qualifications required to perform the
|
199
198
|
# job. The use of this field is recommended
|
200
|
-
# as an alternative to using the more general
|
201
|
-
# {Google::Cloud::Talent::V4beta1::Job#description description} field.
|
199
|
+
# as an alternative to using the more general {Google::Cloud::Talent::V4beta1::Job#description description} field.
|
202
200
|
#
|
203
201
|
# This field accepts and sanitizes HTML input, and also accepts
|
204
202
|
# bold, italic, ordered list, and unordered list markup tags.
|
@@ -209,8 +207,8 @@ module Google
|
|
209
207
|
# Optional.
|
210
208
|
#
|
211
209
|
# A description of job responsibilities. The use of this field is
|
212
|
-
# recommended as an alternative to using the more general
|
213
|
-
#
|
210
|
+
# recommended as an alternative to using the more general {Google::Cloud::Talent::V4beta1::Job#description description}
|
211
|
+
# field.
|
214
212
|
#
|
215
213
|
# This field accepts and sanitizes HTML input, and also accepts
|
216
214
|
# bold, italic, ordered list, and unordered list markup tags.
|
@@ -220,25 +218,20 @@ module Google
|
|
220
218
|
# @return [Google::Cloud::Talent::V4beta1::PostingRegion]
|
221
219
|
# Optional.
|
222
220
|
#
|
223
|
-
# The job {Google::Cloud::Talent::V4beta1::PostingRegion PostingRegion} (for
|
224
|
-
#
|
225
|
-
#
|
226
|
-
#
|
227
|
-
#
|
228
|
-
#
|
229
|
-
#
|
230
|
-
# {Google::Cloud::Talent::V4beta1::PostingRegion::ADMINISTRATIVE_AREA PostingRegion::ADMINISTRATIVE_AREA},
|
231
|
-
# setting job {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses} to
|
232
|
-
# the same location level as this field is strongly recommended.
|
221
|
+
# The job {Google::Cloud::Talent::V4beta1::PostingRegion PostingRegion} (for example, state, country) throughout
|
222
|
+
# which the job is available. If this field is set, a {Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter}
|
223
|
+
# in a search query within the job region finds this job posting if an
|
224
|
+
# exact location match isn't specified. If this field is set to
|
225
|
+
# {Google::Cloud::Talent::V4beta1::PostingRegion::NATION PostingRegion::NATION} or {Google::Cloud::Talent::V4beta1::PostingRegion::ADMINISTRATIVE_AREA PostingRegion::ADMINISTRATIVE_AREA},
|
226
|
+
# setting job {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses} to the same location level as this field
|
227
|
+
# is strongly recommended.
|
233
228
|
# @!attribute [rw] visibility
|
234
229
|
# @return [Google::Cloud::Talent::V4beta1::Visibility]
|
235
230
|
# Optional.
|
236
231
|
#
|
237
232
|
# The visibility of the job.
|
238
233
|
#
|
239
|
-
# Defaults to
|
240
|
-
# {Google::Cloud::Talent::V4beta1::Visibility::ACCOUNT_ONLY Visibility::ACCOUNT_ONLY}
|
241
|
-
# if not specified.
|
234
|
+
# Defaults to {Google::Cloud::Talent::V4beta1::Visibility::ACCOUNT_ONLY Visibility::ACCOUNT_ONLY} if not specified.
|
242
235
|
# @!attribute [rw] job_start_time
|
243
236
|
# @return [Google::Protobuf::Timestamp]
|
244
237
|
# Optional.
|
@@ -270,9 +263,7 @@ module Google
|
|
270
263
|
# updated with the {UpdateJob} API. An expired job can be updated and
|
271
264
|
# opened again by using a future expiration timestamp. Updating an expired
|
272
265
|
# job fails if there is another existing open job with same
|
273
|
-
# {Google::Cloud::Talent::V4beta1::Job#name company}[],
|
274
|
-
# {Google::Cloud::Talent::V4beta1::Job#language_code language_code} and
|
275
|
-
# {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}.
|
266
|
+
# {Google::Cloud::Talent::V4beta1::Job#name company}[], {Language_code} and {Google::Cloud::Talent::V4beta1::Job#requisition_id requisition_id}.
|
276
267
|
#
|
277
268
|
# The expired jobs are retained in our system for 90 days. However, the
|
278
269
|
# overall expired job count cannot exceed 3 times the maximum of open jobs
|
@@ -291,11 +282,10 @@ module Google
|
|
291
282
|
# unspecified expiration date, the job expires after 2017/01/31 13:00AM UTC.
|
292
283
|
#
|
293
284
|
# If this value isn't provided on job update, it depends on the field masks
|
294
|
-
# set by
|
295
|
-
# {
|
296
|
-
#
|
297
|
-
#
|
298
|
-
# job's last update time. Otherwise the expiration date isn't updated.
|
285
|
+
# set by {Google::Cloud::Talent::V4beta1::UpdateJobRequest#update_mask UpdateJobRequest#update_mask}. If the field masks include
|
286
|
+
# {Expiry_time}, or the masks are empty meaning that every field is
|
287
|
+
# updated, the job posting expires after 30 days from the job's last
|
288
|
+
# update time. Otherwise the expiration date isn't updated.
|
299
289
|
# @!attribute [rw] posting_create_time
|
300
290
|
# @return [Google::Protobuf::Timestamp]
|
301
291
|
# Output only. The timestamp when this job posting was created.
|
@@ -317,11 +307,7 @@ module Google
|
|
317
307
|
# Application related details of a job posting.
|
318
308
|
# @!attribute [rw] emails
|
319
309
|
# @return [Array<String>]
|
320
|
-
# Optional
|
321
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#uris uris},
|
322
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#emails emails} or
|
323
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#instruction instruction}
|
324
|
-
# must be specified.
|
310
|
+
# Optional.
|
325
311
|
#
|
326
312
|
# Use this field to specify email address(es) to which resumes or
|
327
313
|
# applications can be sent.
|
@@ -329,11 +315,7 @@ module Google
|
|
329
315
|
# The maximum number of allowed characters for each entry is 255.
|
330
316
|
# @!attribute [rw] instruction
|
331
317
|
# @return [String]
|
332
|
-
# Optional
|
333
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#uris uris},
|
334
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#emails emails} or
|
335
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#instruction instruction}
|
336
|
-
# must be specified.
|
318
|
+
# Optional.
|
337
319
|
#
|
338
320
|
# Use this field to provide instructions, such as "Mail your application
|
339
321
|
# to ...", that a candidate can follow to apply for the job.
|
@@ -344,11 +326,7 @@ module Google
|
|
344
326
|
# The maximum number of allowed characters is 3,000.
|
345
327
|
# @!attribute [rw] uris
|
346
328
|
# @return [Array<String>]
|
347
|
-
# Optional
|
348
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#uris uris},
|
349
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#emails emails} or
|
350
|
-
# {Google::Cloud::Talent::V4beta1::Job::ApplicationInfo#instruction instruction}
|
351
|
-
# must be specified.
|
329
|
+
# Optional.
|
352
330
|
#
|
353
331
|
# Use this URI field to direct an applicant to a website, for example to
|
354
332
|
# link to an online application form.
|
@@ -361,18 +339,13 @@ module Google
|
|
361
339
|
# Derived details about the job posting.
|
362
340
|
# @!attribute [rw] locations
|
363
341
|
# @return [Array<Google::Cloud::Talent::V4beta1::Location>]
|
364
|
-
# Structured locations of the job, resolved from
|
365
|
-
# {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses}.
|
342
|
+
# Structured locations of the job, resolved from {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses}.
|
366
343
|
#
|
367
|
-
# {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations locations} are
|
368
|
-
# exactly matched to
|
369
|
-
# {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses} in the same
|
344
|
+
# {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations locations} are exactly matched to {Google::Cloud::Talent::V4beta1::Job#addresses Job#addresses} in the same
|
370
345
|
# order.
|
371
346
|
# @!attribute [rw] job_categories
|
372
347
|
# @return [Array<Google::Cloud::Talent::V4beta1::JobCategory>]
|
373
|
-
# Job categories derived from
|
374
|
-
# {Google::Cloud::Talent::V4beta1::Job#title Job#title} and
|
375
|
-
# {Google::Cloud::Talent::V4beta1::Job#description Job#description}.
|
348
|
+
# Job categories derived from {Google::Cloud::Talent::V4beta1::Job#title Job#title} and {Google::Cloud::Talent::V4beta1::Job#description Job#description}.
|
376
349
|
class DerivedInfo; end
|
377
350
|
|
378
351
|
# Input only.
|
@@ -399,8 +372,7 @@ module Google
|
|
399
372
|
# HTML tags in these fields may be stripped if sanitiazation isn't
|
400
373
|
# disabled.
|
401
374
|
#
|
402
|
-
# Defaults to
|
403
|
-
# {Google::Cloud::Talent::V4beta1::HtmlSanitization::SIMPLE_FORMATTING_ONLY HtmlSanitization::SIMPLE_FORMATTING_ONLY}.
|
375
|
+
# Defaults to {Google::Cloud::Talent::V4beta1::HtmlSanitization::SIMPLE_FORMATTING_ONLY HtmlSanitization::SIMPLE_FORMATTING_ONLY}.
|
404
376
|
class ProcessingOptions; end
|
405
377
|
end
|
406
378
|
end
|
@@ -24,10 +24,13 @@ module Google
|
|
24
24
|
# @return [String]
|
25
25
|
# Required.
|
26
26
|
#
|
27
|
-
# The resource name of the
|
27
|
+
# The resource name of the tenant under which the job is created.
|
28
28
|
#
|
29
|
-
# The format is "projects/{project_id}", for example,
|
30
|
-
# "projects/api-test-project".
|
29
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
30
|
+
# "projects/api-test-project/tenant/foo".
|
31
|
+
#
|
32
|
+
# Tenant id is optional and a default tenant is created if unspecified, for
|
33
|
+
# example, "projects/api-test-project".
|
31
34
|
# @!attribute [rw] job
|
32
35
|
# @return [Google::Cloud::Talent::V4beta1::Job]
|
33
36
|
# Required.
|
@@ -44,8 +47,12 @@ module Google
|
|
44
47
|
#
|
45
48
|
# The resource name of the job to retrieve.
|
46
49
|
#
|
47
|
-
# The format is
|
48
|
-
#
|
50
|
+
# The format is
|
51
|
+
# "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
|
52
|
+
# example, "projects/api-test-project/tenants/foo/jobs/1234".
|
53
|
+
#
|
54
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
55
|
+
# example, "projects/api-test-project/jobs/1234".
|
49
56
|
class GetJobRequest; end
|
50
57
|
|
51
58
|
# Input only.
|
@@ -61,10 +68,8 @@ module Google
|
|
61
68
|
# Optional but strongly recommended to be provided for the best service
|
62
69
|
# experience.
|
63
70
|
#
|
64
|
-
# If {Google::Cloud::Talent::V4beta1::UpdateJobRequest#update_mask update_mask}
|
65
|
-
#
|
66
|
-
# {Google::Cloud::Talent::V4beta1::UpdateJobRequest#job job} are updated.
|
67
|
-
# Otherwise all the fields are updated.
|
71
|
+
# If {Google::Cloud::Talent::V4beta1::UpdateJobRequest#update_mask update_mask} is provided, only the specified fields in
|
72
|
+
# {Google::Cloud::Talent::V4beta1::UpdateJobRequest#job job} are updated. Otherwise all the fields are updated.
|
68
73
|
#
|
69
74
|
# A field mask to restrict the fields that are updated. Only
|
70
75
|
# top level fields of {Google::Cloud::Talent::V4beta1::Job Job} are supported.
|
@@ -79,8 +84,12 @@ module Google
|
|
79
84
|
#
|
80
85
|
# The resource name of the job to be deleted.
|
81
86
|
#
|
82
|
-
# The format is
|
83
|
-
#
|
87
|
+
# The format is
|
88
|
+
# "projects/{project_id}/tenants/{tenant_id}/jobs/{job_id}", for
|
89
|
+
# example, "projects/api-test-project/tenants/foo/jobs/1234".
|
90
|
+
#
|
91
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
92
|
+
# example, "projects/api-test-project/jobs/1234".
|
84
93
|
class DeleteJobRequest; end
|
85
94
|
|
86
95
|
# Input only.
|
@@ -90,10 +99,13 @@ module Google
|
|
90
99
|
# @return [String]
|
91
100
|
# Required.
|
92
101
|
#
|
93
|
-
# The resource name of the
|
102
|
+
# The resource name of the tenant under which the job is created.
|
103
|
+
#
|
104
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
105
|
+
# "projects/api-test-project/tenant/foo".
|
94
106
|
#
|
95
|
-
#
|
96
|
-
# "projects/api-test-project".
|
107
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
108
|
+
# example, "projects/api-test-project".
|
97
109
|
# @!attribute [rw] filter
|
98
110
|
# @return [String]
|
99
111
|
# Required.
|
@@ -118,10 +130,13 @@ module Google
|
|
118
130
|
# @return [String]
|
119
131
|
# Required.
|
120
132
|
#
|
121
|
-
# The resource name of the
|
133
|
+
# The resource name of the tenant under which the job is created.
|
122
134
|
#
|
123
|
-
# The format is "projects/{project_id}", for example,
|
124
|
-
# "projects/api-test-project".
|
135
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
136
|
+
# "projects/api-test-project/tenant/foo".
|
137
|
+
#
|
138
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
139
|
+
# example, "projects/api-test-project".
|
125
140
|
# @!attribute [rw] filter
|
126
141
|
# @return [String]
|
127
142
|
# Required.
|
@@ -139,11 +154,11 @@ module Google
|
|
139
154
|
#
|
140
155
|
# Sample Query:
|
141
156
|
#
|
142
|
-
# * companyName = "projects/api-test-project/companies/
|
143
|
-
# * companyName = "projects/api-test-project/companies/
|
144
|
-
# = "req-1"
|
145
|
-
# * companyName = "projects/api-test-project/companies/
|
146
|
-
# "EXPIRED"
|
157
|
+
# * companyName = "projects/api-test-project/tenants/foo/companies/bar"
|
158
|
+
# * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
|
159
|
+
# requisitionId = "req-1"
|
160
|
+
# * companyName = "projects/api-test-project/tenants/foo/companies/bar" AND
|
161
|
+
# status = "EXPIRED"
|
147
162
|
# @!attribute [rw] page_token
|
148
163
|
# @return [String]
|
149
164
|
# Optional.
|
@@ -155,11 +170,8 @@ module Google
|
|
155
170
|
#
|
156
171
|
# The maximum number of jobs to be returned per page of results.
|
157
172
|
#
|
158
|
-
# If {Google::Cloud::Talent::V4beta1::ListJobsRequest#job_view job_view} is set
|
159
|
-
#
|
160
|
-
# {Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_ID_ONLY JobView::JOB_VIEW_ID_ONLY},
|
161
|
-
# the maximum allowed page size is 1000. Otherwise, the maximum allowed page
|
162
|
-
# size is 100.
|
173
|
+
# If {Google::Cloud::Talent::V4beta1::ListJobsRequest#job_view job_view} is set to {Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_ID_ONLY JobView::JOB_VIEW_ID_ONLY}, the maximum allowed
|
174
|
+
# page size is 1000. Otherwise, the maximum allowed page size is 100.
|
163
175
|
#
|
164
176
|
# Default is 100 if empty or a number < 1 is specified.
|
165
177
|
# @!attribute [rw] job_view
|
@@ -167,9 +179,8 @@ module Google
|
|
167
179
|
# Optional.
|
168
180
|
#
|
169
181
|
# The desired job attributes returned for jobs in the
|
170
|
-
# search response. Defaults to
|
171
|
-
#
|
172
|
-
# if no value is specified.
|
182
|
+
# search response. Defaults to {Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_FULL JobView::JOB_VIEW_FULL} if no value is
|
183
|
+
# specified.
|
173
184
|
class ListJobsRequest; end
|
174
185
|
|
175
186
|
# Output only.
|
@@ -197,18 +208,20 @@ module Google
|
|
197
208
|
# @return [String]
|
198
209
|
# Required.
|
199
210
|
#
|
200
|
-
# The resource name of the
|
211
|
+
# The resource name of the tenant to search within.
|
212
|
+
#
|
213
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
214
|
+
# "projects/api-test-project/tenant/foo".
|
201
215
|
#
|
202
|
-
#
|
203
|
-
# "projects/api-test-project".
|
216
|
+
# Tenant id is optional and the default tenant is used if unspecified, for
|
217
|
+
# example, "projects/api-test-project".
|
204
218
|
# @!attribute [rw] search_mode
|
205
219
|
# @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::SearchMode]
|
206
220
|
# Optional.
|
207
221
|
#
|
208
222
|
# Mode of a search.
|
209
223
|
#
|
210
|
-
# Defaults to
|
211
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest::SearchMode::JOB_SEARCH SearchMode::JOB_SEARCH}.
|
224
|
+
# Defaults to {Google::Cloud::Talent::V4beta1::SearchJobsRequest::SearchMode::JOB_SEARCH SearchMode::JOB_SEARCH}.
|
212
225
|
# @!attribute [rw] request_metadata
|
213
226
|
# @return [Google::Cloud::Talent::V4beta1::RequestMetadata]
|
214
227
|
# Required.
|
@@ -280,23 +293,19 @@ module Google
|
|
280
293
|
# Job histogram facets:
|
281
294
|
#
|
282
295
|
# * company_id: histogram by {Job#distributor_company_id}.
|
283
|
-
# * company_display_name: histogram by
|
284
|
-
#
|
285
|
-
#
|
286
|
-
#
|
287
|
-
#
|
288
|
-
# * company_size: histogram by
|
289
|
-
# {Google::Cloud::Talent::V4beta1::CompanySize CompanySize}, for example,
|
290
|
-
# "SMALL", "MEDIUM", "BIG".
|
296
|
+
# * company_display_name: histogram by {Google::Cloud::Talent::V4beta1::Job#company_display_name Job#company_display_name}.
|
297
|
+
# * employment_type: histogram by {Google::Cloud::Talent::V4beta1::Job#employment_types Job#employment_types}, for example,
|
298
|
+
# "FULL_TIME", "PART_TIME".
|
299
|
+
# * company_size: histogram by {Google::Cloud::Talent::V4beta1::CompanySize CompanySize}, for example, "SMALL",
|
300
|
+
# "MEDIUM", "BIG".
|
291
301
|
# * publish_time_in_month: histogram by the {Job#publish_time} in months.
|
292
302
|
# Must specify list of numeric buckets in spec.
|
293
303
|
# * publish_time_in_year: histogram by the {Job#publish_time} in years.
|
294
304
|
# Must specify list of numeric buckets in spec.
|
295
305
|
# * degree_type: histogram by the {Job#degree_type}, for example,
|
296
306
|
# "Bachelors", "Masters".
|
297
|
-
# * job_level: histogram by the
|
298
|
-
#
|
299
|
-
# "Entry Level".
|
307
|
+
# * job_level: histogram by the {Google::Cloud::Talent::V4beta1::Job#job_level Job#job_level}, for example, "Entry
|
308
|
+
# Level".
|
300
309
|
# * country: histogram by the country code of jobs, for example, "US", "FR".
|
301
310
|
# * admin1: histogram by the admin1 code of jobs, which is a global
|
302
311
|
# placeholder referring to the state, province, or the particular term a
|
@@ -310,14 +319,11 @@ module Google
|
|
310
319
|
# and longitude), for example, 37.4038522,-122.0987765. Since the coordinates
|
311
320
|
# of a city center can change, customers may need to refresh them
|
312
321
|
# periodically.
|
313
|
-
# * locale: histogram by the
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
# example, "en", "fr".
|
319
|
-
# * category: histogram by the
|
320
|
-
# {Google::Cloud::Talent::V4beta1::JobCategory JobCategory}, for example,
|
322
|
+
# * locale: histogram by the {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}, for example, "en-US",
|
323
|
+
# "fr-FR".
|
324
|
+
# * language: histogram by the language subtag of the {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code},
|
325
|
+
# for example, "en", "fr".
|
326
|
+
# * category: histogram by the {Google::Cloud::Talent::V4beta1::JobCategory JobCategory}, for example,
|
321
327
|
# "COMPUTER_AND_IT", "HEALTHCARE".
|
322
328
|
# * base_compensation_unit: histogram by the {CompensationUnit} of base
|
323
329
|
# salary, for example, "WEEKLY", "MONTHLY".
|
@@ -327,12 +333,10 @@ module Google
|
|
327
333
|
# Must specify list of numeric buckets to group results by.
|
328
334
|
# * annualized_total_compensation: histogram by the total annualized salary.
|
329
335
|
# Must specify list of numeric buckets to group results by.
|
330
|
-
# * string_custom_attribute: histogram by string
|
331
|
-
# {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job#custom_attributes}.
|
336
|
+
# * string_custom_attribute: histogram by string {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job#custom_attributes}.
|
332
337
|
# Values can be accessed via square bracket notations like
|
333
338
|
# string_custom_attribute["key1"].
|
334
|
-
# * numeric_custom_attribute: histogram by numeric
|
335
|
-
# {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job#custom_attributes}.
|
339
|
+
# * numeric_custom_attribute: histogram by numeric {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job#custom_attributes}.
|
336
340
|
# Values can be accessed via square bracket notations like
|
337
341
|
# numeric_custom_attribute["key1"]. Must specify list of numeric buckets to
|
338
342
|
# group results by.
|
@@ -356,9 +360,7 @@ module Google
|
|
356
360
|
#
|
357
361
|
# An integer that specifies the current offset (that is, starting result
|
358
362
|
# location, amongst the jobs deemed by the API as relevant) in search
|
359
|
-
# results. This field is only considered if
|
360
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest#page_token page_token} is
|
361
|
-
# unset.
|
363
|
+
# results. This field is only considered if {Google::Cloud::Talent::V4beta1::SearchJobsRequest#page_token page_token} is unset.
|
362
364
|
#
|
363
365
|
# For example, 0 means to return results starting from the first matching
|
364
366
|
# job, and 10 means to return from the 11th job. This can be used for
|
@@ -376,9 +378,8 @@ module Google
|
|
376
378
|
# Optional.
|
377
379
|
#
|
378
380
|
# The token specifying the current offset within
|
379
|
-
# search results. See
|
380
|
-
#
|
381
|
-
# for an explanation of how to obtain the next set of query results.
|
381
|
+
# search results. See {Google::Cloud::Talent::V4beta1::SearchJobsResponse#next_page_token SearchJobsResponse#next_page_token} for
|
382
|
+
# an explanation of how to obtain the next set of query results.
|
382
383
|
# @!attribute [rw] order_by
|
383
384
|
# @return [String]
|
384
385
|
# Optional.
|
@@ -391,31 +392,28 @@ module Google
|
|
391
392
|
# * "relevance desc": By relevance descending, as determined by the API
|
392
393
|
# algorithms. Relevance thresholding of query results is only available
|
393
394
|
# with this ordering.
|
394
|
-
# * "posting`_`publish`_`time desc": By
|
395
|
-
# {Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job#posting_publish_time}
|
395
|
+
# * "posting`_`publish`_`time desc": By {Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job#posting_publish_time}
|
396
396
|
# descending.
|
397
|
-
# * "posting`_`update`_`time desc": By
|
398
|
-
# {Google::Cloud::Talent::V4beta1::Job#posting_update_time Job#posting_update_time}
|
397
|
+
# * "posting`_`update`_`time desc": By {Google::Cloud::Talent::V4beta1::Job#posting_update_time Job#posting_update_time}
|
399
398
|
# descending.
|
400
399
|
# * "title": By {Google::Cloud::Talent::V4beta1::Job#title Job#title} ascending.
|
401
|
-
# * "title desc": By {Google::Cloud::Talent::V4beta1::Job#title Job#title}
|
402
|
-
# descending.
|
400
|
+
# * "title desc": By {Google::Cloud::Talent::V4beta1::Job#title Job#title} descending.
|
403
401
|
# * "annualized`_`base`_`compensation": By job's
|
404
|
-
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_base_compensation_range CompensationInfo#annualized_base_compensation_range}
|
405
|
-
#
|
406
|
-
#
|
402
|
+
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_base_compensation_range CompensationInfo#annualized_base_compensation_range} ascending. Jobs
|
403
|
+
# whose annualized base compensation is unspecified are put at the end of
|
404
|
+
# search results.
|
407
405
|
# * "annualized`_`base`_`compensation desc": By job's
|
408
|
-
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_base_compensation_range CompensationInfo#annualized_base_compensation_range}
|
409
|
-
#
|
410
|
-
#
|
406
|
+
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_base_compensation_range CompensationInfo#annualized_base_compensation_range} descending. Jobs
|
407
|
+
# whose annualized base compensation is unspecified are put at the end of
|
408
|
+
# search results.
|
411
409
|
# * "annualized`_`total`_`compensation": By job's
|
412
|
-
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_total_compensation_range CompensationInfo#annualized_total_compensation_range}
|
413
|
-
#
|
414
|
-
#
|
410
|
+
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_total_compensation_range CompensationInfo#annualized_total_compensation_range} ascending. Jobs
|
411
|
+
# whose annualized base compensation is unspecified are put at the end of
|
412
|
+
# search results.
|
415
413
|
# * "annualized`_`total`_`compensation desc": By job's
|
416
|
-
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_total_compensation_range CompensationInfo#annualized_total_compensation_range}
|
417
|
-
#
|
418
|
-
#
|
414
|
+
# {Google::Cloud::Talent::V4beta1::CompensationInfo#annualized_total_compensation_range CompensationInfo#annualized_total_compensation_range} descending. Jobs
|
415
|
+
# whose annualized base compensation is unspecified are put at the end of
|
416
|
+
# search results.
|
419
417
|
# * "custom`_`ranking desc": By the relevance score adjusted to the
|
420
418
|
# {SearchJobsRequest#custom_ranking_info#ranking_expression} with weight
|
421
419
|
# factor assigned by
|
@@ -445,9 +443,8 @@ module Google
|
|
445
443
|
# displayed to the job seeker higher up in the results, with the other jobs
|
446
444
|
# being displayed lower down in the results.
|
447
445
|
#
|
448
|
-
# Defaults to
|
449
|
-
#
|
450
|
-
# if no value is specified.
|
446
|
+
# Defaults to {Google::Cloud::Talent::V4beta1::SearchJobsRequest::DiversificationLevel::SIMPLE DiversificationLevel::SIMPLE} if no value
|
447
|
+
# is specified.
|
451
448
|
# @!attribute [rw] custom_ranking_info
|
452
449
|
# @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo]
|
453
450
|
# Optional.
|
@@ -459,16 +456,13 @@ module Google
|
|
459
456
|
# Optional.
|
460
457
|
#
|
461
458
|
# Controls whether to disable exact keyword match on {Job#job_title},
|
462
|
-
# {Google::Cloud::Talent::V4beta1::Job#description Job#description},
|
463
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
464
|
-
#
|
465
|
-
#
|
466
|
-
#
|
467
|
-
#
|
468
|
-
#
|
469
|
-
# job posting has the title "software developer," which doesn't fall into
|
470
|
-
# "program manager" ontology, but does have "program manager" appearing in
|
471
|
-
# its description.
|
459
|
+
# {Google::Cloud::Talent::V4beta1::Job#description Job#description}, {Google::Cloud::Talent::V4beta1::Job#company_display_name Job#company_display_name}, [Job.locations][0],
|
460
|
+
# {Google::Cloud::Talent::V4beta1::Job#qualifications Job#qualifications}. When disable keyword match is turned off, a
|
461
|
+
# keyword match returns jobs that do not match given category filters when
|
462
|
+
# there are matching keywords. For example, for the query "program manager,"
|
463
|
+
# a result is returned even if the job posting has the title "software
|
464
|
+
# developer," which doesn't fall into "program manager" ontology, but does
|
465
|
+
# have "program manager" appearing in its description.
|
472
466
|
#
|
473
467
|
# For queries like "cloud" that don't contain title or
|
474
468
|
# location specific ontology, jobs with "cloud" keyword matches are returned
|
@@ -483,15 +477,14 @@ module Google
|
|
483
477
|
class SearchJobsRequest
|
484
478
|
# Input only.
|
485
479
|
#
|
486
|
-
# Custom ranking information for
|
487
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
480
|
+
# Custom ranking information for {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
488
481
|
# @!attribute [rw] importance_level
|
489
482
|
# @return [Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo::ImportanceLevel]
|
490
483
|
# Required.
|
491
484
|
#
|
492
485
|
# Controls over how important the score of
|
493
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo#ranking_expression CustomRankingInfo#ranking_expression}
|
494
|
-
#
|
486
|
+
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo#ranking_expression CustomRankingInfo#ranking_expression} gets applied to job's final
|
487
|
+
# ranking position.
|
495
488
|
#
|
496
489
|
# An error is thrown if not specified.
|
497
490
|
# @!attribute [rw] ranking_expression
|
@@ -505,10 +498,8 @@ module Google
|
|
505
498
|
# The syntax for this expression is a subset of Google SQL syntax.
|
506
499
|
#
|
507
500
|
# Supported operators are: +, -, *, /, where the left and right side of
|
508
|
-
# the operator is either a numeric
|
509
|
-
#
|
510
|
-
# key, integer/double value or an expression that can be evaluated to a
|
511
|
-
# number.
|
501
|
+
# the operator is either a numeric {Google::Cloud::Talent::V4beta1::Job#custom_attributes Job#custom_attributes} key,
|
502
|
+
# integer/double value or an expression that can be evaluated to a number.
|
512
503
|
#
|
513
504
|
# Parenthesis are supported to adjust calculation precedence. The
|
514
505
|
# expression must be < 100 characters in length.
|
@@ -516,8 +507,7 @@ module Google
|
|
516
507
|
# Sample ranking expression
|
517
508
|
# (year + 25) * 0.25 - (freshness / 0.5)
|
518
509
|
class CustomRankingInfo
|
519
|
-
# The importance level for
|
520
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo#ranking_expression CustomRankingInfo#ranking_expression}.
|
510
|
+
# The importance level for {Google::Cloud::Talent::V4beta1::SearchJobsRequest::CustomRankingInfo#ranking_expression CustomRankingInfo#ranking_expression}.
|
521
511
|
module ImportanceLevel
|
522
512
|
# Default value if the importance level isn't specified.
|
523
513
|
IMPORTANCE_LEVEL_UNSPECIFIED = 0
|
@@ -599,8 +589,7 @@ module Google
|
|
599
589
|
# Response for SearchJob method.
|
600
590
|
# @!attribute [rw] matching_jobs
|
601
591
|
# @return [Array<Google::Cloud::Talent::V4beta1::SearchJobsResponse::MatchingJob>]
|
602
|
-
# The Job entities that match the specified
|
603
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
592
|
+
# The Job entities that match the specified {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
604
593
|
# @!attribute [rw] histogram_query_results
|
605
594
|
# @return [Array<Google::Cloud::Talent::V4beta1::HistogramQueryResult>]
|
606
595
|
# The histogram results that match with specified
|
@@ -644,12 +633,10 @@ module Google
|
|
644
633
|
class SearchJobsResponse
|
645
634
|
# Output only.
|
646
635
|
#
|
647
|
-
# Job entry with metadata inside
|
648
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
|
636
|
+
# Job entry with metadata inside {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse}.
|
649
637
|
# @!attribute [rw] job
|
650
638
|
# @return [Google::Cloud::Talent::V4beta1::Job]
|
651
|
-
# Job resource that matches the specified
|
652
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
639
|
+
# Job resource that matches the specified {Google::Cloud::Talent::V4beta1::SearchJobsRequest SearchJobsRequest}.
|
653
640
|
# @!attribute [rw] job_summary
|
654
641
|
# @return [String]
|
655
642
|
# A summary of the job with core information that's displayed on the search
|
@@ -661,12 +648,10 @@ module Google
|
|
661
648
|
# query keywords are enclosed in HTML bold tags.
|
662
649
|
# @!attribute [rw] search_text_snippet
|
663
650
|
# @return [String]
|
664
|
-
# Contains snippets of text from the
|
665
|
-
#
|
666
|
-
#
|
667
|
-
#
|
668
|
-
# returned in this field, and matching query keywords are enclosed in HTML
|
669
|
-
# bold tags.
|
651
|
+
# Contains snippets of text from the {Google::Cloud::Talent::V4beta1::Job#description Job#description} and similar
|
652
|
+
# fields that most closely match a search query's keywords, if available.
|
653
|
+
# All HTML tags in the original fields are stripped when returned in this
|
654
|
+
# field, and matching query keywords are enclosed in HTML bold tags.
|
670
655
|
# @!attribute [rw] commute_info
|
671
656
|
# @return [Google::Cloud::Talent::V4beta1::SearchJobsResponse::CommuteInfo]
|
672
657
|
# Commute information which is generated based on specified
|
@@ -689,38 +674,25 @@ module Google
|
|
689
674
|
end
|
690
675
|
|
691
676
|
# An enum that specifies the job attributes that are returned in the
|
692
|
-
# {MatchingJob::Job} in
|
693
|
-
# {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse} or
|
694
|
-
# {Google::Cloud::Talent::V4beta1::Job Job} objects in
|
677
|
+
# {MatchingJob::Job} in {Google::Cloud::Talent::V4beta1::SearchJobsResponse SearchJobsResponse} or {Google::Cloud::Talent::V4beta1::Job Job} objects in
|
695
678
|
# {Google::Cloud::Talent::V4beta1::ListJobsResponse ListJobsResponse}.
|
696
679
|
module JobView
|
697
680
|
# Default value.
|
698
681
|
JOB_VIEW_UNSPECIFIED = 0
|
699
682
|
|
700
683
|
# A ID only view of job, with following attributes:
|
701
|
-
# {Google::Cloud::Talent::V4beta1::Job#name Job#name},
|
702
|
-
# {Google::Cloud::Talent::V4beta1::Job#requisition_id Job#requisition_id},
|
703
|
-
# {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}.
|
684
|
+
# {Google::Cloud::Talent::V4beta1::Job#name Job#name}, {Google::Cloud::Talent::V4beta1::Job#requisition_id Job#requisition_id}, {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}.
|
704
685
|
JOB_VIEW_ID_ONLY = 1
|
705
686
|
|
706
687
|
# A minimal view of the job, with the following attributes:
|
707
|
-
# {Google::Cloud::Talent::V4beta1::Job#name Job#name},
|
708
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
709
|
-
# {Job#job_title},
|
710
|
-
# {Google::Cloud::Talent::V4beta1::Job#company_name Job#company_name},
|
711
|
-
# {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations Job::DerivedInfo#locations},
|
712
|
-
# {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}.
|
688
|
+
# {Google::Cloud::Talent::V4beta1::Job#name Job#name}, {Google::Cloud::Talent::V4beta1::Job#requisition_id Job#requisition_id}, {Job#job_title},
|
689
|
+
# {Google::Cloud::Talent::V4beta1::Job#company Job#company}, {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations Job::DerivedInfo#locations}, {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}.
|
713
690
|
JOB_VIEW_MINIMAL = 2
|
714
691
|
|
715
692
|
# A small view of the job, with the following attributes in the search
|
716
|
-
# results: {Google::Cloud::Talent::V4beta1::Job#name Job#name},
|
717
|
-
# {Google::Cloud::Talent::V4beta1::Job#
|
718
|
-
# {Job#
|
719
|
-
# {Google::Cloud::Talent::V4beta1::Job#company_name Job#company_name},
|
720
|
-
# {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations Job::DerivedInfo#locations},
|
721
|
-
# {Google::Cloud::Talent::V4beta1::Job#visibility Job#visibility},
|
722
|
-
# {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code},
|
723
|
-
# {Google::Cloud::Talent::V4beta1::Job#description Job#description}.
|
693
|
+
# results: {Google::Cloud::Talent::V4beta1::Job#name Job#name}, {Google::Cloud::Talent::V4beta1::Job#requisition_id Job#requisition_id}, {Job#job_title},
|
694
|
+
# {Google::Cloud::Talent::V4beta1::Job#company Job#company}, {Google::Cloud::Talent::V4beta1::Job::DerivedInfo#locations Job::DerivedInfo#locations}, {Google::Cloud::Talent::V4beta1::Job#visibility Job#visibility},
|
695
|
+
# {Google::Cloud::Talent::V4beta1::Job#language_code Job#language_code}, {Google::Cloud::Talent::V4beta1::Job#description Job#description}.
|
724
696
|
JOB_VIEW_SMALL = 3
|
725
697
|
|
726
698
|
# All available attributes are included in the search results.
|