google-cloud-talent-v4 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 +75 -0
- data/lib/google-cloud-talent-v4.rb +21 -0
- data/lib/google/cloud/talent/v4.rb +39 -0
- data/lib/google/cloud/talent/v4/common_pb.rb +280 -0
- data/lib/google/cloud/talent/v4/company_pb.rb +42 -0
- data/lib/google/cloud/talent/v4/company_service.rb +49 -0
- data/lib/google/cloud/talent/v4/company_service/client.rb +732 -0
- data/lib/google/cloud/talent/v4/company_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/company_service/paths.rb +69 -0
- data/lib/google/cloud/talent/v4/company_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4/company_service_services_pb.rb +54 -0
- data/lib/google/cloud/talent/v4/completion.rb +49 -0
- data/lib/google/cloud/talent/v4/completion/client.rb +408 -0
- data/lib/google/cloud/talent/v4/completion/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/completion/paths.rb +69 -0
- data/lib/google/cloud/talent/v4/completion_service_pb.rb +57 -0
- data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +46 -0
- data/lib/google/cloud/talent/v4/event_pb.rb +55 -0
- data/lib/google/cloud/talent/v4/event_service.rb +49 -0
- data/lib/google/cloud/talent/v4/event_service/client.rb +383 -0
- data/lib/google/cloud/talent/v4/event_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/event_service/paths.rb +50 -0
- data/lib/google/cloud/talent/v4/event_service_pb.rb +28 -0
- data/lib/google/cloud/talent/v4/event_service_services_pb.rb +51 -0
- data/lib/google/cloud/talent/v4/filters_pb.rb +87 -0
- data/lib/google/cloud/talent/v4/histogram_pb.rb +28 -0
- data/lib/google/cloud/talent/v4/job_pb.rb +72 -0
- data/lib/google/cloud/talent/v4/job_service.rb +50 -0
- data/lib/google/cloud/talent/v4/job_service/client.rb +1632 -0
- data/lib/google/cloud/talent/v4/job_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/job_service/operations.rb +570 -0
- data/lib/google/cloud/talent/v4/job_service/paths.rb +88 -0
- data/lib/google/cloud/talent/v4/job_service_pb.rb +173 -0
- data/lib/google/cloud/talent/v4/job_service_services_pb.rb +86 -0
- data/lib/google/cloud/talent/v4/tenant_pb.rb +26 -0
- data/lib/google/cloud/talent/v4/tenant_service.rb +49 -0
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +720 -0
- data/lib/google/cloud/talent/v4/tenant_service/credentials.rb +52 -0
- data/lib/google/cloud/talent/v4/tenant_service/paths.rb +64 -0
- data/lib/google/cloud/talent/v4/tenant_service_pb.rb +56 -0
- data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +53 -0
- data/lib/google/cloud/talent/v4/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 +283 -0
- data/proto_docs/google/cloud/talent/v4/common.rb +949 -0
- data/proto_docs/google/cloud/talent/v4/company.rb +117 -0
- data/proto_docs/google/cloud/talent/v4/company_service.rb +133 -0
- data/proto_docs/google/cloud/talent/v4/completion_service.rb +148 -0
- data/proto_docs/google/cloud/talent/v4/event.rb +179 -0
- data/proto_docs/google/cloud/talent/v4/event_service.rb +42 -0
- data/proto_docs/google/cloud/talent/v4/filters.rb +360 -0
- data/proto_docs/google/cloud/talent/v4/histogram.rb +72 -0
- data/proto_docs/google/cloud/talent/v4/job.rb +378 -0
- data/proto_docs/google/cloud/talent/v4/job_service.rb +737 -0
- data/proto_docs/google/cloud/talent/v4/tenant.rb +50 -0
- data/proto_docs/google/cloud/talent/v4/tenant_service.rb +121 -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/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 +258 -0
@@ -0,0 +1,21 @@
|
|
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
|
+
# This gem does not autoload during Bundler.require. To load this gem,
|
20
|
+
# issue explicit require statements for the packages desired, e.g.:
|
21
|
+
# require "google/cloud/talent/v4"
|
@@ -0,0 +1,39 @@
|
|
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
|
+
require "google/cloud/talent/v4/company_service"
|
20
|
+
require "google/cloud/talent/v4/completion"
|
21
|
+
require "google/cloud/talent/v4/event_service"
|
22
|
+
require "google/cloud/talent/v4/job_service"
|
23
|
+
require "google/cloud/talent/v4/tenant_service"
|
24
|
+
require "google/cloud/talent/v4/version"
|
25
|
+
|
26
|
+
module Google
|
27
|
+
module Cloud
|
28
|
+
module Talent
|
29
|
+
##
|
30
|
+
# To load this package, including all its services, and instantiate a client:
|
31
|
+
#
|
32
|
+
# require "google/cloud/talent/v4"
|
33
|
+
# client = ::Google::Cloud::Talent::V4::CompanyService::Client.new
|
34
|
+
#
|
35
|
+
module V4
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,280 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4/common.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
9
|
+
require 'google/protobuf/wrappers_pb'
|
10
|
+
require 'google/type/latlng_pb'
|
11
|
+
require 'google/type/money_pb'
|
12
|
+
require 'google/type/postal_address_pb'
|
13
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
14
|
+
add_file("google/cloud/talent/v4/common.proto", :syntax => :proto3) do
|
15
|
+
add_message "google.cloud.talent.v4.TimestampRange" do
|
16
|
+
optional :start_time, :message, 1, "google.protobuf.Timestamp"
|
17
|
+
optional :end_time, :message, 2, "google.protobuf.Timestamp"
|
18
|
+
end
|
19
|
+
add_message "google.cloud.talent.v4.Location" do
|
20
|
+
optional :location_type, :enum, 1, "google.cloud.talent.v4.Location.LocationType"
|
21
|
+
optional :postal_address, :message, 2, "google.type.PostalAddress"
|
22
|
+
optional :lat_lng, :message, 3, "google.type.LatLng"
|
23
|
+
optional :radius_miles, :double, 4
|
24
|
+
end
|
25
|
+
add_enum "google.cloud.talent.v4.Location.LocationType" do
|
26
|
+
value :LOCATION_TYPE_UNSPECIFIED, 0
|
27
|
+
value :COUNTRY, 1
|
28
|
+
value :ADMINISTRATIVE_AREA, 2
|
29
|
+
value :SUB_ADMINISTRATIVE_AREA, 3
|
30
|
+
value :LOCALITY, 4
|
31
|
+
value :POSTAL_CODE, 5
|
32
|
+
value :SUB_LOCALITY, 6
|
33
|
+
value :SUB_LOCALITY_1, 7
|
34
|
+
value :SUB_LOCALITY_2, 8
|
35
|
+
value :NEIGHBORHOOD, 9
|
36
|
+
value :STREET_ADDRESS, 10
|
37
|
+
end
|
38
|
+
add_message "google.cloud.talent.v4.RequestMetadata" do
|
39
|
+
optional :domain, :string, 1
|
40
|
+
optional :session_id, :string, 2
|
41
|
+
optional :user_id, :string, 3
|
42
|
+
optional :allow_missing_ids, :bool, 4
|
43
|
+
optional :device_info, :message, 5, "google.cloud.talent.v4.DeviceInfo"
|
44
|
+
end
|
45
|
+
add_message "google.cloud.talent.v4.ResponseMetadata" do
|
46
|
+
optional :request_id, :string, 1
|
47
|
+
end
|
48
|
+
add_message "google.cloud.talent.v4.DeviceInfo" do
|
49
|
+
optional :device_type, :enum, 1, "google.cloud.talent.v4.DeviceInfo.DeviceType"
|
50
|
+
optional :id, :string, 2
|
51
|
+
end
|
52
|
+
add_enum "google.cloud.talent.v4.DeviceInfo.DeviceType" do
|
53
|
+
value :DEVICE_TYPE_UNSPECIFIED, 0
|
54
|
+
value :WEB, 1
|
55
|
+
value :MOBILE_WEB, 2
|
56
|
+
value :ANDROID, 3
|
57
|
+
value :IOS, 4
|
58
|
+
value :BOT, 5
|
59
|
+
value :OTHER, 6
|
60
|
+
end
|
61
|
+
add_message "google.cloud.talent.v4.CustomAttribute" do
|
62
|
+
repeated :string_values, :string, 1
|
63
|
+
repeated :long_values, :int64, 2
|
64
|
+
optional :filterable, :bool, 3
|
65
|
+
optional :keyword_searchable, :bool, 4
|
66
|
+
end
|
67
|
+
add_message "google.cloud.talent.v4.SpellingCorrection" do
|
68
|
+
optional :corrected, :bool, 1
|
69
|
+
optional :corrected_text, :string, 2
|
70
|
+
optional :corrected_html, :string, 3
|
71
|
+
end
|
72
|
+
add_message "google.cloud.talent.v4.CompensationInfo" do
|
73
|
+
repeated :entries, :message, 1, "google.cloud.talent.v4.CompensationInfo.CompensationEntry"
|
74
|
+
optional :annualized_base_compensation_range, :message, 2, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
|
75
|
+
optional :annualized_total_compensation_range, :message, 3, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
|
76
|
+
end
|
77
|
+
add_message "google.cloud.talent.v4.CompensationInfo.CompensationEntry" do
|
78
|
+
optional :type, :enum, 1, "google.cloud.talent.v4.CompensationInfo.CompensationType"
|
79
|
+
optional :unit, :enum, 2, "google.cloud.talent.v4.CompensationInfo.CompensationUnit"
|
80
|
+
optional :description, :string, 5
|
81
|
+
optional :expected_units_per_year, :message, 6, "google.protobuf.DoubleValue"
|
82
|
+
oneof :compensation_amount do
|
83
|
+
optional :amount, :message, 3, "google.type.Money"
|
84
|
+
optional :range, :message, 4, "google.cloud.talent.v4.CompensationInfo.CompensationRange"
|
85
|
+
end
|
86
|
+
end
|
87
|
+
add_message "google.cloud.talent.v4.CompensationInfo.CompensationRange" do
|
88
|
+
optional :max_compensation, :message, 2, "google.type.Money"
|
89
|
+
optional :min_compensation, :message, 1, "google.type.Money"
|
90
|
+
end
|
91
|
+
add_enum "google.cloud.talent.v4.CompensationInfo.CompensationType" do
|
92
|
+
value :COMPENSATION_TYPE_UNSPECIFIED, 0
|
93
|
+
value :BASE, 1
|
94
|
+
value :BONUS, 2
|
95
|
+
value :SIGNING_BONUS, 3
|
96
|
+
value :EQUITY, 4
|
97
|
+
value :PROFIT_SHARING, 5
|
98
|
+
value :COMMISSIONS, 6
|
99
|
+
value :TIPS, 7
|
100
|
+
value :OTHER_COMPENSATION_TYPE, 8
|
101
|
+
end
|
102
|
+
add_enum "google.cloud.talent.v4.CompensationInfo.CompensationUnit" do
|
103
|
+
value :COMPENSATION_UNIT_UNSPECIFIED, 0
|
104
|
+
value :HOURLY, 1
|
105
|
+
value :DAILY, 2
|
106
|
+
value :WEEKLY, 3
|
107
|
+
value :MONTHLY, 4
|
108
|
+
value :YEARLY, 5
|
109
|
+
value :ONE_TIME, 6
|
110
|
+
value :OTHER_COMPENSATION_UNIT, 7
|
111
|
+
end
|
112
|
+
add_message "google.cloud.talent.v4.BatchOperationMetadata" do
|
113
|
+
optional :state, :enum, 1, "google.cloud.talent.v4.BatchOperationMetadata.State"
|
114
|
+
optional :state_description, :string, 2
|
115
|
+
optional :success_count, :int32, 3
|
116
|
+
optional :failure_count, :int32, 4
|
117
|
+
optional :total_count, :int32, 5
|
118
|
+
optional :create_time, :message, 6, "google.protobuf.Timestamp"
|
119
|
+
optional :update_time, :message, 7, "google.protobuf.Timestamp"
|
120
|
+
optional :end_time, :message, 8, "google.protobuf.Timestamp"
|
121
|
+
end
|
122
|
+
add_enum "google.cloud.talent.v4.BatchOperationMetadata.State" do
|
123
|
+
value :STATE_UNSPECIFIED, 0
|
124
|
+
value :INITIALIZING, 1
|
125
|
+
value :PROCESSING, 2
|
126
|
+
value :SUCCEEDED, 3
|
127
|
+
value :FAILED, 4
|
128
|
+
value :CANCELLING, 5
|
129
|
+
value :CANCELLED, 6
|
130
|
+
end
|
131
|
+
add_enum "google.cloud.talent.v4.CompanySize" do
|
132
|
+
value :COMPANY_SIZE_UNSPECIFIED, 0
|
133
|
+
value :MINI, 1
|
134
|
+
value :SMALL, 2
|
135
|
+
value :SMEDIUM, 3
|
136
|
+
value :MEDIUM, 4
|
137
|
+
value :BIG, 5
|
138
|
+
value :BIGGER, 6
|
139
|
+
value :GIANT, 7
|
140
|
+
end
|
141
|
+
add_enum "google.cloud.talent.v4.JobBenefit" do
|
142
|
+
value :JOB_BENEFIT_UNSPECIFIED, 0
|
143
|
+
value :CHILD_CARE, 1
|
144
|
+
value :DENTAL, 2
|
145
|
+
value :DOMESTIC_PARTNER, 3
|
146
|
+
value :FLEXIBLE_HOURS, 4
|
147
|
+
value :MEDICAL, 5
|
148
|
+
value :LIFE_INSURANCE, 6
|
149
|
+
value :PARENTAL_LEAVE, 7
|
150
|
+
value :RETIREMENT_PLAN, 8
|
151
|
+
value :SICK_DAYS, 9
|
152
|
+
value :VACATION, 10
|
153
|
+
value :VISION, 11
|
154
|
+
end
|
155
|
+
add_enum "google.cloud.talent.v4.DegreeType" do
|
156
|
+
value :DEGREE_TYPE_UNSPECIFIED, 0
|
157
|
+
value :PRIMARY_EDUCATION, 1
|
158
|
+
value :LOWER_SECONDARY_EDUCATION, 2
|
159
|
+
value :UPPER_SECONDARY_EDUCATION, 3
|
160
|
+
value :ADULT_REMEDIAL_EDUCATION, 4
|
161
|
+
value :ASSOCIATES_OR_EQUIVALENT, 5
|
162
|
+
value :BACHELORS_OR_EQUIVALENT, 6
|
163
|
+
value :MASTERS_OR_EQUIVALENT, 7
|
164
|
+
value :DOCTORAL_OR_EQUIVALENT, 8
|
165
|
+
end
|
166
|
+
add_enum "google.cloud.talent.v4.EmploymentType" do
|
167
|
+
value :EMPLOYMENT_TYPE_UNSPECIFIED, 0
|
168
|
+
value :FULL_TIME, 1
|
169
|
+
value :PART_TIME, 2
|
170
|
+
value :CONTRACTOR, 3
|
171
|
+
value :CONTRACT_TO_HIRE, 4
|
172
|
+
value :TEMPORARY, 5
|
173
|
+
value :INTERN, 6
|
174
|
+
value :VOLUNTEER, 7
|
175
|
+
value :PER_DIEM, 8
|
176
|
+
value :FLY_IN_FLY_OUT, 9
|
177
|
+
value :OTHER_EMPLOYMENT_TYPE, 10
|
178
|
+
end
|
179
|
+
add_enum "google.cloud.talent.v4.JobLevel" do
|
180
|
+
value :JOB_LEVEL_UNSPECIFIED, 0
|
181
|
+
value :ENTRY_LEVEL, 1
|
182
|
+
value :EXPERIENCED, 2
|
183
|
+
value :MANAGER, 3
|
184
|
+
value :DIRECTOR, 4
|
185
|
+
value :EXECUTIVE, 5
|
186
|
+
end
|
187
|
+
add_enum "google.cloud.talent.v4.JobCategory" do
|
188
|
+
value :JOB_CATEGORY_UNSPECIFIED, 0
|
189
|
+
value :ACCOUNTING_AND_FINANCE, 1
|
190
|
+
value :ADMINISTRATIVE_AND_OFFICE, 2
|
191
|
+
value :ADVERTISING_AND_MARKETING, 3
|
192
|
+
value :ANIMAL_CARE, 4
|
193
|
+
value :ART_FASHION_AND_DESIGN, 5
|
194
|
+
value :BUSINESS_OPERATIONS, 6
|
195
|
+
value :CLEANING_AND_FACILITIES, 7
|
196
|
+
value :COMPUTER_AND_IT, 8
|
197
|
+
value :CONSTRUCTION, 9
|
198
|
+
value :CUSTOMER_SERVICE, 10
|
199
|
+
value :EDUCATION, 11
|
200
|
+
value :ENTERTAINMENT_AND_TRAVEL, 12
|
201
|
+
value :FARMING_AND_OUTDOORS, 13
|
202
|
+
value :HEALTHCARE, 14
|
203
|
+
value :HUMAN_RESOURCES, 15
|
204
|
+
value :INSTALLATION_MAINTENANCE_AND_REPAIR, 16
|
205
|
+
value :LEGAL, 17
|
206
|
+
value :MANAGEMENT, 18
|
207
|
+
value :MANUFACTURING_AND_WAREHOUSE, 19
|
208
|
+
value :MEDIA_COMMUNICATIONS_AND_WRITING, 20
|
209
|
+
value :OIL_GAS_AND_MINING, 21
|
210
|
+
value :PERSONAL_CARE_AND_SERVICES, 22
|
211
|
+
value :PROTECTIVE_SERVICES, 23
|
212
|
+
value :REAL_ESTATE, 24
|
213
|
+
value :RESTAURANT_AND_HOSPITALITY, 25
|
214
|
+
value :SALES_AND_RETAIL, 26
|
215
|
+
value :SCIENCE_AND_ENGINEERING, 27
|
216
|
+
value :SOCIAL_SERVICES_AND_NON_PROFIT, 28
|
217
|
+
value :SPORTS_FITNESS_AND_RECREATION, 29
|
218
|
+
value :TRANSPORTATION_AND_LOGISTICS, 30
|
219
|
+
end
|
220
|
+
add_enum "google.cloud.talent.v4.PostingRegion" do
|
221
|
+
value :POSTING_REGION_UNSPECIFIED, 0
|
222
|
+
value :ADMINISTRATIVE_AREA, 1
|
223
|
+
value :NATION, 2
|
224
|
+
value :TELECOMMUTE, 3
|
225
|
+
end
|
226
|
+
add_enum "google.cloud.talent.v4.Visibility" do
|
227
|
+
value :VISIBILITY_UNSPECIFIED, 0
|
228
|
+
value :ACCOUNT_ONLY, 1
|
229
|
+
value :SHARED_WITH_GOOGLE, 2
|
230
|
+
value :SHARED_WITH_PUBLIC, 3
|
231
|
+
end
|
232
|
+
add_enum "google.cloud.talent.v4.HtmlSanitization" do
|
233
|
+
value :HTML_SANITIZATION_UNSPECIFIED, 0
|
234
|
+
value :HTML_SANITIZATION_DISABLED, 1
|
235
|
+
value :SIMPLE_FORMATTING_ONLY, 2
|
236
|
+
end
|
237
|
+
add_enum "google.cloud.talent.v4.CommuteMethod" do
|
238
|
+
value :COMMUTE_METHOD_UNSPECIFIED, 0
|
239
|
+
value :DRIVING, 1
|
240
|
+
value :TRANSIT, 2
|
241
|
+
value :WALKING, 3
|
242
|
+
value :CYCLING, 4
|
243
|
+
end
|
244
|
+
end
|
245
|
+
end
|
246
|
+
|
247
|
+
module Google
|
248
|
+
module Cloud
|
249
|
+
module Talent
|
250
|
+
module V4
|
251
|
+
TimestampRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.TimestampRange").msgclass
|
252
|
+
Location = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.Location").msgclass
|
253
|
+
Location::LocationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.Location.LocationType").enummodule
|
254
|
+
RequestMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.RequestMetadata").msgclass
|
255
|
+
ResponseMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.ResponseMetadata").msgclass
|
256
|
+
DeviceInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.DeviceInfo").msgclass
|
257
|
+
DeviceInfo::DeviceType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.DeviceInfo.DeviceType").enummodule
|
258
|
+
CustomAttribute = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CustomAttribute").msgclass
|
259
|
+
SpellingCorrection = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.SpellingCorrection").msgclass
|
260
|
+
CompensationInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompensationInfo").msgclass
|
261
|
+
CompensationInfo::CompensationEntry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompensationInfo.CompensationEntry").msgclass
|
262
|
+
CompensationInfo::CompensationRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompensationInfo.CompensationRange").msgclass
|
263
|
+
CompensationInfo::CompensationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompensationInfo.CompensationType").enummodule
|
264
|
+
CompensationInfo::CompensationUnit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompensationInfo.CompensationUnit").enummodule
|
265
|
+
BatchOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.BatchOperationMetadata").msgclass
|
266
|
+
BatchOperationMetadata::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.BatchOperationMetadata.State").enummodule
|
267
|
+
CompanySize = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CompanySize").enummodule
|
268
|
+
JobBenefit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.JobBenefit").enummodule
|
269
|
+
DegreeType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.DegreeType").enummodule
|
270
|
+
EmploymentType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.EmploymentType").enummodule
|
271
|
+
JobLevel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.JobLevel").enummodule
|
272
|
+
JobCategory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.JobCategory").enummodule
|
273
|
+
PostingRegion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.PostingRegion").enummodule
|
274
|
+
Visibility = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.Visibility").enummodule
|
275
|
+
HtmlSanitization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.HtmlSanitization").enummodule
|
276
|
+
CommuteMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.CommuteMethod").enummodule
|
277
|
+
end
|
278
|
+
end
|
279
|
+
end
|
280
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: google/cloud/talent/v4/company.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
require 'google/api/annotations_pb'
|
7
|
+
require 'google/api/field_behavior_pb'
|
8
|
+
require 'google/api/resource_pb'
|
9
|
+
require 'google/cloud/talent/v4/common_pb'
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
11
|
+
add_file("google/cloud/talent/v4/company.proto", :syntax => :proto3) do
|
12
|
+
add_message "google.cloud.talent.v4.Company" do
|
13
|
+
optional :name, :string, 1
|
14
|
+
optional :display_name, :string, 2
|
15
|
+
optional :external_id, :string, 3
|
16
|
+
optional :size, :enum, 4, "google.cloud.talent.v4.CompanySize"
|
17
|
+
optional :headquarters_address, :string, 5
|
18
|
+
optional :hiring_agency, :bool, 6
|
19
|
+
optional :eeo_text, :string, 7
|
20
|
+
optional :website_uri, :string, 8
|
21
|
+
optional :career_site_uri, :string, 9
|
22
|
+
optional :image_uri, :string, 10
|
23
|
+
repeated :keyword_searchable_job_custom_attributes, :string, 11
|
24
|
+
optional :derived_info, :message, 12, "google.cloud.talent.v4.Company.DerivedInfo"
|
25
|
+
optional :suspended, :bool, 13
|
26
|
+
end
|
27
|
+
add_message "google.cloud.talent.v4.Company.DerivedInfo" do
|
28
|
+
optional :headquarters_location, :message, 1, "google.cloud.talent.v4.Location"
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
module Google
|
34
|
+
module Cloud
|
35
|
+
module Talent
|
36
|
+
module V4
|
37
|
+
Company = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.Company").msgclass
|
38
|
+
Company::DerivedInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4.Company.DerivedInfo").msgclass
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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
|
+
require "gapic/common"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/talent/v4/version"
|
24
|
+
|
25
|
+
require "google/cloud/talent/v4/company_service/credentials"
|
26
|
+
require "google/cloud/talent/v4/company_service/paths"
|
27
|
+
require "google/cloud/talent/v4/company_service/client"
|
28
|
+
|
29
|
+
module Google
|
30
|
+
module Cloud
|
31
|
+
module Talent
|
32
|
+
module V4
|
33
|
+
##
|
34
|
+
# A service that handles company management, including CRUD and enumeration.
|
35
|
+
#
|
36
|
+
# To load this service and instantiate a client:
|
37
|
+
#
|
38
|
+
# require "google/cloud/talent/v4/company_service"
|
39
|
+
# client = ::Google::Cloud::Talent::V4::CompanyService::Client.new
|
40
|
+
#
|
41
|
+
module CompanyService
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
helper_path = ::File.join __dir__, "company_service", "helpers.rb"
|
49
|
+
require "google/cloud/talent/v4/company_service/helpers" if ::File.file? helper_path
|
@@ -0,0 +1,732 @@
|
|
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
|
+
require "google/cloud/errors"
|
20
|
+
require "google/cloud/talent/v4/company_service_pb"
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module Talent
|
25
|
+
module V4
|
26
|
+
module CompanyService
|
27
|
+
##
|
28
|
+
# Client for the CompanyService service.
|
29
|
+
#
|
30
|
+
# A service that handles company management, including CRUD and enumeration.
|
31
|
+
#
|
32
|
+
class Client
|
33
|
+
include Paths
|
34
|
+
|
35
|
+
# @private
|
36
|
+
attr_reader :company_service_stub
|
37
|
+
|
38
|
+
##
|
39
|
+
# Configure the CompanyService Client class.
|
40
|
+
#
|
41
|
+
# See {::Google::Cloud::Talent::V4::CompanyService::Client::Configuration}
|
42
|
+
# for a description of the configuration fields.
|
43
|
+
#
|
44
|
+
# ## Example
|
45
|
+
#
|
46
|
+
# To modify the configuration for all CompanyService clients:
|
47
|
+
#
|
48
|
+
# ::Google::Cloud::Talent::V4::CompanyService::Client.configure do |config|
|
49
|
+
# config.timeout = 10.0
|
50
|
+
# end
|
51
|
+
#
|
52
|
+
# @yield [config] Configure the Client client.
|
53
|
+
# @yieldparam config [Client::Configuration]
|
54
|
+
#
|
55
|
+
# @return [Client::Configuration]
|
56
|
+
#
|
57
|
+
def self.configure
|
58
|
+
@configure ||= begin
|
59
|
+
namespace = ["Google", "Cloud", "Talent", "V4"]
|
60
|
+
parent_config = while namespace.any?
|
61
|
+
parent_name = namespace.join "::"
|
62
|
+
parent_const = const_get parent_name
|
63
|
+
break parent_const.configure if parent_const&.respond_to? :configure
|
64
|
+
namespace.pop
|
65
|
+
end
|
66
|
+
default_config = Client::Configuration.new parent_config
|
67
|
+
|
68
|
+
default_config.rpcs.create_company.timeout = 30.0
|
69
|
+
|
70
|
+
default_config.rpcs.get_company.timeout = 30.0
|
71
|
+
default_config.rpcs.get_company.retry_policy = {
|
72
|
+
initial_delay: 0.1,
|
73
|
+
max_delay: 60.0,
|
74
|
+
multiplier: 1.3,
|
75
|
+
retry_codes: [4, 14]
|
76
|
+
}
|
77
|
+
|
78
|
+
default_config.rpcs.update_company.timeout = 30.0
|
79
|
+
|
80
|
+
default_config.rpcs.delete_company.timeout = 30.0
|
81
|
+
default_config.rpcs.delete_company.retry_policy = {
|
82
|
+
initial_delay: 0.1,
|
83
|
+
max_delay: 60.0,
|
84
|
+
multiplier: 1.3,
|
85
|
+
retry_codes: [4, 14]
|
86
|
+
}
|
87
|
+
|
88
|
+
default_config.rpcs.list_companies.timeout = 30.0
|
89
|
+
default_config.rpcs.list_companies.retry_policy = {
|
90
|
+
initial_delay: 0.1,
|
91
|
+
max_delay: 60.0,
|
92
|
+
multiplier: 1.3,
|
93
|
+
retry_codes: [4, 14]
|
94
|
+
}
|
95
|
+
|
96
|
+
default_config
|
97
|
+
end
|
98
|
+
yield @configure if block_given?
|
99
|
+
@configure
|
100
|
+
end
|
101
|
+
|
102
|
+
##
|
103
|
+
# Configure the CompanyService Client instance.
|
104
|
+
#
|
105
|
+
# The configuration is set to the derived mode, meaning that values can be changed,
|
106
|
+
# but structural changes (adding new fields, etc.) are not allowed. Structural changes
|
107
|
+
# should be made on {Client.configure}.
|
108
|
+
#
|
109
|
+
# See {::Google::Cloud::Talent::V4::CompanyService::Client::Configuration}
|
110
|
+
# for a description of the configuration fields.
|
111
|
+
#
|
112
|
+
# @yield [config] Configure the Client client.
|
113
|
+
# @yieldparam config [Client::Configuration]
|
114
|
+
#
|
115
|
+
# @return [Client::Configuration]
|
116
|
+
#
|
117
|
+
def configure
|
118
|
+
yield @config if block_given?
|
119
|
+
@config
|
120
|
+
end
|
121
|
+
|
122
|
+
##
|
123
|
+
# Create a new CompanyService client object.
|
124
|
+
#
|
125
|
+
# ## Examples
|
126
|
+
#
|
127
|
+
# To create a new CompanyService client with the default
|
128
|
+
# configuration:
|
129
|
+
#
|
130
|
+
# client = ::Google::Cloud::Talent::V4::CompanyService::Client.new
|
131
|
+
#
|
132
|
+
# To create a new CompanyService client with a custom
|
133
|
+
# configuration:
|
134
|
+
#
|
135
|
+
# client = ::Google::Cloud::Talent::V4::CompanyService::Client.new do |config|
|
136
|
+
# config.timeout = 10.0
|
137
|
+
# end
|
138
|
+
#
|
139
|
+
# @yield [config] Configure the CompanyService client.
|
140
|
+
# @yieldparam config [Client::Configuration]
|
141
|
+
#
|
142
|
+
def initialize
|
143
|
+
# These require statements are intentionally placed here to initialize
|
144
|
+
# the gRPC module only when it's required.
|
145
|
+
# See https://github.com/googleapis/toolkit/issues/446
|
146
|
+
require "gapic/grpc"
|
147
|
+
require "google/cloud/talent/v4/company_service_services_pb"
|
148
|
+
|
149
|
+
# Create the configuration object
|
150
|
+
@config = Configuration.new Client.configure
|
151
|
+
|
152
|
+
# Yield the configuration if needed
|
153
|
+
yield @config if block_given?
|
154
|
+
|
155
|
+
# Create credentials
|
156
|
+
credentials = @config.credentials
|
157
|
+
credentials ||= Credentials.default scope: @config.scope
|
158
|
+
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
159
|
+
credentials = Credentials.new credentials, scope: @config.scope
|
160
|
+
end
|
161
|
+
@quota_project_id = @config.quota_project
|
162
|
+
@quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
|
163
|
+
|
164
|
+
@company_service_stub = ::Gapic::ServiceStub.new(
|
165
|
+
::Google::Cloud::Talent::V4::CompanyService::Stub,
|
166
|
+
credentials: credentials,
|
167
|
+
endpoint: @config.endpoint,
|
168
|
+
channel_args: @config.channel_args,
|
169
|
+
interceptors: @config.interceptors
|
170
|
+
)
|
171
|
+
end
|
172
|
+
|
173
|
+
# Service calls
|
174
|
+
|
175
|
+
##
|
176
|
+
# Creates a new company entity.
|
177
|
+
#
|
178
|
+
# @overload create_company(request, options = nil)
|
179
|
+
# Pass arguments to `create_company` via a request object, either of type
|
180
|
+
# {::Google::Cloud::Talent::V4::CreateCompanyRequest} or an equivalent Hash.
|
181
|
+
#
|
182
|
+
# @param request [::Google::Cloud::Talent::V4::CreateCompanyRequest, ::Hash]
|
183
|
+
# A request object representing the call parameters. Required. To specify no
|
184
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
185
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
186
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
187
|
+
#
|
188
|
+
# @overload create_company(parent: nil, company: nil)
|
189
|
+
# Pass arguments to `create_company` via keyword arguments. Note that at
|
190
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
191
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
192
|
+
#
|
193
|
+
# @param parent [::String]
|
194
|
+
# Required. Resource name of the tenant under which the company is created.
|
195
|
+
#
|
196
|
+
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
197
|
+
# "projects/foo/tenants/bar".
|
198
|
+
# @param company [::Google::Cloud::Talent::V4::Company, ::Hash]
|
199
|
+
# Required. The company to be created.
|
200
|
+
#
|
201
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
202
|
+
# @yieldparam response [::Google::Cloud::Talent::V4::Company]
|
203
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
204
|
+
#
|
205
|
+
# @return [::Google::Cloud::Talent::V4::Company]
|
206
|
+
#
|
207
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
208
|
+
#
|
209
|
+
def create_company request, options = nil
|
210
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
211
|
+
|
212
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Talent::V4::CreateCompanyRequest
|
213
|
+
|
214
|
+
# Converts hash and nil to an options object
|
215
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
216
|
+
|
217
|
+
# Customize the options with defaults
|
218
|
+
metadata = @config.rpcs.create_company.metadata.to_h
|
219
|
+
|
220
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
221
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
222
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
223
|
+
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
224
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
225
|
+
|
226
|
+
header_params = {
|
227
|
+
"parent" => request.parent
|
228
|
+
}
|
229
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
230
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
231
|
+
|
232
|
+
options.apply_defaults timeout: @config.rpcs.create_company.timeout,
|
233
|
+
metadata: metadata,
|
234
|
+
retry_policy: @config.rpcs.create_company.retry_policy
|
235
|
+
options.apply_defaults metadata: @config.metadata,
|
236
|
+
retry_policy: @config.retry_policy
|
237
|
+
|
238
|
+
@company_service_stub.call_rpc :create_company, request, options: options do |response, operation|
|
239
|
+
yield response, operation if block_given?
|
240
|
+
return response
|
241
|
+
end
|
242
|
+
rescue ::GRPC::BadStatus => e
|
243
|
+
raise ::Google::Cloud::Error.from_error(e)
|
244
|
+
end
|
245
|
+
|
246
|
+
##
|
247
|
+
# Retrieves specified company.
|
248
|
+
#
|
249
|
+
# @overload get_company(request, options = nil)
|
250
|
+
# Pass arguments to `get_company` via a request object, either of type
|
251
|
+
# {::Google::Cloud::Talent::V4::GetCompanyRequest} or an equivalent Hash.
|
252
|
+
#
|
253
|
+
# @param request [::Google::Cloud::Talent::V4::GetCompanyRequest, ::Hash]
|
254
|
+
# A request object representing the call parameters. Required. To specify no
|
255
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
256
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
257
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
258
|
+
#
|
259
|
+
# @overload get_company(name: nil)
|
260
|
+
# Pass arguments to `get_company` via keyword arguments. Note that at
|
261
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
262
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
263
|
+
#
|
264
|
+
# @param name [::String]
|
265
|
+
# Required. The resource name of the company to be retrieved.
|
266
|
+
#
|
267
|
+
# The format is
|
268
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
|
269
|
+
# example, "projects/api-test-project/tenants/foo/companies/bar".
|
270
|
+
#
|
271
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
272
|
+
# @yieldparam response [::Google::Cloud::Talent::V4::Company]
|
273
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
274
|
+
#
|
275
|
+
# @return [::Google::Cloud::Talent::V4::Company]
|
276
|
+
#
|
277
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
278
|
+
#
|
279
|
+
def get_company request, options = nil
|
280
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
281
|
+
|
282
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Talent::V4::GetCompanyRequest
|
283
|
+
|
284
|
+
# Converts hash and nil to an options object
|
285
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
286
|
+
|
287
|
+
# Customize the options with defaults
|
288
|
+
metadata = @config.rpcs.get_company.metadata.to_h
|
289
|
+
|
290
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
291
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
292
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
293
|
+
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
294
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
295
|
+
|
296
|
+
header_params = {
|
297
|
+
"name" => request.name
|
298
|
+
}
|
299
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
300
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
301
|
+
|
302
|
+
options.apply_defaults timeout: @config.rpcs.get_company.timeout,
|
303
|
+
metadata: metadata,
|
304
|
+
retry_policy: @config.rpcs.get_company.retry_policy
|
305
|
+
options.apply_defaults metadata: @config.metadata,
|
306
|
+
retry_policy: @config.retry_policy
|
307
|
+
|
308
|
+
@company_service_stub.call_rpc :get_company, request, options: options do |response, operation|
|
309
|
+
yield response, operation if block_given?
|
310
|
+
return response
|
311
|
+
end
|
312
|
+
rescue ::GRPC::BadStatus => e
|
313
|
+
raise ::Google::Cloud::Error.from_error(e)
|
314
|
+
end
|
315
|
+
|
316
|
+
##
|
317
|
+
# Updates specified company.
|
318
|
+
#
|
319
|
+
# @overload update_company(request, options = nil)
|
320
|
+
# Pass arguments to `update_company` via a request object, either of type
|
321
|
+
# {::Google::Cloud::Talent::V4::UpdateCompanyRequest} or an equivalent Hash.
|
322
|
+
#
|
323
|
+
# @param request [::Google::Cloud::Talent::V4::UpdateCompanyRequest, ::Hash]
|
324
|
+
# A request object representing the call parameters. Required. To specify no
|
325
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
326
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
327
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
328
|
+
#
|
329
|
+
# @overload update_company(company: nil, update_mask: nil)
|
330
|
+
# Pass arguments to `update_company` via keyword arguments. Note that at
|
331
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
332
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
333
|
+
#
|
334
|
+
# @param company [::Google::Cloud::Talent::V4::Company, ::Hash]
|
335
|
+
# Required. The company resource to replace the current resource in the
|
336
|
+
# system.
|
337
|
+
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
338
|
+
# Strongly recommended for the best service experience.
|
339
|
+
#
|
340
|
+
# If {::Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask update_mask}
|
341
|
+
# is provided, only the specified fields in
|
342
|
+
# {::Google::Cloud::Talent::V4::UpdateCompanyRequest#company company} are updated.
|
343
|
+
# Otherwise all the fields are updated.
|
344
|
+
#
|
345
|
+
# A field mask to specify the company fields to be updated. Only
|
346
|
+
# top level fields of {::Google::Cloud::Talent::V4::Company Company} are
|
347
|
+
# supported.
|
348
|
+
#
|
349
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
350
|
+
# @yieldparam response [::Google::Cloud::Talent::V4::Company]
|
351
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
352
|
+
#
|
353
|
+
# @return [::Google::Cloud::Talent::V4::Company]
|
354
|
+
#
|
355
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
356
|
+
#
|
357
|
+
def update_company request, options = nil
|
358
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
359
|
+
|
360
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Talent::V4::UpdateCompanyRequest
|
361
|
+
|
362
|
+
# Converts hash and nil to an options object
|
363
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
364
|
+
|
365
|
+
# Customize the options with defaults
|
366
|
+
metadata = @config.rpcs.update_company.metadata.to_h
|
367
|
+
|
368
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
369
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
370
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
371
|
+
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
372
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
373
|
+
|
374
|
+
header_params = {
|
375
|
+
"company.name" => request.company.name
|
376
|
+
}
|
377
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
378
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
379
|
+
|
380
|
+
options.apply_defaults timeout: @config.rpcs.update_company.timeout,
|
381
|
+
metadata: metadata,
|
382
|
+
retry_policy: @config.rpcs.update_company.retry_policy
|
383
|
+
options.apply_defaults metadata: @config.metadata,
|
384
|
+
retry_policy: @config.retry_policy
|
385
|
+
|
386
|
+
@company_service_stub.call_rpc :update_company, request, options: options do |response, operation|
|
387
|
+
yield response, operation if block_given?
|
388
|
+
return response
|
389
|
+
end
|
390
|
+
rescue ::GRPC::BadStatus => e
|
391
|
+
raise ::Google::Cloud::Error.from_error(e)
|
392
|
+
end
|
393
|
+
|
394
|
+
##
|
395
|
+
# Deletes specified company.
|
396
|
+
# Prerequisite: The company has no jobs associated with it.
|
397
|
+
#
|
398
|
+
# @overload delete_company(request, options = nil)
|
399
|
+
# Pass arguments to `delete_company` via a request object, either of type
|
400
|
+
# {::Google::Cloud::Talent::V4::DeleteCompanyRequest} or an equivalent Hash.
|
401
|
+
#
|
402
|
+
# @param request [::Google::Cloud::Talent::V4::DeleteCompanyRequest, ::Hash]
|
403
|
+
# A request object representing the call parameters. Required. To specify no
|
404
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
405
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
406
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
407
|
+
#
|
408
|
+
# @overload delete_company(name: nil)
|
409
|
+
# Pass arguments to `delete_company` via keyword arguments. Note that at
|
410
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
411
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
412
|
+
#
|
413
|
+
# @param name [::String]
|
414
|
+
# Required. The resource name of the company to be deleted.
|
415
|
+
#
|
416
|
+
# The format is
|
417
|
+
# "projects/\\{project_id}/tenants/\\{tenant_id}/companies/\\{company_id}", for
|
418
|
+
# example, "projects/foo/tenants/bar/companies/baz".
|
419
|
+
#
|
420
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
421
|
+
# @yieldparam response [::Google::Protobuf::Empty]
|
422
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
423
|
+
#
|
424
|
+
# @return [::Google::Protobuf::Empty]
|
425
|
+
#
|
426
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
427
|
+
#
|
428
|
+
def delete_company request, options = nil
|
429
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
430
|
+
|
431
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Talent::V4::DeleteCompanyRequest
|
432
|
+
|
433
|
+
# Converts hash and nil to an options object
|
434
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
435
|
+
|
436
|
+
# Customize the options with defaults
|
437
|
+
metadata = @config.rpcs.delete_company.metadata.to_h
|
438
|
+
|
439
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
440
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
441
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
442
|
+
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
443
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
444
|
+
|
445
|
+
header_params = {
|
446
|
+
"name" => request.name
|
447
|
+
}
|
448
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
449
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
450
|
+
|
451
|
+
options.apply_defaults timeout: @config.rpcs.delete_company.timeout,
|
452
|
+
metadata: metadata,
|
453
|
+
retry_policy: @config.rpcs.delete_company.retry_policy
|
454
|
+
options.apply_defaults metadata: @config.metadata,
|
455
|
+
retry_policy: @config.retry_policy
|
456
|
+
|
457
|
+
@company_service_stub.call_rpc :delete_company, request, options: options do |response, operation|
|
458
|
+
yield response, operation if block_given?
|
459
|
+
return response
|
460
|
+
end
|
461
|
+
rescue ::GRPC::BadStatus => e
|
462
|
+
raise ::Google::Cloud::Error.from_error(e)
|
463
|
+
end
|
464
|
+
|
465
|
+
##
|
466
|
+
# Lists all companies associated with the project.
|
467
|
+
#
|
468
|
+
# @overload list_companies(request, options = nil)
|
469
|
+
# Pass arguments to `list_companies` via a request object, either of type
|
470
|
+
# {::Google::Cloud::Talent::V4::ListCompaniesRequest} or an equivalent Hash.
|
471
|
+
#
|
472
|
+
# @param request [::Google::Cloud::Talent::V4::ListCompaniesRequest, ::Hash]
|
473
|
+
# A request object representing the call parameters. Required. To specify no
|
474
|
+
# parameters, or to keep all the default parameter values, pass an empty Hash.
|
475
|
+
# @param options [::Gapic::CallOptions, ::Hash]
|
476
|
+
# Overrides the default settings for this call, e.g, timeout, retries, etc. Optional.
|
477
|
+
#
|
478
|
+
# @overload list_companies(parent: nil, page_token: nil, page_size: nil, require_open_jobs: nil)
|
479
|
+
# Pass arguments to `list_companies` via keyword arguments. Note that at
|
480
|
+
# least one keyword argument is required. To specify no parameters, or to keep all
|
481
|
+
# the default parameter values, pass an empty Hash as a request object (see above).
|
482
|
+
#
|
483
|
+
# @param parent [::String]
|
484
|
+
# Required. Resource name of the tenant under which the company is created.
|
485
|
+
#
|
486
|
+
# The format is "projects/\\{project_id}/tenants/\\{tenant_id}", for example,
|
487
|
+
# "projects/foo/tenants/bar".
|
488
|
+
# @param page_token [::String]
|
489
|
+
# The starting indicator from which to return results.
|
490
|
+
# @param page_size [::Integer]
|
491
|
+
# The maximum number of companies to be returned, at most 100.
|
492
|
+
# Default is 100 if a non-positive number is provided.
|
493
|
+
# @param require_open_jobs [::Boolean]
|
494
|
+
# Set to true if the companies requested must have open jobs.
|
495
|
+
#
|
496
|
+
# Defaults to false.
|
497
|
+
#
|
498
|
+
# If true, at most
|
499
|
+
# {::Google::Cloud::Talent::V4::ListCompaniesRequest#page_size page_size} of
|
500
|
+
# companies are fetched, among which only those with open jobs are returned.
|
501
|
+
#
|
502
|
+
# @yield [response, operation] Access the result along with the RPC operation
|
503
|
+
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4::Company>]
|
504
|
+
# @yieldparam operation [::GRPC::ActiveCall::Operation]
|
505
|
+
#
|
506
|
+
# @return [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4::Company>]
|
507
|
+
#
|
508
|
+
# @raise [::Google::Cloud::Error] if the RPC is aborted.
|
509
|
+
#
|
510
|
+
def list_companies request, options = nil
|
511
|
+
raise ::ArgumentError, "request must be provided" if request.nil?
|
512
|
+
|
513
|
+
request = ::Gapic::Protobuf.coerce request, to: ::Google::Cloud::Talent::V4::ListCompaniesRequest
|
514
|
+
|
515
|
+
# Converts hash and nil to an options object
|
516
|
+
options = ::Gapic::CallOptions.new(**options.to_h) if options.respond_to? :to_h
|
517
|
+
|
518
|
+
# Customize the options with defaults
|
519
|
+
metadata = @config.rpcs.list_companies.metadata.to_h
|
520
|
+
|
521
|
+
# Set x-goog-api-client and x-goog-user-project headers
|
522
|
+
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
523
|
+
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
524
|
+
gapic_version: ::Google::Cloud::Talent::V4::VERSION
|
525
|
+
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
526
|
+
|
527
|
+
header_params = {
|
528
|
+
"parent" => request.parent
|
529
|
+
}
|
530
|
+
request_params_header = header_params.map { |k, v| "#{k}=#{v}" }.join("&")
|
531
|
+
metadata[:"x-goog-request-params"] ||= request_params_header
|
532
|
+
|
533
|
+
options.apply_defaults timeout: @config.rpcs.list_companies.timeout,
|
534
|
+
metadata: metadata,
|
535
|
+
retry_policy: @config.rpcs.list_companies.retry_policy
|
536
|
+
options.apply_defaults metadata: @config.metadata,
|
537
|
+
retry_policy: @config.retry_policy
|
538
|
+
|
539
|
+
@company_service_stub.call_rpc :list_companies, request, options: options do |response, operation|
|
540
|
+
response = ::Gapic::PagedEnumerable.new @company_service_stub, :list_companies, request, response, operation, options
|
541
|
+
yield response, operation if block_given?
|
542
|
+
return response
|
543
|
+
end
|
544
|
+
rescue ::GRPC::BadStatus => e
|
545
|
+
raise ::Google::Cloud::Error.from_error(e)
|
546
|
+
end
|
547
|
+
|
548
|
+
##
|
549
|
+
# Configuration class for the CompanyService API.
|
550
|
+
#
|
551
|
+
# This class represents the configuration for CompanyService,
|
552
|
+
# providing control over timeouts, retry behavior, logging, transport
|
553
|
+
# parameters, and other low-level controls. Certain parameters can also be
|
554
|
+
# applied individually to specific RPCs. See
|
555
|
+
# {::Google::Cloud::Talent::V4::CompanyService::Client::Configuration::Rpcs}
|
556
|
+
# for a list of RPCs that can be configured independently.
|
557
|
+
#
|
558
|
+
# Configuration can be applied globally to all clients, or to a single client
|
559
|
+
# on construction.
|
560
|
+
#
|
561
|
+
# # Examples
|
562
|
+
#
|
563
|
+
# To modify the global config, setting the timeout for create_company
|
564
|
+
# to 20 seconds, and all remaining timeouts to 10 seconds:
|
565
|
+
#
|
566
|
+
# ::Google::Cloud::Talent::V4::CompanyService::Client.configure do |config|
|
567
|
+
# config.timeout = 10.0
|
568
|
+
# config.rpcs.create_company.timeout = 20.0
|
569
|
+
# end
|
570
|
+
#
|
571
|
+
# To apply the above configuration only to a new client:
|
572
|
+
#
|
573
|
+
# client = ::Google::Cloud::Talent::V4::CompanyService::Client.new do |config|
|
574
|
+
# config.timeout = 10.0
|
575
|
+
# config.rpcs.create_company.timeout = 20.0
|
576
|
+
# end
|
577
|
+
#
|
578
|
+
# @!attribute [rw] endpoint
|
579
|
+
# The hostname or hostname:port of the service endpoint.
|
580
|
+
# Defaults to `"jobs.googleapis.com"`.
|
581
|
+
# @return [::String]
|
582
|
+
# @!attribute [rw] credentials
|
583
|
+
# Credentials to send with calls. You may provide any of the following types:
|
584
|
+
# * (`String`) The path to a service account key file in JSON format
|
585
|
+
# * (`Hash`) A service account key as a Hash
|
586
|
+
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
587
|
+
# (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
|
588
|
+
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
589
|
+
# (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
|
590
|
+
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
591
|
+
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
592
|
+
# * (`nil`) indicating no credentials
|
593
|
+
# @return [::Object]
|
594
|
+
# @!attribute [rw] scope
|
595
|
+
# The OAuth scopes
|
596
|
+
# @return [::Array<::String>]
|
597
|
+
# @!attribute [rw] lib_name
|
598
|
+
# The library name as recorded in instrumentation and logging
|
599
|
+
# @return [::String]
|
600
|
+
# @!attribute [rw] lib_version
|
601
|
+
# The library version as recorded in instrumentation and logging
|
602
|
+
# @return [::String]
|
603
|
+
# @!attribute [rw] channel_args
|
604
|
+
# Extra parameters passed to the gRPC channel. Note: this is ignored if a
|
605
|
+
# `GRPC::Core::Channel` object is provided as the credential.
|
606
|
+
# @return [::Hash]
|
607
|
+
# @!attribute [rw] interceptors
|
608
|
+
# An array of interceptors that are run before calls are executed.
|
609
|
+
# @return [::Array<::GRPC::ClientInterceptor>]
|
610
|
+
# @!attribute [rw] timeout
|
611
|
+
# The call timeout in seconds.
|
612
|
+
# @return [::Numeric]
|
613
|
+
# @!attribute [rw] metadata
|
614
|
+
# Additional gRPC headers to be sent with the call.
|
615
|
+
# @return [::Hash{::Symbol=>::String}]
|
616
|
+
# @!attribute [rw] retry_policy
|
617
|
+
# The retry policy. The value is a hash with the following keys:
|
618
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
619
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
620
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
621
|
+
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
622
|
+
# trigger a retry.
|
623
|
+
# @return [::Hash]
|
624
|
+
# @!attribute [rw] quota_project
|
625
|
+
# A separate project against which to charge quota.
|
626
|
+
# @return [::String]
|
627
|
+
#
|
628
|
+
class Configuration
|
629
|
+
extend ::Gapic::Config
|
630
|
+
|
631
|
+
config_attr :endpoint, "jobs.googleapis.com", ::String
|
632
|
+
config_attr :credentials, nil do |value|
|
633
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
634
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
635
|
+
allowed.any? { |klass| klass === value }
|
636
|
+
end
|
637
|
+
config_attr :scope, nil, ::String, ::Array, nil
|
638
|
+
config_attr :lib_name, nil, ::String, nil
|
639
|
+
config_attr :lib_version, nil, ::String, nil
|
640
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
641
|
+
config_attr :interceptors, nil, ::Array, nil
|
642
|
+
config_attr :timeout, nil, ::Numeric, nil
|
643
|
+
config_attr :metadata, nil, ::Hash, nil
|
644
|
+
config_attr :retry_policy, nil, ::Hash, ::Proc, nil
|
645
|
+
config_attr :quota_project, nil, ::String, nil
|
646
|
+
|
647
|
+
# @private
|
648
|
+
def initialize parent_config = nil
|
649
|
+
@parent_config = parent_config unless parent_config.nil?
|
650
|
+
|
651
|
+
yield self if block_given?
|
652
|
+
end
|
653
|
+
|
654
|
+
##
|
655
|
+
# Configurations for individual RPCs
|
656
|
+
# @return [Rpcs]
|
657
|
+
#
|
658
|
+
def rpcs
|
659
|
+
@rpcs ||= begin
|
660
|
+
parent_rpcs = nil
|
661
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config&.respond_to?(:rpcs)
|
662
|
+
Rpcs.new parent_rpcs
|
663
|
+
end
|
664
|
+
end
|
665
|
+
|
666
|
+
##
|
667
|
+
# Configuration RPC class for the CompanyService API.
|
668
|
+
#
|
669
|
+
# Includes fields providing the configuration for each RPC in this service.
|
670
|
+
# Each configuration object is of type `Gapic::Config::Method` and includes
|
671
|
+
# the following configuration fields:
|
672
|
+
#
|
673
|
+
# * `timeout` (*type:* `Numeric`) - The call timeout in milliseconds
|
674
|
+
# * `metadata` (*type:* `Hash{Symbol=>String}`) - Additional gRPC headers
|
675
|
+
# * `retry_policy (*type:* `Hash`) - The retry policy. The policy fields
|
676
|
+
# include the following keys:
|
677
|
+
# * `:initial_delay` (*type:* `Numeric`) - The initial delay in seconds.
|
678
|
+
# * `:max_delay` (*type:* `Numeric`) - The max delay in seconds.
|
679
|
+
# * `:multiplier` (*type:* `Numeric`) - The incremental backoff multiplier.
|
680
|
+
# * `:retry_codes` (*type:* `Array<String>`) - The error codes that should
|
681
|
+
# trigger a retry.
|
682
|
+
#
|
683
|
+
class Rpcs
|
684
|
+
##
|
685
|
+
# RPC-specific configuration for `create_company`
|
686
|
+
# @return [::Gapic::Config::Method]
|
687
|
+
#
|
688
|
+
attr_reader :create_company
|
689
|
+
##
|
690
|
+
# RPC-specific configuration for `get_company`
|
691
|
+
# @return [::Gapic::Config::Method]
|
692
|
+
#
|
693
|
+
attr_reader :get_company
|
694
|
+
##
|
695
|
+
# RPC-specific configuration for `update_company`
|
696
|
+
# @return [::Gapic::Config::Method]
|
697
|
+
#
|
698
|
+
attr_reader :update_company
|
699
|
+
##
|
700
|
+
# RPC-specific configuration for `delete_company`
|
701
|
+
# @return [::Gapic::Config::Method]
|
702
|
+
#
|
703
|
+
attr_reader :delete_company
|
704
|
+
##
|
705
|
+
# RPC-specific configuration for `list_companies`
|
706
|
+
# @return [::Gapic::Config::Method]
|
707
|
+
#
|
708
|
+
attr_reader :list_companies
|
709
|
+
|
710
|
+
# @private
|
711
|
+
def initialize parent_rpcs = nil
|
712
|
+
create_company_config = parent_rpcs&.create_company if parent_rpcs&.respond_to? :create_company
|
713
|
+
@create_company = ::Gapic::Config::Method.new create_company_config
|
714
|
+
get_company_config = parent_rpcs&.get_company if parent_rpcs&.respond_to? :get_company
|
715
|
+
@get_company = ::Gapic::Config::Method.new get_company_config
|
716
|
+
update_company_config = parent_rpcs&.update_company if parent_rpcs&.respond_to? :update_company
|
717
|
+
@update_company = ::Gapic::Config::Method.new update_company_config
|
718
|
+
delete_company_config = parent_rpcs&.delete_company if parent_rpcs&.respond_to? :delete_company
|
719
|
+
@delete_company = ::Gapic::Config::Method.new delete_company_config
|
720
|
+
list_companies_config = parent_rpcs&.list_companies if parent_rpcs&.respond_to? :list_companies
|
721
|
+
@list_companies = ::Gapic::Config::Method.new list_companies_config
|
722
|
+
|
723
|
+
yield self if block_given?
|
724
|
+
end
|
725
|
+
end
|
726
|
+
end
|
727
|
+
end
|
728
|
+
end
|
729
|
+
end
|
730
|
+
end
|
731
|
+
end
|
732
|
+
end
|