google-cloud-talent-v4beta1 0.4.4 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -1
  3. data/AUTHENTICATION.md +13 -31
  4. data/README.md +9 -4
  5. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -1
  6. data/lib/google/cloud/talent/v4beta1/common_pb.rb +3 -65
  7. data/lib/google/cloud/talent/v4beta1/company_pb.rb +2 -2
  8. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +81 -0
  9. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +2 -1
  10. data/lib/google/cloud/talent/v4beta1/completion/client.rb +15 -0
  11. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +3 -2
  12. data/lib/google/cloud/talent/v4beta1/event_pb.rb +2 -16
  13. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +15 -0
  14. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +2 -1
  15. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +3 -102
  16. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -1
  17. data/lib/google/cloud/talent/v4beta1/job_pb.rb +2 -3
  18. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +219 -23
  19. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +95 -0
  20. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +10 -2
  21. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +2 -3
  22. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +81 -0
  23. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +2 -1
  24. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  25. data/lib/google/cloud/talent/v4beta1.rb +3 -3
  26. data/proto_docs/google/api/resource.rb +10 -71
  27. data/proto_docs/google/cloud/talent/v4beta1/common.rb +10 -227
  28. data/proto_docs/google/cloud/talent/v4beta1/event.rb +1 -60
  29. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +40 -482
  30. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +1 -1
  31. data/proto_docs/google/cloud/talent/v4beta1/job.rb +1 -1
  32. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +64 -16
  33. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +1 -1
  34. data/proto_docs/google/protobuf/any.rb +3 -3
  35. data/proto_docs/google/type/timeofday.rb +1 -1
  36. metadata +3 -22
  37. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -64
  38. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +0 -732
  39. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +0 -52
  40. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +0 -155
  41. data/lib/google/cloud/talent/v4beta1/application_service.rb +0 -50
  42. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -56
  43. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -54
  44. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -214
  45. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +0 -1011
  46. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +0 -52
  47. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +0 -69
  48. data/lib/google/cloud/talent/v4beta1/profile_service.rb +0 -50
  49. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -92
  50. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -63
  51. data/proto_docs/google/cloud/talent/v4beta1/application.rb +0 -169
  52. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +0 -122
  53. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +0 -811
  54. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +0 -392
  55. data/proto_docs/google/type/date.rb +0 -53
@@ -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