google-cloud-talent-v4beta1 0.4.6 → 0.5.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.
Files changed (48) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHENTICATION.md +6 -6
  3. data/README.md +9 -4
  4. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
  5. data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
  6. data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
  7. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
  8. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
  9. data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
  10. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
  11. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
  12. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
  13. data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
  14. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +48 -23
  15. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
  16. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
  17. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
  18. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  19. data/lib/google/cloud/talent/v4beta1.rb +3 -3
  20. data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
  21. data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
  22. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
  23. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
  24. data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
  25. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
  26. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
  27. data/proto_docs/google/protobuf/any.rb +3 -3
  28. data/proto_docs/google/type/timeofday.rb +1 -1
  29. metadata +3 -22
  30. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
  31. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -813
  32. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
  33. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
  34. data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
  35. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
  36. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
  37. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
  38. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1107
  39. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
  40. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
  41. data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
  42. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
  43. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
  44. data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
  45. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
  46. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
  47. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
  48. data/proto_docs/google/type/date.rb +0 -53
@@ -909,11 +909,14 @@ module Google
909
909
  #
910
910
  # The fields eligible for filtering are:
911
911
  #
912
- # * `companyName` (Required)
912
+ # * `companyName`
913
913
  # * `requisitionId`
914
914
  # * `status` Available values: OPEN, EXPIRED, ALL. Defaults to
915
915
  # OPEN if no value is specified.
916
916
  #
917
+ # At least one of `companyName` and `requisitionId` must present or an
918
+ # INVALID_ARGUMENT error is thrown.
919
+ #
917
920
  # Sample Query:
918
921
  #
919
922
  # * companyName = "projects/foo/tenants/bar/companies/baz"
@@ -921,6 +924,8 @@ module Google
921
924
  # requisitionId = "req-1"
922
925
  # * companyName = "projects/foo/tenants/bar/companies/baz" AND
923
926
  # status = "EXPIRED"
927
+ # * requisitionId = "req-1"
928
+ # * requisitionId = "req-1" AND status = "EXPIRED"
924
929
  # @param page_token [::String]
925
930
  # The starting point of a query result.
926
931
  # @param page_size [::Integer]
@@ -1023,7 +1028,7 @@ module Google
1023
1028
  # @param options [::Gapic::CallOptions, ::Hash]
1024
1029
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1025
1030
  #
1026
- # @overload search_jobs(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil)
1031
+ # @overload search_jobs(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, keyword_match_mode: nil)
1027
1032
  # Pass arguments to `search_jobs` via keyword arguments. Note that at
1028
1033
  # least one keyword argument is required. To specify no parameters, or to keep all
1029
1034
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1051,15 +1056,7 @@ module Google
1051
1056
  #
1052
1057
  # Defaults to false.
1053
1058
  # @param require_precise_result_size [::Boolean]
1054
- # Controls if the search job request requires the return of a precise
1055
- # count of the first 300 results. Setting this to `true` ensures
1056
- # consistency in the number of results per page. Best practice is to set this
1057
- # value to true if a client allows users to jump directly to a
1058
- # non-sequential search results page.
1059
- #
1060
- # Enabling this flag may adversely impact performance.
1061
- #
1062
- # Defaults to false.
1059
+ # This field is deprecated.
1063
1060
  # @param histogram_queries [::Array<::Google::Cloud::Talent::V4beta1::HistogramQuery, ::Hash>]
1064
1061
  # An expression specifies a histogram request against matching jobs.
1065
1062
  #
@@ -1072,6 +1069,8 @@ module Google
1072
1069
  # * `count(numeric_histogram_facet, list of buckets)`: Count the number of
1073
1070
  # matching entities within each bucket.
1074
1071
  #
1072
+ # A maximum of 200 histogram buckets are supported.
1073
+ #
1075
1074
  # Data types:
1076
1075
  #
1077
1076
  # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
@@ -1098,6 +1097,9 @@ module Google
1098
1097
  # "FULL_TIME", "PART_TIME".
1099
1098
  # * company_size: histogram by {::Google::Cloud::Talent::V4beta1::CompanySize CompanySize}, for example, "SMALL",
1100
1099
  # "MEDIUM", "BIG".
