google-cloud-talent-v4beta1 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +25 -2
  4. data/lib/google/cloud/talent/v4beta1/common_pb.rb +29 -230
  5. data/lib/google/cloud/talent/v4beta1/company_pb.rb +25 -19
  6. data/lib/google/cloud/talent/v4beta1/company_service/client.rb +2 -2
  7. data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +2 -2
  8. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +27 -26
  9. data/lib/google/cloud/talent/v4beta1/completion/client.rb +2 -2
  10. data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +2 -2
  11. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +25 -30
  12. data/lib/google/cloud/talent/v4beta1/event_pb.rb +25 -33
  13. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +2 -2
  14. data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +2 -2
  15. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +25 -5
  16. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +28 -59
  17. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +24 -8
  18. data/lib/google/cloud/talent/v4beta1/job_pb.rb +26 -46
  19. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +2 -2
  20. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +2 -2
  21. data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +2 -2
  22. data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +2 -2
  23. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +31 -123
  24. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +24 -12
  25. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +2 -2
  26. data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +2 -2
  27. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +27 -25
  28. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  29. data/proto_docs/google/api/client.rb +67 -4
  30. data/proto_docs/google/protobuf/any.rb +7 -4
  31. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  32. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6fb85d26ee5eb68a760a2098b7c67a826347e08372cefcac02044bff9af53fc4
4
- data.tar.gz: 82e24857d55a7903c93f4732595cf2c3649dabd8c0d96df256a8035c3926f111
3
+ metadata.gz: 275554695f617d9b1ccd56fb66b590ddb44806088e290c13b1c5ee4f591a8e5a
4
+ data.tar.gz: 6a3d5e3ec3a5926e1b74672154175d1a863327f7c8739d9d4720255915c852e0
5
5
  SHA512:
6
- metadata.gz: aaf4b1386ce022e5f4bb3f9249e8914e2bc6f0b8ba2328991d7b3345a66be977cf198eaaf51c67767d03f2d755761b90c61e16695f92f57b41099d9face436e5
7
- data.tar.gz: 61d71c7847d08b00747bc2b9dc17b733e91aa4c263a5e6e27706663828cf582aaeeced6fa8fe56c3a45b66309a83f4a1645551a106d0a917d433047112106ff1
6
+ metadata.gz: 0aa3de1556272de5339e14a0745cc7fdc49cec1a17f62e426d370ffb28417106e87b02aa8f87f53df39940f84afe757b3971427a38420424e98a7d8309df0a09
7
+ data.tar.gz: b181b60be55444e208c528c728f570398a01d5a7a11be36c3c06f38649cfe56c8750a0f3a4cccee1565fdd4f6dd66538b7751f4d57a2373132be0d0d68a830d3
data/README.md CHANGED
@@ -47,7 +47,7 @@ for general usage information.
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
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://googleapis.dev/ruby/google-cloud-logging/latest)
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
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("google/cloud/talent/v4beta1/batch.proto", :syntax => :proto3) do
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
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("google/cloud/talent/v4beta1/common.proto", :syntax => :proto3) do
15
- add_message "google.cloud.talent.v4beta1.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.v4beta1.Location" do
20
- optional :location_type, :enum, 1, "google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.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.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
- Google::Protobuf::DescriptorPool.generated_pool.build do
11
- add_file("google/cloud/talent/v4beta1/company.proto", :syntax => :proto3) do
12
- add_message "google.cloud.talent.v4beta1.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.v4beta1.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.v4beta1.Company.DerivedInfo"
25
- optional :suspended, :bool, 13
26
- end
27
- add_message "google.cloud.talent.v4beta1.Company.DerivedInfo" do
28
- optional :headquarters_location, :message, 1, "google.cloud.talent.v4beta1.Location"
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
@@ -684,9 +684,9 @@ module Google
684
684
  # * (`String`) The path to a service account key file in JSON format
685
685
  # * (`Hash`) A service account key as a Hash
686
686
  # * (`Google::Auth::Credentials`) A googleauth credentials object
687
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
687
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
688
688
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
689
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
689
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
690
690
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
691
691
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
692
692
  # * (`nil`) indicating no credentials
@@ -556,9 +556,9 @@ module Google
556
556
  # * (`String`) The path to a service account key file in JSON format
557
557
  # * (`Hash`) A service account key as a Hash
558
558
  # * (`Google::Auth::Credentials`) A googleauth credentials object
