google-cloud-talent 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +2 -4
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +5 -9
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +52 -34
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -6
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +10 -0
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -0
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +13 -1
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -6
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab055d98285266f9a605f8cfe567136e4e6354cf1e3781fb3685180862a3fb03
|
4
|
+
data.tar.gz: 0ccb28a334db182c4e1434ddab07fe3c1990fa94b6653cd8513efb5f1f873dae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddbdbce8f9b0ced8725aebdb46d9e226ebcc0b003b5b3827efbf91c01d3c14d4aad45cf466022db83205ded430b5c053c05753c6582cd0f9a2104b6501e5c617
|
7
|
+
data.tar.gz: 07ae5da852cd3581afc6147fd55b0be547310cf30d2800bbaf709d8a57b6837e56f6e7e24e899221a8b3ab63acea4b9639f4980f5a754f5c43a5b8bf7c6b4e25
|
@@ -33,14 +33,12 @@ module Google
|
|
33
33
|
# Required.
|
34
34
|
#
|
35
35
|
# Client side application identifier, used to uniquely identify the
|
36
|
-
#
|
36
|
+
# application.
|
37
37
|
#
|
38
38
|
# The maximum number of allowed characters is 255.
|
39
39
|
# @!attribute [rw] profile
|
40
40
|
# @return [String]
|
41
|
-
#
|
42
|
-
#
|
43
|
-
# Resource name of the candidate of this application.
|
41
|
+
# Output only. Resource name of the candidate of this application.
|
44
42
|
#
|
45
43
|
# The format is
|
46
44
|
# "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
|
@@ -26,9 +26,8 @@ module Google
|
|
26
26
|
# End of the period (exclusive).
|
27
27
|
class TimestampRange; end
|
28
28
|
|
29
|
-
# Output only.
|
30
|
-
#
|
31
|
-
# A resource that represents a location with full geographic information.
|
29
|
+
# Output only. A resource that represents a location with full geographic
|
30
|
+
# information.
|
32
31
|
# @!attribute [rw] location_type
|
33
32
|
# @return [Google::Cloud::Talent::V4beta1::Location::LocationType]
|
34
33
|
# The type of a location, which corresponds to the address lines field of
|
@@ -159,9 +158,8 @@ module Google
|
|
159
158
|
# service.
|
160
159
|
class RequestMetadata; end
|
161
160
|
|
162
|
-
# Output only.
|
163
|
-
#
|
164
|
-
# Additional information returned to client, such as debugging information.
|
161
|
+
# Output only. Additional information returned to client, such as debugging
|
162
|
+
# information.
|
165
163
|
# @!attribute [rw] request_id
|
166
164
|
# @return [String]
|
167
165
|
# A unique id associated with this call.
|
@@ -244,9 +242,7 @@ module Google
|
|
244
242
|
# Default is false.
|
245
243
|
class CustomAttribute; end
|
246
244
|
|
247
|
-
# Output only.
|
248
|
-
#
|
249
|
-
# Spell check result.
|
245
|
+
# Output only. Spell check result.
|
250
246
|
# @!attribute [rw] corrected
|
251
247
|
# @return [true, false]
|
252
248
|
# Indicates if the query was corrected by the spell checker.
|
@@ -183,7 +183,7 @@ module Google
|
|
183
183
|
#
|
184
184
|
# This filter specifies a list of job names to be excluded during search.
|
185
185
|
#
|
186
|
-
# At most
|
186
|
+
# At most 400 excluded job names are allowed.
|
187
187
|
class JobQuery; end
|
188
188
|
|
189
189
|
# Filters to apply when performing the search query.
|
@@ -60,10 +60,8 @@ module Google
|
|
60
60
|
# The cluster id of the profile to associate with other profile(s) for the
|
61
61
|
# same candidate.
|
62
62
|
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
# {Google::Cloud::Talent::V4beta1::Profile#group_id group_id} is set, there must be at least one other profile with the
|
66
|
-
# same system generated {Google::Cloud::Talent::V4beta1::Profile#group_id group_id}, otherwise an error is thrown.
|
63
|
+
# This field should be generated by the customer. If a value is not provided,
|
64
|
+
# a random UUI is assigned to this field of the profile.
|
67
65
|
#
|
68
66
|
# This is used to link multiple profiles to the same candidate. For example,
|
69
67
|
# a client has a candidate with two profiles, where one was created recently
|
@@ -86,23 +84,11 @@ module Google
|
|
86
84
|
# Optional.
|
87
85
|
#
|
88
86
|
# The timestamp when the profile was last updated at this source.
|
89
|
-
# @!attribute [rw]
|
90
|
-
# @return [
|
87
|
+
# @!attribute [rw] resume
|
88
|
+
# @return [Google::Cloud::Talent::V4beta1::Resume]
|
91
89
|
# Optional.
|
92
90
|
#
|
93
|
-
# The
|
94
|
-
# See http://schemas.liquid-technologies.com/hr-xml/2007-04-15/ for more
|
95
|
-
# information about Human Resources XML.
|
96
|
-
#
|
97
|
-
# Users can create a profile with only {Google::Cloud::Talent::V4beta1::Profile#resume_hrxml resume_hrxml} field. For example,
|
98
|
-
# the API parses the {Google::Cloud::Talent::V4beta1::Profile#resume_hrxml resume_hrxml} and creates a profile with all
|
99
|
-
# structured fields populated, for example. {Google::Cloud::Talent::V4beta1::EmploymentRecord EmploymentRecord},
|
100
|
-
# {Google::Cloud::Talent::V4beta1::EducationRecord EducationRecord}, and so on. An error is thrown if the {Google::Cloud::Talent::V4beta1::Profile#resume_hrxml resume_hrxml}
|
101
|
-
# can't be parsed.
|
102
|
-
#
|
103
|
-
# If the {Google::Cloud::Talent::V4beta1::Profile#resume_hrxml resume_hrxml} is provided during profile creation or update,
|
104
|
-
# any other structured data provided in the profile is ignored. The
|
105
|
-
# API populates these fields by parsing the HR-XML.
|
91
|
+
# The resume representing this profile.
|
106
92
|
# @!attribute [rw] person_names
|
107
93
|
# @return [Array<Google::Cloud::Talent::V4beta1::PersonName>]
|
108
94
|
# Optional.
|
@@ -227,9 +213,44 @@ module Google
|
|
227
213
|
# @!attribute [rw] keyword_snippet
|
228
214
|
# @return [String]
|
229
215
|
# Output only. Keyword snippet shows how the search result is related to a
|
230
|
-
# search query.
|
216
|
+
# search query. This is only returned in {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}.
|
231
217
|
class Profile; end
|
232
218
|
|
219
|
+
# Resource that represents a resume.
|
220
|
+
# @!attribute [rw] structured_resume
|
221
|
+
# @return [String]
|
222
|
+
# Optional.
|
223
|
+
#
|
224
|
+
# Users can create a profile with only this field field, if {Google::Cloud::Talent::V4beta1::Resume#resume_type resume_type}
|
225
|
+
# is {HRXML}. For example, the API parses this field and creates a profile
|
226
|
+
# with all structured fields populated, for example. {Google::Cloud::Talent::V4beta1::EmploymentRecord EmploymentRecord},
|
227
|
+
# {Google::Cloud::Talent::V4beta1::EducationRecord EducationRecord}, and so on. An error is thrown if this field cannot be
|
228
|
+
# parsed.
|
229
|
+
#
|
230
|
+
# If this field is provided during profile creation or update,
|
231
|
+
# any other structured data provided in the profile is ignored. The
|
232
|
+
# API populates these fields by parsing this field.
|
233
|
+
# @!attribute [rw] resume_type
|
234
|
+
# @return [Google::Cloud::Talent::V4beta1::Resume::ResumeType]
|
235
|
+
# Optional.
|
236
|
+
#
|
237
|
+
# The format of {Google::Cloud::Talent::V4beta1::Resume#structured_resume structured_resume}.
|
238
|
+
class Resume
|
239
|
+
# The format of a structured resume.
|
240
|
+
module ResumeType
|
241
|
+
# Default value.
|
242
|
+
RESUME_TYPE_UNSPECIFIED = 0
|
243
|
+
|
244
|
+
# The profile contents in HR-XML format.
|
245
|
+
# See http://schemas.liquid-technologies.com/hr-xml/2007-04-15/ for more
|
246
|
+
# information about Human Resources XML.
|
247
|
+
HRXML = 1
|
248
|
+
|
249
|
+
# Resume type not specified.
|
250
|
+
OTHER_RESUME_TYPE = 2
|
251
|
+
end
|
252
|
+
end
|
253
|
+
|
233
254
|
# Resource that represents the name of a person.
|
234
255
|
# @!attribute [rw] formatted_name
|
235
256
|
# @return [String]
|
@@ -248,7 +269,10 @@ module Google
|
|
248
269
|
# @return [String]
|
249
270
|
# Optional.
|
250
271
|
#
|
251
|
-
# Preferred name for the person.
|
272
|
+
# Preferred name for the person. This field is ignored if {Google::Cloud::Talent::V4beta1::PersonName#structured_name structured_name}
|
273
|
+
# is provided.
|
274
|
+
#
|
275
|
+
# Number of characters allowed is 100.
|
252
276
|
class PersonName
|
253
277
|
# Resource that represents a person's structured name.
|
254
278
|
# @!attribute [rw] given_name
|
@@ -260,6 +284,13 @@ module Google
|
|
260
284
|
# It's derived from {Google::Cloud::Talent::V4beta1::PersonName#formatted_name formatted_name} if not provided.
|
261
285
|
#
|
262
286
|
# Number of characters allowed is 100.
|
287
|
+
# @!attribute [rw] preferred_name
|
288
|
+
# @return [String]
|
289
|
+
# Optional.
|
290
|
+
#
|
291
|
+
# Preferred given/first name or nickname.
|
292
|
+
#
|
293
|
+
# Number of characters allowed is 100.
|
263
294
|
# @!attribute [rw] middle_initial
|
264
295
|
# @return [String]
|
265
296
|
# Optional.
|
@@ -451,19 +482,6 @@ module Google
|
|
451
482
|
# Optional.
|
452
483
|
#
|
453
484
|
# Start date of the employment.
|
454
|
-
#
|
455
|
-
# It can be a partial date (only year, or only year and month), but must be
|
456
|
-
# valid. Otherwise an error is thrown.
|
457
|
-
#
|
458
|
-
# Examples:
|
459
|
-
# {"year": 2017, "month": 2, "day": 28} is valid.
|
460
|
-
# {"year": 2020, "month": 1, "date": 31} is valid.
|
461
|
-
# {"year": 2018, "month": 12} is valid (partial date).
|
462
|
-
# {"year": 2018} is valid (partial date).
|
463
|
-
# {"year": 2015, "day": 21} is not valid (month is missing but day is
|
464
|
-
# presented).
|
465
|
-
# {"year": 2018, "month": 13} is not valid (invalid month).
|
466
|
-
# {"year": 2017, "month": 1, "day": 32} is not valid (invalid day).
|
467
485
|
# @!attribute [rw] end_date
|
468
486
|
# @return [Google::Type::Date]
|
469
487
|
# Optional.
|
@@ -296,15 +296,9 @@ module Google
|
|
296
296
|
# * application_outcome_notes: The application outcome reason specifies the
|
297
297
|
# reasons behind the outcome of the job application.
|
298
298
|
# See {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter} for more details.
|
299
|
-
# * application_last_stage: The application last stage specifies the last
|
300
|
-
# stage of job application.
|
301
|
-
# See {ApplicationLastStageFilter} for more details.
|
302
299
|
# * application_job_title: The application job title specifies the job
|
303
300
|
# applied for in the application.
|
304
301
|
# See {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter} for more details.
|
305
|
-
# * application_status: The application status specifies the status of job
|
306
|
-
# application.
|
307
|
-
# See {ApplicationStatusFilter} for more details.
|
308
302
|
# * hirable_status: Hirable status specifies the profile's hirable status.
|
309
303
|
# * string_custom_attribute: String custom attributes. Values can be accessed
|
310
304
|
# via square bracket notation like string_custom_attribute["key1"].
|
@@ -45,6 +45,16 @@ module Google
|
|
45
45
|
# improvements across other tenants.
|
46
46
|
#
|
47
47
|
# Defaults behavior is {Google::Cloud::Talent::V4beta1::Tenant::DataUsageType::ISOLATED DataUsageType::ISOLATED} if it's unset.
|
48
|
+
# @!attribute [rw] keyword_searchable_profile_custom_attributes
|
49
|
+
# @return [Array<String>]
|
50
|
+
# Optional.
|
51
|
+
#
|
52
|
+
# A list of keys of filterable {Google::Cloud::Talent::V4beta1::Profile#custom_attributes Profile#custom_attributes}, whose
|
53
|
+
# corresponding `string_values` are used in keyword searches. Profiles with
|
54
|
+
# `string_values` under these specified field keys are returned if any
|
55
|
+
# of the values match the search keyword. Custom field values with
|
56
|
+
# parenthesis, brackets and special symbols are not searchable as-is,
|
57
|
+
# and must be surrounded by quotes.
|
48
58
|
class Tenant
|
49
59
|
# Enum that represents how user data owned by the tenant is used.
|
50
60
|
module DataUsageType
|
@@ -7,6 +7,7 @@ require 'google/protobuf'
|
|
7
7
|
require 'google/cloud/talent/v4beta1/common_pb'
|
8
8
|
require 'google/protobuf/timestamp_pb'
|
9
9
|
require 'google/protobuf/wrappers_pb'
|
10
|
+
require 'google/type/postal_address_pb'
|
10
11
|
require 'google/api/annotations_pb'
|
11
12
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
12
13
|
add_message "google.cloud.talent.v4beta1.Job" do
|
@@ -23,7 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
23
23
|
optional :is_hirable, :message, 6, "google.protobuf.BoolValue"
|
24
24
|
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
25
25
|
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
26
|
-
optional :
|
26
|
+
optional :resume, :message, 53, "google.cloud.talent.v4beta1.Resume"
|
27
27
|
repeated :person_names, :message, 11, "google.cloud.talent.v4beta1.PersonName"
|
28
28
|
repeated :addresses, :message, 12, "google.cloud.talent.v4beta1.Address"
|
29
29
|
repeated :email_addresses, :message, 13, "google.cloud.talent.v4beta1.Email"
|
@@ -43,6 +43,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
43
|
optional :processed, :bool, 27
|
44
44
|
optional :keyword_snippet, :string, 28
|
45
45
|
end
|
46
|
+
add_message "google.cloud.talent.v4beta1.Resume" do
|
47
|
+
optional :structured_resume, :string, 1
|
48
|
+
optional :resume_type, :enum, 2, "google.cloud.talent.v4beta1.Resume.ResumeType"
|
49
|
+
end
|
50
|
+
add_enum "google.cloud.talent.v4beta1.Resume.ResumeType" do
|
51
|
+
value :RESUME_TYPE_UNSPECIFIED, 0
|
52
|
+
value :HRXML, 1
|
53
|
+
value :OTHER_RESUME_TYPE, 2
|
54
|
+
end
|
46
55
|
add_message "google.cloud.talent.v4beta1.PersonName" do
|
47
56
|
optional :preferred_name, :string, 3
|
48
57
|
oneof :person_name do
|
@@ -52,6 +61,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
52
61
|
end
|
53
62
|
add_message "google.cloud.talent.v4beta1.PersonName.PersonStructuredName" do
|
54
63
|
optional :given_name, :string, 1
|
64
|
+
optional :preferred_name, :string, 6
|
55
65
|
optional :middle_initial, :string, 2
|
56
66
|
optional :family_name, :string, 3
|
57
67
|
repeated :suffixes, :string, 4
|
@@ -171,6 +181,8 @@ module Google
|
|
171
181
|
module Talent
|
172
182
|
module V4beta1
|
173
183
|
Profile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Profile").msgclass
|
184
|
+
Resume = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume").msgclass
|
185
|
+
Resume::ResumeType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume.ResumeType").enummodule
|
174
186
|
PersonName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName").msgclass
|
175
187
|
PersonName::PersonStructuredName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName.PersonStructuredName").msgclass
|
176
188
|
Address = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Address").msgclass
|
@@ -669,15 +669,9 @@ module Google
|
|
669
669
|
# * application_outcome_notes: The application outcome reason specifies the
|
670
670
|
# reasons behind the outcome of the job application.
|
671
671
|
# See {Google::Cloud::Talent::V4beta1::ApplicationOutcomeNotesFilter ApplicationOutcomeNotesFilter} for more details.
|
672
|
-
# * application_last_stage: The application last stage specifies the last
|
673
|
-
# stage of job application.
|
674
|
-
# See {ApplicationLastStageFilter} for more details.
|
675
672
|
# * application_job_title: The application job title specifies the job
|
676
673
|
# applied for in the application.
|
677
674
|
# See {Google::Cloud::Talent::V4beta1::ApplicationJobFilter ApplicationJobFilter} for more details.
|
678
|
-
# * application_status: The application status specifies the status of job
|
679
|
-
# application.
|
680
|
-
# See {ApplicationStatusFilter} for more details.
|
681
675
|
# * hirable_status: Hirable status specifies the profile's hirable status.
|
682
676
|
# * string_custom_attribute: String custom attributes. Values can be accessed
|
683
677
|
# via square bracket notation like string_custom_attribute["key1"].
|
@@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
11
|
optional :name, :string, 1
|
12
12
|
optional :external_id, :string, 2
|
13
13
|
optional :usage_type, :enum, 3, "google.cloud.talent.v4beta1.Tenant.DataUsageType"
|
14
|
+
repeated :keyword_searchable_profile_custom_attributes, :string, 4
|
14
15
|
end
|
15
16
|
add_enum "google.cloud.talent.v4beta1.Tenant.DataUsageType" do
|
16
17
|
value :DATA_USAGE_TYPE_UNSPECIFIED, 0
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|