1100
+ # * publish_time_in_day: histogram by the {::Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job.posting_publish_time}
1101
+ # in days.
1102
+ # Must specify list of numeric buckets in spec.
1101
1103
  # * publish_time_in_month: histogram by the {::Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job.posting_publish_time}
1102
1104
  # in months.
1103
1105
  # Must specify list of numeric buckets in spec.
@@ -1151,7 +1153,7 @@ module Google
1151
1153
  # bucket(100000, MAX)])`
1152
1154
  # * `count(string_custom_attribute["some-string-custom-attribute"])`
1153
1155
  # * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
1154
- # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
1156
+ # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
1155
1157
  # @param job_view [::Google::Cloud::Talent::V4beta1::JobView]
1156
1158
  # The desired job attributes returned for jobs in the search response.
1157
1159
  # Defaults to {::Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_SMALL JobView.JOB_VIEW_SMALL} if no value is specified.
@@ -1239,6 +1241,14 @@ module Google
1239
1241
  # Controls over how job documents get ranked on top of existing relevance
1240
1242
  # score (determined by API algorithm).
1241
1243
  # @param disable_keyword_match [::Boolean]
1244
+ # This field is deprecated. Please use
1245
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} going forward.
1246
+ #
1247
+ # To migrate, disable_keyword_match set to false maps to
1248
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}, and disable_keyword_match set to
1249
+ # true maps to {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_DISABLED KeywordMatchMode.KEYWORD_MATCH_DISABLED}. If
1250
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} is set, this field is ignored.
1251
+ #
1242
1252
  # Controls whether to disable exact keyword match on {::Google::Cloud::Talent::V4beta1::Job#title Job.title},
1243
1253
  # {::Google::Cloud::Talent::V4beta1::Job#description Job.description}, {::Google::Cloud::Talent::V4beta1::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4beta1::Job#addresses Job.addresses},
1244
1254
  # {::Google::Cloud::Talent::V4beta1::Job#qualifications Job.qualifications}. When disable keyword match is turned off, a
@@ -1258,6 +1268,11 @@ module Google
1258
1268
  # requests.
1259
1269
  #
1260
1270
  # Defaults to false.
1271
+ # @param keyword_match_mode [::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode]
1272
+ # Controls what keyword match options to use.
1273
+ #
1274
+ # Defaults to {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} if no value
1275
+ # is specified.
1261
1276
  #
1262
1277
  # @yield [response, operation] Access the result along with the RPC operation
1263
1278
  # @yieldparam response [::Google::Cloud::Talent::V4beta1::SearchJobsResponse]
@@ -1345,7 +1360,7 @@ module Google
1345
1360
  # @param options [::Gapic::CallOptions, ::Hash]
1346
1361
  # Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
1347
1362
  #
1348
- # @overload search_jobs_for_alert(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil)
1363
+ # @overload search_jobs_for_alert(parent: nil, search_mode: nil, request_metadata: nil, job_query: nil, enable_broadening: nil, require_precise_result_size: nil, histogram_queries: nil, job_view: nil, offset: nil, page_size: nil, page_token: nil, order_by: nil, diversification_level: nil, custom_ranking_info: nil, disable_keyword_match: nil, keyword_match_mode: nil)
1349
1364
  # Pass arguments to `search_jobs_for_alert` via keyword arguments. Note that at
1350
1365
  # least one keyword argument is required. To specify no parameters, or to keep all
1351
1366
  # the default parameter values, pass an empty Hash as a request object (see above).
@@ -1373,15 +1388,7 @@ module Google
1373
1388
  #
1374
1389
  # Defaults to false.
1375
1390
  # @param require_precise_result_size [::Boolean]
1376
- # Controls if the search job request requires the return of a precise
1377
- # count of the first 300 results. Setting this to `true` ensures
1378
- # consistency in the number of results per page. Best practice is to set this
1379
- # value to true if a client allows users to jump directly to a
1380
- # non-sequential search results page.
1381
- #
1382
- # Enabling this flag may adversely impact performance.
1383
- #
1384
- # Defaults to false.
1391
+ # This field is deprecated.
1385
1392
  # @param histogram_queries [::Array<::Google::Cloud::Talent::V4beta1::HistogramQuery, ::Hash>]
