google-cloud-talent-v4beta1 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +71 -0
  6. data/lib/google-cloud-talent-v4beta1.rb +21 -0
  7. data/lib/google/cloud/common_resources_pb.rb +15 -0
  8. data/lib/google/cloud/talent/v4beta1.rb +41 -0
  9. data/lib/google/cloud/talent/v4beta1/application_pb.rb +64 -0
  10. data/lib/google/cloud/talent/v4beta1/application_service.rb +50 -0
  11. data/lib/google/cloud/talent/v4beta1/application_service/client.rb +717 -0
  12. data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +52 -0
  13. data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +155 -0
  14. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +56 -0
  15. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +54 -0
  16. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +19 -0
  17. data/lib/google/cloud/talent/v4beta1/common_pb.rb +342 -0
  18. data/lib/google/cloud/talent/v4beta1/company_pb.rb +42 -0
  19. data/lib/google/cloud/talent/v4beta1/company_service.rb +49 -0
  20. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +732 -0
  21. data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +52 -0
  22. data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +105 -0
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +57 -0
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +54 -0
  25. data/lib/google/cloud/talent/v4beta1/completion.rb +49 -0
  26. data/lib/google/cloud/talent/v4beta1/completion/client.rb +407 -0
  27. data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +52 -0
  28. data/lib/google/cloud/talent/v4beta1/completion/paths.rb +105 -0
  29. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +57 -0
  30. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +46 -0
  31. data/lib/google/cloud/talent/v4beta1/event_pb.rb +70 -0
  32. data/lib/google/cloud/talent/v4beta1/event_service.rb +49 -0
  33. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +379 -0
  34. data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +52 -0
  35. data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +64 -0
  36. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +28 -0
  37. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +51 -0
  38. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +188 -0
  39. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
  40. data/lib/google/cloud/talent/v4beta1/job_pb.rb +73 -0
  41. data/lib/google/cloud/talent/v4beta1/job_service.rb +50 -0
  42. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +1660 -0
  43. data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +52 -0
  44. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +564 -0
  45. data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +146 -0
  46. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +167 -0
  47. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +86 -0
  48. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +214 -0
  49. data/lib/google/cloud/talent/v4beta1/profile_service.rb +50 -0
  50. data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +992 -0
  51. data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +52 -0
  52. data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +69 -0
  53. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +92 -0
  54. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +63 -0
  55. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +35 -0
  56. data/lib/google/cloud/talent/v4beta1/tenant_service.rb +49 -0
  57. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +712 -0
  58. data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +52 -0
  59. data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +64 -0
  60. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +56 -0
  61. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +53 -0
  62. data/lib/google/cloud/talent/v4beta1/version.rb +28 -0
  63. data/proto_docs/README.md +4 -0
  64. data/proto_docs/google/api/field_behavior.rb +59 -0
  65. data/proto_docs/google/api/resource.rb +247 -0
  66. data/proto_docs/google/cloud/talent/v4beta1/application.rb +169 -0
  67. data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +122 -0
  68. data/proto_docs/google/cloud/talent/v4beta1/common.rb +1106 -0
  69. data/proto_docs/google/cloud/talent/v4beta1/company.rb +117 -0
  70. data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +138 -0
  71. data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +143 -0
  72. data/proto_docs/google/cloud/talent/v4beta1/event.rb +237 -0
  73. data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +43 -0
  74. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +818 -0
  75. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +69 -0
  76. data/proto_docs/google/cloud/talent/v4beta1/job.rb +356 -0
  77. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +746 -0
  78. data/proto_docs/google/cloud/talent/v4beta1/profile.rb +811 -0
  79. data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +392 -0
  80. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +77 -0
  81. data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +118 -0
  82. data/proto_docs/google/longrunning/operations.rb +150 -0
  83. data/proto_docs/google/protobuf/any.rb +138 -0
  84. data/proto_docs/google/protobuf/duration.rb +98 -0
  85. data/proto_docs/google/protobuf/empty.rb +36 -0
  86. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  87. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  88. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  89. data/proto_docs/google/rpc/status.rb +46 -0
  90. data/proto_docs/google/type/date.rb +50 -0
  91. data/proto_docs/google/type/latlng.rb +38 -0
  92. data/proto_docs/google/type/money.rb +43 -0
  93. data/proto_docs/google/type/postal_address.rb +135 -0
  94. data/proto_docs/google/type/timeofday.rb +44 -0
  95. metadata +251 -0
