google-cloud-talent-v4 0.5.0 → 0.6.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 437585d9004d5afece6039397ebcc29ff9c8be7d9acc06796ef1cb383ed7ff01
|
|
4
|
+
data.tar.gz: 705e5ad8695306fe0f87832b3715173a11670a2ec1ad4b3e4a0236897daa2c5f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 973ac752c4655fe01ccf9db90356e9226f6ef88a3a2430f6f6d3419a6d92beaf421ab9ccc454e803c941db0b5a8ca826ed6b2094ca4638efd01311d7d381317a
|
|
7
|
+
data.tar.gz: 0e41761b4d7e4f5159b4b5711a4a576ee4c36095126a32295cf766fdd35b4834010e70599b5920ed888a2bfc0d71694af2aa50bd63c76dc87f27969c862e4f6f
|
|
@@ -860,7 +860,7 @@ module Google
|
|
|
860
860
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
861
861
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
862
862
|
#
|
|
863
|
-
# @overload search_jobs(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, histogram_queries: nil, job_view: nil, offset: nil, max_page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil)
|
|
863
|
+
# @overload search_jobs(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, histogram_queries: nil, job_view: nil, offset: nil, max_page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, keyword_match_mode: nil)
|
|
864
864
|
# Pass arguments to `search_jobs` via keyword arguments. Note that at
|
|
865
865
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
866
866
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1068,6 +1068,14 @@ module Google
|
|
|
1068
1068
|
# Controls over how job documents get ranked on top of existing relevance
|
|
1069
1069
|
# score (determined by API algorithm).
|
|
1070
1070
|
# @param disable_keyword_match [::Boolean]
|
|
1071
|
+
# This field is deprecated. Please use
|
|
1072
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} going forward.
|
|
1073
|
+
#
|
|
1074
|
+
# To migrate, disable_keyword_match set to false maps to
|
|
1075
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}, and disable_keyword_match set to
|
|
1076
|
+
# true maps to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_DISABLED KeywordMatchMode.KEYWORD_MATCH_DISABLED}. If
|
|
1077
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} is set, this field is ignored.
|
|
1078
|
+
#
|
|
1071
1079
|
# Controls whether to disable exact keyword match on {::Google::Cloud::Talent::V4::Job#title Job.title},
|
|
1072
1080
|
# {::Google::Cloud::Talent::V4::Job#description Job.description}, {::Google::Cloud::Talent::V4::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4::Job#addresses Job.addresses},
|
|
1073
1081
|
# {::Google::Cloud::Talent::V4::Job#qualifications Job.qualifications}. When disable keyword match is turned off, a
|
|
@@ -1087,6 +1095,12 @@ module Google
|
|
|
1087
1095
|
# requests.
|
|
1088
1096
|
#
|
|
1089
1097
|
# Defaults to false.
|
|
1098
|
+
# @param keyword_match_mode [::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode]
|
|
1099
|
+
# Controls what keyword match options to use. If both keyword_match_mode and
|
|
1100
|
+
# disable_keyword_match are set, keyword_match_mode will take precedence.
|
|
1101
|
+
#
|
|
1102
|
+
# Defaults to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} if no value
|
|
1103
|
+
# is specified.
|
|
1090
1104
|
#
|
|
1091
1105
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1092
1106
|
# @yieldparam response [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
|
@@ -1157,7 +1171,7 @@ module Google
|
|
|
1157
1171
|
# @param options [::Gapic::CallOptions, ::Hash]
|
|
1158
1172
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
|
1159
1173
|
#
|
|
1160
|
-
# @overload search_jobs_for_alert(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, histogram_queries: nil, job_view: nil, offset: nil, max_page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil)
|
|
1174
|
+
# @overload search_jobs_for_alert(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, histogram_queries: nil, job_view: nil, offset: nil, max_page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, keyword_match_mode: nil)
|
|
1161
1175
|
# Pass arguments to `search_jobs_for_alert` via keyword arguments. Note that at
|
|
1162
1176
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
|
1163
1177
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
|
@@ -1365,6 +1379,14 @@ module Google
|
|
|
1365
1379
|
# Controls over how job documents get ranked on top of existing relevance
|
|
1366
1380
|
# score (determined by API algorithm).
|
|
1367
1381
|
# @param disable_keyword_match [::Boolean]
|
|
1382
|
+
# This field is deprecated. Please use
|
|
1383
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} going forward.
|
|
1384
|
+
#
|
|
1385
|
+
# To migrate, disable_keyword_match set to false maps to
|
|
1386
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}, and disable_keyword_match set to
|
|
1387
|
+
# true maps to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_DISABLED KeywordMatchMode.KEYWORD_MATCH_DISABLED}. If
|
|
1388
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} is set, this field is ignored.
|
|
1389
|
+
#
|
|
1368
1390
|
# Controls whether to disable exact keyword match on {::Google::Cloud::Talent::V4::Job#title Job.title},
|
|
1369
1391
|
# {::Google::Cloud::Talent::V4::Job#description Job.description}, {::Google::Cloud::Talent::V4::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4::Job#addresses Job.addresses},
|
|
1370
1392
|
# {::Google::Cloud::Talent::V4::Job#qualifications Job.qualifications}. When disable keyword match is turned off, a
|
|
@@ -1384,6 +1406,12 @@ module Google
|
|
|
1384
1406
|
# requests.
|
|
1385
1407
|
#
|
|
1386
1408
|
# Defaults to false.
|
|
1409
|
+
# @param keyword_match_mode [::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode]
|
|
1410
|
+
# Controls what keyword match options to use. If both keyword_match_mode and
|
|
1411
|
+
# disable_keyword_match are set, keyword_match_mode will take precedence.
|
|
1412
|
+
#
|
|
1413
|
+
# Defaults to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} if no value
|
|
1414
|
+
# is specified.
|
|
1387
1415
|
#
|
|
1388
1416
|
# @yield [response, operation] Access the result along with the RPC operation
|
|
1389
1417
|
# @yieldparam response [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
|
@@ -60,6 +60,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
60
60
|
optional :diversification_level, :enum, 13, "google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel"
|
|
61
61
|
optional :custom_ranking_info, :message, 14, "google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo"
|
|
62
62
|
optional :disable_keyword_match, :bool, 16
|
|
63
|
+
optional :keyword_match_mode, :enum, 18, "google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode"
|
|
63
64
|
end
|
|
64
65
|
add_message "google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo" do
|
|
65
66
|
optional :importance_level, :enum, 1, "google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel"
|
|
@@ -83,6 +84,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
83
84
|
value :DIVERSIFICATION_LEVEL_UNSPECIFIED, 0
|
|
84
85
|
value :DISABLED, 1
|
|
85
86
|
value :SIMPLE, 2
|
|
87
|
+
value :ONE_PER_COMPANY, 3
|
|
88
|
+
value :TWO_PER_COMPANY, 4
|
|
89
|
+
value :DIVERSIFY_BY_LOOSER_SIMILARITY, 5
|
|
90
|
+
end
|
|
91
|
+
add_enum "google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode" do
|
|
92
|
+
value :KEYWORD_MATCH_MODE_UNSPECIFIED, 0
|
|
93
|
+
value :KEYWORD_MATCH_DISABLED, 1
|
|
94
|
+
value :KEYWORD_MATCH_ALL, 2
|
|
95
|
+
value :KEYWORD_MATCH_TITLE_ONLY, 3
|
|
86
96
|
end
|
|
87
97
|
add_message "google.cloud.talent.v4.SearchJobsResponse" do
|
|
88
98
|
repeated :matching_jobs, :message, 1, "google.cloud.talent.v4.SearchJobsResponse.MatchingJob"
|
|
@@ -156,6 +166,7 @@ module Google
|
|
|
156
166
|
SearchJobsRequest::CustomRankingInfo::ImportanceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
|
|
157
167
|
SearchJobsRequest::SearchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.SearchMode").enummodule
|
|
158
168
|
SearchJobsRequest::DiversificationLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel").enummodule
|
|
169
|
+
SearchJobsRequest::KeywordMatchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode").enummodule
|
|
159
170
|
SearchJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse").msgclass
|
|
160
171
|
SearchJobsResponse::MatchingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse.MatchingJob").msgclass
|
|
161
172
|
SearchJobsResponse::CommuteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse.CommuteInfo").msgclass
|
|
@@ -370,6 +370,14 @@ module Google
|
|
|
370
370
|
# score (determined by API algorithm).
|
|
371
371
|
# @!attribute [rw] disable_keyword_match
|
|
372
372
|
# @return [::Boolean]
|
|
373
|
+
# This field is deprecated. Please use
|
|
374
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} going forward.
|
|
375
|
+
#
|
|
376
|
+
# To migrate, disable_keyword_match set to false maps to
|
|
377
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}, and disable_keyword_match set to
|
|
378
|
+
# true maps to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_DISABLED KeywordMatchMode.KEYWORD_MATCH_DISABLED}. If
|
|
379
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} is set, this field is ignored.
|
|
380
|
+
#
|
|
373
381
|
# Controls whether to disable exact keyword match on {::Google::Cloud::Talent::V4::Job#title Job.title},
|
|
374
382
|
# {::Google::Cloud::Talent::V4::Job#description Job.description}, {::Google::Cloud::Talent::V4::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4::Job#addresses Job.addresses},
|
|
375
383
|
# {::Google::Cloud::Talent::V4::Job#qualifications Job.qualifications}. When disable keyword match is turned off, a
|
|
@@ -389,6 +397,13 @@ module Google
|
|
|
389
397
|
# requests.
|
|
390
398
|
#
|
|
391
399
|
# Defaults to false.
|
|
400
|
+
# @!attribute [rw] keyword_match_mode
|
|
401
|
+
# @return [::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode]
|
|
402
|
+
# Controls what keyword match options to use. If both keyword_match_mode and
|
|
403
|
+
# disable_keyword_match are set, keyword_match_mode will take precedence.
|
|
404
|
+
#
|
|
405
|
+
# Defaults to {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} if no value
|
|
406
|
+
# is specified.
|
|
392
407
|
class SearchJobsRequest
|
|
393
408
|
include ::Google::Protobuf::MessageExts
|
|
394
409
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -415,7 +430,7 @@ module Google
|
|
|
415
430
|
# integer/double value or an expression that can be evaluated to a number.
|
|
416
431
|
#
|
|
417
432
|
# Parenthesis are supported to adjust calculation precedence. The
|
|
418
|
-
# expression must be <
|
|
433
|
+
# expression must be < 200 characters in length.
|
|
419
434
|
#
|
|
420
435
|
# The expression is considered invalid for a job if the expression
|
|
421
436
|
# references custom attributes that are not populated on the job or if the
|
|
@@ -490,6 +505,11 @@ module Google
|
|
|
490
505
|
# clustered so that only one representative job of the cluster is
|
|
491
506
|
# displayed to the job seeker higher up in the results, with the other jobs
|
|
492
507
|
# being displayed lower down in the results.
|
|
508
|
+
#
|
|
509
|
+
# If you are using pageToken to page through the result set,
|
|
510
|
+
# latency might be lower but we can't guarantee that all results are
|
|
511
|
+
# returned. If you are using page offset, latency might be higher but all
|
|
512
|
+
# results are returned.
|
|
493
513
|
module DiversificationLevel
|
|
494
514
|
# The diversification level isn't specified.
|
|
495
515
|
DIVERSIFICATION_LEVEL_UNSPECIFIED = 0
|
|
@@ -501,11 +521,57 @@ module Google
|
|
|
501
521
|
|
|
502
522
|
# Default diversifying behavior. The result list is ordered so that
|
|
503
523
|
# highly similar results are pushed to the end of the last page of search
|
|
504
|
-
# results.
|
|
505
|
-
# latency might be lower but we can't guarantee that all results are
|
|
506
|
-
# returned. If you are using page offset, latency might be higher but all
|
|
507
|
-
# results are returned.
|
|
524
|
+
# results.
|
|
508
525
|
SIMPLE = 2
|
|
526
|
+
|
|
527
|
+
# Only one job from the same company will be shown at once, other jobs
|
|
528
|
+
# under same company are pushed to the end of the last page of search
|
|
529
|
+
# result.
|
|
530
|
+
ONE_PER_COMPANY = 3
|
|
531
|
+
|
|
532
|
+
# Similar to ONE_PER_COMPANY, but it allows at most two jobs in the
|
|
533
|
+
# same company to be shown at once, the other jobs under same company are
|
|
534
|
+
# pushed to the end of the last page of search result.
|
|
535
|
+
TWO_PER_COMPANY = 4
|
|
536
|
+
|
|
537
|
+
# The result list is ordered such that somewhat similar results are pushed
|
|
538
|
+
# to the end of the last page of the search results. This option is
|
|
539
|
+
# recommended if SIMPLE diversification does not diversify enough.
|
|
540
|
+
DIVERSIFY_BY_LOOSER_SIMILARITY = 5
|
|
541
|
+
end
|
|
542
|
+
|
|
543
|
+
# Controls what keyword matching behavior the search has. When keyword
|
|
544
|
+
# matching is enabled, a keyword match returns jobs that may not match given
|
|
545
|
+
# category filters when there are matching keywords. For example, for the
|
|
546
|
+
# query "program manager" with KeywordMatchMode set to KEYWORD_MATCH_ALL, a
|
|
547
|
+
# job posting with the title "software developer," which doesn't fall into
|
|
548
|
+
# "program manager" ontology, and "program manager" appearing in its
|
|
549
|
+
# description will be surfaced.
|
|
550
|
+
#
|
|
551
|
+
# For queries like "cloud" that don't contain title or
|
|
552
|
+
# location specific ontology, jobs with "cloud" keyword matches are returned
|
|
553
|
+
# regardless of this enum's value.
|
|
554
|
+
#
|
|
555
|
+
# Use {::Google::Cloud::Talent::V4::Company#keyword_searchable_job_custom_attributes Company.keyword_searchable_job_custom_attributes} if
|
|
556
|
+
# company-specific globally matched custom field/attribute string values are
|
|
557
|
+
# needed. Enabling keyword match improves recall of subsequent search
|
|
558
|
+
# requests.
|
|
559
|
+
module KeywordMatchMode
|
|
560
|
+
# The keyword match option isn't specified. Defaults to
|
|
561
|
+
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} behavior.
|
|
562
|
+
KEYWORD_MATCH_MODE_UNSPECIFIED = 0
|
|
563
|
+
|
|
564
|
+
# Disables keyword matching.
|
|
565
|
+
KEYWORD_MATCH_DISABLED = 1
|
|
566
|
+
|
|
567
|
+
# Enable keyword matching over {::Google::Cloud::Talent::V4::Job#title Job.title},
|
|
568
|
+
# {::Google::Cloud::Talent::V4::Job#description Job.description}, {::Google::Cloud::Talent::V4::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4::Job#addresses Job.addresses},
|
|
569
|
+
# {::Google::Cloud::Talent::V4::Job#qualifications Job.qualifications}, and keyword searchable {::Google::Cloud::Talent::V4::Job#custom_attributes Job.custom_attributes}
|
|
570
|
+
# fields.
|
|
571
|
+
KEYWORD_MATCH_ALL = 2
|
|
572
|
+
|
|
573
|
+
# Only enable keyword matching over {::Google::Cloud::Talent::V4::Job#title Job.title}.
|
|
574
|
+
KEYWORD_MATCH_TITLE_ONLY = 3
|
|
509
575
|
end
|
|
510
576
|
end
|
|
511
577
|
|
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.6.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-09-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|