1386
1393
  # An expression specifies a histogram request against matching jobs.
1387
1394
  #
@@ -1394,6 +1401,8 @@ module Google
1394
1401
  # * `count(numeric_histogram_facet, list of buckets)`: Count the number of
1395
1402
  # matching entities within each bucket.
1396
1403
  #
1404
+ # A maximum of 200 histogram buckets are supported.
1405
+ #
1397
1406
  # Data types:
1398
1407
  #
1399
1408
  # * Histogram facet: facet names with format `[a-zA-Z][a-zA-Z0-9_]+`.
@@ -1420,6 +1429,9 @@ module Google
1420
1429
  # "FULL_TIME", "PART_TIME".
1421
1430
  # * company_size: histogram by {::Google::Cloud::Talent::V4beta1::CompanySize CompanySize}, for example, "SMALL",
1422
1431
  # "MEDIUM", "BIG".
1432
+ # * publish_time_in_day: histogram by the {::Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job.posting_publish_time}
1433
+ # in days.
1434
+ # Must specify list of numeric buckets in spec.
1423
1435
  # * publish_time_in_month: histogram by the {::Google::Cloud::Talent::V4beta1::Job#posting_publish_time Job.posting_publish_time}
1424
1436
  # in months.
1425
1437
  # Must specify list of numeric buckets in spec.
@@ -1473,7 +1485,7 @@ module Google
1473
1485
  # bucket(100000, MAX)])`
1474
1486
  # * `count(string_custom_attribute["some-string-custom-attribute"])`
1475
1487
  # * `count(numeric_custom_attribute["some-numeric-custom-attribute"],
1476
- # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative"])`
1488
+ # [bucket(MIN, 0, "negative"), bucket(0, MAX, "non-negative")])`
1477
1489
  # @param job_view [::Google::Cloud::Talent::V4beta1::JobView]
1478
1490
  # The desired job attributes returned for jobs in the search response.
1479
1491
  # Defaults to {::Google::Cloud::Talent::V4beta1::JobView::JOB_VIEW_SMALL JobView.JOB_VIEW_SMALL} if no value is specified.
@@ -1561,6 +1573,14 @@ module Google
1561
1573
  # Controls over how job documents get ranked on top of existing relevance
1562
1574
  # score (determined by API algorithm).
1563
1575
  # @param disable_keyword_match [::Boolean]
1576
+ # This field is deprecated. Please use
1577
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} going forward.
1578
+ #
1579
+ # To migrate, disable_keyword_match set to false maps to
1580
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL}, and disable_keyword_match set to
1581
+ # true maps to {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_DISABLED KeywordMatchMode.KEYWORD_MATCH_DISABLED}. If
1582
+ # {::Google::Cloud::Talent::V4beta1::SearchJobsRequest#keyword_match_mode SearchJobsRequest.keyword_match_mode} is set, this field is ignored.
1583
+ #
1564
1584
  # Controls whether to disable exact keyword match on {::Google::Cloud::Talent::V4beta1::Job#title Job.title},
1565
1585
  # {::Google::Cloud::Talent::V4beta1::Job#description Job.description}, {::Google::Cloud::Talent::V4beta1::Job#company_display_name Job.company_display_name}, {::Google::Cloud::Talent::V4beta1::Job#addresses Job.addresses},
1566
1586
  # {::Google::Cloud::Talent::V4beta1::Job#qualifications Job.qualifications}. When disable keyword match is turned off, a
@@ -1580,6 +1600,11 @@ module Google
1580
1600
  # requests.
1581
1601
  #
1582
1602
  # Defaults to false.
1603
+ # @param keyword_match_mode [::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode]
1604
+ # Controls what keyword match options to use.
1605
+ #
1606
+ # Defaults to {::Google::Cloud::Talent::V4beta1::SearchJobsRequest::KeywordMatchMode::KEYWORD_MATCH_ALL KeywordMatchMode.KEYWORD_MATCH_ALL} if no value
1607
+ # is specified.
1583
1608
  #
1584
1609
  # @yield [response, operation] Access the result along with the RPC operation
