google-cloud-talent 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.yardopts +9 -0
- data/LICENSE +201 -0
- data/README.md +69 -0
- data/lib/google/cloud/talent.rb +456 -0
- data/lib/google/cloud/talent/v4beta1.rb +484 -0
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +21 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +264 -0
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +39 -0
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +479 -0
- data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +51 -0
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +303 -0
- data/lib/google/cloud/talent/v4beta1/completion_client_config.json +31 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +48 -0
- data/lib/google/cloud/talent/v4beta1/credentials.rb +42 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +890 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +125 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +130 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +153 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +252 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +34 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +853 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +409 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +732 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +1125 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +392 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/resume_service.rb +98 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +68 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +119 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +91 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb +29 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +230 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +109 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +34 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +39 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +65 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +36 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +126 -0
- data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +38 -0
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +75 -0
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +239 -0
- data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +31 -0
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +24 -0
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +182 -0
- data/lib/google/cloud/talent/v4beta1/helpers.rb +90 -0
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +69 -0
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +1295 -0
- data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +66 -0
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +142 -0
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +88 -0
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +249 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +757 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +56 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +81 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +65 -0
- data/lib/google/cloud/talent/v4beta1/resume_service_client.rb +296 -0
- data/lib/google/cloud/talent/v4beta1/resume_service_client_config.json +31 -0
- data/lib/google/cloud/talent/v4beta1/resume_service_pb.rb +37 -0
- data/lib/google/cloud/talent/v4beta1/resume_service_services_pb.rb +75 -0
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +31 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +466 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +51 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +55 -0
- metadata +197 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"interfaces": {
|
3
|
+
"google.cloud.talent.v4beta1.JobService": {
|
4
|
+
"retry_codes": {
|
5
|
+
"idempotent": [
|
6
|
+
"DEADLINE_EXCEEDED",
|
7
|
+
"UNAVAILABLE"
|
8
|
+
],
|
9
|
+
"non_idempotent": []
|
10
|
+
},
|
11
|
+
"retry_params": {
|
12
|
+
"default": {
|
13
|
+
"initial_retry_delay_millis": 100,
|
14
|
+
"retry_delay_multiplier": 1.3,
|
15
|
+
"max_retry_delay_millis": 60000,
|
16
|
+
"initial_rpc_timeout_millis": 20000,
|
17
|
+
"rpc_timeout_multiplier": 1.0,
|
18
|
+
"max_rpc_timeout_millis": 20000,
|
19
|
+
"total_timeout_millis": 600000
|
20
|
+
}
|
21
|
+
},
|
22
|
+
"methods": {
|
23
|
+
"CreateJob": {
|
24
|
+
"timeout_millis": 30000,
|
25
|
+
"retry_codes_name": "non_idempotent",
|
26
|
+
"retry_params_name": "default"
|
27
|
+
},
|
28
|
+
"GetJob": {
|
29
|
+
"timeout_millis": 30000,
|
30
|
+
"retry_codes_name": "idempotent",
|
31
|
+
"retry_params_name": "default"
|
32
|
+
},
|
33
|
+
"UpdateJob": {
|
34
|
+
"timeout_millis": 30000,
|
35
|
+
"retry_codes_name": "non_idempotent",
|
36
|
+
"retry_params_name": "default"
|
37
|
+
},
|
38
|
+
"DeleteJob": {
|
39
|
+
"timeout_millis": 30000,
|
40
|
+
"retry_codes_name": "idempotent",
|
41
|
+
"retry_params_name": "default"
|
42
|
+
},
|
43
|
+
"ListJobs": {
|
44
|
+
"timeout_millis": 30000,
|
45
|
+
"retry_codes_name": "idempotent",
|
46
|
+
"retry_params_name": "default"
|
47
|
+
},
|
48
|
+
"BatchDeleteJobs": {
|
49
|
+
"timeout_millis": 30000,
|
50
|
+
"retry_codes_name": "non_idempotent",
|
51
|
+
"retry_params_name": "default"
|
52
|
+
},
|
53
|
+
"SearchJobs": {
|
54
|
+
"timeout_millis": 30000,
|
55
|
+
"retry_codes_name": "non_idempotent",
|
56
|
+
"retry_params_name": "default"
|
57
|
+
},
|
58
|
+
"SearchJobsForAlert": {
|
59
|
+
"timeout_millis": 30000,
|
60
|
+
"retry_codes_name": "non_idempotent",
|
61
|
+
"retry_params_name": "default"
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
@@ -0,0 +1,142 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4beta1/job_service.proto
|
3
|
+
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/cloud/talent/v4beta1/batch_pb'
|
9
|
+
require 'google/cloud/talent/v4beta1/common_pb'
|
10
|
+
require 'google/cloud/talent/v4beta1/filters_pb'
|
11
|
+
require 'google/cloud/talent/v4beta1/histogram_pb'
|
12
|
+
require 'google/cloud/talent/v4beta1/job_pb'
|
13
|
+
require 'google/longrunning/operations_pb'
|
14
|
+
require 'google/protobuf/duration_pb'
|
15
|
+
require 'google/protobuf/empty_pb'
|
16
|
+
require 'google/protobuf/field_mask_pb'
|
17
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
18
|
+
add_message "google.cloud.talent.v4beta1.CreateJobRequest" do
|
19
|
+
optional :parent, :string, 1
|
20
|
+
optional :job, :message, 2, "google.cloud.talent.v4beta1.Job"
|
21
|
+
end
|
22
|
+
add_message "google.cloud.talent.v4beta1.GetJobRequest" do
|
23
|
+
optional :name, :string, 1
|
24
|
+
end
|
25
|
+
add_message "google.cloud.talent.v4beta1.UpdateJobRequest" do
|
26
|
+
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
27
|
+
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
28
|
+
end
|
29
|
+
add_message "google.cloud.talent.v4beta1.DeleteJobRequest" do
|
30
|
+
optional :name, :string, 1
|
31
|
+
end
|
32
|
+
add_message "google.cloud.talent.v4beta1.BatchDeleteJobsRequest" do
|
33
|
+
optional :parent, :string, 1
|
34
|
+
optional :filter, :string, 2
|
35
|
+
end
|
36
|
+
add_message "google.cloud.talent.v4beta1.ListJobsRequest" do
|
37
|
+
optional :parent, :string, 1
|
38
|
+
optional :filter, :string, 2
|
39
|
+
optional :page_token, :string, 3
|
40
|
+
optional :page_size, :int32, 4
|
41
|
+
optional :job_view, :enum, 5, "google.cloud.talent.v4beta1.JobView"
|
42
|
+
end
|
43
|
+
add_message "google.cloud.talent.v4beta1.ListJobsResponse" do
|
44
|
+
repeated :jobs, :message, 1, "google.cloud.talent.v4beta1.Job"
|
45
|
+
optional :next_page_token, :string, 2
|
46
|
+
optional :metadata, :message, 3, "google.cloud.talent.v4beta1.ResponseMetadata"
|
47
|
+
end
|
48
|
+
add_message "google.cloud.talent.v4beta1.SearchJobsRequest" do
|
49
|
+
optional :parent, :string, 1
|
50
|
+
optional :search_mode, :enum, 2, "google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode"
|
51
|
+
optional :request_metadata, :message, 3, "google.cloud.talent.v4beta1.RequestMetadata"
|
52
|
+
optional :job_query, :message, 4, "google.cloud.talent.v4beta1.JobQuery"
|
53
|
+
optional :enable_broadening, :bool, 5
|
54
|
+
optional :require_precise_result_size, :bool, 6
|
55
|
+
repeated :histogram_queries, :message, 7, "google.cloud.talent.v4beta1.HistogramQuery"
|
56
|
+
optional :job_view, :enum, 8, "google.cloud.talent.v4beta1.JobView"
|
57
|
+
optional :offset, :int32, 9
|
58
|
+
optional :page_size, :int32, 10
|
59
|
+
optional :page_token, :string, 11
|
60
|
+
optional :order_by, :string, 12
|
61
|
+
optional :diversification_level, :enum, 13, "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel"
|
62
|
+
optional :custom_ranking_info, :message, 14, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo"
|
63
|
+
optional :disable_keyword_match, :bool, 16
|
64
|
+
end
|
65
|
+
add_message "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo" do
|
66
|
+
optional :importance_level, :enum, 1, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel"
|
67
|
+
optional :ranking_expression, :string, 2
|
68
|
+
end
|
69
|
+
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel" do
|
70
|
+
value :IMPORTANCE_LEVEL_UNSPECIFIED, 0
|
71
|
+
value :NONE, 1
|
72
|
+
value :LOW, 2
|
73
|
+
value :MILD, 3
|
74
|
+
value :MEDIUM, 4
|
75
|
+
value :HIGH, 5
|
76
|
+
value :EXTREME, 6
|
77
|
+
end
|
78
|
+
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode" do
|
79
|
+
value :SEARCH_MODE_UNSPECIFIED, 0
|
80
|
+
value :JOB_SEARCH, 1
|
81
|
+
value :FEATURED_JOB_SEARCH, 2
|
82
|
+
end
|
83
|
+
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel" do
|
84
|
+
value :DIVERSIFICATION_LEVEL_UNSPECIFIED, 0
|
85
|
+
value :DISABLED, 1
|
86
|
+
value :SIMPLE, 2
|
87
|
+
end
|
88
|
+
add_message "google.cloud.talent.v4beta1.SearchJobsResponse" do
|
89
|
+
repeated :matching_jobs, :message, 1, "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob"
|
90
|
+
repeated :histogram_query_results, :message, 2, "google.cloud.talent.v4beta1.HistogramQueryResult"
|
91
|
+
optional :next_page_token, :string, 3
|
92
|
+
repeated :location_filters, :message, 4, "google.cloud.talent.v4beta1.Location"
|
93
|
+
optional :estimated_total_size, :int32, 5
|
94
|
+
optional :total_size, :int32, 6
|
95
|
+
optional :metadata, :message, 7, "google.cloud.talent.v4beta1.ResponseMetadata"
|
96
|
+
optional :broadened_query_jobs_count, :int32, 8
|
97
|
+
optional :spell_correction, :message, 9, "google.cloud.talent.v4beta1.SpellingCorrection"
|
98
|
+
end
|
99
|
+
add_message "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob" do
|
100
|
+
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
101
|
+
optional :job_summary, :string, 2
|
102
|
+
optional :job_title_snippet, :string, 3
|
103
|
+
optional :search_text_snippet, :string, 4
|
104
|
+
optional :commute_info, :message, 5, "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo"
|
105
|
+
end
|
106
|
+
add_message "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo" do
|
107
|
+
optional :job_location, :message, 1, "google.cloud.talent.v4beta1.Location"
|
108
|
+
optional :travel_duration, :message, 2, "google.protobuf.Duration"
|
109
|
+
end
|
110
|
+
add_enum "google.cloud.talent.v4beta1.JobView" do
|
111
|
+
value :JOB_VIEW_UNSPECIFIED, 0
|
112
|
+
value :JOB_VIEW_ID_ONLY, 1
|
113
|
+
value :JOB_VIEW_MINIMAL, 2
|
114
|
+
value :JOB_VIEW_SMALL, 3
|
115
|
+
value :JOB_VIEW_FULL, 4
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
module Google
|
120
|
+
module Cloud
|
121
|
+
module Talent
|
122
|
+
module V4beta1
|
123
|
+
CreateJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateJobRequest").msgclass
|
124
|
+
GetJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.GetJobRequest").msgclass
|
125
|
+
UpdateJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.UpdateJobRequest").msgclass
|
126
|
+
DeleteJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeleteJobRequest").msgclass
|
127
|
+
BatchDeleteJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchDeleteJobsRequest").msgclass
|
128
|
+
ListJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsRequest").msgclass
|
129
|
+
ListJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsResponse").msgclass
|
130
|
+
SearchJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest").msgclass
|
131
|
+
SearchJobsRequest::CustomRankingInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo").msgclass
|
132
|
+
SearchJobsRequest::CustomRankingInfo::ImportanceLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
|
133
|
+
SearchJobsRequest::SearchMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode").enummodule
|
134
|
+
SearchJobsRequest::DiversificationLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel").enummodule
|
135
|
+
SearchJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
|
136
|
+
SearchJobsResponse::MatchingJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
|
137
|
+
SearchJobsResponse::CommuteInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
|
138
|
+
JobView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobView").enummodule
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
@@ -0,0 +1,88 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/talent/v4beta1/job_service.proto for package 'google.cloud.talent.v4beta1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2019 Google LLC.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
#
|
19
|
+
|
20
|
+
|
21
|
+
require 'grpc'
|
22
|
+
require 'google/cloud/talent/v4beta1/job_service_pb'
|
23
|
+
|
24
|
+
module Google
|
25
|
+
module Cloud
|
26
|
+
module Talent
|
27
|
+
module V4beta1
|
28
|
+
module JobService
|
29
|
+
# A service handles job management, including job CRUD, enumeration and search.
|
30
|
+
class Service
|
31
|
+
|
32
|
+
include GRPC::GenericService
|
33
|
+
|
34
|
+
self.marshal_class_method = :encode
|
35
|
+
self.unmarshal_class_method = :decode
|
36
|
+
self.service_name = 'google.cloud.talent.v4beta1.JobService'
|
37
|
+
|
38
|
+
# Creates a new job.
|
39
|
+
#
|
40
|
+
# Typically, the job becomes searchable within 10 seconds, but it may take
|
41
|
+
# up to 5 minutes.
|
42
|
+
rpc :CreateJob, CreateJobRequest, Job
|
43
|
+
# Retrieves the specified job, whose status is OPEN or recently EXPIRED
|
44
|
+
# within the last 90 days.
|
45
|
+
rpc :GetJob, GetJobRequest, Job
|
46
|
+
# Updates specified job.
|
47
|
+
#
|
48
|
+
# Typically, updated contents become visible in search results within 10
|
49
|
+
# seconds, but it may take up to 5 minutes.
|
50
|
+
rpc :UpdateJob, UpdateJobRequest, Job
|
51
|
+
# Deletes the specified job.
|
52
|
+
#
|
53
|
+
# Typically, the job becomes unsearchable within 10 seconds, but it may take
|
54
|
+
# up to 5 minutes.
|
55
|
+
rpc :DeleteJob, DeleteJobRequest, Google::Protobuf::Empty
|
56
|
+
# Lists jobs by filter.
|
57
|
+
rpc :ListJobs, ListJobsRequest, ListJobsResponse
|
58
|
+
# Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
|
59
|
+
rpc :BatchDeleteJobs, BatchDeleteJobsRequest, Google::Protobuf::Empty
|
60
|
+
# Searches for jobs using the provided
|
61
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
62
|
+
#
|
63
|
+
# This call constrains the
|
64
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
65
|
+
# the database, and only returns jobs that the caller has permission to
|
66
|
+
# search against.
|
67
|
+
rpc :SearchJobs, SearchJobsRequest, SearchJobsResponse
|
68
|
+
# Searches for jobs using the provided
|
69
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
70
|
+
#
|
71
|
+
# This API call is intended for the use case of targeting passive job
|
72
|
+
# seekers (for example, job seekers who have signed up to receive email
|
73
|
+
# alerts about potential job opportunities), and has different algorithmic
|
74
|
+
# adjustments that are targeted to passive job seekers.
|
75
|
+
#
|
76
|
+
# This call constrains the
|
77
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
78
|
+
# the database, and only returns jobs the caller has permission to search
|
79
|
+
# against.
|
80
|
+
rpc :SearchJobsForAlert, SearchJobsRequest, SearchJobsResponse
|
81
|
+
end
|
82
|
+
|
83
|
+
Stub = Service.rpc_stub_class
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
end
|
88
|
+
end
|
@@ -0,0 +1,249 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4beta1/profile.proto
|
3
|
+
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/cloud/talent/v4beta1/common_pb'
|
9
|
+
require 'google/cloud/talent/v4beta1/job_pb'
|
10
|
+
require 'google/protobuf/timestamp_pb'
|
11
|
+
require 'google/protobuf/wrappers_pb'
|
12
|
+
require 'google/type/date_pb'
|
13
|
+
require 'google/type/postal_address_pb'
|
14
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
15
|
+
add_message "google.cloud.talent.v4beta1.Profile" do
|
16
|
+
optional :name, :string, 1
|
17
|
+
optional :external_id, :string, 2
|
18
|
+
optional :source, :string, 3
|
19
|
+
optional :uri, :string, 4
|
20
|
+
optional :group_id, :string, 5
|
21
|
+
optional :is_hirable, :message, 6, "google.protobuf.BoolValue"
|
22
|
+
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
23
|
+
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
24
|
+
optional :resume_hrxml, :string, 10
|
25
|
+
repeated :person_names, :message, 11, "google.cloud.talent.v4beta1.PersonName"
|
26
|
+
repeated :addresses, :message, 12, "google.cloud.talent.v4beta1.Address"
|
27
|
+
repeated :email_addresses, :message, 13, "google.cloud.talent.v4beta1.Email"
|
28
|
+
repeated :phone_numbers, :message, 14, "google.cloud.talent.v4beta1.Phone"
|
29
|
+
repeated :personal_uris, :message, 15, "google.cloud.talent.v4beta1.PersonalUri"
|
30
|
+
repeated :additional_contact_info, :message, 16, "google.cloud.talent.v4beta1.AdditionalContactInfo"
|
31
|
+
repeated :employment_records, :message, 17, "google.cloud.talent.v4beta1.EmploymentRecord"
|
32
|
+
repeated :education_records, :message, 18, "google.cloud.talent.v4beta1.EducationRecord"
|
33
|
+
repeated :skills, :message, 19, "google.cloud.talent.v4beta1.Skill"
|
34
|
+
repeated :activities, :message, 20, "google.cloud.talent.v4beta1.Activity"
|
35
|
+
repeated :publications, :message, 21, "google.cloud.talent.v4beta1.Publication"
|
36
|
+
repeated :patents, :message, 22, "google.cloud.talent.v4beta1.Patent"
|
37
|
+
repeated :certifications, :message, 23, "google.cloud.talent.v4beta1.Certification"
|
38
|
+
repeated :job_applications, :message, 24, "google.cloud.talent.v4beta1.JobApplication"
|
39
|
+
repeated :recruiting_notes, :message, 25, "google.cloud.talent.v4beta1.RecruitingNote"
|
40
|
+
map :custom_attributes, :string, :message, 26, "google.cloud.talent.v4beta1.CustomAttribute"
|
41
|
+
optional :processed, :bool, 27
|
42
|
+
optional :keyword_snippet, :string, 28
|
43
|
+
end
|
44
|
+
add_message "google.cloud.talent.v4beta1.PersonName" do
|
45
|
+
optional :preferred_name, :string, 3
|
46
|
+
oneof :person_name do
|
47
|
+
optional :formatted_name, :string, 1
|
48
|
+
optional :structured_name, :message, 2, "google.cloud.talent.v4beta1.PersonName.PersonStructuredName"
|
49
|
+
end
|
50
|
+
end
|
51
|
+
add_message "google.cloud.talent.v4beta1.PersonName.PersonStructuredName" do
|
52
|
+
optional :given_name, :string, 1
|
53
|
+
optional :middle_initial, :string, 2
|
54
|
+
optional :family_name, :string, 3
|
55
|
+
repeated :suffixes, :string, 4
|
56
|
+
repeated :prefixes, :string, 5
|
57
|
+
end
|
58
|
+
add_message "google.cloud.talent.v4beta1.Address" do
|
59
|
+
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
60
|
+
optional :is_current, :message, 4, "google.protobuf.BoolValue"
|
61
|
+
oneof :address do
|
62
|
+
optional :unstructured_address, :string, 2
|
63
|
+
optional :structured_address, :message, 3, "google.type.PostalAddress"
|
64
|
+
end
|
65
|
+
end
|
66
|
+
add_message "google.cloud.talent.v4beta1.Email" do
|
67
|
+
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
68
|
+
optional :email_address, :string, 2
|
69
|
+
end
|
70
|
+
add_message "google.cloud.talent.v4beta1.Phone" do
|
71
|
+
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
72
|
+
optional :type, :enum, 2, "google.cloud.talent.v4beta1.Phone.PhoneType"
|
73
|
+
optional :number, :string, 3
|
74
|
+
optional :when_available, :string, 4
|
75
|
+
end
|
76
|
+
add_enum "google.cloud.talent.v4beta1.Phone.PhoneType" do
|
77
|
+
value :PHONE_TYPE_UNSPECIFIED, 0
|
78
|
+
value :LANDLINE, 1
|
79
|
+
value :MOBILE, 2
|
80
|
+
value :FAX, 3
|
81
|
+
value :PAGER, 4
|
82
|
+
value :TTY_OR_TDD, 5
|
83
|
+
value :VOICEMAIL, 6
|
84
|
+
value :VIRTUAL, 7
|
85
|
+
value :VOIP, 8
|
86
|
+
value :MOBILE_OR_LANDLINE, 9
|
87
|
+
end
|
88
|
+
add_message "google.cloud.talent.v4beta1.PersonalUri" do
|
89
|
+
optional :uri, :string, 1
|
90
|
+
end
|
91
|
+
add_message "google.cloud.talent.v4beta1.AdditionalContactInfo" do
|
92
|
+
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
93
|
+
optional :name, :string, 2
|
94
|
+
optional :contact_id, :string, 3
|
95
|
+
end
|
96
|
+
add_message "google.cloud.talent.v4beta1.EmploymentRecord" do
|
97
|
+
optional :start_date, :message, 1, "google.type.Date"
|
98
|
+
optional :end_date, :message, 2, "google.type.Date"
|
99
|
+
optional :employer_name, :string, 3
|
100
|
+
optional :division_name, :string, 4
|
101
|
+
optional :address, :message, 5, "google.cloud.talent.v4beta1.Address"
|
102
|
+
optional :job_title, :string, 6
|
103
|
+
optional :job_description, :string, 7
|
104
|
+
optional :is_supervised_position, :message, 8, "google.protobuf.BoolValue"
|
105
|
+
optional :is_self_employed, :message, 9, "google.protobuf.BoolValue"
|
106
|
+
optional :is_current, :message, 10, "google.protobuf.BoolValue"
|
107
|
+
optional :job_title_snippet, :string, 11
|
108
|
+
optional :job_description_snippet, :string, 12
|
109
|
+
optional :employer_name_snippet, :string, 13
|
110
|
+
end
|
111
|
+
add_message "google.cloud.talent.v4beta1.EducationRecord" do
|
112
|
+
optional :start_date, :message, 1, "google.type.Date"
|
113
|
+
optional :end_date, :message, 2, "google.type.Date"
|
114
|
+
optional :expected_graduation_date, :message, 3, "google.type.Date"
|
115
|
+
optional :school_name, :string, 4
|
116
|
+
optional :address, :message, 5, "google.cloud.talent.v4beta1.Address"
|
117
|
+
optional :description, :string, 8
|
118
|
+
optional :is_current, :message, 9, "google.protobuf.BoolValue"
|
119
|
+
optional :school_name_snippet, :string, 10
|
120
|
+
optional :degree_snippet, :string, 11
|
121
|
+
oneof :degree do
|
122
|
+
optional :degree_description, :string, 6
|
123
|
+
optional :structured_degree, :message, 7, "google.cloud.talent.v4beta1.Degree"
|
124
|
+
end
|
125
|
+
end
|
126
|
+
add_message "google.cloud.talent.v4beta1.Degree" do
|
127
|
+
optional :degree_type, :enum, 1, "google.cloud.talent.v4beta1.DegreeType"
|
128
|
+
optional :degree_name, :string, 2
|
129
|
+
repeated :fields_of_study, :string, 3
|
130
|
+
end
|
131
|
+
add_message "google.cloud.talent.v4beta1.Skill" do
|
132
|
+
optional :display_name, :string, 1
|
133
|
+
optional :last_used_date, :message, 2, "google.type.Date"
|
134
|
+
optional :level, :enum, 3, "google.cloud.talent.v4beta1.Skill.SkillProficiencyLevel"
|
135
|
+
optional :context, :string, 4
|
136
|
+
optional :skill_name_snippet, :string, 5
|
137
|
+
end
|
138
|
+
add_enum "google.cloud.talent.v4beta1.Skill.SkillProficiencyLevel" do
|
139
|
+
value :SKILL_PROFICIENCY_LEVEL_UNSPECIFIED, 0
|
140
|
+
value :FUNDAMENTAL_AWARENESS, 1
|
141
|
+
value :NOVICE, 2
|
142
|
+
value :INTERMEDIATE, 3
|
143
|
+
value :ADVANCED, 4
|
144
|
+
value :EXPERT, 5
|
145
|
+
end
|
146
|
+
add_message "google.cloud.talent.v4beta1.Activity" do
|
147
|
+
optional :display_name, :string, 1
|
148
|
+
optional :description, :string, 2
|
149
|
+
optional :uri, :string, 3
|
150
|
+
optional :create_date, :message, 4, "google.type.Date"
|
151
|
+
optional :update_date, :message, 5, "google.type.Date"
|
152
|
+
repeated :team_members, :string, 6
|
153
|
+
repeated :skills_used, :message, 7, "google.cloud.talent.v4beta1.Skill"
|
154
|
+
optional :activity_name_snippet, :string, 8
|
155
|
+
optional :activity_description_snippet, :string, 9
|
156
|
+
repeated :skills_used_snippet, :string, 10
|
157
|
+
end
|
158
|
+
add_message "google.cloud.talent.v4beta1.Publication" do
|
159
|
+
repeated :authors, :string, 1
|
160
|
+
optional :title, :string, 2
|
161
|
+
optional :description, :string, 3
|
162
|
+
optional :journal, :string, 4
|
163
|
+
optional :volume, :string, 5
|
164
|
+
optional :publisher, :string, 6
|
165
|
+
optional :publication_date, :message, 7, "google.type.Date"
|
166
|
+
optional :publication_type, :string, 8
|
167
|
+
optional :isbn, :string, 9
|
168
|
+
end
|
169
|
+
add_message "google.cloud.talent.v4beta1.Patent" do
|
170
|
+
optional :display_name, :string, 1
|
171
|
+
repeated :inventors, :string, 2
|
172
|
+
optional :patent_status, :string, 3
|
173
|
+
optional :patent_status_date, :message, 4, "google.type.Date"
|
174
|
+
optional :patent_filing_date, :message, 5, "google.type.Date"
|
175
|
+
optional :patent_office, :string, 6
|
176
|
+
optional :patent_number, :string, 7
|
177
|
+
optional :patent_description, :string, 8
|
178
|
+
repeated :skills_used, :message, 9, "google.cloud.talent.v4beta1.Skill"
|
179
|
+
end
|
180
|
+
add_message "google.cloud.talent.v4beta1.JobApplication" do
|
181
|
+
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
182
|
+
optional :application_id, :string, 2
|
183
|
+
optional :application_date, :message, 3, "google.type.Date"
|
184
|
+
optional :last_stage, :string, 4
|
185
|
+
optional :state, :enum, 5, "google.cloud.talent.v4beta1.JobApplication.ApplicationStatus"
|
186
|
+
optional :average_interview_score, :double, 6
|
187
|
+
optional :interview_score_scale_id, :string, 7
|
188
|
+
optional :number_of_interviews, :int32, 8
|
189
|
+
optional :is_employee_referred, :message, 9, "google.protobuf.BoolValue"
|
190
|
+
optional :update_time, :message, 10, "google.protobuf.Timestamp"
|
191
|
+
optional :outcome_reason, :string, 11
|
192
|
+
optional :outcome_positiveness, :double, 12
|
193
|
+
optional :is_match, :message, 13, "google.protobuf.BoolValue"
|
194
|
+
optional :job_title_snippet, :string, 14
|
195
|
+
end
|
196
|
+
add_enum "google.cloud.talent.v4beta1.JobApplication.ApplicationStatus" do
|
197
|
+
value :APPLICATION_STATUS_UNSPECIFIED, 0
|
198
|
+
value :OFFER_EXTENDED, 1
|
199
|
+
value :REJECTED_BY_CANDIDATE, 2
|
200
|
+
value :ACTIVE, 3
|
201
|
+
value :REJECTED_BY_EMPLOYER, 4
|
202
|
+
value :HIRED_PENDING_DATE, 5
|
203
|
+
value :HIRED_STARTED, 6
|
204
|
+
value :PROSPECTED, 7
|
205
|
+
end
|
206
|
+
add_message "google.cloud.talent.v4beta1.Certification" do
|
207
|
+
optional :display_name, :string, 1
|
208
|
+
optional :acquire_date, :message, 2, "google.type.Date"
|
209
|
+
optional :expire_date, :message, 3, "google.type.Date"
|
210
|
+
optional :authority, :string, 4
|
211
|
+
optional :description, :string, 5
|
212
|
+
end
|
213
|
+
add_message "google.cloud.talent.v4beta1.RecruitingNote" do
|
214
|
+
optional :note, :string, 1
|
215
|
+
optional :commenter, :string, 2
|
216
|
+
optional :create_date, :message, 3, "google.type.Date"
|
217
|
+
optional :type, :string, 4
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
module Google
|
222
|
+
module Cloud
|
223
|
+
module Talent
|
224
|
+
module V4beta1
|
225
|
+
Profile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Profile").msgclass
|
226
|
+
PersonName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName").msgclass
|
227
|
+
PersonName::PersonStructuredName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName.PersonStructuredName").msgclass
|
228
|
+
Address = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Address").msgclass
|
229
|
+
Email = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Email").msgclass
|
230
|
+
Phone = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone").msgclass
|
231
|
+
Phone::PhoneType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone.PhoneType").enummodule
|
232
|
+
PersonalUri = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonalUri").msgclass
|
233
|
+
AdditionalContactInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AdditionalContactInfo").msgclass
|
234
|
+
EmploymentRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EmploymentRecord").msgclass
|
235
|
+
EducationRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EducationRecord").msgclass
|
236
|
+
Degree = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Degree").msgclass
|
237
|
+
Skill = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Skill").msgclass
|
238
|
+
Skill::SkillProficiencyLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Skill.SkillProficiencyLevel").enummodule
|
239
|
+
Activity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Activity").msgclass
|
240
|
+
Publication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Publication").msgclass
|
241
|
+
Patent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Patent").msgclass
|
242
|
+
JobApplication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobApplication").msgclass
|
243
|
+
JobApplication::ApplicationStatus = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobApplication.ApplicationStatus").enummodule
|
244
|
+
Certification = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Certification").msgclass
|
245
|
+
RecruitingNote = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.RecruitingNote").msgclass
|
246
|
+
end
|
247
|
+
end
|
248
|
+
end
|
249
|
+
end
|