google-cloud-talent-v4 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/talent/v4/job_service/client.rb +15 -3
- data/lib/google/cloud/talent/v4/job_service/rest/client.rb +15 -3
- data/lib/google/cloud/talent/v4/job_service_pb.rb +2 -1
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/proto_docs/google/cloud/talent/v4/filters.rb +2 -1
- data/proto_docs/google/cloud/talent/v4/job.rb +15 -11
- data/proto_docs/google/cloud/talent/v4/job_service.rb +29 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f416bb0c8f41336f79801c7fce3159b2ea044c1a7e4709c28674ad96fb370510
|
4
|
+
data.tar.gz: c691a3fd0e2ac2456fab8470d56236456bd9e046fbff2af35dcaaaa38477d49f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04d05efcb6c898976a60e9fdaee573a52e9536ec5e4fcff40f0c31ff5cd4514ce4210f5d587712a4d69f6361416a54c8976a399991d01daec95c73e984c74993
|
7
|
+
data.tar.gz: 30130f6777f1a9a19d1ea2f94b9420d93c03ea88e45a6a4481428c628fb92ea5e8295ed12c4008070019f7435828b26ae6423561ce90315d13ddcfceb0118c5f
|
@@ -644,7 +644,7 @@ module Google
|
|
644
644
|
#
|
645
645
|
# If {::Google::Cloud::Talent::V4::BatchUpdateJobsRequest#update_mask update_mask}
|
646
646
|
# is provided, The {::Google::Cloud::Talent::V4::Job Job} inside
|
647
|
-
#
|
647
|
+
# {::Google::Cloud::Talent::V4::JobResult JobResult}
|
648
648
|
# will only contains fields that is updated, plus the Id of the Job.
|
649
649
|
# Otherwise, {::Google::Cloud::Talent::V4::Job Job} will include all fields,
|
650
650
|
# which can yield a very large response.
|
@@ -1073,7 +1073,7 @@ module Google
|
|
1073
1073
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1074
1074
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1075
1075
|
#
|
1076
|
-
# @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)
|
1076
|
+
# @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, relevance_threshold: nil)
|
1077
1077
|
# Pass arguments to `search_jobs` via keyword arguments. Note that at
|
1078
1078
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1079
1079
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1350,6 +1350,12 @@ module Google
|
|
1350
1350
|
# Defaults to
|
1351
1351
|
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}
|
1352
1352
|
# if no value is specified.
|
1353
|
+
# @param relevance_threshold [::Google::Cloud::Talent::V4::SearchJobsRequest::RelevanceThreshold]
|
1354
|
+
# Optional. The relevance threshold of the search results.
|
1355
|
+
#
|
1356
|
+
# Default to Google defined threshold, leveraging a balance of
|
1357
|
+
# precision and recall to deliver both highly accurate results and
|
1358
|
+
# comprehensive coverage of relevant information.
|
1353
1359
|
#
|
1354
1360
|
# @yield [response, operation] Access the result along with the RPC operation
|
1355
1361
|
# @yieldparam response [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
@@ -1439,7 +1445,7 @@ module Google
|
|
1439
1445
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1440
1446
|
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
1441
1447
|
#
|
1442
|
-
# @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)
|
1448
|
+
# @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, relevance_threshold: nil)
|
1443
1449
|
# Pass arguments to `search_jobs_for_alert` via keyword arguments. Note that at
|
1444
1450
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1445
1451
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1716,6 +1722,12 @@ module Google
|
|
1716
1722
|
# Defaults to
|
1717
1723
|
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}
|
1718
1724
|
# if no value is specified.
|
1725
|
+
# @param relevance_threshold [::Google::Cloud::Talent::V4::SearchJobsRequest::RelevanceThreshold]
|
1726
|
+
# Optional. The relevance threshold of the search results.
|
1727
|
+
#
|
1728
|
+
# Default to Google defined threshold, leveraging a balance of
|
1729
|
+
# precision and recall to deliver both highly accurate results and
|
1730
|
+
# comprehensive coverage of relevant information.
|
1719
1731
|
#
|
1720
1732
|
# @yield [response, operation] Access the result along with the RPC operation
|
1721
1733
|
# @yieldparam response [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
@@ -609,7 +609,7 @@ module Google
|
|
609
609
|
#
|
610
610
|
# If {::Google::Cloud::Talent::V4::BatchUpdateJobsRequest#update_mask update_mask}
|
611
611
|
# is provided, The {::Google::Cloud::Talent::V4::Job Job} inside
|
612
|
-
#
|
612
|
+
# {::Google::Cloud::Talent::V4::JobResult JobResult}
|
613
613
|
# will only contains fields that is updated, plus the Id of the Job.
|
614
614
|
# Otherwise, {::Google::Cloud::Talent::V4::Job Job} will include all fields,
|
615
615
|
# which can yield a very large response.
|
@@ -1010,7 +1010,7 @@ module Google
|
|
1010
1010
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1011
1011
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1012
1012
|
#
|
1013
|
-
# @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)
|
1013
|
+
# @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, relevance_threshold: nil)
|
1014
1014
|
# Pass arguments to `search_jobs` via keyword arguments. Note that at
|
1015
1015
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1016
1016
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1287,6 +1287,12 @@ module Google
|
|
1287
1287
|
# Defaults to
|
1288
1288
|
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}
|
1289
1289
|
# if no value is specified.
|
1290
|
+
# @param relevance_threshold [::Google::Cloud::Talent::V4::SearchJobsRequest::RelevanceThreshold]
|
1291
|
+
# Optional. The relevance threshold of the search results.
|
1292
|
+
#
|
1293
|
+
# Default to Google defined threshold, leveraging a balance of
|
1294
|
+
# precision and recall to deliver both highly accurate results and
|
1295
|
+
# comprehensive coverage of relevant information.
|
1290
1296
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1291
1297
|
# @yieldparam result [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
1292
1298
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -1369,7 +1375,7 @@ module Google
|
|
1369
1375
|
# @param options [::Gapic::CallOptions, ::Hash]
|
1370
1376
|
# Overrides the default settings for this call, e.g, timeout, retries etc. Optional.
|
1371
1377
|
#
|
1372
|
-
# @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)
|
1378
|
+
# @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, relevance_threshold: nil)
|
1373
1379
|
# Pass arguments to `search_jobs_for_alert` via keyword arguments. Note that at
|
1374
1380
|
# least one keyword argument is required. To specify no parameters, or to keep all
|
1375
1381
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
@@ -1646,6 +1652,12 @@ module Google
|
|
1646
1652
|
# Defaults to
|
1647
1653
|
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}
|
1648
1654
|
# if no value is specified.
|
1655
|
+
# @param relevance_threshold [::Google::Cloud::Talent::V4::SearchJobsRequest::RelevanceThreshold]
|
1656
|
+
# Optional. The relevance threshold of the search results.
|
1657
|
+
#
|
1658
|
+
# Default to Google defined threshold, leveraging a balance of
|
1659
|
+
# precision and recall to deliver both highly accurate results and
|
1660
|
+
# comprehensive coverage of relevant information.
|
1649
1661
|
# @yield [result, operation] Access the result along with the TransportOperation object
|
1650
1662
|
# @yieldparam result [::Google::Cloud::Talent::V4::SearchJobsResponse]
|
1651
1663
|
# @yieldparam operation [::Gapic::Rest::TransportOperation]
|
@@ -19,7 +19,7 @@ require 'google/protobuf/field_mask_pb'
|
|
19
19
|
require 'google/rpc/status_pb'
|
20
20
|
|
21
21
|
|
22
|
-
descriptor_data = "\n(google/cloud/talent/v4/job_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a$google/cloud/talent/v4/filters.proto\x1a&google/cloud/talent/v4/histogram.proto\x1a google/cloud/talent/v4/job.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"r\n\x10\x43reateJobRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12-\n\x03job\x18\x02 \x01(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\">\n\rGetJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"r\n\x10UpdateJobRequest\x12-\n\x03job\x18\x01 \x01(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"A\n\x10\x44\x65leteJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"\xb1\x01\n\x0fListJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x31\n\x08job_view\x18\x05 \x01(\x0e\x32\x1f.google.cloud.talent.v4.JobView\"\x92\x01\n\x10ListJobsResponse\x12)\n\x04jobs\x18\x01 \x03(\x0b\x32\x1b.google.cloud.talent.v4.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12:\n\x08metadata\x18\x03 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata\"\
|
22
|
+
descriptor_data = "\n(google/cloud/talent/v4/job_service.proto\x12\x16google.cloud.talent.v4\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a#google/cloud/talent/v4/common.proto\x1a$google/cloud/talent/v4/filters.proto\x1a&google/cloud/talent/v4/histogram.proto\x1a google/cloud/talent/v4/job.proto\x1a#google/longrunning/operations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\x1a\x17google/rpc/status.proto\"r\n\x10\x43reateJobRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12-\n\x03job\x18\x02 \x01(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\">\n\rGetJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"r\n\x10UpdateJobRequest\x12-\n\x03job\x18\x01 \x01(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"A\n\x10\x44\x65leteJobRequest\x12-\n\x04name\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"\xb1\x01\n\x0fListJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x11\n\tpage_size\x18\x04 \x01(\x05\x12\x31\n\x08job_view\x18\x05 \x01(\x0e\x32\x1f.google.cloud.talent.v4.JobView\"\x92\x01\n\x10ListJobsResponse\x12)\n\x04jobs\x18\x01 \x03(\x0b\x32\x1b.google.cloud.talent.v4.Job\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12:\n\x08metadata\x18\x03 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata\"\x9d\r\n\x11SearchJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12I\n\x0bsearch_mode\x18\x02 \x01(\x0e\x32\x34.google.cloud.talent.v4.SearchJobsRequest.SearchMode\x12\x46\n\x10request_metadata\x18\x03 \x01(\x0b\x32\'.google.cloud.talent.v4.RequestMetadataB\x03\xe0\x41\x02\x12\x33\n\tjob_query\x18\x04 \x01(\x0b\x32 .google.cloud.talent.v4.JobQuery\x12\x19\n\x11\x65nable_broadening\x18\x05 \x01(\x08\x12\x41\n\x11histogram_queries\x18\x07 \x03(\x0b\x32&.google.cloud.talent.v4.HistogramQuery\x12\x31\n\x08job_view\x18\x08 \x01(\x0e\x32\x1f.google.cloud.talent.v4.JobView\x12\x0e\n\x06offset\x18\t \x01(\x05\x12\x15\n\rmax_page_size\x18\n \x01(\x05\x12\x12\n\npage_token\x18\x0b \x01(\t\x12\x10\n\x08order_by\x18\x0c \x01(\t\x12]\n\x15\x64iversification_level\x18\r \x01(\x0e\x32>.google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel\x12X\n\x13\x63ustom_ranking_info\x18\x0e \x01(\x0b\x32;.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo\x12!\n\x15\x64isable_keyword_match\x18\x10 \x01(\x08\x42\x02\x18\x01\x12V\n\x12keyword_match_mode\x18\x12 \x01(\x0e\x32:.google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode\x12^\n\x13relevance_threshold\x18\x13 \x01(\x0e\x32<.google.cloud.talent.v4.SearchJobsRequest.RelevanceThresholdB\x03\xe0\x41\x01\x1a\x95\x02\n\x11\x43ustomRankingInfo\x12j\n\x10importance_level\x18\x01 \x01(\x0e\x32K.google.cloud.talent.v4.SearchJobsRequest.CustomRankingInfo.ImportanceLevelB\x03\xe0\x41\x02\x12\x1f\n\x12ranking_expression\x18\x02 \x01(\tB\x03\xe0\x41\x02\"s\n\x0fImportanceLevel\x12 \n\x1cIMPORTANCE_LEVEL_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\x08\n\x04MILD\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x08\n\x04HIGH\x10\x05\x12\x0b\n\x07\x45XTREME\x10\x06\"R\n\nSearchMode\x12\x1b\n\x17SEARCH_MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nJOB_SEARCH\x10\x01\x12\x17\n\x13\x46\x45\x41TURED_JOB_SEARCH\x10\x02\"\xc0\x01\n\x14\x44iversificationLevel\x12%\n!DIVERSIFICATION_LEVEL_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x44ISABLED\x10\x01\x12\n\n\x06SIMPLE\x10\x02\x12\x13\n\x0fONE_PER_COMPANY\x10\x03\x12\x13\n\x0fTWO_PER_COMPANY\x10\x04\x12\x19\n\x15MAX_THREE_PER_COMPANY\x10\x06\x12\"\n\x1e\x44IVERSIFY_BY_LOOSER_SIMILARITY\x10\x05\"\x87\x01\n\x10KeywordMatchMode\x12\"\n\x1eKEYWORD_MATCH_MODE_UNSPECIFIED\x10\x00\x12\x1a\n\x16KEYWORD_MATCH_DISABLED\x10\x01\x12\x15\n\x11KEYWORD_MATCH_ALL\x10\x02\x12\x1c\n\x18KEYWORD_MATCH_TITLE_ONLY\x10\x03\"d\n\x12RelevanceThreshold\x12#\n\x1fRELEVANCE_THRESHOLD_UNSPECIFIED\x10\x00\x12\n\n\x06LOWEST\x10\x01\x12\x07\n\x03LOW\x10\x02\x12\n\n\x06MEDIUM\x10\x03\x12\x08\n\x04HIGH\x10\x04\"\x91\x06\n\x12SearchJobsResponse\x12M\n\rmatching_jobs\x18\x01 \x03(\x0b\x32\x36.google.cloud.talent.v4.SearchJobsResponse.MatchingJob\x12M\n\x17histogram_query_results\x18\x02 \x03(\x0b\x32,.google.cloud.talent.v4.HistogramQueryResult\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\x12:\n\x10location_filters\x18\x04 \x03(\x0b\x32 .google.cloud.talent.v4.Location\x12\x12\n\ntotal_size\x18\x06 \x01(\x05\x12:\n\x08metadata\x18\x07 \x01(\x0b\x32(.google.cloud.talent.v4.ResponseMetadata\x12\"\n\x1a\x62roadened_query_jobs_count\x18\x08 \x01(\x05\x12\x44\n\x10spell_correction\x18\t \x01(\x0b\x32*.google.cloud.talent.v4.SpellingCorrection\x1a\xd2\x01\n\x0bMatchingJob\x12(\n\x03job\x18\x01 \x01(\x0b\x32\x1b.google.cloud.talent.v4.Job\x12\x13\n\x0bjob_summary\x18\x02 \x01(\t\x12\x19\n\x11job_title_snippet\x18\x03 \x01(\t\x12\x1b\n\x13search_text_snippet\x18\x04 \x01(\t\x12L\n\x0c\x63ommute_info\x18\x05 \x01(\x0b\x32\x36.google.cloud.talent.v4.SearchJobsResponse.CommuteInfo\x1ay\n\x0b\x43ommuteInfo\x12\x36\n\x0cjob_location\x18\x01 \x01(\x0b\x32 .google.cloud.talent.v4.Location\x12\x32\n\x0ftravel_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.Duration\"y\n\x16\x42\x61tchCreateJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12.\n\x04jobs\x18\x02 \x03(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\"\xaa\x01\n\x16\x42\x61tchUpdateJobsRequest\x12/\n\x06parent\x18\x01 \x01(\tB\x1f\xe0\x41\x02\xfa\x41\x19\x12\x17jobs.googleapis.com/Job\x12.\n\x04jobs\x18\x02 \x03(\x0b\x32\x1b.google.cloud.talent.v4.JobB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"y\n\x16\x42\x61tchDeleteJobsRequest\x12\x32\n\x06parent\x18\x01 \x01(\tB\"\xe0\x41\x02\xfa\x41\x1c\n\x1ajobs.googleapis.com/Tenant\x12+\n\x05names\x18\x02 \x03(\tB\x1c\xfa\x41\x19\n\x17jobs.googleapis.com/Job\"Y\n\tJobResult\x12(\n\x03job\x18\x01 \x01(\x0b\x32\x1b.google.cloud.talent.v4.Job\x12\"\n\x06status\x18\x02 \x01(\x0b\x32\x12.google.rpc.Status\"Q\n\x17\x42\x61tchCreateJobsResponse\x12\x36\n\x0bjob_results\x18\x01 \x03(\x0b\x32!.google.cloud.talent.v4.JobResult\"Q\n\x17\x42\x61tchUpdateJobsResponse\x12\x36\n\x0bjob_results\x18\x01 \x03(\x0b\x32!.google.cloud.talent.v4.JobResult\"Q\n\x17\x42\x61tchDeleteJobsResponse\x12\x36\n\x0bjob_results\x18\x01 \x03(\x0b\x32!.google.cloud.talent.v4.JobResult*v\n\x07JobView\x12\x18\n\x14JOB_VIEW_UNSPECIFIED\x10\x00\x12\x14\n\x10JOB_VIEW_ID_ONLY\x10\x01\x12\x14\n\x10JOB_VIEW_MINIMAL\x10\x02\x12\x12\n\x0eJOB_VIEW_SMALL\x10\x03\x12\x11\n\rJOB_VIEW_FULL\x10\x04\x32\xdc\x0e\n\nJobService\x12\x94\x01\n\tCreateJob\x12(.google.cloud.talent.v4.CreateJobRequest\x1a\x1b.google.cloud.talent.v4.Job\"@\xda\x41\nparent,job\x82\xd3\xe4\x93\x02-\"&/v4/{parent=projects/*/tenants/*}/jobs:\x03job\x12\xe1\x01\n\x0f\x42\x61tchCreateJobs\x12..google.cloud.talent.v4.BatchCreateJobsRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x31\n\x17\x42\x61tchCreateJobsResponse\x12\x16\x42\x61tchOperationMetadata\xda\x41\x0bparent,jobs\x82\xd3\xe4\x93\x02\x37\"2/v4/{parent=projects/*/tenants/*}/jobs:batchCreate:\x01*\x12\x83\x01\n\x06GetJob\x12%.google.cloud.talent.v4.GetJobRequest\x1a\x1b.google.cloud.talent.v4.Job\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(\x12&/v4/{name=projects/*/tenants/*/jobs/*}\x12\x9d\x01\n\tUpdateJob\x12(.google.cloud.talent.v4.UpdateJobRequest\x1a\x1b.google.cloud.talent.v4.Job\"I\xda\x41\x0fjob,update_mask\x82\xd3\xe4\x93\x02\x31\x32*/v4/{job.name=projects/*/tenants/*/jobs/*}:\x03job\x12\xe1\x01\n\x0f\x42\x61tchUpdateJobs\x12..google.cloud.talent.v4.BatchUpdateJobsRequest\x1a\x1d.google.longrunning.Operation\"\x7f\xca\x41\x31\n\x17\x42\x61tchUpdateJobsResponse\x12\x16\x42\x61tchOperationMetadata\xda\x41\x0bparent,jobs\x82\xd3\xe4\x93\x02\x37\"2/v4/{parent=projects/*/tenants/*}/jobs:batchUpdate:\x01*\x12\x84\x01\n\tDeleteJob\x12(.google.cloud.talent.v4.DeleteJobRequest\x1a\x16.google.protobuf.Empty\"5\xda\x41\x04name\x82\xd3\xe4\x93\x02(*&/v4/{name=projects/*/tenants/*/jobs/*}\x12\xe3\x01\n\x0f\x42\x61tchDeleteJobs\x12..google.cloud.talent.v4.BatchDeleteJobsRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\xca\x41\x31\n\x17\x42\x61tchDeleteJobsResponse\x12\x16\x42\x61tchOperationMetadata\xda\x41\x0cparent,names\x82\xd3\xe4\x93\x02\x37\"2/v4/{parent=projects/*/tenants/*}/jobs:batchDelete:\x01*\x12\x9d\x01\n\x08ListJobs\x12\'.google.cloud.talent.v4.ListJobsRequest\x1a(.google.cloud.talent.v4.ListJobsResponse\">\xda\x41\rparent,filter\x82\xd3\xe4\x93\x02(\x12&/v4/{parent=projects/*/tenants/*}/jobs\x12\x9d\x01\n\nSearchJobs\x12).google.cloud.talent.v4.SearchJobsRequest\x1a*.google.cloud.talent.v4.SearchJobsResponse\"8\x82\xd3\xe4\x93\x02\x32\"-/v4/{parent=projects/*/tenants/*}/jobs:search:\x01*\x12\xad\x01\n\x12SearchJobsForAlert\x12).google.cloud.talent.v4.SearchJobsRequest\x1a*.google.cloud.talent.v4.SearchJobsResponse\"@\x82\xd3\xe4\x93\x02:\"5/v4/{parent=projects/*/tenants/*}/jobs:searchForAlert:\x01*\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBi\n\x1a\x63om.google.cloud.talent.v4B\x0fJobServiceProtoP\x01Z2cloud.google.com/go/talent/apiv4/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
23
23
|
|
24
24
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
25
25
|
|
@@ -68,6 +68,7 @@ module Google
|
|
68
68
|
SearchJobsRequest::SearchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.SearchMode").enummodule
|
69
69
|
SearchJobsRequest::DiversificationLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.DiversificationLevel").enummodule
|
70
70
|
SearchJobsRequest::KeywordMatchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.KeywordMatchMode").enummodule
|
71
|
+
SearchJobsRequest::RelevanceThreshold = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsRequest.RelevanceThreshold").enummodule
|
71
72
|
SearchJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse").msgclass
|
72
73
|
SearchJobsResponse::MatchingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse.MatchingJob").msgclass
|
73
74
|
SearchJobsResponse::CommuteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SearchJobsResponse.CommuteInfo").msgclass
|
@@ -242,7 +242,8 @@ module Google
|
|
242
242
|
# {::Google::Cloud::Talent::V4::PostingRegion::TELECOMMUTE PostingRegion.TELECOMMUTE}
|
243
243
|
# and have additional {::Google::Cloud::Talent::V4::Job#addresses Job.addresses}
|
244
244
|
# may still be matched based on other location filters using
|
245
|
-
# {::Google::Cloud::Talent::V4::LocationFilter#address address} or
|
245
|
+
# {::Google::Cloud::Talent::V4::LocationFilter#address address} or
|
246
|
+
# {::Google::Cloud::Talent::V4::LocationFilter#lat_lng lat_lng}.
|
246
247
|
#
|
247
248
|
# This filter can be used by itself to search exclusively for telecommuting
|
248
249
|
# jobs, or it can be combined with another location
|
@@ -98,13 +98,16 @@ module Google
|
|
98
98
|
# search experience.
|
99
99
|
#
|
100
100
|
# Jobs with multiple addresses must have their addresses with the same
|
101
|
-
#
|
102
|
-
# example, a Job with addresses
|
103
|
-
# CA, USA" and "London, UK" may
|
104
|
-
# at search time since the first
|
105
|
-
#
|
106
|
-
#
|
107
|
-
#
|
101
|
+
# {::Google::Cloud::Talent::V4::Location::LocationType LocationType} to allow
|
102
|
+
# location filtering to work properly. (For example, a Job with addresses
|
103
|
+
# "1600 Amphitheatre Parkway, Mountain View, CA, USA" and "London, UK" may
|
104
|
+
# not have location filters applied correctly at search time since the first
|
105
|
+
# is a
|
106
|
+
# {::Google::Cloud::Talent::V4::Location::LocationType::STREET_ADDRESS LocationType.STREET_ADDRESS}
|
107
|
+
# and the second is a
|
108
|
+
# {::Google::Cloud::Talent::V4::Location::LocationType::LOCALITY LocationType.LOCALITY}.)
|
109
|
+
# If a job needs to have multiple addresses, it is suggested to split it into
|
110
|
+
# multiple jobs with same LocationTypes.
|
108
111
|
#
|
109
112
|
# The maximum number of allowed characters is 500.
|
110
113
|
# @!attribute [rw] application_info
|
@@ -266,10 +269,11 @@ module Google
|
|
266
269
|
# {::Google::Cloud::Talent::V4::Job#posting_publish_time posting_publish_time}
|
267
270
|
# must be set before
|
268
271
|
# {::Google::Cloud::Talent::V4::Job#posting_expire_time posting_expire_time}. The
|
269
|
-
# purpose of this feature is to allow other objects, such as
|
270
|
-
# to refer a
|
271
|
-
#
|
272
|
-
# create a new
|
272
|
+
# purpose of this feature is to allow other objects, such as
|
273
|
+
# {::Google::Cloud::Talent::V4::Job::ApplicationInfo ApplicationInfo}, to refer a
|
274
|
+
# job that didn't exist in the system prior to becoming expired. If you want
|
275
|
+
# to modify a job that was expired on creation, delete it and create a new
|
276
|
+
# one.
|
273
277
|
#
|
274
278
|
# If this value isn't provided at the time of job creation or is invalid,
|
275
279
|
# the job posting expires after 30 days from the job's creation time. For
|
@@ -446,6 +446,13 @@ module Google
|
|
446
446
|
# Defaults to
|
447
447
|
# {::Google::Cloud::Talent::V4::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}
|
448
448
|
# if no value is specified.
|
449
|
+
# @!attribute [rw] relevance_threshold
|
450
|
+
# @return [::Google::Cloud::Talent::V4::SearchJobsRequest::RelevanceThreshold]
|
451
|
+
# Optional. The relevance threshold of the search results.
|
452
|
+
#
|
453
|
+
# Default to Google defined threshold, leveraging a balance of
|
454
|
+
# precision and recall to deliver both highly accurate results and
|
455
|
+
# comprehensive coverage of relevant information.
|
449
456
|
class SearchJobsRequest
|
450
457
|
include ::Google::Protobuf::MessageExts
|
451
458
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -632,6 +639,27 @@ module Google
|
|
632
639
|
# {::Google::Cloud::Talent::V4::Job#title Job.title}.
|
633
640
|
KEYWORD_MATCH_TITLE_ONLY = 3
|
634
641
|
end
|
642
|
+
|
643
|
+
# The relevance threshold of the search results. The higher relevance
|
644
|
+
# threshold is, the higher relevant results are shown and the less number of
|
645
|
+
# results are returned.
|
646
|
+
module RelevanceThreshold
|
647
|
+
# Default value. In this case, server behavior defaults to Google defined
|
648
|
+
# threshold.
|
649
|
+
RELEVANCE_THRESHOLD_UNSPECIFIED = 0
|
650
|
+
|
651
|
+
# Lowest relevance threshold.
|
652
|
+
LOWEST = 1
|
653
|
+
|
654
|
+
# Low relevance threshold.
|
655
|
+
LOW = 2
|
656
|
+
|
657
|
+
# Medium relevance threshold.
|
658
|
+
MEDIUM = 3
|
659
|
+
|
660
|
+
# High relevance threshold.
|
661
|
+
HIGH = 4
|
662
|
+
end
|
635
663
|
end
|
636
664
|
|
637
665
|
# Response for SearchJob method.
|
@@ -767,7 +795,7 @@ module Google
|
|
767
795
|
#
|
768
796
|
# If {::Google::Cloud::Talent::V4::BatchUpdateJobsRequest#update_mask update_mask}
|
769
797
|
# is provided, The {::Google::Cloud::Talent::V4::Job Job} inside
|
770
|
-
#
|
798
|
+
# {::Google::Cloud::Talent::V4::JobResult JobResult}
|
771
799
|
# will only contains fields that is updated, plus the Id of the Job.
|
772
800
|
# Otherwise, {::Google::Cloud::Talent::V4::Job Job} will include all fields,
|
773
801
|
# which can yield a very large response.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent-v4
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.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:
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|