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