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.
- checksums.yaml +4 -4
- data/.yardopts +2 -1
- data/AUTHENTICATION.md +51 -59
- data/LICENSE.md +203 -0
- data/MIGRATING.md +347 -0
- data/README.md +35 -25
- data/lib/{google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb → google-cloud-talent.rb} +5 -15
- data/lib/google/cloud/talent.rb +254 -442
- data/lib/google/cloud/talent/version.rb +6 -2
- metadata +62 -111
- data/LICENSE +0 -201
- data/lib/google/cloud/talent/v4beta1.rb +0 -543
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -62
- data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -491
- data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +0 -51
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -54
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -56
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -18
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +0 -341
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +0 -40
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +0 -535
- data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +0 -51
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +0 -55
- data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +0 -56
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -359
- data/lib/google/cloud/talent/v4beta1/completion_client_config.json +0 -31
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +0 -55
- data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +0 -48
- data/lib/google/cloud/talent/v4beta1/credentials.rb +0 -42
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +0 -166
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +0 -107
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +0 -1147
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +0 -110
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +0 -122
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +0 -141
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +0 -238
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +0 -36
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +0 -847
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -55
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +0 -363
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +0 -762
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +0 -808
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -446
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +0 -74
- data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +0 -101
- data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +0 -51
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +0 -131
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +0 -91
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +0 -222
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +0 -113
- data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +0 -34
- data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +0 -87
- data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +0 -43
- data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -31
- data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +0 -36
- data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +0 -126
- data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +0 -37
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +0 -69
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +0 -268
- data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +0 -31
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +0 -26
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +0 -53
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
- data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -162
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -27
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +0 -71
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +0 -1576
- data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +0 -76
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -165
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +0 -92
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -212
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -844
- data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +0 -56
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -88
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -67
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -33
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -476
- data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +0 -51
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +0 -54
- data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +0 -55
@@ -1,76 +0,0 @@
|
|
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": 60000,
|
25
|
-
"retry_codes_name": "non_idempotent",
|
26
|
-
"retry_params_name": "default"
|
27
|
-
},
|
28
|
-
"GetJob": {
|
29
|
-
"timeout_millis": 60000,
|
30
|
-
"retry_codes_name": "idempotent",
|
31
|
-
"retry_params_name": "default"
|
32
|
-
},
|
33
|
-
"UpdateJob": {
|
34
|
-
"timeout_millis": 60000,
|
35
|
-
"retry_codes_name": "non_idempotent",
|
36
|
-
"retry_params_name": "default"
|
37
|
-
},
|
38
|
-
"DeleteJob": {
|
39
|
-
"timeout_millis": 60000,
|
40
|
-
"retry_codes_name": "idempotent",
|
41
|
-
"retry_params_name": "default"
|
42
|
-
},
|
43
|
-
"ListJobs": {
|
44
|
-
"timeout_millis": 60000,
|
45
|
-
"retry_codes_name": "idempotent",
|
46
|
-
"retry_params_name": "default"
|
47
|
-
},
|
48
|
-
"BatchDeleteJobs": {
|
49
|
-
"timeout_millis": 60000,
|
50
|
-
"retry_codes_name": "non_idempotent",
|
51
|
-
"retry_params_name": "default"
|
52
|
-
},
|
53
|
-
"SearchJobs": {
|
54
|
-
"timeout_millis": 60000,
|
55
|
-
"retry_codes_name": "non_idempotent",
|
56
|
-
"retry_params_name": "default"
|
57
|
-
},
|
58
|
-
"SearchJobsForAlert": {
|
59
|
-
"timeout_millis": 60000,
|
60
|
-
"retry_codes_name": "non_idempotent",
|
61
|
-
"retry_params_name": "default"
|
62
|
-
},
|
63
|
-
"BatchCreateJobs": {
|
64
|
-
"timeout_millis": 60000,
|
65
|
-
"retry_codes_name": "non_idempotent",
|
66
|
-
"retry_params_name": "default"
|
67
|
-
},
|
68
|
-
"BatchUpdateJobs": {
|
69
|
-
"timeout_millis": 60000,
|
70
|
-
"retry_codes_name": "non_idempotent",
|
71
|
-
"retry_params_name": "default"
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
}
|
76
|
-
}
|
@@ -1,165 +0,0 @@
|
|
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/api/client_pb'
|
9
|
-
require 'google/api/field_behavior_pb'
|
10
|
-
require 'google/cloud/talent/v4beta1/common_pb'
|
11
|
-
require 'google/cloud/talent/v4beta1/filters_pb'
|
12
|
-
require 'google/cloud/talent/v4beta1/histogram_pb'
|
13
|
-
require 'google/cloud/talent/v4beta1/job_pb'
|
14
|
-
require 'google/longrunning/operations_pb'
|
15
|
-
require 'google/protobuf/any_pb'
|
16
|
-
require 'google/protobuf/duration_pb'
|
17
|
-
require 'google/protobuf/empty_pb'
|
18
|
-
require 'google/protobuf/field_mask_pb'
|
19
|
-
require 'google/rpc/status_pb'
|
20
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
21
|
-
add_message "google.cloud.talent.v4beta1.CreateJobRequest" do
|
22
|
-
optional :parent, :string, 1
|
23
|
-
optional :job, :message, 2, "google.cloud.talent.v4beta1.Job"
|
24
|
-
end
|
25
|
-
add_message "google.cloud.talent.v4beta1.GetJobRequest" do
|
26
|
-
optional :name, :string, 1
|
27
|
-
end
|
28
|
-
add_message "google.cloud.talent.v4beta1.UpdateJobRequest" do
|
29
|
-
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
30
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
31
|
-
end
|
32
|
-
add_message "google.cloud.talent.v4beta1.DeleteJobRequest" do
|
33
|
-
optional :name, :string, 1
|
34
|
-
end
|
35
|
-
add_message "google.cloud.talent.v4beta1.BatchDeleteJobsRequest" do
|
36
|
-
optional :parent, :string, 1
|
37
|
-
optional :filter, :string, 2
|
38
|
-
end
|
39
|
-
add_message "google.cloud.talent.v4beta1.ListJobsRequest" do
|
40
|
-
optional :parent, :string, 1
|
41
|
-
optional :filter, :string, 2
|
42
|
-
optional :page_token, :string, 3
|
43
|
-
optional :page_size, :int32, 4
|
44
|
-
optional :job_view, :enum, 5, "google.cloud.talent.v4beta1.JobView"
|
45
|
-
end
|
46
|
-
add_message "google.cloud.talent.v4beta1.ListJobsResponse" do
|
47
|
-
repeated :jobs, :message, 1, "google.cloud.talent.v4beta1.Job"
|
48
|
-
optional :next_page_token, :string, 2
|
49
|
-
optional :metadata, :message, 3, "google.cloud.talent.v4beta1.ResponseMetadata"
|
50
|
-
end
|
51
|
-
add_message "google.cloud.talent.v4beta1.SearchJobsRequest" do
|
52
|
-
optional :parent, :string, 1
|
53
|
-
optional :search_mode, :enum, 2, "google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode"
|
54
|
-
optional :request_metadata, :message, 3, "google.cloud.talent.v4beta1.RequestMetadata"
|
55
|
-
optional :job_query, :message, 4, "google.cloud.talent.v4beta1.JobQuery"
|
56
|
-
optional :enable_broadening, :bool, 5
|
57
|
-
optional :require_precise_result_size, :bool, 6
|
58
|
-
repeated :histogram_queries, :message, 7, "google.cloud.talent.v4beta1.HistogramQuery"
|
59
|
-
optional :job_view, :enum, 8, "google.cloud.talent.v4beta1.JobView"
|
60
|
-
optional :offset, :int32, 9
|
61
|
-
optional :page_size, :int32, 10
|
62
|
-
optional :page_token, :string, 11
|
63
|
-
optional :order_by, :string, 12
|
64
|
-
optional :diversification_level, :enum, 13, "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel"
|
65
|
-
optional :custom_ranking_info, :message, 14, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo"
|
66
|
-
optional :disable_keyword_match, :bool, 16
|
67
|
-
end
|
68
|
-
add_message "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo" do
|
69
|
-
optional :importance_level, :enum, 1, "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel"
|
70
|
-
optional :ranking_expression, :string, 2
|
71
|
-
end
|
72
|
-
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel" do
|
73
|
-
value :IMPORTANCE_LEVEL_UNSPECIFIED, 0
|
74
|
-
value :NONE, 1
|
75
|
-
value :LOW, 2
|
76
|
-
value :MILD, 3
|
77
|
-
value :MEDIUM, 4
|
78
|
-
value :HIGH, 5
|
79
|
-
value :EXTREME, 6
|
80
|
-
end
|
81
|
-
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode" do
|
82
|
-
value :SEARCH_MODE_UNSPECIFIED, 0
|
83
|
-
value :JOB_SEARCH, 1
|
84
|
-
value :FEATURED_JOB_SEARCH, 2
|
85
|
-
end
|
86
|
-
add_enum "google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel" do
|
87
|
-
value :DIVERSIFICATION_LEVEL_UNSPECIFIED, 0
|
88
|
-
value :DISABLED, 1
|
89
|
-
value :SIMPLE, 2
|
90
|
-
end
|
91
|
-
add_message "google.cloud.talent.v4beta1.SearchJobsResponse" do
|
92
|
-
repeated :matching_jobs, :message, 1, "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob"
|
93
|
-
repeated :histogram_query_results, :message, 2, "google.cloud.talent.v4beta1.HistogramQueryResult"
|
94
|
-
optional :next_page_token, :string, 3
|
95
|
-
repeated :location_filters, :message, 4, "google.cloud.talent.v4beta1.Location"
|
96
|
-
optional :estimated_total_size, :int32, 5
|
97
|
-
optional :total_size, :int32, 6
|
98
|
-
optional :metadata, :message, 7, "google.cloud.talent.v4beta1.ResponseMetadata"
|
99
|
-
optional :broadened_query_jobs_count, :int32, 8
|
100
|
-
optional :spell_correction, :message, 9, "google.cloud.talent.v4beta1.SpellingCorrection"
|
101
|
-
end
|
102
|
-
add_message "google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob" do
|
103
|
-
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
104
|
-
optional :job_summary, :string, 2
|
105
|
-
optional :job_title_snippet, :string, 3
|
106
|
-
optional :search_text_snippet, :string, 4
|
107
|
-
optional :commute_info, :message, 5, "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo"
|
108
|
-
end
|
109
|
-
add_message "google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo" do
|
110
|
-
optional :job_location, :message, 1, "google.cloud.talent.v4beta1.Location"
|
111
|
-
optional :travel_duration, :message, 2, "google.protobuf.Duration"
|
112
|
-
end
|
113
|
-
add_message "google.cloud.talent.v4beta1.BatchCreateJobsRequest" do
|
114
|
-
optional :parent, :string, 1
|
115
|
-
repeated :jobs, :message, 2, "google.cloud.talent.v4beta1.Job"
|
116
|
-
end
|
117
|
-
add_message "google.cloud.talent.v4beta1.BatchUpdateJobsRequest" do
|
118
|
-
optional :parent, :string, 1
|
119
|
-
repeated :jobs, :message, 2, "google.cloud.talent.v4beta1.Job"
|
120
|
-
optional :update_mask, :message, 3, "google.protobuf.FieldMask"
|
121
|
-
end
|
122
|
-
add_message "google.cloud.talent.v4beta1.JobOperationResult" do
|
123
|
-
repeated :job_results, :message, 1, "google.cloud.talent.v4beta1.JobOperationResult.JobResult"
|
124
|
-
end
|
125
|
-
add_message "google.cloud.talent.v4beta1.JobOperationResult.JobResult" do
|
126
|
-
optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
|
127
|
-
optional :status, :message, 2, "google.rpc.Status"
|
128
|
-
end
|
129
|
-
add_enum "google.cloud.talent.v4beta1.JobView" do
|
130
|
-
value :JOB_VIEW_UNSPECIFIED, 0
|
131
|
-
value :JOB_VIEW_ID_ONLY, 1
|
132
|
-
value :JOB_VIEW_MINIMAL, 2
|
133
|
-
value :JOB_VIEW_SMALL, 3
|
134
|
-
value :JOB_VIEW_FULL, 4
|
135
|
-
end
|
136
|
-
end
|
137
|
-
|
138
|
-
module Google
|
139
|
-
module Cloud
|
140
|
-
module Talent
|
141
|
-
module V4beta1
|
142
|
-
CreateJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateJobRequest").msgclass
|
143
|
-
GetJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.GetJobRequest").msgclass
|
144
|
-
UpdateJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.UpdateJobRequest").msgclass
|
145
|
-
DeleteJobRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeleteJobRequest").msgclass
|
146
|
-
BatchDeleteJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchDeleteJobsRequest").msgclass
|
147
|
-
ListJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsRequest").msgclass
|
148
|
-
ListJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsResponse").msgclass
|
149
|
-
SearchJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest").msgclass
|
150
|
-
SearchJobsRequest::CustomRankingInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo").msgclass
|
151
|
-
SearchJobsRequest::CustomRankingInfo::ImportanceLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
|
152
|
-
SearchJobsRequest::SearchMode = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode").enummodule
|
153
|
-
SearchJobsRequest::DiversificationLevel = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel").enummodule
|
154
|
-
SearchJobsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
|
155
|
-
SearchJobsResponse::MatchingJob = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
|
156
|
-
SearchJobsResponse::CommuteInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
|
157
|
-
BatchCreateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchCreateJobsRequest").msgclass
|
158
|
-
BatchUpdateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchUpdateJobsRequest").msgclass
|
159
|
-
JobOperationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult").msgclass
|
160
|
-
JobOperationResult::JobResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult.JobResult").msgclass
|
161
|
-
JobView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobView").enummodule
|
162
|
-
end
|
163
|
-
end
|
164
|
-
end
|
165
|
-
end
|
@@ -1,92 +0,0 @@
|
|
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
|
-
# Begins executing a batch create jobs operation.
|
44
|
-
rpc :BatchCreateJobs, BatchCreateJobsRequest, Google::Longrunning::Operation
|
45
|
-
# Retrieves the specified job, whose status is OPEN or recently EXPIRED
|
46
|
-
# within the last 90 days.
|
47
|
-
rpc :GetJob, GetJobRequest, Job
|
48
|
-
# Updates specified job.
|
49
|
-
#
|
50
|
-
# Typically, updated contents become visible in search results within 10
|
51
|
-
# seconds, but it may take up to 5 minutes.
|
52
|
-
rpc :UpdateJob, UpdateJobRequest, Job
|
53
|
-
# Begins executing a batch update jobs operation.
|
54
|
-
rpc :BatchUpdateJobs, BatchUpdateJobsRequest, Google::Longrunning::Operation
|
55
|
-
# Deletes the specified job.
|
56
|
-
#
|
57
|
-
# Typically, the job becomes unsearchable within 10 seconds, but it may take
|
58
|
-
# up to 5 minutes.
|
59
|
-
rpc :DeleteJob, DeleteJobRequest, Google::Protobuf::Empty
|
60
|
-
# Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
|
61
|
-
rpc :BatchDeleteJobs, BatchDeleteJobsRequest, Google::Protobuf::Empty
|
62
|
-
# Lists jobs by filter.
|
63
|
-
rpc :ListJobs, ListJobsRequest, ListJobsResponse
|
64
|
-
# Searches for jobs using the provided
|
65
|
-
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
66
|
-
#
|
67
|
-
# This call constrains the
|
68
|
-
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
69
|
-
# the database, and only returns jobs that the caller has permission to
|
70
|
-
# search against.
|
71
|
-
rpc :SearchJobs, SearchJobsRequest, SearchJobsResponse
|
72
|
-
# Searches for jobs using the provided
|
73
|
-
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
74
|
-
#
|
75
|
-
# This API call is intended for the use case of targeting passive job
|
76
|
-
# seekers (for example, job seekers who have signed up to receive email
|
77
|
-
# alerts about potential job opportunities), and has different algorithmic
|
78
|
-
# adjustments that are targeted to passive job seekers.
|
79
|
-
#
|
80
|
-
# This call constrains the
|
81
|
-
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
82
|
-
# the database, and only returns jobs the caller has permission to search
|
83
|
-
# against.
|
84
|
-
rpc :SearchJobsForAlert, SearchJobsRequest, SearchJobsResponse
|
85
|
-
end
|
86
|
-
|
87
|
-
Stub = Service.rpc_stub_class
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
92
|
-
end
|
@@ -1,212 +0,0 @@
|
|
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/api/field_behavior_pb'
|
9
|
-
require 'google/cloud/talent/v4beta1/common_pb'
|
10
|
-
require 'google/protobuf/duration_pb'
|
11
|
-
require 'google/protobuf/timestamp_pb'
|
12
|
-
require 'google/protobuf/wrappers_pb'
|
13
|
-
require 'google/type/date_pb'
|
14
|
-
require 'google/type/postal_address_pb'
|
15
|
-
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
-
add_message "google.cloud.talent.v4beta1.Profile" do
|
17
|
-
optional :name, :string, 1
|
18
|
-
optional :external_id, :string, 2
|
19
|
-
optional :source, :string, 3
|
20
|
-
optional :uri, :string, 4
|
21
|
-
optional :group_id, :string, 5
|
22
|
-
optional :is_hirable, :message, 6, "google.protobuf.BoolValue"
|
23
|
-
optional :create_time, :message, 7, "google.protobuf.Timestamp"
|
24
|
-
optional :update_time, :message, 8, "google.protobuf.Timestamp"
|
25
|
-
optional :candidate_update_time, :message, 67, "google.protobuf.Timestamp"
|
26
|
-
optional :resume_update_time, :message, 68, "google.protobuf.Timestamp"
|
27
|
-
optional :resume, :message, 53, "google.cloud.talent.v4beta1.Resume"
|
28
|
-
repeated :person_names, :message, 11, "google.cloud.talent.v4beta1.PersonName"
|
29
|
-
repeated :addresses, :message, 12, "google.cloud.talent.v4beta1.Address"
|
30
|
-
repeated :email_addresses, :message, 13, "google.cloud.talent.v4beta1.Email"
|
31
|
-
repeated :phone_numbers, :message, 14, "google.cloud.talent.v4beta1.Phone"
|
32
|
-
repeated :personal_uris, :message, 15, "google.cloud.talent.v4beta1.PersonalUri"
|
33
|
-
repeated :additional_contact_info, :message, 16, "google.cloud.talent.v4beta1.AdditionalContactInfo"
|
34
|
-
repeated :employment_records, :message, 17, "google.cloud.talent.v4beta1.EmploymentRecord"
|
35
|
-
repeated :education_records, :message, 18, "google.cloud.talent.v4beta1.EducationRecord"
|
36
|
-
repeated :skills, :message, 19, "google.cloud.talent.v4beta1.Skill"
|
37
|
-
repeated :activities, :message, 20, "google.cloud.talent.v4beta1.Activity"
|
38
|
-
repeated :publications, :message, 21, "google.cloud.talent.v4beta1.Publication"
|
39
|
-
repeated :patents, :message, 22, "google.cloud.talent.v4beta1.Patent"
|
40
|
-
repeated :certifications, :message, 23, "google.cloud.talent.v4beta1.Certification"
|
41
|
-
repeated :applications, :string, 47
|
42
|
-
repeated :assignments, :string, 48
|
43
|
-
map :custom_attributes, :string, :message, 26, "google.cloud.talent.v4beta1.CustomAttribute"
|
44
|
-
optional :processed, :bool, 27
|
45
|
-
optional :keyword_snippet, :string, 28
|
46
|
-
repeated :availability_signals, :message, 70, "google.cloud.talent.v4beta1.AvailabilitySignal"
|
47
|
-
repeated :derived_addresses, :message, 64, "google.cloud.talent.v4beta1.Location"
|
48
|
-
end
|
49
|
-
add_message "google.cloud.talent.v4beta1.AvailabilitySignal" do
|
50
|
-
optional :type, :enum, 1, "google.cloud.talent.v4beta1.AvailabilitySignalType"
|
51
|
-
optional :last_update_time, :message, 2, "google.protobuf.Timestamp"
|
52
|
-
optional :filter_satisfied, :message, 3, "google.protobuf.BoolValue"
|
53
|
-
end
|
54
|
-
add_message "google.cloud.talent.v4beta1.Resume" do
|
55
|
-
optional :structured_resume, :string, 1
|
56
|
-
optional :resume_type, :enum, 2, "google.cloud.talent.v4beta1.Resume.ResumeType"
|
57
|
-
end
|
58
|
-
add_enum "google.cloud.talent.v4beta1.Resume.ResumeType" do
|
59
|
-
value :RESUME_TYPE_UNSPECIFIED, 0
|
60
|
-
value :HRXML, 1
|
61
|
-
value :OTHER_RESUME_TYPE, 2
|
62
|
-
end
|
63
|
-
add_message "google.cloud.talent.v4beta1.PersonName" do
|
64
|
-
optional :preferred_name, :string, 3
|
65
|
-
oneof :person_name do
|
66
|
-
optional :formatted_name, :string, 1
|
67
|
-
optional :structured_name, :message, 2, "google.cloud.talent.v4beta1.PersonName.PersonStructuredName"
|
68
|
-
end
|
69
|
-
end
|
70
|
-
add_message "google.cloud.talent.v4beta1.PersonName.PersonStructuredName" do
|
71
|
-
optional :given_name, :string, 1
|
72
|
-
optional :preferred_name, :string, 6
|
73
|
-
optional :middle_initial, :string, 2
|
74
|
-
optional :family_name, :string, 3
|
75
|
-
repeated :suffixes, :string, 4
|
76
|
-
repeated :prefixes, :string, 5
|
77
|
-
end
|
78
|
-
add_message "google.cloud.talent.v4beta1.Address" do
|
79
|
-
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
80
|
-
optional :current, :message, 4, "google.protobuf.BoolValue"
|
81
|
-
oneof :address do
|
82
|
-
optional :unstructured_address, :string, 2
|
83
|
-
optional :structured_address, :message, 3, "google.type.PostalAddress"
|
84
|
-
end
|
85
|
-
end
|
86
|
-
add_message "google.cloud.talent.v4beta1.Email" do
|
87
|
-
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
88
|
-
optional :email_address, :string, 2
|
89
|
-
end
|
90
|
-
add_message "google.cloud.talent.v4beta1.Phone" do
|
91
|
-
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
92
|
-
optional :type, :enum, 2, "google.cloud.talent.v4beta1.Phone.PhoneType"
|
93
|
-
optional :number, :string, 3
|
94
|
-
optional :when_available, :string, 4
|
95
|
-
end
|
96
|
-
add_enum "google.cloud.talent.v4beta1.Phone.PhoneType" do
|
97
|
-
value :PHONE_TYPE_UNSPECIFIED, 0
|
98
|
-
value :LANDLINE, 1
|
99
|
-
value :MOBILE, 2
|
100
|
-
value :FAX, 3
|
101
|
-
value :PAGER, 4
|
102
|
-
value :TTY_OR_TDD, 5
|
103
|
-
value :VOICEMAIL, 6
|
104
|
-
value :VIRTUAL, 7
|
105
|
-
value :VOIP, 8
|
106
|
-
value :MOBILE_OR_LANDLINE, 9
|
107
|
-
end
|
108
|
-
add_message "google.cloud.talent.v4beta1.PersonalUri" do
|
109
|
-
optional :uri, :string, 1
|
110
|
-
end
|
111
|
-
add_message "google.cloud.talent.v4beta1.AdditionalContactInfo" do
|
112
|
-
optional :usage, :enum, 1, "google.cloud.talent.v4beta1.ContactInfoUsage"
|
113
|
-
optional :name, :string, 2
|
114
|
-
optional :contact_id, :string, 3
|
115
|
-
end
|
116
|
-
add_message "google.cloud.talent.v4beta1.EmploymentRecord" do
|
117
|
-
optional :start_date, :message, 1, "google.type.Date"
|
118
|
-
optional :end_date, :message, 2, "google.type.Date"
|
119
|
-
optional :employer_name, :string, 3
|
120
|
-
optional :division_name, :string, 4
|
121
|
-
optional :address, :message, 5, "google.cloud.talent.v4beta1.Address"
|
122
|
-
optional :job_title, :string, 6
|
123
|
-
optional :job_description, :string, 7
|
124
|
-
optional :is_supervisor, :message, 8, "google.protobuf.BoolValue"
|
125
|
-
optional :is_self_employed, :message, 9, "google.protobuf.BoolValue"
|
126
|
-
optional :is_current, :message, 10, "google.protobuf.BoolValue"
|
127
|
-
optional :job_title_snippet, :string, 11
|
128
|
-
optional :job_description_snippet, :string, 12
|
129
|
-
optional :employer_name_snippet, :string, 13
|
130
|
-
end
|
131
|
-
add_message "google.cloud.talent.v4beta1.EducationRecord" do
|
132
|
-
optional :start_date, :message, 1, "google.type.Date"
|
133
|
-
optional :end_date, :message, 2, "google.type.Date"
|
134
|
-
optional :expected_graduation_date, :message, 3, "google.type.Date"
|
135
|
-
optional :school_name, :string, 4
|
136
|
-
optional :address, :message, 5, "google.cloud.talent.v4beta1.Address"
|
137
|
-
optional :description, :string, 8
|
138
|
-
optional :is_current, :message, 9, "google.protobuf.BoolValue"
|
139
|
-
optional :school_name_snippet, :string, 10
|
140
|
-
optional :degree_snippet, :string, 11
|
141
|
-
oneof :degree do
|
142
|
-
optional :degree_description, :string, 6
|
143
|
-
optional :structured_degree, :message, 7, "google.cloud.talent.v4beta1.Degree"
|
144
|
-
end
|
145
|
-
end
|
146
|
-
add_message "google.cloud.talent.v4beta1.Degree" do
|
147
|
-
optional :degree_type, :enum, 1, "google.cloud.talent.v4beta1.DegreeType"
|
148
|
-
optional :degree_name, :string, 2
|
149
|
-
repeated :fields_of_study, :string, 3
|
150
|
-
end
|
151
|
-
add_message "google.cloud.talent.v4beta1.Activity" do
|
152
|
-
optional :display_name, :string, 1
|
153
|
-
optional :description, :string, 2
|
154
|
-
optional :uri, :string, 3
|
155
|
-
optional :create_date, :message, 4, "google.type.Date"
|
156
|
-
optional :update_date, :message, 5, "google.type.Date"
|
157
|
-
repeated :team_members, :string, 6
|
158
|
-
repeated :skills_used, :message, 7, "google.cloud.talent.v4beta1.Skill"
|
159
|
-
optional :activity_name_snippet, :string, 8
|
160
|
-
optional :activity_description_snippet, :string, 9
|
161
|
-
repeated :skills_used_snippet, :string, 10
|
162
|
-
end
|
163
|
-
add_message "google.cloud.talent.v4beta1.Publication" do
|
164
|
-
repeated :authors, :string, 1
|
165
|
-
optional :title, :string, 2
|
166
|
-
optional :description, :string, 3
|
167
|
-
optional :journal, :string, 4
|
168
|
-
optional :volume, :string, 5
|
169
|
-
optional :publisher, :string, 6
|
170
|
-
optional :publication_date, :message, 7, "google.type.Date"
|
171
|
-
optional :publication_type, :string, 8
|
172
|
-
optional :isbn, :string, 9
|
173
|
-
end
|
174
|
-
add_message "google.cloud.talent.v4beta1.Patent" do
|
175
|
-
optional :display_name, :string, 1
|
176
|
-
repeated :inventors, :string, 2
|
177
|
-
optional :patent_status, :string, 3
|
178
|
-
optional :patent_status_date, :message, 4, "google.type.Date"
|
179
|
-
optional :patent_filing_date, :message, 5, "google.type.Date"
|
180
|
-
optional :patent_office, :string, 6
|
181
|
-
optional :patent_number, :string, 7
|
182
|
-
optional :patent_description, :string, 8
|
183
|
-
repeated :skills_used, :message, 9, "google.cloud.talent.v4beta1.Skill"
|
184
|
-
end
|
185
|
-
end
|
186
|
-
|
187
|
-
module Google
|
188
|
-
module Cloud
|
189
|
-
module Talent
|
190
|
-
module V4beta1
|
191
|
-
Profile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Profile").msgclass
|
192
|
-
AvailabilitySignal = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AvailabilitySignal").msgclass
|
193
|
-
Resume = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume").msgclass
|
194
|
-
Resume::ResumeType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume.ResumeType").enummodule
|
195
|
-
PersonName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName").msgclass
|
196
|
-
PersonName::PersonStructuredName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName.PersonStructuredName").msgclass
|
197
|
-
Address = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Address").msgclass
|
198
|
-
Email = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Email").msgclass
|
199
|
-
Phone = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone").msgclass
|
200
|
-
Phone::PhoneType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone.PhoneType").enummodule
|
201
|
-
PersonalUri = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonalUri").msgclass
|
202
|
-
AdditionalContactInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AdditionalContactInfo").msgclass
|
203
|
-
EmploymentRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EmploymentRecord").msgclass
|
204
|
-
EducationRecord = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EducationRecord").msgclass
|
205
|
-
Degree = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Degree").msgclass
|
206
|
-
Activity = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Activity").msgclass
|
207
|
-
Publication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Publication").msgclass
|
208
|
-
Patent = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Patent").msgclass
|
209
|
-
end
|
210
|
-
end
|
211
|
-
end
|
212
|
-
end
|