559
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
559
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
560
560
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
561
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
561
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
562
562
  # * (`nil`) indicating no credentials
563
563
  # @return [::Object]
564
564
  # @!attribute [rw] scope
@@ -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_service.proto
3
4
 
@@ -12,34 +13,34 @@ require 'google/cloud/talent/v4beta1/company_pb'
12
13
  require 'google/protobuf/empty_pb'
13
14
  require 'google/protobuf/field_mask_pb'
14
15
 
15
- Google::Protobuf::DescriptorPool.generated_pool.build do
16
- add_file("google/cloud/talent/v4beta1/company_service.proto", :syntax => :proto3) do
17
- add_message "google.cloud.talent.v4beta1.CreateCompanyRequest" do
18
- optional :parent, :string, 1
19
- optional :company, :message, 2, "google.cloud.talent.v4beta1.Company"
20
- end
21
- add_message "google.cloud.talent.v4beta1.GetCompanyRequest" do
22
- optional :name, :string, 1
23
- end
24
- add_message "google.cloud.talent.v4beta1.UpdateCompanyRequest" do
25
- optional :company, :message, 1, "google.cloud.talent.v4beta1.Company"
26
- optional :update_mask, :message, 2, "google.protobuf.FieldMask"
27
- end
28
- add_message "google.cloud.talent.v4beta1.DeleteCompanyRequest" do
29
- optional :name, :string, 1
30
- end
31
- add_message "google.cloud.talent.v4beta1.ListCompaniesRequest" do
32
- optional :parent, :string, 1
33
- optional :page_token, :string, 2
34
- optional :page_size, :int32, 3
35
- optional :require_open_jobs, :bool, 4
36
- end
37
- add_message "google.cloud.talent.v4beta1.ListCompaniesResponse" do
38
- repeated :companies, :message, 1, "google.cloud.talent.v4beta1.Company"
39
- optional :next_page_token, :string, 2
40
- optional :metadata, :message, 3, "google.cloud.talent.v4beta1.ResponseMetadata"
16
+
17
+ descriptor_data = "\n1google/cloud/talent/v4beta1/company_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\x1a)google/cloud/talent/v4beta1/company.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\x87\x01\n\x14\x43reateCompanyRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bjobs.googleapis.com/Company\x12:\n\x07\x63ompany\x18\x02 \x01(\x0b\x32$.google.cloud.talent.v4beta1.CompanyB\x03\xe0\x41\x02\"F\n\x11GetCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"\x83\x01\n\x14UpdateCompanyRequest\x12:\n\x07\x63ompany\x18\x01 \x01(\x0b\x32$.google.cloud.talent.v4beta1.CompanyB\x03\xe0\x41\x02\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"I\n\x14\x44\x65leteCompanyRequest\x12\x31\n\x04name\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\"\x8d\x01\n\x14ListCompaniesRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bjobs.googleapis.com/Company\x12\x12\n\npage_token\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x19\n\x11require_open_jobs\x18\x04 \x01(\x08\"\xaa\x01\n\x15ListCompaniesResponse\x12\x37\n\tcompanies\x18\x01 \x03(\x0b\x32$.google.cloud.talent.v4beta1.Company\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12?\n\x08metadata\x18\x03 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata2\xd2\t\n\x0e\x43ompanyService\x12\xe3\x01\n\rCreateCompany\x12\x31.google.cloud.talent.v4beta1.CreateCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company\"y\x82\xd3\xe4\x93\x02\x62\"0/v4beta1/{parent=projects/*/tenants/*}/companies:\x01*Z+\"&/v4beta1/{parent=projects/*}/companies:\x01*\xda\x41\x0eparent,company\x12\xcd\x01\n\nGetCompany\x12..google.cloud.talent.v4beta1.GetCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company\"i\x82\xd3\xe4\x93\x02\\\x12\x30/v4beta1/{name=projects/*/tenants/*/companies/*}Z(\x12&/v4beta1/{name=projects/*/companies/*}\xda\x41\x04name\x12\xed\x01\n\rUpdateCompany\x12\x31.google.cloud.talent.v4beta1.UpdateCompanyRequest\x1a$.google.cloud.talent.v4beta1.Company\"\x82\x01\x82\xd3\xe4\x93\x02r28/v4beta1/{company.name=projects/*/tenants/*/companies/*}:\x01*Z32./v4beta1/{company.name=projects/*/companies/*}:\x01*\xda\x41\x07\x63ompany\x12\xc5\x01\n\rDeleteCompany\x12\x31.google.cloud.talent.v4beta1.DeleteCompanyRequest\x1a\x16.google.protobuf.Empty\"i\x82\xd3\xe4\x93\x02\\*0/v4beta1/{name=projects/*/tenants/*/companies/*}Z(*&/v4beta1/{name=projects/*/companies/*}\xda\x41\x04name\x12\xe3\x01\n\rListCompanies\x12\x31.google.cloud.talent.v4beta1.ListCompaniesRequest\x1a\x32.google.cloud.talent.v4beta1.ListCompaniesResponse\"k\x82\xd3\xe4\x93\x02\\\x12\x30/v4beta1/{parent=projects/*/tenants/*}/companiesZ(\x12&/v4beta1/{parent=projects/*}/companies\xda\x41\x06parent\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBw\n\x1f\x63om.google.cloud.talent.v4beta1B\x13\x43ompanyServiceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
18
+
19
+ pool = Google::Protobuf::DescriptorPool.generated_pool
20
+
21
+ begin
22
+ pool.add_serialized_file(descriptor_data)
23
+ rescue TypeError => e
24
+ # Compatibility code: will be removed in the next major version.
25
+ require 'google/protobuf/descriptor_pb'
26
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
27
+ parsed.clear_dependency
28
+ serialized = parsed.class.encode(parsed)
29
+ file = pool.add_serialized_file(serialized)
30
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
31
+ imports = [
32
+ ["google.cloud.talent.v4beta1.Company", "google/cloud/talent/v4beta1/company.proto"],
33
+ ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
34
+ ["google.cloud.talent.v4beta1.ResponseMetadata", "google/cloud/talent/v4beta1/common.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}"
41
40
  end
42
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."
43
44
  end
44
45
 
45
46
  module Google
@@ -309,9 +309,9 @@ module Google
309
309
  # * (`String`) The path to a service account key file in JSON format
310
310
  # * (`Hash`) A service account key as a Hash
311
311
  # * (`Google::Auth::Credentials`) A googleauth credentials object
312
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
312
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
313
313
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
314
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
314
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
315
315
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
316
316
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
317
317
  # * (`nil`) indicating no credentials
@@ -277,9 +277,9 @@ module Google
277
277
  # * (`String`) The path to a service account key file in JSON format
278
278
  # * (`Hash`) A service account key as a Hash
279
279
  # * (`Google::Auth::Credentials`) A googleauth credentials object
280
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
280
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
281
281
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
282
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
282
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
283
283
  # * (`nil`) indicating no credentials
284
284
  # @return [::Object]
285
285
  # @!attribute [rw] scope
@@ -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/completion_service.proto
3
4
 
@@ -9,38 +10,32 @@ require 'google/api/field_behavior_pb'
9
10
  require 'google/api/resource_pb'
10
11
  require 'google/cloud/talent/v4beta1/common_pb'
11
12
 
12
- Google::Protobuf::DescriptorPool.generated_pool.build do
13
- add_file("google/cloud/talent/v4beta1/completion_service.proto", :syntax => :proto3) do
14
- add_message "google.cloud.talent.v4beta1.CompleteQueryRequest" do
15
- optional :parent, :string, 1
16
- optional :query, :string, 2
17
- repeated :language_codes, :string, 3
18
- optional :page_size, :int32, 4
19
- optional :company, :string, 5
20
- optional :scope, :enum, 6, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope"
21
- optional :type, :enum, 7, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
22
- end
23
- add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope" do
24
- value :COMPLETION_SCOPE_UNSPECIFIED, 0
25
- value :TENANT, 1
26
- value :PUBLIC, 2
27
- end
28
- add_enum "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType" do
29
- value :COMPLETION_TYPE_UNSPECIFIED, 0
30
- value :JOB_TITLE, 1
31
- value :COMPANY_NAME, 2
32
- value :COMBINED, 3
33
- end
34
- add_message "google.cloud.talent.v4beta1.CompleteQueryResponse" do
35
- repeated :completion_results, :message, 1, "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult"
36
- optional :metadata, :message, 2, "google.cloud.talent.v4beta1.ResponseMetadata"
37
- end
38
- add_message "google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult" do
39
- optional :suggestion, :string, 1
40
- optional :type, :enum, 2, "google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType"
41
- optional :image_uri, :string, 3
13
+
14
+ descriptor_data = "\n4google/cloud/talent/v4beta1/completion_service.proto\x12\x1bgoogle.cloud.talent.v4beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a(google/cloud/talent/v4beta1/common.proto\"\x93\x04\n\x14\x43ompleteQueryRequest\x12\x33\n\x06parent\x18\x01 \x01(\tB#\xe0\x41\x02\xfa\x41\x1d\x12\x1bjobs.googleapis.com/Company\x12\x12\n\x05query\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x16\n\x0elanguage_codes\x18\x03 \x03(\t\x12\x16\n\tpage_size\x18\x04 \x01(\x05\x42\x03\xe0\x41\x02\x12\x31\n\x07\x63ompany\x18\x05 \x01(\tB \xfa\x41\x1d\n\x1bjobs.googleapis.com/Company\x12P\n\x05scope\x18\x06 \x01(\x0e\x32\x41.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionScope\x12N\n\x04type\x18\x07 \x01(\x0e\x32@.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType\"K\n\x0f\x43ompletionScope\x12 \n\x1c\x43OMPLETION_SCOPE_UNSPECIFIED\x10\x00\x12\n\n\x06TENANT\x10\x01\x12\n\n\x06PUBLIC\x10\x02\"`\n\x0e\x43ompletionType\x12\x1f\n\x1b\x43OMPLETION_TYPE_UNSPECIFIED\x10\x00\x12\r\n\tJOB_TITLE\x10\x01\x12\x10\n\x0c\x43OMPANY_NAME\x10\x02\x12\x0c\n\x08\x43OMBINED\x10\x03\"\xc5\x02\n\x15\x43ompleteQueryResponse\x12_\n\x12\x63ompletion_results\x18\x01 \x03(\x0b\x32\x43.google.cloud.talent.v4beta1.CompleteQueryResponse.CompletionResult\x12?\n\x08metadata\x18\x02 \x01(\x0b\x32-.google.cloud.talent.v4beta1.ResponseMetadata\x1a\x89\x01\n\x10\x43ompletionResult\x12\x12\n\nsuggestion\x18\x01 \x01(\t\x12N\n\x04type\x18\x02 \x01(\x0e\x32@.google.cloud.talent.v4beta1.CompleteQueryRequest.CompletionType\x12\x11\n\timage_uri\x18\x03 \x01(\t2\xd5\x02\n\nCompletion\x12\xd8\x01\n\rCompleteQuery\x12\x31.google.cloud.talent.v4beta1.CompleteQueryRequest\x1a\x32.google.cloud.talent.v4beta1.CompleteQueryResponse\"`\x82\xd3\xe4\x93\x02Z\x12//v4beta1/{parent=projects/*/tenants/*}:completeZ\'\x12%/v4beta1/{parent=projects/*}:complete\x1al\xca\x41\x13jobs.googleapis.com\xd2\x41Shttps://www.googleapis.com/auth/cloud-platform,https://www.googleapis.com/auth/jobsBz\n\x1f\x63om.google.cloud.talent.v4beta1B\x16\x43ompletionServiceProtoP\x01Z7cloud.google.com/go/talent/apiv4beta1/talentpb;talentpb\xa2\x02\x03\x43TSb\x06proto3"
15
+
16
+ pool = Google::Protobuf::DescriptorPool.generated_pool
17
+
18
+ begin
19
+ pool.add_serialized_file(descriptor_data)
20
+ rescue TypeError => e
21
+ # Compatibility code: will be removed in the next major version.
22
+ require 'google/protobuf/descriptor_pb'
23
+ parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
24
+ parsed.clear_dependency
25
+ serialized = parsed.class.encode(parsed)
26
+ file = pool.add_serialized_file(serialized)
27
+ warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
28
+ imports = [
29
+ ["google.cloud.talent.v4beta1.ResponseMetadata", "google/cloud/talent/v4beta1/common.proto"],
30
+ ]
31
+ imports.each do |type_name, expected_filename|
32
+ import_file = pool.lookup(type_name).file_descriptor
33
+ if import_file.name != expected_filename
34
+ warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
42
35
  end
43
36
  end
37
+ warn "Each proto file must use a consistent fully-qualified name."
38
+ warn "This will become an error in the next major version."
44
39
  end
45
40
 
46
41
  module Google