1585
1610
  # @yieldparam response [::Google::Cloud::Talent::V4beta1::SearchJobsResponse]
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/job_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -10,12 +12,10 @@ require 'google/cloud/talent/v4beta1/filters_pb'
10
12
  require 'google/cloud/talent/v4beta1/histogram_pb'
11
13
  require 'google/cloud/talent/v4beta1/job_pb'
12
14
  require 'google/longrunning/operations_pb'
13
- require 'google/protobuf/any_pb'
14
15
  require 'google/protobuf/duration_pb'
15
16
  require 'google/protobuf/empty_pb'
16
17
  require 'google/protobuf/field_mask_pb'
17
18
  require 'google/rpc/status_pb'
18
- require 'google/protobuf'
19
19
 
20
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
21
21
  add_file("google/cloud/talent/v4beta1/job_service.proto", :syntax => :proto3) do
@@ -65,6 +65,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
65
65
  optional :diversification_level, :enum, 13, "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel"
66
66
  optional :custom_ranking_info, :message, 14, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo"
67
67
  optional :disable_keyword_match, :bool, 16
68
+ optional :keyword_match_mode, :enum, 18, "google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode"
68
69
  end
69
70
  add_message "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo" do
70
71
  optional :importance_level, :enum, 1, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel"
@@ -89,6 +90,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
89
90
  value :DISABLED, 1
90
91
  value :SIMPLE, 2
91
92
  end
93
+ add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode" do
94
+ value :KEYWORD_MATCH_MODE_UNSPECIFIED, 0
95
+ value :KEYWORD_MATCH_DISABLED, 1
96
+ value :KEYWORD_MATCH_ALL, 2
97
+ value :KEYWORD_MATCH_TITLE_ONLY, 3
98
+ end
92
99
  add_message "google.cloud.talent.v4beta1.SearchJobsResponse" do
93
100
  repeated :matching_jobs, :message, 1, "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob"
94
101
  repeated :histogram_query_results, :message, 2, "google.cloud.talent.v4beta1.HistogramQueryResult"
@@ -153,6 +160,7 @@ module Google
153
160
  SearchJobsRequest::CustomRankingInfo::ImportanceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
154
161
  SearchJobsRequest::SearchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode").enummodule
155
162
  SearchJobsRequest::DiversificationLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel").enummodule
163
+ SearchJobsRequest::KeywordMatchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.KeywordMatchMode").enummodule
156
164
  SearchJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
157
165
  SearchJobsResponse::MatchingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
158
166
  SearchJobsResponse::CommuteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
@@ -1,11 +1,10 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/tenant.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/field_behavior_pb'
5
7
  require 'google/api/resource_pb'
6
- require 'google/protobuf/timestamp_pb'
7
- require 'google/api/annotations_pb'
8
- require 'google/protobuf'
9
8
 
10
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
11
10
  add_file("google/cloud/talent/v4beta1/tenant.proto", :syntax => :proto3) do
@@ -1,6 +1,8 @@
1
1
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
2
  # source: google/cloud/talent/v4beta1/tenant_service.proto
3
3
 
4
+ require 'google/protobuf'
5
+
4
6
  require 'google/api/annotations_pb'
5
7
  require 'google/api/client_pb'
6
8
  require 'google/api/field_behavior_pb'
@@ -9,7 +11,6 @@ require 'google/cloud/talent/v4beta1/common_pb'
9
11
  require 'google/cloud/talent/v4beta1/tenant_pb'
10
12
  require 'google/protobuf/empty_pb'
11
13
  require 'google/protobuf/field_mask_pb'
12
- require 'google/protobuf'
13
14
 
14
15
  Google::Protobuf::DescriptorPool.generated_pool.build do
15
16
  add_file("google/cloud/talent/v4beta1/tenant_service.proto", :syntax => :proto3) do
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Talent
23
23
  module V4beta1
24
- VERSION = "0.4.6"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -16,12 +16,10 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "google/cloud/talent/v4beta1/application_service"
20
19
  require "google/cloud/talent/v4beta1/company_service"
21
20
  require "google/cloud/talent/v4beta1/completion"
22
21
  require "google/cloud/talent/v4beta1/event_service"
23
22
  require "google/cloud/talent/v4beta1/job_service"
