google-cloud-talent 0.8.1 → 0.20.0

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