@@ -0,0 +1,811 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4beta1
24
+ # A resource that represents the profile for a job candidate (also referred to
25
+ # as a "single-source profile").
26
+ # @!attribute [rw] name
27
+ # @return [String]
28
+ # Required during profile update.
29
+ #
30
+ # Resource name assigned to a profile by the API.
31
+ #
32
+ # The format is
33
+ # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
34
+ # for example, "projects/foo/tenants/bar/profiles/baz".
35
+ # @!attribute [rw] external_id
36
+ # @return [String]
37
+ # Profile's id in client system, if available. This value is unique for each
38
+ # profile inside a tenant. An error is thrown if another profile with the
39
+ # same external_id is created.
40
+ #
41
+ # The maximum number of bytes allowed is 100.
42
+ # @!attribute [rw] source
43
+ # @return [String]
44
+ # The source description indicating where the profile is acquired.
45
+ #
46
+ # For example, if a candidate profile is acquired from a resume, the user can
47
+ # input "resume" here to indicate the source.
48
+ #
49
+ # The maximum number of bytes allowed is 100.
50
+ # @!attribute [rw] uri
51
+ # @return [String]
52
+ # The URI set by clients that links to this profile's client-side copy.
53
+ #
54
+ # The maximum number of bytes allowed is 4000.
55
+ # @!attribute [rw] group_id
56
+ # @return [String]
57
+ # The cluster id of the profile to associate with other profile(s) for the
58
+ # same candidate.
59
+ #
60
+ # This field should be generated by the customer. If a value is not provided,
61
+ # a random UUID is assigned to this field of the profile.
62
+ #
63
+ # This is used to link multiple profiles to the same candidate. For example,
64
+ # a client has a candidate with two profiles, where one was created recently
65
+ # and the other one was created 5 years ago. These two profiles may be very
66
+ # different. The clients can create the first profile and get a generated
67
+ # {Google::Cloud::Talent::V4beta1::Profile#group_id group_id}, and assign it when the second profile is created,
68
+ # indicating these two profiles are referring to the same candidate.
69
+ # @!attribute [rw] is_hirable
70
+ # @return [Google::Protobuf::BoolValue]
71
+ # Indicates the hirable status of the candidate.
72
+ # @!attribute [rw] create_time
73
+ # @return [Google::Protobuf::Timestamp]
74
+ # The timestamp when the profile was first created at this source.
75
+ # @!attribute [rw] update_time
76
+ # @return [Google::Protobuf::Timestamp]
77
+ # The timestamp when the profile was last updated at this source.
78
+ # @!attribute [rw] candidate_update_time
79
+ # @return [Google::Protobuf::Timestamp]
80
+ # The timestamp when the profile was last updated as a result of a direct or
81
+ # indirect action by a candidate.
82
+ #
83
+ # These actions include:
84
+ #
85
+ # * Direct actions such as the candidate submitting a new resume as part of a
86
+ # job application to the agency, using a self-service tool such as a website
87
+ # to update their profile, and so on.
88
+ # * Indirect actions by the candidate such as uploading a resume to a job
89
+ # board that is collected by the agency through a feed, providing a resume to
90
+ # a recruiter who then uploads it into the ATS, and so on.
91
+ # * Updates made to the candidate's profile by the recruiter as a result of
92
+ # interacting with the candidate (for example adding a skill or work
93
+ # preference, and so on). Changes to [recruiting_notes][google.cloud.talent.v4beta1.Profile.recruiting_notes] are specifically
94
+ # excluded from this action type.
95
+ #
96
+ # Note: {Google::Cloud::Talent::V4beta1::Profile#candidate_update_time candidate_update_time} must be greater than or equal to
97
+ # {Google::Cloud::Talent::V4beta1::Profile#resume_update_time resume_update_time} or an error is thrown.
98
+ # @!attribute [rw] resume_update_time
99
+ # @return [Google::Protobuf::Timestamp]
100
+ # The timestamp when the candidate's resume was added or updated on the
101
+ # candidate's profile. Whether that resume was directly uploaded by a
102
+ # candidate, pulled from a 3rd party job board feed, added by a recruiter,
103
+ # and so on.
104
+ #
105
+ # If this field is updated, it's expected that {Google::Cloud::Talent::V4beta1::Profile#resume resume} is provided in
106
+ # the create or update calls.
107
+ # @!attribute [rw] resume
108
+ # @return [Google::Cloud::Talent::V4beta1::Resume]
109
+ # The resume representing this profile.
110
+ # @!attribute [rw] person_names
111
+ # @return [Array<Google::Cloud::Talent::V4beta1::PersonName>]
112
+ # The names of the candidate this profile references.
113
+ #
114
+ # Currently only one person name is supported.
115
+ # @!attribute [rw] addresses
116
+ # @return [Array<Google::Cloud::Talent::V4beta1::Address>]
117
+ # The candidate's postal addresses. It's highly recommended to
118
+ # input this information as accurately as possible to help improve search
119
+ # quality. Here are some recommendations:
120
+ #
121
+ # * Provide {Google::Cloud::Talent::V4beta1::Address#usage Address.usage} if possible, especially if the address is
122
+ # PERSONAL. During a search only personal addresses are considered. If there
123
+ # is no such address, all addresses with unspecified usage are assumed to be
124
+ # personal.
125
+ # * Provide {Google::Cloud::Talent::V4beta1::Address#current Address.current} for the current address if possible. During
126
+ # a search, only current addresses are considered. If there is no such
127
+ # address, all addresses are assumed to be current.
128
+ #
129
+ # When displaying a candidate's addresses, it is sometimes desirable to limit
130
+ # the number of addresses shown. In these cases we recommend that you display
131
+ # the addresses in the following order of priority:
132
+ # 1. {Google::Cloud::Talent::V4beta1::Address#usage Address.usage} is PERSONAL and {Google::Cloud::Talent::V4beta1::Address#current Address.current} is true.
133
+ # 2. {Google::Cloud::Talent::V4beta1::Address#usage Address.usage} is PERSONAL and {Google::Cloud::Talent::V4beta1::Address#current Address.current} is false or not
134
+ # set.
135
+ # 3. {Google::Cloud::Talent::V4beta1::Address#usage Address.usage} is CONTACT_INFO_USAGE_UNSPECIFIED and
136
+ # {Google::Cloud::Talent::V4beta1::Address#current Address.current} is true.
137
+ # 4. {Google::Cloud::Talent::V4beta1::Address#usage Address.usage} is CONTACT_INFO_USAGE_UNSPECIFIED and
138
+ # {Google::Cloud::Talent::V4beta1::Address#current Address.current} is false or not set.
139
+ # @!attribute [rw] email_addresses
140
+ # @return [Array<Google::Cloud::Talent::V4beta1::Email>]
141
+ # The candidate's email addresses.
142
+ # @!attribute [rw] phone_numbers
143
+ # @return [Array<Google::Cloud::Talent::V4beta1::Phone>]
144
+ # The candidate's phone number(s).
145
+ # @!attribute [rw] personal_uris
146
+ # @return [Array<Google::Cloud::Talent::V4beta1::PersonalUri>]
147
+ # The candidate's personal URIs.
148
+ # @!attribute [rw] additional_contact_info
149
+ # @return [Array<Google::Cloud::Talent::V4beta1::AdditionalContactInfo>]
150
+ # Available contact information besides {Google::Cloud::Talent::V4beta1::Profile#addresses addresses}, {Google::Cloud::Talent::V4beta1::Profile#email_addresses email_addresses},
151
+ # {Google::Cloud::Talent::V4beta1::Profile#phone_numbers phone_numbers} and {Google::Cloud::Talent::V4beta1::Profile#personal_uris personal_uris}. For example, Hang-out, Skype.
152
+ # @!attribute [rw] employment_records
153
+ # @return [Array<Google::Cloud::Talent::V4beta1::EmploymentRecord>]
154
+ # The employment history records of the candidate. It's highly recommended
155
+ # to input this information as accurately as possible to help improve search
156
+ # quality. Here are some recommendations:
157
+ #
158
+ # * Specify the start and end dates of the employment records.
159
+ # * List different employment types separately, no matter how minor the
160
+ # change is.
161
+ # For example, only job title is changed from "software engineer" to "senior
162
+ # software engineer".
163
+ # * Provide {Google::Cloud::Talent::V4beta1::EmploymentRecord#is_current EmploymentRecord.is_current} for the current employment if
164
+ # possible. If not, it's inferred from user inputs.
165
+ #
166
+ # The limitation for max number of employment records is 100.
167
+ # @!attribute [rw] education_records
168
+ # @return [Array<Google::Cloud::Talent::V4beta1::EducationRecord>]
169
+ # The education history record of the candidate. It's highly recommended to
170
+ # input this information as accurately as possible to help improve search
171
+ # quality. Here are some recommendations:
172
+ #
173
+ # * Specify the start and end dates of the education records.
174
+ # * List each education type separately, no matter how minor the change is.
175
+ # For example, the profile contains the education experience from the same
176
+ # school but different degrees.
177
+ # * Provide {Google::Cloud::Talent::V4beta1::EducationRecord#is_current EducationRecord.is_current} for the current education if
178
+ # possible. If not, it's inferred from user inputs.
179
+ #
180
+ # The limitation for max number of education records is 100.
181
+ # @!attribute [rw] skills
182
+ # @return [Array<Google::Cloud::Talent::V4beta1::Skill>]
183
+ # The skill set of the candidate. It's highly recommended to provide as
184
+ # much information as possible to help improve the search quality.
185
+ #
186
+ # The limitation for max number of skills is 500.
187
+ # @!attribute [rw] activities
188
+ # @return [Array<Google::Cloud::Talent::V4beta1::Activity>]
189
+ # The individual or collaborative activities which the candidate has
190
+ # participated in, for example, open-source projects, class assignments that
191
+ # aren't listed in {Google::Cloud::Talent::V4beta1::Profile#employment_records employment_records}.
192
+ #
193
+ # The limitation for max number of activities is 50.
194
+ # @!attribute [rw] publications
195
+ # @return [Array<Google::Cloud::Talent::V4beta1::Publication>]
196
+ # The publications published by the candidate.
197
+ #
198
+ # The limitation for max number of publications is 50.
199
+ # @!attribute [rw] patents
200
+ # @return [Array<Google::Cloud::Talent::V4beta1::Patent>]
201
+ # The patents acquired by the candidate.
202
+ # @!attribute [rw] certifications
203
+ # @return [Array<Google::Cloud::Talent::V4beta1::Certification>]
204
+ # The certifications acquired by the candidate.
205
+ # @!attribute [r] applications
206
+ # @return [Array<String>]
207
+ # Output only. The resource names of the candidate's applications.
208
+ # @!attribute [r] assignments
209
+ # @return [Array<String>]
210
+ # Output only. The resource names of the candidate's assignments.
211
+ # @!attribute [rw] custom_attributes
212
+ # @return [Google::Protobuf::Map{String => Google::Cloud::Talent::V4beta1::CustomAttribute}]
213
+ # A map of fields to hold both filterable and non-filterable custom profile
214
+ # attributes that aren't covered by the provided structured fields. See
215
+ # {Google::Cloud::Talent::V4beta1::CustomAttribute CustomAttribute} for more details.
216
+ #
217
+ # At most 100 filterable and at most 100 unfilterable keys are supported. If
218
+ # limit is exceeded, an error is thrown. Custom attributes are `unfilterable`
219
+ # by default. These are filterable when the `filterable` flag is set to
220
+ # `true`.
221
+ #
222
+ # Numeric custom attributes: each key can only map to one numeric value,
223
+ # otherwise an error is thrown. Client can also filter on numeric custom
224
+ # attributes using '>', '<' or '=' operators.
225
+ #
226
+ # String custom attributes: each key can map up to 50 string values. For
227
+ # filterable string value, each value has a byte size of no more than 256B.
228
+ # For unfilterable string values, the maximum byte size of a single key is
229
+ # 64B. An error is thrown for any request exceeding the limit.
230
+ # The maximum total byte size is 10KB.
231
+ # @!attribute [r] processed
232
+ # @return [Boolean]
233
+ # Output only. Indicates if a summarized profile was created as part of the
234
+ # profile creation API call. This flag does not indicate whether a profile is
235
+ # searchable or not.
236
+ # @!attribute [r] keyword_snippet
237
+ # @return [String]
238
+ # Output only. Keyword snippet shows how the search result is related to a
239
+ # search query. This is only returned in {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
240
+ # @!attribute [r] availability_signals
241
+ # @return [Array<Google::Cloud::Talent::V4beta1::AvailabilitySignal>]
242
+ # Output only. Candidate's availability signals.
243
+ # @!attribute [r] derived_addresses
244
+ # @return [Array<Google::Cloud::Talent::V4beta1::Location>]
245
+ # Output only. Derived locations of the profile, resolved from {Google::Cloud::Talent::V4beta1::Profile#addresses Profile.addresses}.
246
+ #
247
+ # {Google::Cloud::Talent::V4beta1::Profile#derived_addresses derived_addresses} are exactly matched to {Google::Cloud::Talent::V4beta1::Profile#addresses Profile.addresses} in the
248
+ # same order.
249
+ class Profile
250
+ include Google::Protobuf::MessageExts
251
+ extend Google::Protobuf::MessageExts::ClassMethods
252
+
253
+ # @!attribute [rw] key
254
+ # @return [String]
255
+ # @!attribute [rw] value
256
+ # @return [Google::Cloud::Talent::V4beta1::CustomAttribute]
257
+ class CustomAttributesEntry
258
+ include Google::Protobuf::MessageExts
259
+ extend Google::Protobuf::MessageExts::ClassMethods
260
+ end
261
+ end
262
+
263
+ # Candidate availability signal.
264
+ # @!attribute [rw] type
265
+ # @return [Google::Cloud::Talent::V4beta1::AvailabilitySignalType]
266
+ # Type of signal.
267
+ # @!attribute [rw] last_update_time
268
+ # @return [Google::Protobuf::Timestamp]
269
+ # Timestamp of when the given availability activity last happened.
270
+ # @!attribute [rw] filter_satisfied
271
+ # @return [Google::Protobuf::BoolValue]
272
+ # Indicates if the {Google::Cloud::Talent::V4beta1::AvailabilitySignal#last_update_time last_update_time} is within
273
+ # {Google::Cloud::Talent::V4beta1::AvailabilityFilter#range AvailabilityFilter.range}.
274
+ #
275
+ # Returned only in a search response when there is an {Google::Cloud::Talent::V4beta1::AvailabilityFilter AvailabilityFilter}
276
+ # in {Google::Cloud::Talent::V4beta1::ProfileQuery#availability_filters ProfileQuery.availability_filters} where
277
+ # {Google::Cloud::Talent::V4beta1::AvailabilityFilter#signal_type signal_type} matches {Google::Cloud::Talent::V4beta1::AvailabilitySignal#type type}.
278
+ class AvailabilitySignal
279
+ include Google::Protobuf::MessageExts
280
+ extend Google::Protobuf::MessageExts::ClassMethods
281
+ end
282
+
283
+ # Resource that represents a resume.
284
+ # @!attribute [rw] structured_resume
285
+ # @return [String]
286
+ # Users can create a profile with only this field field, if {Google::Cloud::Talent::V4beta1::Resume#resume_type resume_type}
287
+ # is {Google::Cloud::Talent::V4beta1::Resume::ResumeType::HRXML HRXML}. For example, the API parses this field and
288
+ # creates a profile
289
+ # with all structured fields populated. {Google::Cloud::Talent::V4beta1::EmploymentRecord EmploymentRecord},
290
+ # {Google::Cloud::Talent::V4beta1::EducationRecord EducationRecord}, and so on. An error is thrown if this field cannot be
291
+ # parsed.
292
+ #
293
+ # Note that the use of the functionality offered by this field to extract
294
+ # data from resumes is an Alpha feature and as such is not covered by any
295
+ # SLA.
296
+ # @!attribute [rw] resume_type
297
+ # @return [Google::Cloud::Talent::V4beta1::Resume::ResumeType]
298
+ # The format of {Google::Cloud::Talent::V4beta1::Resume#structured_resume structured_resume}.
299
+ class Resume
300
+ include Google::Protobuf::MessageExts
301
+ extend Google::Protobuf::MessageExts::ClassMethods
302
+
303
+ # The format of a structured resume.
304
+ module ResumeType
305
+ # Default value.
306
+ RESUME_TYPE_UNSPECIFIED = 0
307
+
308
+ # The profile contents in HR-XML format.
309
+ # See https://schemas.liquid-technologies.com/hr-xml/2007-04-15/ for more
310
+ # information about Human Resources XML.
311
+ HRXML = 1
312
+
313
+ # Resume type not specified.
314
+ OTHER_RESUME_TYPE = 2
315
+ end
316
+ end
317
+
318
+ # Resource that represents the name of a person.
319
+ # @!attribute [rw] formatted_name
320
+ # @return [String]
321
+ # A string represents a person's full name. For example, "Dr. John Smith".
322
+ #
323
+ # Number of characters allowed is 100.
324
+ # @!attribute [rw] structured_name
325
+ # @return [Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName]
326
+ # A person's name in a structured way (last name, first name, suffix, and
327
+ # so on.)
328
+ # @!attribute [rw] preferred_name
329
+ # @return [String]
330
+ # Preferred name for the person. This field is ignored if {Google::Cloud::Talent::V4beta1::PersonName#structured_name structured_name}
331
+ # is provided.
332
+ #
333
+ # Number of characters allowed is 100.
334
+ class PersonName
335
+ include Google::Protobuf::MessageExts
336
+ extend Google::Protobuf::MessageExts::ClassMethods
337
+
338
+ # Resource that represents a person's structured name.
339
+ # @!attribute [rw] given_name
340
+ # @return [String]
341
+ # Given/first name.
342
+ #
343
+ # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided.
344
+ #
345
+ # Number of characters allowed is 100.
346
+ # @!attribute [rw] preferred_name
347
+ # @return [String]
348
+ # Preferred given/first name or nickname.
349
+ #
350
+ # Number of characters allowed is 100.
351
+ # @!attribute [rw] middle_initial
352
+ # @return [String]
353
+ # Middle initial.
354
+ #
355
+ # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided.
356
+ #
357
+ # Number of characters allowed is 20.
358
+ # @!attribute [rw] family_name
359
+ # @return [String]
360
+ # Family/last name.
361
+ #
362
+ # It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided.
363
+ #
364
+ # Number of characters allowed is 100.
365
+ # @!attribute [rw] suffixes
366
+ # @return [Array<String>]
367
+ # Suffixes.
368
+ #
369
+ # Number of characters allowed is 20.
370
+ # @!attribute [rw] prefixes
371
+ # @return [Array<String>]
372
+ # Prefixes.
373
+ #
374
+ # Number of characters allowed is 20.
375
+ class PersonStructuredName
376
+ include Google::Protobuf::MessageExts
377
+ extend Google::Protobuf::MessageExts::ClassMethods
378
+ end
379
+ end
380
+
381
+ # Resource that represents a address.
382
+ # @!attribute [rw] usage
383
+ # @return [Google::Cloud::Talent::V4beta1::ContactInfoUsage]
384
+ # The usage of the address. For example, SCHOOL, WORK, PERSONAL.
385
+ # @!attribute [rw] unstructured_address
386
+ # @return [String]
387
+ # Unstructured address.
388
+ #
389
+ # For example, "1600 Amphitheatre Pkwy, Mountain View, CA 94043",
390
+ # "Sunnyvale, California".
391
+ #
392
+ # Number of characters allowed is 100.
393
+ # @!attribute [rw] structured_address
394
+ # @return [Google::Type::PostalAddress]
395
+ # Structured address that contains street address, city, state, country,
396
+ # and so on.
397
+ # @!attribute [rw] current
398
+ # @return [Google::Protobuf::BoolValue]
399
+ # Indicates if it's the person's current address.
400
+ class Address
401
+ include Google::Protobuf::MessageExts
402
+ extend Google::Protobuf::MessageExts::ClassMethods
403
+ end
404
+
405
+ # Resource that represents a person's email address.
406
+ # @!attribute [rw] usage
407
+ # @return [Google::Cloud::Talent::V4beta1::ContactInfoUsage]
408
+ # The usage of the email address. For example, SCHOOL, WORK, PERSONAL.
409
+ # @!attribute [rw] email_address
410
+ # @return [String]
411
+ # Email address.
412
+ #
413
+ # Number of characters allowed is 4,000.
414
+ class Email
415
+ include Google::Protobuf::MessageExts
416
+ extend Google::Protobuf::MessageExts::ClassMethods
417
+ end
418
+
419
+ # Resource that represents a person's telephone number.
420
+ # @!attribute [rw] usage
421
+ # @return [Google::Cloud::Talent::V4beta1::ContactInfoUsage]
422
+ # The usage of the phone. For example, SCHOOL, WORK, PERSONAL.
423
+ # @!attribute [rw] type
424
+ # @return [Google::Cloud::Talent::V4beta1::Phone::PhoneType]
425
+ # The phone type. For example, LANDLINE, MOBILE, FAX.
426
+ # @!attribute [rw] number
427
+ # @return [String]
428
+ # Phone number.
429
+ #
430
+ # Any phone formats are supported and only exact matches are performed on
431
+ # searches. For example, if a phone number in profile is provided in the
432
+ # format of "(xxx)xxx-xxxx", in profile searches the same phone format
433
+ # has to be provided.
434
+ #
435
+ # Number of characters allowed is 20.
436
+ # @!attribute [rw] when_available
437
+ # @return [String]
438
+ # When this number is available. Any descriptive string is expected.
439
+ #
440
+ # Number of characters allowed is 100.
441
+ class Phone
442
+ include Google::Protobuf::MessageExts
443
+ extend Google::Protobuf::MessageExts::ClassMethods
444
+
445
+ # Enum that represents the type of the telephone.
446
+ module PhoneType
447
+ # Default value.
448
+ PHONE_TYPE_UNSPECIFIED = 0
449
+
450
+ # A landline.
451
+ LANDLINE = 1
452
+
453
+ # A mobile.
454
+ MOBILE = 2
455
+
456
+ # A fax.
457
+ FAX = 3
458
+
459
+ # A pager.
460
+ PAGER = 4
461
+
462
+ # A TTY (test telephone) or TDD (telecommunication device for the deaf).
463
+ TTY_OR_TDD = 5
464
+
465
+ # A voicemail.
466
+ VOICEMAIL = 6
467
+
468
+ # A virtual telephone number is a number that can be routed to another
469
+ # number and managed by the user via Web, SMS, IVR, and so on. It is
470
+ # associated with a particular person, and may be routed to either a MOBILE
471
+ # or LANDLINE number. The {Google::Cloud::Talent::V4beta1::ContactInfoUsage phone usage} should
472
+ # be set to PERSONAL for these phone types. Some more information can be
473
+ # found here: https://en.wikipedia.org/wiki/Personal_Numbers
474
+ VIRTUAL = 7
475
+
476
+ # Voice over IP numbers. This includes TSoIP (Telephony Service over IP).
477
+ VOIP = 8
478
+
479
+ # In some regions (e.g. the USA), it is impossible to distinguish between
480
+ # fixed-line and mobile numbers by looking at the phone number itself.
481
+ MOBILE_OR_LANDLINE = 9
482
+ end
483
+ end
484
+
485
+ # Resource that represents a valid URI for a personal use.
486
+ # @!attribute [rw] uri
487
+ # @return [String]
488
+ # The personal URI.
489
+ #
490
+ # Number of characters allowed is 4,000.
491
+ class PersonalUri
492
+ include Google::Protobuf::MessageExts
493
+ extend Google::Protobuf::MessageExts::ClassMethods
494
+ end
495
+
496
+ # Resource that represents contact information other than phone, email,
497
+ # URI and addresses.
498
+ # @!attribute [rw] usage
499
+ # @return [Google::Cloud::Talent::V4beta1::ContactInfoUsage]
500
+ # The usage of this contact method. For example, SCHOOL, WORK, PERSONAL.
501
+ # @!attribute [rw] name
502
+ # @return [String]
503
+ # The name of the contact method.
504
+ #
505
+ # For example, "hangout", "skype".
506
+ #
507
+ # Number of characters allowed is 100.
508
+ # @!attribute [rw] contact_id
509
+ # @return [String]
510
+ # The contact id.
511
+ #
512
+ # Number of characters allowed is 100.
513
+ class AdditionalContactInfo
514
+ include Google::Protobuf::MessageExts
515
+ extend Google::Protobuf::MessageExts::ClassMethods
516
+ end
517
+
518
+ # Resource that represents an employment record of a candidate.
519
+ # @!attribute [rw] start_date
520
+ # @return [Google::Type::Date]
521
+ # Start date of the employment.
522
+ # @!attribute [rw] end_date
523
+ # @return [Google::Type::Date]
524
+ # End date of the employment.
525
+ # @!attribute [rw] employer_name
526
+ # @return [String]
527
+ # The name of the employer company/organization.
528
+ #
529
+ # For example, "Google", "Alphabet", and so on.
530
+ #
531
+ # Number of characters allowed is 250.
532
+ # @!attribute [rw] division_name
533
+ # @return [String]
534
+ # The division name of the employment.
535
+ #
536
+ # For example, division, department, client, and so on.
537
+ #
538
+ # Number of characters allowed is 100.
539
+ # @!attribute [rw] address
540
+ # @return [Google::Cloud::Talent::V4beta1::Address]
541
+ # The physical address of the employer.
542
+ # @!attribute [rw] job_title
543
+ # @return [String]
544
+ # The job title of the employment.
545
+ #
546
+ # For example, "Software Engineer", "Data Scientist", and so on.
547
+ #
548
+ # Number of characters allowed is 250.
549
+ # @!attribute [rw] job_description
550
+ # @return [String]
551
+ # The description of job content.
552
+ #
553
+ # Number of characters allowed is 100,000.
554
+ # @!attribute [rw] is_supervisor
555
+ # @return [Google::Protobuf::BoolValue]
556
+ # If the jobs is a supervisor position.
557
+ # @!attribute [rw] is_self_employed
558
+ # @return [Google::Protobuf::BoolValue]
559
+ # If this employment is self-employed.
560
+ # @!attribute [rw] is_current
561
+ # @return [Google::Protobuf::BoolValue]
562
+ # If this employment is current.
563
+ # @!attribute [r] job_title_snippet
564
+ # @return [String]
565
+ # Output only. The job title snippet shows how the {Google::Cloud::Talent::V4beta1::EmploymentRecord#job_title job_title} is related
566
+ # to a search query. It's empty if the {Google::Cloud::Talent::V4beta1::EmploymentRecord#job_title job_title} isn't related to the
567
+ # search query.
568
+ # @!attribute [r] job_description_snippet
569
+ # @return [String]
570
+ # Output only. The job description snippet shows how the {Google::Cloud::Talent::V4beta1::EmploymentRecord#job_description job_description}
571
+ # is related to a search query. It's empty if the {Google::Cloud::Talent::V4beta1::EmploymentRecord#job_description job_description} isn't
572
+ # related to the search query.
573
+ # @!attribute [r] employer_name_snippet
574
+ # @return [String]
575
+ # Output only. The employer name snippet shows how the {Google::Cloud::Talent::V4beta1::EmploymentRecord#employer_name employer_name} is
576
+ # related to a search query. It's empty if the {Google::Cloud::Talent::V4beta1::EmploymentRecord#employer_name employer_name} isn't
577
+ # related to the search query.
578
+ class EmploymentRecord
579
+ include Google::Protobuf::MessageExts
580
+ extend Google::Protobuf::MessageExts::ClassMethods
581
+ end
582
+
583
+ # Resource that represents an education record of a candidate.
584
+ # @!attribute [rw] start_date
585
+ # @return [Google::Type::Date]
586
+ # The start date of the education.
587
+ # @!attribute [rw] end_date
588
+ # @return [Google::Type::Date]
589
+ # The end date of the education.
590
+ # @!attribute [rw] expected_graduation_date
591
+ # @return [Google::Type::Date]
592
+ # The expected graduation date if currently pursuing a degree.
593
+ # @!attribute [rw] school_name
594
+ # @return [String]
595
+ # The name of the school or institution.
596
+ #
597
+ # For example, "Stanford University", "UC Berkeley", and so on.
598
+ #
599
+ # Number of characters allowed is 250.
600
+ # @!attribute [rw] address
601
+ # @return [Google::Cloud::Talent::V4beta1::Address]
602
+ # The physical address of the education institution.
603
+ # @!attribute [rw] degree_description
604
+ # @return [String]
605
+ # The full description of the degree.
606
+ #
607
+ # For example, "Master of Science in Computer Science", "B.S in Math".
608
+ #
609
+ # Number of characters allowed is 100.
610
+ # @!attribute [rw] structured_degree
611
+ # @return [Google::Cloud::Talent::V4beta1::Degree]
612
+ # The structured notation of the degree.
613
+ # @!attribute [rw] description
614
+ # @return [String]
615
+ # The description of the education.
616
+ #
617
+ # Number of characters allowed is 100,000.
618
+ # @!attribute [rw] is_current
619
+ # @return [Google::Protobuf::BoolValue]
620
+ # If this education is current.
621
+ # @!attribute [r] school_name_snippet
622
+ # @return [String]
623
+ # Output only. The school name snippet shows how the {Google::Cloud::Talent::V4beta1::EducationRecord#school_name school_name} is related to a
624
+ # search query in search result. It's empty if the {Google::Cloud::Talent::V4beta1::EducationRecord#school_name school_name} isn't
625
+ # related to the search query.
626
+ # @!attribute [r] degree_snippet
627
+ # @return [String]
628
+ # Output only. The job description snippet shows how the {Google::Cloud::Talent::V4beta1::Degree Degree} is related to a search
629
+ # query in search result. It's empty if the {Google::Cloud::Talent::V4beta1::Degree Degree} isn't related to the
630
+ # search query.
631
+ class EducationRecord
632
+ include Google::Protobuf::MessageExts
633
+ extend Google::Protobuf::MessageExts::ClassMethods
634
+ end
635
+
636
+ # Resource that represents a degree pursuing or acquired by a candidate.
637
+ # @!attribute [rw] degree_type
638
+ # @return [Google::Cloud::Talent::V4beta1::DegreeType]
639
+ # ISCED degree type.
640
+ # @!attribute [rw] degree_name
641
+ # @return [String]
642
+ # Full Degree name.
643
+ #
644
+ # For example, "B.S.", "Master of Arts", and so on.
645
+ #
646
+ # Number of characters allowed is 100.
647
+ # @!attribute [rw] fields_of_study
648
+ # @return [Array<String>]
649
+ # Fields of study for the degree.
650
+ #
651
+ # For example, "Computer science", "engineering".
652
+ #
653
+ # Number of characters allowed is 100.
654
+ class Degree
655
+ include Google::Protobuf::MessageExts
656
+ extend Google::Protobuf::MessageExts::ClassMethods
657
+ end
658
+
659
+ # Resource that represents an individual or collaborative activity participated
660
+ # in by a candidate, for example, an open-source project, a class assignment,
661
+ # and so on.
662
+ # @!attribute [rw] display_name
663
+ # @return [String]
664
+ # Activity display name.
665
+ #
666
+ # Number of characters allowed is 100.
667
+ # @!attribute [rw] description
668
+ # @return [String]
669
+ # Activity description.
670
+ #
671
+ # Number of characters allowed is 100,000.
672
+ # @!attribute [rw] uri
673
+ # @return [String]
674
+ # Activity URI.
675
+ #
676
+ # Number of characters allowed is 4,000.
677
+ # @!attribute [rw] create_date
678
+ # @return [Google::Type::Date]
679
+ # The first creation date of the activity.
680
+ # @!attribute [rw] update_date
681
+ # @return [Google::Type::Date]
682
+ # The last update date of the activity.
683
+ # @!attribute [rw] team_members
684
+ # @return [Array<String>]
685
+ # A list of team members involved in this activity.
686
+ #
687
+ # Number of characters allowed is 100.
688
+ #
689
+ # The limitation for max number of team members is 50.
690
+ # @!attribute [rw] skills_used
691
+ # @return [Array<Google::Cloud::Talent::V4beta1::Skill>]
692
+ # A list of skills used in this activity.
693
+ #
694
+ # The limitation for max number of skills used is 50.
695
+ # @!attribute [r] activity_name_snippet
696
+ # @return [String]
697
+ # Output only. Activity name snippet shows how the {Google::Cloud::Talent::V4beta1::Activity#display_name display_name} is related to a search
698
+ # query. It's empty if the {Google::Cloud::Talent::V4beta1::Activity#display_name display_name} isn't related to the search
699
+ # query.
700
+ # @!attribute [r] activity_description_snippet
701
+ # @return [String]
702
+ # Output only. Activity description snippet shows how the
703
+ # {Google::Cloud::Talent::V4beta1::Activity#description description} is related to a search query. It's empty if the
704
+ # {Google::Cloud::Talent::V4beta1::Activity#description description} isn't related to the search query.
705
+ # @!attribute [r] skills_used_snippet
706
+ # @return [Array<String>]
707
+ # Output only. Skill used snippet shows how the corresponding
708
+ # {Google::Cloud::Talent::V4beta1::Activity#skills_used skills_used} are related to a search query. It's empty if the
709
+ # corresponding {Google::Cloud::Talent::V4beta1::Activity#skills_used skills_used} are not related to the search query.
710
+ class Activity
711
+ include Google::Protobuf::MessageExts
712
+ extend Google::Protobuf::MessageExts::ClassMethods
713
+ end
714
+
715
+ # Resource that represents a publication resource of a candidate.
716
+ # @!attribute [rw] authors
717
+ # @return [Array<String>]
718
+ # A list of author names.
719
+ #
720
+ # Number of characters allowed is 100.
721
+ # @!attribute [rw] title
722
+ # @return [String]
723
+ # The title of the publication.
724
+ #
725
+ # Number of characters allowed is 100.
726
+ # @!attribute [rw] description
727
+ # @return [String]
728
+ # The description of the publication.
729
+ #
730
+ # Number of characters allowed is 100,000.
731
+ # @!attribute [rw] journal
732
+ # @return [String]
733
+ # The journal name of the publication.
734
+ #
735
+ # Number of characters allowed is 100.
736
+ # @!attribute [rw] volume
737
+ # @return [String]
738
+ # Volume number.
739
+ #
740
+ # Number of characters allowed is 100.
741
+ # @!attribute [rw] publisher
742
+ # @return [String]
743
+ # The publisher of the journal.
744
+ #
745
+ # Number of characters allowed is 100.
746
+ # @!attribute [rw] publication_date
747
+ # @return [Google::Type::Date]
748
+ # The publication date.
749
+ # @!attribute [rw] publication_type
750
+ # @return [String]
751
+ # The publication type.
752
+ #
753
+ # Number of characters allowed is 100.
754
+ # @!attribute [rw] isbn
755
+ # @return [String]
756
+ # ISBN number.
757
+ #
758
+ # Number of characters allowed is 100.
759
+ class Publication
760
+ include Google::Protobuf::MessageExts
761
+ extend Google::Protobuf::MessageExts::ClassMethods
762
+ end
763
+
764
+ # Resource that represents the patent acquired by a candidate.
765
+ # @!attribute [rw] display_name
766
+ # @return [String]
767
+ # Name of the patent.
768
+ #
769
+ # Number of characters allowed is 100.
770
+ # @!attribute [rw] inventors
771
+ # @return [Array<String>]
772
+ # A list of inventors' names.
773
+ #
774
+ # Number of characters allowed for each is 100.
775
+ # @!attribute [rw] patent_status
776
+ # @return [String]
777
+ # The status of the patent.
778
+ #
779
+ # Number of characters allowed is 100.
780
+ # @!attribute [rw] patent_status_date
781
+ # @return [Google::Type::Date]
782
+ # The date the last time the status of the patent was checked.
783
+ # @!attribute [rw] patent_filing_date
784
+ # @return [Google::Type::Date]
785
+ # The date that the patent was filed.
786
+ # @!attribute [rw] patent_office
787
+ # @return [String]
788
+ # The name of the patent office.
789
+ #
790
+ # Number of characters allowed is 100.
791
+ # @!attribute [rw] patent_number
792
+ # @return [String]
793
+ # The number of the patent.
794
+ #
795
+ # Number of characters allowed is 100.
796
+ # @!attribute [rw] patent_description
797
+ # @return [String]
798
+ # The description of the patent.
799
+ #
800
+ # Number of characters allowed is 100,000.
801
+ # @!attribute [rw] skills_used
802
+ # @return [Array<Google::Cloud::Talent::V4beta1::Skill>]
803
+ # The skills used in this patent.
804
+ class Patent
805
+ include Google::Protobuf::MessageExts
806
+ extend Google::Protobuf::MessageExts::ClassMethods
807
+ end
808
+ end
809
+ end
810
+ end
811
+ end