24
- require "google/cloud/talent/v4beta1/profile_service"
25
23
  require "google/cloud/talent/v4beta1/tenant_service"
26
24
  require "google/cloud/talent/v4beta1/version"
27
25
 
@@ -31,8 +29,10 @@ module Google
31
29
  ##
32
30
  # To load this package, including all its services, and instantiate a client:
33
31
  #
32
+ # @example
33
+ #
34
34
  # require "google/cloud/talent/v4beta1"
35
- # client = ::Google::Cloud::Talent::V4beta1::ApplicationService::Client.new
35
+ # client = ::Google::Cloud::Talent::V4beta1::CompanyService::Client.new
36
36
  #
37
37
  module V4beta1
38
38
  end
@@ -240,8 +240,16 @@ module Google
240
240
  # Currently at most 1 {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} is supported.
241
241
  # @!attribute [rw] filterable
242
242
  # @return [::Boolean]
243
- # If the `filterable` flag is true, custom field values are searchable.
244
- # If false, values are not searchable.
243
+ # If the `filterable` flag is true, the custom field values may be used for
244
+ # custom attribute filters {::Google::Cloud::Talent::V4beta1::JobQuery#custom_attribute_filter JobQuery.custom_attribute_filter}.
245
+ # If false, these values may not be used for custom attribute filters.
246
+ #
247
+ # Default is false.
248
+ # @!attribute [rw] keyword_searchable
249
+ # @return [::Boolean]
250
+ # If the `keyword_searchable` flag is true, the keywords in custom fields are
251
+ # searchable by keyword match.
252
+ # If false, the values are not searchable by keyword match.
245
253
  #
246
254
  # Default is false.
247
255
  class CustomAttribute
@@ -433,95 +441,6 @@ module Google
433
441
  end
434
442
  end
435
443
 
436
- # Resource that represents a license or certification.
437
- # @!attribute [rw] display_name
438
- # @return [::String]
439
- # Name of license or certification.
440
- #
441
- # Number of characters allowed is 100.
442
- # @!attribute [rw] acquire_date
443
- # @return [::Google::Type::Date]
444
- # Acquisition date or effective date of license or certification.
445
- # @!attribute [rw] expire_date
446
- # @return [::Google::Type::Date]
447
- # Expiration date of license of certification.
448
- # @!attribute [rw] authority
449
- # @return [::String]
450
- # Authority of license, such as government.
451
- #
452
- # Number of characters allowed is 100.
453
- # @!attribute [rw] description
454
- # @return [::String]
455
- # Description of license or certification.
456
- #
457
- # Number of characters allowed is 100,000.
458
- class Certification
459
- include ::Google::Protobuf::MessageExts
460
- extend ::Google::Protobuf::MessageExts::ClassMethods
461
- end
462
-
463
- # Resource that represents a skill of a candidate.
464
- # @!attribute [rw] display_name
465
- # @return [::String]
466
- # Skill display name.
467
- #
468
- # For example, "Java", "Python".
469
- #
470
- # Number of characters allowed is 100.
471
- # @!attribute [rw] last_used_date
472
- # @return [::Google::Type::Date]
473
- # The last time this skill was used.
474
- # @!attribute [rw] level
475
- # @return [::Google::Cloud::Talent::V4beta1::SkillProficiencyLevel]
476
- # Skill proficiency level which indicates how proficient the candidate is at
477
- # this skill.
478
- # @!attribute [rw] context
479
- # @return [::String]
480
- # A paragraph describes context of this skill.
481
- #
482
- # Number of characters allowed is 100,000.
483
- # @!attribute [r] skill_name_snippet
484
- # @return [::String]
485
- # Output only. Skill name snippet shows how the {::Google::Cloud::Talent::V4beta1::Skill#display_name display_name} is related to a search
486
- # query. It's empty if the {::Google::Cloud::Talent::V4beta1::Skill#display_name display_name} isn't related to the search
487
- # query.
488
- class Skill
489
- include ::Google::Protobuf::MessageExts
490
- extend ::Google::Protobuf::MessageExts::ClassMethods
491
- end
492
-
493
- # Details of an interview.
494
- # @!attribute [rw] rating
495
- # @return [::Google::Cloud::Talent::V4beta1::Rating]
496
- # The rating on this interview.
497
- # @!attribute [rw] outcome
498
- # @return [::Google::Cloud::Talent::V4beta1::Outcome]
499
- # Required. The overall decision resulting from this interview (positive, negative,
500
- # nuetral).
501
- class Interview
502
- include ::Google::Protobuf::MessageExts
503
- extend ::Google::Protobuf::MessageExts::ClassMethods
504
- end
505
-
506
- # The details of the score received for an assessment or interview.
507
- # @!attribute [rw] overall
508
- # @return [::Float]
509
- # Overall score.
510
- # @!attribute [rw] min
511
- # @return [::Float]
512
- # The minimum value for the score.
513
- # @!attribute [rw] max
514
- # @return [::Float]
515
- # The maximum value for the score.
516
- # @!attribute [rw] interval
517
- # @return [::Float]
518
- # The steps within the score (for example, interval = 1 max = 5
519
- # min = 1 indicates that the score can be 1, 2, 3, 4, or 5)
520
- class Rating
521
- include ::Google::Protobuf::MessageExts
522
- extend ::Google::Protobuf::MessageExts::ClassMethods
523
- end
524
-
525
444
  # Metadata used for long running operations returned by CTS batch APIs.
