google-cloud-talent-v4beta1 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 +12 -0
- data/AUTHENTICATION.md +169 -0
- data/LICENSE.md +203 -0
- data/README.md +71 -0
- data/lib/google-cloud-talent-v4beta1.rb +21 -0
- data/lib/google/cloud/common_resources_pb.rb +15 -0
- data/lib/google/cloud/talent/v4beta1.rb +41 -0
- data/lib/google/cloud/talent/v4beta1/application_pb.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/application_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +717 -0
- data/lib/google/cloud/talent/v4beta1/application_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +155 -0
- data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +19 -0
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +342 -0
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +42 -0
- data/lib/google/cloud/talent/v4beta1/company_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +732 -0
- data/lib/google/cloud/talent/v4beta1/company_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +105 -0
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4beta1/completion.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +407 -0
- data/lib/google/cloud/talent/v4beta1/completion/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/completion/paths.rb +105 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +46 -0
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +70 -0
- data/lib/google/cloud/talent/v4beta1/event_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +379 -0
- data/lib/google/cloud/talent/v4beta1/event_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/event_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +28 -0
- data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +51 -0
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +188 -0
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +28 -0
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +73 -0
- data/lib/google/cloud/talent/v4beta1/job_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +1660 -0
- data/lib/google/cloud/talent/v4beta1/job_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +564 -0
- data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +146 -0
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +167 -0
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +86 -0
- data/lib/google/cloud/talent/v4beta1/profile_pb.rb +214 -0
- data/lib/google/cloud/talent/v4beta1/profile_service.rb +50 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +992 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/profile_service/paths.rb +69 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +92 -0
- data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +63 -0
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +35 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service.rb +49 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +712 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/version.rb +28 -0
- data/proto_docs/README.md +4 -0
- data/proto_docs/google/api/field_behavior.rb +59 -0
- data/proto_docs/google/api/resource.rb +247 -0
- data/proto_docs/google/cloud/talent/v4beta1/application.rb +169 -0
- data/proto_docs/google/cloud/talent/v4beta1/application_service.rb +122 -0
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +1106 -0
- data/proto_docs/google/cloud/talent/v4beta1/company.rb +117 -0
- data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +138 -0
- data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +143 -0
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +237 -0
- data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +43 -0
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +818 -0
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +69 -0
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +356 -0
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +746 -0
- data/proto_docs/google/cloud/talent/v4beta1/profile.rb +811 -0
- data/proto_docs/google/cloud/talent/v4beta1/profile_service.rb +392 -0
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +77 -0
- data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +118 -0
- data/proto_docs/google/longrunning/operations.rb +150 -0
- data/proto_docs/google/protobuf/any.rb +138 -0
- data/proto_docs/google/protobuf/duration.rb +98 -0
- data/proto_docs/google/protobuf/empty.rb +36 -0
- data/proto_docs/google/protobuf/field_mask.rb +229 -0
- data/proto_docs/google/protobuf/timestamp.rb +120 -0
- data/proto_docs/google/protobuf/wrappers.rb +121 -0
- data/proto_docs/google/rpc/status.rb +46 -0
- data/proto_docs/google/type/date.rb +50 -0
- data/proto_docs/google/type/latlng.rb +38 -0
- data/proto_docs/google/type/money.rb +43 -0
- data/proto_docs/google/type/postal_address.rb +135 -0
- data/proto_docs/google/type/timeofday.rb +44 -0
- metadata +251 -0
@@ -0,0 +1,146 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2020 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module Talent
|
23
|
+
module V4beta1
|
24
|
+
module JobService
|
25
|
+
# Path helper methods for the JobService API.
|
26
|
+
module Paths
|
27
|
+
##
|
28
|
+
# Create a fully-qualified Company resource string.
|
29
|
+
#
|
30
|
+
# @overload company_path(project:, tenant:, company:)
|
31
|
+
# The resource will be in the following format:
|
32
|
+
#
|
33
|
+
# `projects/{project}/tenants/{tenant}/companies/{company}`
|
34
|
+
#
|
35
|
+
# @param project [String]
|
36
|
+
# @param tenant [String]
|
37
|
+
# @param company [String]
|
38
|
+
#
|
39
|
+
# @overload company_path(project:, company:)
|
40
|
+
# The resource will be in the following format:
|
41
|
+
#
|
42
|
+
# `projects/{project}/companies/{company}`
|
43
|
+
#
|
44
|
+
# @param project [String]
|
45
|
+
# @param company [String]
|
46
|
+
#
|
47
|
+
# @return [String]
|
48
|
+
def company_path **args
|
49
|
+
resources = {
|
50
|
+
"company:project:tenant" => (proc do |project:, tenant:, company:|
|
51
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
52
|
+
raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
|
53
|
+
|
54
|
+
"projects/#{project}/tenants/#{tenant}/companies/#{company}"
|
55
|
+
end),
|
56
|
+
"company:project" => (proc do |project:, company:|
|
57
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
58
|
+
|
59
|
+
"projects/#{project}/companies/#{company}"
|
60
|
+
end)
|
61
|
+
}
|
62
|
+
|
63
|
+
resource = resources[args.keys.sort.join(":")]
|
64
|
+
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
65
|
+
resource.call(**args)
|
66
|
+
end
|
67
|
+
|
68
|
+
##
|
69
|
+
# Create a fully-qualified Job resource string.
|
70
|
+
#
|
71
|
+
# @overload job_path(project:, tenant:, job:)
|
72
|
+
# The resource will be in the following format:
|
73
|
+
#
|
74
|
+
# `projects/{project}/tenants/{tenant}/jobs/{job}`
|
75
|
+
#
|
76
|
+
# @param project [String]
|
77
|
+
# @param tenant [String]
|
78
|
+
# @param job [String]
|
79
|
+
#
|
80
|
+
# @overload job_path(project:, job:)
|
81
|
+
# The resource will be in the following format:
|
82
|
+
#
|
83
|
+
# `projects/{project}/jobs/{job}`
|
84
|
+
#
|
85
|
+
# @param project [String]
|
86
|
+
# @param job [String]
|
87
|
+
#
|
88
|
+
# @return [String]
|
89
|
+
def job_path **args
|
90
|
+
resources = {
|
91
|
+
"job:project:tenant" => (proc do |project:, tenant:, job:|
|
92
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
93
|
+
raise ArgumentError, "tenant cannot contain /" if tenant.to_s.include? "/"
|
94
|
+
|
95
|
+
"projects/#{project}/tenants/#{tenant}/jobs/#{job}"
|
96
|
+
end),
|
97
|
+
"job:project" => (proc do |project:, job:|
|
98
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
99
|
+
|
100
|
+
"projects/#{project}/jobs/#{job}"
|
101
|
+
end)
|
102
|
+
}
|
103
|
+
|
104
|
+
resource = resources[args.keys.sort.join(":")]
|
105
|
+
raise ArgumentError, "no resource found for values #{args.keys}" if resource.nil?
|
106
|
+
resource.call(**args)
|
107
|
+
end
|
108
|
+
|
109
|
+
##
|
110
|
+
# Create a fully-qualified Project resource string.
|
111
|
+
#
|
112
|
+
# The resource will be in the following format:
|
113
|
+
#
|
114
|
+
# `projects/{project}`
|
115
|
+
#
|
116
|
+
# @param project [String]
|
117
|
+
#
|
118
|
+
# @return [String]
|
119
|
+
def project_path project:
|
120
|
+
"projects/#{project}"
|
121
|
+
end
|
122
|
+
|
123
|
+
##
|
124
|
+
# Create a fully-qualified Tenant resource string.
|
125
|
+
#
|
126
|
+
# The resource will be in the following format:
|
127
|
+
#
|
128
|
+
# `projects/{project}/tenants/{tenant}`
|
129
|
+
#
|
130
|
+
# @param project [String]
|
131
|
+
# @param tenant [String]
|
132
|
+
#
|
133
|
+
# @return [String]
|
134
|
+
def tenant_path project:, tenant:
|
135
|
+
raise ArgumentError, "project cannot contain /" if project.to_s.include? "/"
|
136
|
+
|
137
|
+
"projects/#{project}/tenants/#{tenant}"
|
138
|
+
end
|
139
|
+
|
140
|
+
extend self
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
end
|
146
|
+
end
|
@@ -0,0 +1,167 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4beta1/job_service.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/client_pb'
|
8
|
+
require 'google/api/field_behavior_pb'
|
9
|
+
require 'google/api/resource_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_file("google/cloud/talent/v4beta1/job_service.proto", :syntax => :proto3) 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
|
+
end
|
139
|
+
|
140
|
+
module Google
|
141
|
+
module Cloud
|
142
|
+
module Talent
|
143
|
+
module V4beta1
|
144
|
+
CreateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.CreateJobRequest").msgclass
|
145
|
+
GetJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.GetJobRequest").msgclass
|
146
|
+
UpdateJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.UpdateJobRequest").msgclass
|
147
|
+
DeleteJobRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.DeleteJobRequest").msgclass
|
148
|
+
BatchDeleteJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchDeleteJobsRequest").msgclass
|
149
|
+
ListJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsRequest").msgclass
|
150
|
+
ListJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.ListJobsResponse").msgclass
|
151
|
+
SearchJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest").msgclass
|
152
|
+
SearchJobsRequest::CustomRankingInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo").msgclass
|
153
|
+
SearchJobsRequest::CustomRankingInfo::ImportanceLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.CustomRankingInfo.ImportanceLevel").enummodule
|
154
|
+
SearchJobsRequest::SearchMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.SearchMode").enummodule
|
155
|
+
SearchJobsRequest::DiversificationLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsRequest.DiversificationLevel").enummodule
|
156
|
+
SearchJobsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse").msgclass
|
157
|
+
SearchJobsResponse::MatchingJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.MatchingJob").msgclass
|
158
|
+
SearchJobsResponse::CommuteInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
|
159
|
+
BatchCreateJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchCreateJobsRequest").msgclass
|
160
|
+
BatchUpdateJobsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchUpdateJobsRequest").msgclass
|
161
|
+
JobOperationResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult").msgclass
|
162
|
+
JobOperationResult::JobResult = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult.JobResult").msgclass
|
163
|
+
JobView = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobView").enummodule
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
end
|
@@ -0,0 +1,86 @@
|
|
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
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/talent/v4beta1/job_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Talent
|
25
|
+
module V4beta1
|
26
|
+
module JobService
|
27
|
+
# A service handles job management, including job CRUD, enumeration and search.
|
28
|
+
class Service
|
29
|
+
|
30
|
+
include GRPC::GenericService
|
31
|
+
|
32
|
+
self.marshal_class_method = :encode
|
33
|
+
self.unmarshal_class_method = :decode
|
34
|
+
self.service_name = 'google.cloud.talent.v4beta1.JobService'
|
35
|
+
|
36
|
+
# Creates a new job.
|
37
|
+
#
|
38
|
+
# Typically, the job becomes searchable within 10 seconds, but it may take
|
39
|
+
# up to 5 minutes.
|
40
|
+
rpc :CreateJob, CreateJobRequest, Job
|
41
|
+
# Begins executing a batch create jobs operation.
|
42
|
+
rpc :BatchCreateJobs, BatchCreateJobsRequest, Google::Longrunning::Operation
|
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
|
+
# Begins executing a batch update jobs operation.
|
52
|
+
rpc :BatchUpdateJobs, BatchUpdateJobsRequest, Google::Longrunning::Operation
|
53
|
+
# Deletes the specified job.
|
54
|
+
#
|
55
|
+
# Typically, the job becomes unsearchable within 10 seconds, but it may take
|
56
|
+
# up to 5 minutes.
|
57
|
+
rpc :DeleteJob, DeleteJobRequest, Google::Protobuf::Empty
|
58
|
+
# Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
|
59
|
+
rpc :BatchDeleteJobs, BatchDeleteJobsRequest, Google::Protobuf::Empty
|
60
|
+
# Lists jobs by filter.
|
61
|
+
rpc :ListJobs, ListJobsRequest, ListJobsResponse
|
62
|
+
# Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
63
|
+
#
|
64
|
+
# This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
|
65
|
+
# present in the database, and only returns jobs that the caller has
|
66
|
+
# permission to search against.
|
67
|
+
rpc :SearchJobs, SearchJobsRequest, SearchJobsResponse
|
68
|
+
# Searches for jobs using the provided [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
69
|
+
#
|
70
|
+
# This API call is intended for the use case of targeting passive job
|
71
|
+
# seekers (for example, job seekers who have signed up to receive email
|
72
|
+
# alerts about potential job opportunities), and has different algorithmic
|
73
|
+
# adjustments that are targeted to passive job seekers.
|
74
|
+
#
|
75
|
+
# This call constrains the [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs
|
76
|
+
# present in the database, and only returns jobs the caller has
|
77
|
+
# permission to search against.
|
78
|
+
rpc :SearchJobsForAlert, SearchJobsRequest, SearchJobsResponse
|
79
|
+
end
|
80
|
+
|
81
|
+
Stub = Service.rpc_stub_class
|
82
|
+
end
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
@@ -0,0 +1,214 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4beta1/profile.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/field_behavior_pb'
|
7
|
+
require 'google/api/resource_pb'
|
8
|
+
require 'google/cloud/talent/v4beta1/common_pb'
|
9
|
+
require 'google/protobuf/duration_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
|
+
require 'google/api/annotations_pb'
|
15
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
16
|
+
add_file("google/cloud/talent/v4beta1/profile.proto", :syntax => :proto3) 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
|
+
end
|
188
|
+
|
189
|
+
module Google
|
190
|
+
module Cloud
|
191
|
+
module Talent
|
192
|
+
module V4beta1
|
193
|
+
Profile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Profile").msgclass
|
194
|
+
AvailabilitySignal = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AvailabilitySignal").msgclass
|
195
|
+
Resume = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume").msgclass
|
196
|
+
Resume::ResumeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume.ResumeType").enummodule
|
197
|
+
PersonName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName").msgclass
|
198
|
+
PersonName::PersonStructuredName = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName.PersonStructuredName").msgclass
|
199
|
+
Address = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Address").msgclass
|
200
|
+
Email = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Email").msgclass
|
201
|
+
Phone = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone").msgclass
|
202
|
+
Phone::PhoneType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Phone.PhoneType").enummodule
|
203
|
+
PersonalUri = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonalUri").msgclass
|
204
|
+
AdditionalContactInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AdditionalContactInfo").msgclass
|
205
|
+
EmploymentRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EmploymentRecord").msgclass
|
206
|
+
EducationRecord = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.EducationRecord").msgclass
|
207
|
+
Degree = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Degree").msgclass
|
208
|
+
Activity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Activity").msgclass
|
209
|
+
Publication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Publication").msgclass
|
210
|
+
Patent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Patent").msgclass
|
211
|
+
end
|
212
|
+
end
|
213
|
+
end
|
214
|
+
end
|