google-cloud-talent-v4beta1 0.6.1 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/google/cloud/talent/v4beta1/batch_pb.rb +25 -2
- data/lib/google/cloud/talent/v4beta1/common_pb.rb +29 -230
- data/lib/google/cloud/talent/v4beta1/company_pb.rb +25 -19
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +18 -14
- data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +693 -0
- data/lib/google/cloud/talent/v4beta1/company_service/rest/service_stub.rb +382 -0
- data/lib/google/cloud/talent/v4beta1/company_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/company_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +27 -26
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +6 -4
- data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +386 -0
- data/lib/google/cloud/talent/v4beta1/completion/rest/service_stub.rb +114 -0
- data/lib/google/cloud/talent/v4beta1/completion/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/completion.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +25 -30
- data/lib/google/cloud/talent/v4beta1/event_pb.rb +25 -33
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +4 -4
- data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +359 -0
- data/lib/google/cloud/talent/v4beta1/event_service/rest/service_stub.rb +116 -0
- data/lib/google/cloud/talent/v4beta1/event_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/event_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +25 -5
- data/lib/google/cloud/talent/v4beta1/filters_pb.rb +28 -59
- data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +24 -8
- data/lib/google/cloud/talent/v4beta1/job_pb.rb +26 -46
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +250 -161
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +14 -16
- data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +1712 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +793 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest/service_stub.rb +721 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/job_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +31 -123
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +12 -8
- data/lib/google/cloud/talent/v4beta1/rest.rb +41 -0
- data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +24 -12
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +15 -12
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +672 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest/service_stub.rb +345 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +27 -25
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/lib/google/cloud/talent/v4beta1.rb +7 -2
- data/proto_docs/google/api/client.rb +381 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/talent/v4beta1/common.rb +117 -56
- data/proto_docs/google/cloud/talent/v4beta1/company.rb +10 -5
- data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +12 -6
- data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +21 -10
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +20 -10
- data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +2 -2
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +62 -38
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +8 -3
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +86 -54
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +211 -120
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +9 -5
- data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +9 -4
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +28 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 275554695f617d9b1ccd56fb66b590ddb44806088e290c13b1c5ee4f591a8e5a
|
4
|
+
data.tar.gz: 6a3d5e3ec3a5926e1b74672154175d1a863327f7c8739d9d4720255915c852e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa3de1556272de5339e14a0745cc7fdc49cec1a17f62e426d370ffb28417106e87b02aa8f87f53df39940f84afe757b3971427a38420424e98a7d8309df0a09
|
7
|
+
data.tar.gz: b181b60be55444e208c528c728f570398a01d5a7a11be36c3c06f38649cfe56c8750a0f3a4cccee1565fdd4f6dd66538b7751f4d57a2373132be0d0d68a830d3
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Cloud Talent Solution V4beta1 API
|
2
2
|
|
3
|
-
|
3
|
+
Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.
|
4
4
|
|
5
5
|
Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.
|
6
6
|
|
@@ -46,8 +46,8 @@ for general usage information.
|
|
46
46
|
## Enabling Logging
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
|
-
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
49
|
+
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -1,11 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/talent/v4beta1/batch.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
7
|
+
|
8
|
+
descriptor_data = "\n\'google/cloud/talent/v4beta1/batch.proto\x12\x1bgoogle.cloud.talent.v4beta1Bn\n\x1f\x63om.google.cloud.talent.v4beta1B\nBatchProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError => e
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
28
|
+
end
|
8
29
|
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
9
32
|
end
|
10
33
|
|
11
34
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/talent/v4beta1/common.proto
|
3
4
|
|
@@ -10,238 +11,36 @@ require 'google/type/latlng_pb'
|
|
10
11
|
require 'google/type/money_pb'
|
11
12
|
require 'google/type/postal_address_pb'
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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.v4beta1.DeviceInfo"
|
44
|
-
end
|
45
|
-
add_message "google.cloud.talent.v4beta1.ResponseMetadata" do
|
46
|
-
optional :request_id, :string, 1
|
47
|
-
end
|
48
|
-
add_message "google.cloud.talent.v4beta1.DeviceInfo" do
|
49
|
-
optional :device_type, :enum, 1, "google.cloud.talent.v4beta1.DeviceInfo.DeviceType"
|
50
|
-
optional :id, :string, 2
|
51
|
-
end
|
52
|
-
add_enum "google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.CompensationInfo" do
|
73
|
-
repeated :entries, :message, 1, "google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry"
|
74
|
-
optional :annualized_base_compensation_range, :message, 2, "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"
|
75
|
-
optional :annualized_total_compensation_range, :message, 3, "google.cloud.talent.v4beta1.CompensationInfo.CompensationRange"
|
76
|
-
end
|
77
|
-
add_message "google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry" do
|
78
|
-
optional :type, :enum, 1, "google.cloud.talent.v4beta1.CompensationInfo.CompensationType"
|
79
|
-
optional :unit, :enum, 2, "google.cloud.talent.v4beta1.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.v4beta1.CompensationInfo.CompensationRange"
|
85
|
-
end
|
86
|
-
end
|
87
|
-
add_message "google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.BatchOperationMetadata" do
|
113
|
-
optional :state, :enum, 1, "google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.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.v4beta1.CommuteMethod" do
|
238
|
-
value :COMMUTE_METHOD_UNSPECIFIED, 0
|
239
|
-
value :DRIVING, 1
|
240
|
-
value :TRANSIT, 2
|
241
|
-
value :WALKING, 3
|
242
|
-
value :CYCLING, 4
|
14
|
+
|
15
|
+
descriptor_data = "\n(google/cloud/talent/v4beta1/common.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x18google/type/latlng.proto\x1a\x17google/type/money.proto\x1a google/type/postal_address.proto\"n\n\x0eTimestampRange\x12.\n\nstart_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xb7\x03\n\x08Location\x12I\n\rlocation_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.talent.v4beta1.Location.LocationType\x12\x32\n\x0epostal_address\x18\x02 \x01(\x0b\x32\x1a.google.type.PostalAddress\x12$\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x13.google.type.LatLng\x12\x14\n\x0cradius_miles\x18\x04 \x01(\x01\"\xef\x01\n\x0cLocationType\x12\x1d\n\x19LOCATION_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OUNTRY\x10\x01\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x02\x12\x1b\n\x17SUB_ADMINISTRATIVE_AREA\x10\x03\x12\x0c\n\x08LOCALITY\x10\x04\x12\x0f\n\x0bPOSTAL_CODE\x10\x05\x12\x10\n\x0cSUB_LOCALITY\x10\x06\x12\x12\n\x0eSUB_LOCALITY_1\x10\x07\x12\x12\n\x0eSUB_LOCALITY_2\x10\x08\x12\x10\n\x0cNEIGHBORHOOD\x10\t\x12\x12\n\x0eSTREET_ADDRESS\x10\n\"\x9f\x01\n\x0fRequestMetadata\x12\x0e\n\x06\x64omain\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\x12\x19\n\x11\x61llow_missing_ids\x18\x04 \x01(\x08\x12<\n\x0b\x64\x65vice_info\x18\x05 \x01(\x0b\x32\'.google.cloud.talent.v4beta1.DeviceInfo\"&\n\x10ResponseMetadata\x12\x12\n\nrequest_id\x18\x01 \x01(\t\"\xcf\x01\n\nDeviceInfo\x12G\n\x0b\x64\x65vice_type\x18\x01 \x01(\x0e\x32\x32.google.cloud.talent.v4beta1.DeviceInfo.DeviceType\x12\n\n\x02id\x18\x02 \x01(\t\"l\n\nDeviceType\x12\x1b\n\x17\x44\x45VICE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03WEB\x10\x01\x12\x0e\n\nMOBILE_WEB\x10\x02\x12\x0b\n\x07\x41NDROID\x10\x03\x12\x07\n\x03IOS\x10\x04\x12\x07\n\x03\x42OT\x10\x05\x12\t\n\x05OTHER\x10\x06\"m\n\x0f\x43ustomAttribute\x12\x15\n\rstring_values\x18\x01 \x03(\t\x12\x13\n\x0blong_values\x18\x02 \x03(\x03\x12\x12\n\nfilterable\x18\x03 \x01(\x08\x12\x1a\n\x12keyword_searchable\x18\x04 \x01(\x08\"W\n\x12SpellingCorrection\x12\x11\n\tcorrected\x18\x01 \x01(\x08\x12\x16\n\x0e\x63orrected_text\x18\x02 \x01(\t\x12\x16\n\x0e\x63orrected_html\x18\x03 \x01(\t\"\xa6\t\n\x10\x43ompensationInfo\x12P\n\x07\x65ntries\x18\x01 \x03(\x0b\x32?.google.cloud.talent.v4beta1.CompensationInfo.CompensationEntry\x12p\n\"annualized_base_compensation_range\x18\x02 \x01(\x0b\x32?.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x12q\n#annualized_total_compensation_range\x18\x03 \x01(\x0b\x32?.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeB\x03\xe0\x41\x03\x1a\x92\x03\n\x11\x43ompensationEntry\x12L\n\x04type\x18\x01 \x01(\x0e\x32>.google.cloud.talent.v4beta1.CompensationInfo.CompensationType\x12L\n\x04unit\x18\x02 \x01(\x0e\x32>.google.cloud.talent.v4beta1.CompensationInfo.CompensationUnit\x12$\n\x06\x61mount\x18\x03 \x01(\x0b\x32\x12.google.type.MoneyH\x00\x12P\n\x05range\x18\x04 \x01(\x0b\x32?.google.cloud.talent.v4beta1.CompensationInfo.CompensationRangeH\x00\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12=\n\x17\x65xpected_units_per_year\x18\x06 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x15\n\x13\x63ompensation_amount\x1ao\n\x11\x43ompensationRange\x12,\n\x10max_compensation\x18\x02 \x01(\x0b\x32\x12.google.type.Money\x12,\n\x10min_compensation\x18\x01 \x01(\x0b\x32\x12.google.type.Money\"\xb5\x01\n\x10\x43ompensationType\x12!\n\x1d\x43OMPENSATION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x42\x41SE\x10\x01\x12\t\n\x05\x42ONUS\x10\x02\x12\x11\n\rSIGNING_BONUS\x10\x03\x12\n\n\x06\x45QUITY\x10\x04\x12\x12\n\x0ePROFIT_SHARING\x10\x05\x12\x0f\n\x0b\x43OMMISSIONS\x10\x06\x12\x08\n\x04TIPS\x10\x07\x12\x1b\n\x17OTHER_COMPENSATION_TYPE\x10\x08\"\x9c\x01\n\x10\x43ompensationUnit\x12!\n\x1d\x43OMPENSATION_UNIT_UNSPECIFIED\x10\x00\x12\n\n\x06HOURLY\x10\x01\x12\t\n\x05\x44\x41ILY\x10\x02\x12\n\n\x06WEEKLY\x10\x03\x12\x0b\n\x07MONTHLY\x10\x04\x12\n\n\x06YEARLY\x10\x05\x12\x0c\n\x08ONE_TIME\x10\x06\x12\x1b\n\x17OTHER_COMPENSATION_UNIT\x10\x07\"\xcc\x03\n\x16\x42\x61tchOperationMetadata\x12H\n\x05state\x18\x01 \x01(\x0e\x32\x39.google.cloud.talent.v4beta1.BatchOperationMetadata.State\x12\x19\n\x11state_description\x18\x02 \x01(\t\x12\x15\n\rsuccess_count\x18\x03 \x01(\x05\x12\x15\n\rfailure_count\x18\x04 \x01(\x05\x12\x13\n\x0btotal_count\x18\x05 \x01(\x05\x12/\n\x0b\x63reate_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bupdate_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"z\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0e\n\nPROCESSING\x10\x02\x12\r\n\tSUCCEEDED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x0e\n\nCANCELLING\x10\x05\x12\r\n\tCANCELLED\x10\x06*y\n\x0b\x43ompanySize\x12\x1c\n\x18\x43OMPANY_SIZE_UNSPECIFIED\x10\x00\x12\x08\n\x04MINI\x10\x01\x12\t\n\x05SMALL\x10\x02\x12\x0b\n\x07SMEDIUM\x10\x03\x12\n\n\x06MEDIUM\x10\x04\x12\x07\n\x03\x42IG\x10\x05\x12\n\n\x06\x42IGGER\x10\x06\x12\t\n\x05GIANT\x10\x07*\xe2\x01\n\nJobBenefit\x12\x1b\n\x17JOB_BENEFIT_UNSPECIFIED\x10\x00\x12\x0e\n\nCHILD_CARE\x10\x01\x12\n\n\x06\x44\x45NTAL\x10\x02\x12\x14\n\x10\x44OMESTIC_PARTNER\x10\x03\x12\x12\n\x0e\x46LEXIBLE_HOURS\x10\x04\x12\x0b\n\x07MEDICAL\x10\x05\x12\x12\n\x0eLIFE_INSURANCE\x10\x06\x12\x12\n\x0ePARENTAL_LEAVE\x10\x07\x12\x13\n\x0fRETIREMENT_PLAN\x10\x08\x12\r\n\tSICK_DAYS\x10\t\x12\x0c\n\x08VACATION\x10\n\x12\n\n\x06VISION\x10\x0b*\x8e\x02\n\nDegreeType\x12\x1b\n\x17\x44\x45GREE_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11PRIMARY_EDUCATION\x10\x01\x12\x1d\n\x19LOWER_SECONDARY_EDUCATION\x10\x02\x12\x1d\n\x19UPPER_SECONDARY_EDUCATION\x10\x03\x12\x1c\n\x18\x41\x44ULT_REMEDIAL_EDUCATION\x10\x04\x12\x1c\n\x18\x41SSOCIATES_OR_EQUIVALENT\x10\x05\x12\x1b\n\x17\x42\x41\x43HELORS_OR_EQUIVALENT\x10\x06\x12\x19\n\x15MASTERS_OR_EQUIVALENT\x10\x07\x12\x1a\n\x16\x44OCTORAL_OR_EQUIVALENT\x10\x08*\xdc\x01\n\x0e\x45mploymentType\x12\x1f\n\x1b\x45MPLOYMENT_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tFULL_TIME\x10\x01\x12\r\n\tPART_TIME\x10\x02\x12\x0e\n\nCONTRACTOR\x10\x03\x12\x14\n\x10\x43ONTRACT_TO_HIRE\x10\x04\x12\r\n\tTEMPORARY\x10\x05\x12\n\n\x06INTERN\x10\x06\x12\r\n\tVOLUNTEER\x10\x07\x12\x0c\n\x08PER_DIEM\x10\x08\x12\x12\n\x0e\x46LY_IN_FLY_OUT\x10\t\x12\x19\n\x15OTHER_EMPLOYMENT_TYPE\x10\n*q\n\x08JobLevel\x12\x19\n\x15JOB_LEVEL_UNSPECIFIED\x10\x00\x12\x0f\n\x0b\x45NTRY_LEVEL\x10\x01\x12\x0f\n\x0b\x45XPERIENCED\x10\x02\x12\x0b\n\x07MANAGER\x10\x03\x12\x0c\n\x08\x44IRECTOR\x10\x04\x12\r\n\tEXECUTIVE\x10\x05*\xba\x06\n\x0bJobCategory\x12\x1c\n\x18JOB_CATEGORY_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x41\x43\x43OUNTING_AND_FINANCE\x10\x01\x12\x1d\n\x19\x41\x44MINISTRATIVE_AND_OFFICE\x10\x02\x12\x1d\n\x19\x41\x44VERTISING_AND_MARKETING\x10\x03\x12\x0f\n\x0b\x41NIMAL_CARE\x10\x04\x12\x1a\n\x16\x41RT_FASHION_AND_DESIGN\x10\x05\x12\x17\n\x13\x42USINESS_OPERATIONS\x10\x06\x12\x1b\n\x17\x43LEANING_AND_FACILITIES\x10\x07\x12\x13\n\x0f\x43OMPUTER_AND_IT\x10\x08\x12\x10\n\x0c\x43ONSTRUCTION\x10\t\x12\x14\n\x10\x43USTOMER_SERVICE\x10\n\x12\r\n\tEDUCATION\x10\x0b\x12\x1c\n\x18\x45NTERTAINMENT_AND_TRAVEL\x10\x0c\x12\x18\n\x14\x46\x41RMING_AND_OUTDOORS\x10\r\x12\x0e\n\nHEALTHCARE\x10\x0e\x12\x13\n\x0fHUMAN_RESOURCES\x10\x0f\x12\'\n#INSTALLATION_MAINTENANCE_AND_REPAIR\x10\x10\x12\t\n\x05LEGAL\x10\x11\x12\x0e\n\nMANAGEMENT\x10\x12\x12\x1f\n\x1bMANUFACTURING_AND_WAREHOUSE\x10\x13\x12$\n MEDIA_COMMUNICATIONS_AND_WRITING\x10\x14\x12\x16\n\x12OIL_GAS_AND_MINING\x10\x15\x12\x1e\n\x1aPERSONAL_CARE_AND_SERVICES\x10\x16\x12\x17\n\x13PROTECTIVE_SERVICES\x10\x17\x12\x0f\n\x0bREAL_ESTATE\x10\x18\x12\x1e\n\x1aRESTAURANT_AND_HOSPITALITY\x10\x19\x12\x14\n\x10SALES_AND_RETAIL\x10\x1a\x12\x1b\n\x17SCIENCE_AND_ENGINEERING\x10\x1b\x12\"\n\x1eSOCIAL_SERVICES_AND_NON_PROFIT\x10\x1c\x12!\n\x1dSPORTS_FITNESS_AND_RECREATION\x10\x1d\x12 \n\x1cTRANSPORTATION_AND_LOGISTICS\x10\x1e*e\n\rPostingRegion\x12\x1e\n\x1aPOSTING_REGION_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41\x44MINISTRATIVE_AREA\x10\x01\x12\n\n\x06NATION\x10\x02\x12\x0f\n\x0bTELECOMMUTE\x10\x03*n\n\nVisibility\x12\x1a\n\x16VISIBILITY_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41\x43\x43OUNT_ONLY\x10\x01\x12\x16\n\x12SHARED_WITH_GOOGLE\x10\x02\x12\x16\n\x12SHARED_WITH_PUBLIC\x10\x03\x1a\x02\x18\x01*q\n\x10HtmlSanitization\x12!\n\x1dHTML_SANITIZATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aHTML_SANITIZATION_DISABLED\x10\x01\x12\x1a\n\x16SIMPLE_FORMATTING_ONLY\x10\x02*c\n\rCommuteMethod\x12\x1e\n\x1a\x43OMMUTE_METHOD_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44RIVING\x10\x01\x12\x0b\n\x07TRANSIT\x10\x02\x12\x0b\n\x07WALKING\x10\x03\x12\x0b\n\x07\x43YCLING\x10\x04\x42o\n\x1f\x63om.google.cloud.talent.v4beta1B\x0b\x43ommonProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.type.PostalAddress", "google/type/postal_address.proto"],
|
32
|
+
["google.type.LatLng", "google/type/latlng.proto"],
|
33
|
+
["google.type.Money", "google/type/money.proto"],
|
34
|
+
["google.protobuf.DoubleValue", "google/protobuf/wrappers.proto"],
|
35
|
+
]
|
36
|
+
imports.each do |type_name, expected_filename|
|
37
|
+
import_file = pool.lookup(type_name).file_descriptor
|
38
|
+
if import_file.name != expected_filename
|
39
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
243
40
|
end
|
244
41
|
end
|
42
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
43
|
+
warn "This will become an error in the next major version."
|
245
44
|
end
|
246
45
|
|
247
46
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/talent/v4beta1/company.proto
|
3
4
|
|
@@ -7,27 +8,32 @@ require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/cloud/talent/v4beta1/common_pb'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
11
|
+
|
12
|
+
descriptor_data = "\n)google/cloud/talent/v4beta1/company.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\"\x80\x05\n\x07\x43ompany\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x19\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0b\x65xternal_id\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x36\n\x04size\x18\x04 \x01(\x0e\x32(.google.cloud.talent.v4beta1.CompanySize\x12\x1c\n\x14headquarters_address\x18\x05 \x01(\t\x12\x15\n\rhiring_agency\x18\x06 \x01(\x08\x12\x10\n\x08\x65\x65o_text\x18\x07 \x01(\t\x12\x13\n\x0bwebsite_uri\x18\x08 \x01(\t\x12\x17\n\x0f\x63\x61reer_site_uri\x18\t \x01(\t\x12\x11\n\timage_uri\x18\n \x01(\t\x12\x34\n(keyword_searchable_job_custom_attributes\x18\x0b \x03(\tB\x02\x18\x01\x12K\n\x0c\x64\x65rived_info\x18\x0c \x01(\x0b\x32\x30.google.cloud.talent.v4beta1.Company.DerivedInfoB\x03\xe0\x41\x03\x12\x16\n\tsuspended\x18\r \x01(\x08\x42\x03\xe0\x41\x03\x1aS\n\x0b\x44\x65rivedInfo\x12\x44\n\x15headquarters_location\x18\x01 \x01(\x0b\x32%.google.cloud.talent.v4beta1.Location:\x81\x01\xea\x41~\n\x1bjobs.googleapis.com/Company\x12\x37projects/{project}/tenants/{tenant}/companies/{company}\x12&projects/{project}/companies/{company}Bx\n\x1f\x63om.google.cloud.talent.v4beta1B\x14\x43ompanyResourceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.cloud.talent.v4beta1.Location", "google/cloud/talent/v4beta1/common.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
29
33
|
end
|
30
34
|
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
31
37
|
end
|
32
38
|
|
33
39
|
module Google
|
@@ -365,15 +365,20 @@ module Google
|
|
365
365
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
366
366
|
#
|
367
367
|
# @param company [::Google::Cloud::Talent::V4beta1::Company, ::Hash]
|
368
|
-
# Required. The company resource to replace the current resource in the
|
368
|
+
# Required. The company resource to replace the current resource in the
|
369
|
+
# system.
|
369
370
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
370
371
|
# Strongly recommended for the best service experience.
|
371
372
|
#
|
372
|
-
# If
|
373
|
-
# {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#
|
373
|
+
# If
|
374
|
+
# {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask}
|
375
|
+
# is provided, only the specified fields in
|
376
|
+
# {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are
|
377
|
+
# updated. Otherwise all the fields are updated.
|
374
378
|
#
|
375
379
|
# A field mask to specify the company fields to be updated. Only
|
376
|
-
# top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are
|
380
|
+
# top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are
|
381
|
+
# supported.
|
377
382
|
#
|
378
383
|
# @yield [response, operation] Access the result along with the RPC operation
|
379
384
|
# @yieldparam response [::Google::Cloud::Talent::V4beta1::Company]
|
@@ -568,8 +573,9 @@ module Google
|
|
568
573
|
#
|
569
574
|
# Defaults to false.
|
570
575
|
#
|
571
|
-
# If true, at most
|
572
|
-
#
|
576
|
+
# If true, at most
|
577
|
+
# {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of
|
578
|
+
# companies are fetched, among which only those with open jobs are returned.
|
573
579
|
#
|
574
580
|
# @yield [response, operation] Access the result along with the RPC operation
|
575
581
|
# @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4beta1::Company>]
|
@@ -591,13 +597,11 @@ module Google
|
|
591
597
|
# # Call the list_companies method.
|
592
598
|
# result = client.list_companies request
|
593
599
|
#
|
594
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
595
|
-
# #
|
596
|
-
#
|
597
|
-
# # methods are also available for managing paging directly.
|
598
|
-
# result.each do |response|
|
600
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
601
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
602
|
+
# result.each do |item|
|
599
603
|
# # Each element is of type ::Google::Cloud::Talent::V4beta1::Company.
|
600
|
-
# p
|
604
|
+
# p item
|
601
605
|
# end
|
602
606
|
#
|
603
607
|
def list_companies request, options = nil
|
@@ -680,9 +684,9 @@ module Google
|
|
680
684
|
# * (`String`) The path to a service account key file in JSON format
|
681
685
|
# * (`Hash`) A service account key as a Hash
|
682
686
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
683
|
-
# (see the [googleauth docs](https://
|
687
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
684
688
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
685
|
-
# (see the [signet docs](https://
|
689
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
686
690
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
687
691
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
688
692
|
# * (`nil`) indicating no credentials
|