526
445
  # It's used to replace {::Google::Longrunning::Operation#metadata google.longrunning.Operation.metadata}.
527
446
  # @!attribute [rw] state
@@ -931,21 +850,6 @@ module Google
931
850
  SHARED_WITH_PUBLIC = 3
932
851
  end
933
852
 
934
- # Enum that represents the usage of the contact information.
935
- module ContactInfoUsage
936
- # Default value.
937
- CONTACT_INFO_USAGE_UNSPECIFIED = 0
938
-
939
- # Personal use.
940
- PERSONAL = 1
941
-
942
- # Work use.
943
- WORK = 2
944
-
945
- # School use.
946
- SCHOOL = 3
947
- end
948
-
949
853
  # Option for HTML content sanitization on user input fields, for example, job
950
854
  # description. By setting this option, user can determine whether and how
951
855
  # sanitization is performed on these fields.
@@ -979,127 +883,6 @@ module Google
979
883
  # Commute time is calculated based on biking time.
980
884
  CYCLING = 4
981
885
  end
982
-
983
- # Enum that represents the skill proficiency level.
984
- module SkillProficiencyLevel
985
- # Default value.
986
- SKILL_PROFICIENCY_LEVEL_UNSPECIFIED = 0
987
-
988
- # Lacks any proficiency in this skill.
989
- UNSKILLED = 6
990
-
991
- # Have a common knowledge or an understanding of basic techniques and
992
- # concepts.
993
- FUNDAMENTAL_AWARENESS = 1
994
-
995
- # Have the level of experience gained in a classroom and/or experimental
996
- # scenarios or as a trainee on-the-job.
997
- NOVICE = 2
998
-
999
- # Be able to successfully complete tasks in this skill as requested. Help
1000
- # from an expert may be required from time to time, but can usually perform
1001
- # skill independently.
1002
- INTERMEDIATE = 3
1003
-
1004
- # Can perform the actions associated with this skill without assistance.
1005
- ADVANCED = 4
1006
-
1007
- # Known as an expert in this area.
1008
- EXPERT = 5
1009
- end
1010
-
1011
- # The overall outcome /decision / result indicator.
1012
- module Outcome
1013
- # Default value.
1014
- OUTCOME_UNSPECIFIED = 0
1015
-
1016
- # A positive outcome / passing indicator (for example, candidate was
1017
- # recommended for hiring or to be moved forward in the hiring process,
1018
- # candidate passed a test).
1019
- POSITIVE = 1
1020
-
1021
- # A neutral outcome / no clear indicator (for example, no strong
1022
- # reccommendation either to move forward / not move forward, neutral score).
1023
- NEUTRAL = 2
1024
-
1025
- # A negative outcome / failing indicator (for example, candidate was
1026
- # recommended to NOT move forward in the hiring process, failed a test).
1027
- NEGATIVE = 3
1028
-
1029
- # The assessment outcome is not available or otherwise unknown (for example,
1030
- # candidate did not complete assessment).
1031
- OUTCOME_NOT_AVAILABLE = 4
1032
- end
1033
-
1034
- # The type of candidate availability signal.
1035
- module AvailabilitySignalType
1036
- # Default value.
1037
- AVAILABILITY_SIGNAL_TYPE_UNSPECIFIED = 0
1038
-
1039
- # Job application signal.
1040
- #
1041
- # In the context of {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals}, this signal is related
1042
- # to the candidate's most recent application.
1043
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
1044
- # calculated from max({::Google::Cloud::Talent::V4beta1::Application#create_time Application.create_time}) from all {::Google::Cloud::Talent::V4beta1::Application Application}
1045
- # records where [Application.source][google.cloud.talent.v4beta1.Application.source] is any of the following:
1046
- # [APPLY_DIRECT_WEB][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_WEB]
1047
- # [APPLY_DIRECT_MOBILE_WEB][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_MOBILE_WEB]
1048
- # [APPLY_DIRECT_MOBILE_APP][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_MOBILE_APP]
1049
- # [APPLY_DIRECT_IN_PERSON][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_DIRECT_IN_PERSON]
1050
- # [APPLY_INDIRECT][google.cloud.talent.v4beta1.Application.ApplicationSource.APPLY_INDIRECT]
1051
- #
1052
- # In the context of {::Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
1053
- # {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals} where
1054
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is JOB_APPLICATION.
1055
- JOB_APPLICATION = 1
1056
-
1057
- # Resume update signal.
1058
- #
1059
- # In the context of {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals}, this signal is related
1060
- # to the candidate's most recent update to their resume.
1061
- # For a {::Google::Cloud::Talent::V4beta1::SummarizedProfile#summary SummarizedProfile.summary},
1062
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
1063
- # calculated from max({::Google::Cloud::Talent::V4beta1::Profile#resume_update_time Profile.resume_update_time}) from all
1064
- # {::Google::Cloud::Talent::V4beta1::SummarizedProfile#profiles SummarizedProfile.profiles}.
1065
- #
1066
- # In the context of {::Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
1067
- # {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals} where
1068
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is RESUME_UPDATE.
1069
- RESUME_UPDATE = 2
1070
-
1071
- # Candidate update signal.
1072
- #
1073
- # In the context of {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals}, this signal is related
1074
- # to the candidate's most recent update to their profile.
1075
- # For a {::Google::Cloud::Talent::V4beta1::SummarizedProfile#summary SummarizedProfile.summary},
1076
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
1077
- # calculated from max({::Google::Cloud::Talent::V4beta1::Profile#candidate_update_time Profile.candidate_update_time}) from all
1078
- # {::Google::Cloud::Talent::V4beta1::SummarizedProfile#profiles SummarizedProfile.profiles}.
1079
- #
1080
- # In the context of {::Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
1081
- # {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals} where
1082
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is CANDIDATE_UPDATE.
1083
- CANDIDATE_UPDATE = 3
1084
-
1085
- # Client submission signal.
1086
- #
1087
- # In the context of {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals}, this signal is related
1088
- # to the candidate's most recent submission.
1089
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is
1090
- # calculated from max({::Google::Cloud::Talent::V4beta1::Application#create_time Application.create_time}) from all {::Google::Cloud::Talent::V4beta1::Application Application}
1091
- # records where {::Google::Cloud::Talent::V4beta1::Application#stage Application.stage} is any of the following:
1092
- # {::Google::Cloud::Talent::V4beta1::Application::ApplicationStage::HIRING_MANAGER_REVIEW HIRING_MANAGER_REVIEW}
1093
- # {::Google::Cloud::Talent::V4beta1::Application::ApplicationStage::INTERVIEW INTERVIEW}
1094
- # {::Google::Cloud::Talent::V4beta1::Application::ApplicationStage::OFFER_EXTENDED OFFER_EXTENDED}
1095
- # {::Google::Cloud::Talent::V4beta1::Application::ApplicationStage::OFFER_ACCEPTED OFFER_ACCEPTED}
1096
- # {::Google::Cloud::Talent::V4beta1::Application::ApplicationStage::STARTED STARTED}
1097
- #
1098
- # In the context of {::Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}, the filter is applied on
1099
- # {::Google::Cloud::Talent::V4beta1::Profile#availability_signals Profile.availability_signals} where
1100
- # {::Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type} is CLIENT_SUBMISSION.
1101
- CLIENT_SUBMISSION = 4
1102
- end
1103
886
  end
1104
887
  end
1105
888
  end
@@ -42,10 +42,6 @@ module Google
42
42
  # @return [::Google::Cloud::Talent::V4beta1::JobEvent]
43
43
  # An event issued when a job seeker interacts with the application that
44
44
  # implements Cloud Talent Solution.
45
- # @!attribute [rw] profile_event
46
- # @return [::Google::Cloud::Talent::V4beta1::ProfileEvent]
47
- # An event issued when a profile searcher interacts with the application
48
- # that implements Cloud Talent Solution.
49
45
  # @!attribute [rw] event_notes
50
46
  # @return [::String]
51
47
  # Notes about the event provided by recruiters or other users, for example,
@@ -73,7 +69,7 @@ module Google
73
69
  # example, "projects/foo/tenants/bar/jobs/baz".
74
70
  # @!attribute [rw] profile
75
71
  # @return [::String]
76
- # The {::Google::Cloud::Talent::V4beta1::Profile#name profile name} associated with this client event.
72
+ # The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
77
73
  #
78
74
  # The format is
79
75
  # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
@@ -176,61 +172,6 @@ module Google
176
172
  INTERVIEW_GRANTED = 15
177
173
  end
178
174
  end
179
-
180
- # An event issued when a profile searcher interacts with the application
181
- # that implements Cloud Talent Solution.
182
- # @!attribute [rw] type
183
- # @return [::Google::Cloud::Talent::V4beta1::ProfileEvent::ProfileEventType]
184
- # Required. Type of event.
185
- # @!attribute [rw] profiles
186
- # @return [::Array<::String>]
187
- # Required. The [profile name(s)][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
188
- #
189
- # The format is
190
- # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
191
- # for example, "projects/foo/tenants/bar/profiles/baz".
192
- # @!attribute [rw] jobs
193
- # @return [::Array<::String>]
194
- # The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this client event. Leave it
195
- # empty if the event isn't associated with a job.
196
- #
197
- # The format is
198
- # "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
199
- # example, "projects/foo/tenants/bar/jobs/baz".
200
- class ProfileEvent
201
- include ::Google::Protobuf::MessageExts
202
- extend ::Google::Protobuf::MessageExts::ClassMethods
203
-
204
- # The enum represents types of client events for a candidate profile.
205
- module ProfileEventType
206
- # Default value.
207
- PROFILE_EVENT_TYPE_UNSPECIFIED = 0
208
-
209
- # Send this event when a {::Google::Cloud::Talent::V4beta1::ProfileEvent#profiles ProfileEvent.profiles} was sent as a part of
210
- # a result set for a CTS API call and was rendered in the end user's UI
211
- # (that is, the [ProfileEvent.recruiter][google.cloud.talent.v4beta1.ProfileEvent.recruiter]).
212
- IMPRESSION = 1
213
-
214
- # The VIEW event records the action of a candidate's profile being
215
- # viewed by an end user. This is critical to tracking product metrics and
216
- # should be sent for every profile VIEW that happens in your system,
217
- # whether the event is associated with an API call (for example, a
218
- # recruiter making a request for a result set and clicking on a profile)
219
- # or not (a recruiter using the system to view profile details without
220
- # making a request).
221
- #
222
- # For a VIEW events associated with API calls, the
223
- # {::Google::Cloud::Talent::V4beta1::ClientEvent#request_id ClientEvent.request_id} should be populated. If the VIEW is not
224
- # associated with an API call, {::Google::Cloud::Talent::V4beta1::ClientEvent#request_id request_id} should
225
- # not be populated.
226
- #
227
- # This event requires a valid recruiter and one valid ID in profiles.
228
- VIEW = 2
229
-
230
- # The profile is bookmarked.
231
- BOOKMARK = 3
232
- end
233
- end
234
175
  end
235
176
  end
236
177
  end