google-cloud-talent-v4 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/.yardopts +12 -0
  3. data/AUTHENTICATION.md +169 -0
  4. data/LICENSE.md +203 -0
  5. data/README.md +75 -0
  6. data/lib/google-cloud-talent-v4.rb +21 -0
  7. data/lib/google/cloud/talent/v4.rb +39 -0
  8. data/lib/google/cloud/talent/v4/common_pb.rb +280 -0
  9. data/lib/google/cloud/talent/v4/company_pb.rb +42 -0
  10. data/lib/google/cloud/talent/v4/company_service.rb +49 -0
  11. data/lib/google/cloud/talent/v4/company_service/client.rb +732 -0
  12. data/lib/google/cloud/talent/v4/company_service/credentials.rb +52 -0
  13. data/lib/google/cloud/talent/v4/company_service/paths.rb +69 -0
  14. data/lib/google/cloud/talent/v4/company_service_pb.rb +57 -0
  15. data/lib/google/cloud/talent/v4/company_service_services_pb.rb +54 -0
  16. data/lib/google/cloud/talent/v4/completion.rb +49 -0
  17. data/lib/google/cloud/talent/v4/completion/client.rb +408 -0
  18. data/lib/google/cloud/talent/v4/completion/credentials.rb +52 -0
  19. data/lib/google/cloud/talent/v4/completion/paths.rb +69 -0
  20. data/lib/google/cloud/talent/v4/completion_service_pb.rb +57 -0
  21. data/lib/google/cloud/talent/v4/completion_service_services_pb.rb +46 -0
  22. data/lib/google/cloud/talent/v4/event_pb.rb +55 -0
  23. data/lib/google/cloud/talent/v4/event_service.rb +49 -0
  24. data/lib/google/cloud/talent/v4/event_service/client.rb +383 -0
  25. data/lib/google/cloud/talent/v4/event_service/credentials.rb +52 -0
  26. data/lib/google/cloud/talent/v4/event_service/paths.rb +50 -0
  27. data/lib/google/cloud/talent/v4/event_service_pb.rb +28 -0
  28. data/lib/google/cloud/talent/v4/event_service_services_pb.rb +51 -0
  29. data/lib/google/cloud/talent/v4/filters_pb.rb +87 -0
  30. data/lib/google/cloud/talent/v4/histogram_pb.rb +28 -0
  31. data/lib/google/cloud/talent/v4/job_pb.rb +72 -0
  32. data/lib/google/cloud/talent/v4/job_service.rb +50 -0
  33. data/lib/google/cloud/talent/v4/job_service/client.rb +1632 -0
  34. data/lib/google/cloud/talent/v4/job_service/credentials.rb +52 -0
  35. data/lib/google/cloud/talent/v4/job_service/operations.rb +570 -0
  36. data/lib/google/cloud/talent/v4/job_service/paths.rb +88 -0
  37. data/lib/google/cloud/talent/v4/job_service_pb.rb +173 -0
  38. data/lib/google/cloud/talent/v4/job_service_services_pb.rb +86 -0
  39. data/lib/google/cloud/talent/v4/tenant_pb.rb +26 -0
  40. data/lib/google/cloud/talent/v4/tenant_service.rb +49 -0
  41. data/lib/google/cloud/talent/v4/tenant_service/client.rb +720 -0
  42. data/lib/google/cloud/talent/v4/tenant_service/credentials.rb +52 -0
  43. data/lib/google/cloud/talent/v4/tenant_service/paths.rb +64 -0
  44. data/lib/google/cloud/talent/v4/tenant_service_pb.rb +56 -0
  45. data/lib/google/cloud/talent/v4/tenant_service_services_pb.rb +53 -0
  46. data/lib/google/cloud/talent/v4/version.rb +28 -0
  47. data/proto_docs/README.md +4 -0
  48. data/proto_docs/google/api/field_behavior.rb +59 -0
  49. data/proto_docs/google/api/resource.rb +283 -0
  50. data/proto_docs/google/cloud/talent/v4/common.rb +949 -0
  51. data/proto_docs/google/cloud/talent/v4/company.rb +117 -0
  52. data/proto_docs/google/cloud/talent/v4/company_service.rb +133 -0
  53. data/proto_docs/google/cloud/talent/v4/completion_service.rb +148 -0
  54. data/proto_docs/google/cloud/talent/v4/event.rb +179 -0
  55. data/proto_docs/google/cloud/talent/v4/event_service.rb +42 -0
  56. data/proto_docs/google/cloud/talent/v4/filters.rb +360 -0
  57. data/proto_docs/google/cloud/talent/v4/histogram.rb +72 -0
  58. data/proto_docs/google/cloud/talent/v4/job.rb +378 -0
  59. data/proto_docs/google/cloud/talent/v4/job_service.rb +737 -0
  60. data/proto_docs/google/cloud/talent/v4/tenant.rb +50 -0
  61. data/proto_docs/google/cloud/talent/v4/tenant_service.rb +121 -0
  62. data/proto_docs/google/longrunning/operations.rb +150 -0
  63. data/proto_docs/google/protobuf/any.rb +138 -0
  64. data/proto_docs/google/protobuf/duration.rb +98 -0
  65. data/proto_docs/google/protobuf/empty.rb +36 -0
  66. data/proto_docs/google/protobuf/field_mask.rb +229 -0
  67. data/proto_docs/google/protobuf/timestamp.rb +120 -0
  68. data/proto_docs/google/protobuf/wrappers.rb +121 -0
  69. data/proto_docs/google/rpc/status.rb +46 -0
  70. data/proto_docs/google/type/latlng.rb +38 -0
  71. data/proto_docs/google/type/money.rb +43 -0
  72. data/proto_docs/google/type/postal_address.rb +135 -0
  73. data/proto_docs/google/type/timeofday.rb +44 -0
  74. metadata +258 -0
@@ -0,0 +1,949 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2020 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+
20
+ module Google
21
+ module Cloud
22
+ module Talent
23
+ module V4
24
+ # Message representing a period of time between two timestamps.
25
+ # @!attribute [rw] start_time
26
+ # @return [::Google::Protobuf::Timestamp]
27
+ # Begin of the period (inclusive).
28
+ # @!attribute [rw] end_time
29
+ # @return [::Google::Protobuf::Timestamp]
30
+ # End of the period (exclusive).
31
+ class TimestampRange
32
+ include ::Google::Protobuf::MessageExts
33
+ extend ::Google::Protobuf::MessageExts::ClassMethods
34
+ end
35
+
36
+ # A resource that represents a location with full geographic information.
37
+ # @!attribute [rw] location_type
38
+ # @return [::Google::Cloud::Talent::V4::Location::LocationType]
39
+ # The type of a location, which corresponds to the address lines field of
40
+ # {::Google::Type::PostalAddress google.type.PostalAddress}. For example,
41
+ # "Downtown, Atlanta, GA, USA" has a type of
42
+ # {::Google::Cloud::Talent::V4::Location::LocationType::NEIGHBORHOOD LocationType.NEIGHBORHOOD},
43
+ # and "Kansas City, KS, USA" has a type of
44
+ # {::Google::Cloud::Talent::V4::Location::LocationType::LOCALITY LocationType.LOCALITY}.
45
+ # @!attribute [rw] postal_address
46
+ # @return [::Google::Type::PostalAddress]
47
+ # Postal address of the location that includes human readable information,
48
+ # such as postal delivery and payments addresses. Given a postal address,
49
+ # a postal service can deliver items to a premises, P.O. Box, or other
50
+ # delivery location.
51
+ # @!attribute [rw] lat_lng
52
+ # @return [::Google::Type::LatLng]
53
+ # An object representing a latitude/longitude pair.
54
+ # @!attribute [rw] radius_miles
55
+ # @return [::Float]
56
+ # Radius in miles of the job location. This value is derived from the
57
+ # location bounding box in which a circle with the specified radius
58
+ # centered from {::Google::Type::LatLng google.type.LatLng} covers the area
59
+ # associated with the job location. For example, currently, "Mountain View,
60
+ # CA, USA" has a radius of 6.17 miles.
61
+ class Location
62
+ include ::Google::Protobuf::MessageExts
63
+ extend ::Google::Protobuf::MessageExts::ClassMethods
64
+
65
+ # An enum which represents the type of a location.
66
+ module LocationType
67
+ # Default value if the type isn't specified.
68
+ LOCATION_TYPE_UNSPECIFIED = 0
69
+
70
+ # A country level location.
71
+ COUNTRY = 1
72
+
73
+ # A state or equivalent level location.
74
+ ADMINISTRATIVE_AREA = 2
75
+
76
+ # A county or equivalent level location.
77
+ SUB_ADMINISTRATIVE_AREA = 3
78
+
79
+ # A city or equivalent level location.
80
+ LOCALITY = 4
81
+
82
+ # A postal code level location.
83
+ POSTAL_CODE = 5
84
+
85
+ # A sublocality is a subdivision of a locality, for example a city borough,
86
+ # ward, or arrondissement. Sublocalities are usually recognized by a local
87
+ # political authority. For example, Manhattan and Brooklyn are recognized
88
+ # as boroughs by the City of New York, and are therefore modeled as
89
+ # sublocalities.
90
+ SUB_LOCALITY = 6
91
+
92
+ # A district or equivalent level location.
93
+ SUB_LOCALITY_1 = 7
94
+
95
+ # A smaller district or equivalent level display.
96
+ SUB_LOCALITY_2 = 8
97
+
98
+ # A neighborhood level location.
99
+ NEIGHBORHOOD = 9
100
+
101
+ # A street address level location.
102
+ STREET_ADDRESS = 10
103
+ end
104
+ end
105
+
106
+ # Meta information related to the job searcher or entity
107
+ # conducting the job search. This information is used to improve the
108
+ # performance of the service.
109
+ # @!attribute [rw] domain
110
+ # @return [::String]
111
+ # Required if
112
+ # {::Google::Cloud::Talent::V4::RequestMetadata#allow_missing_ids allow_missing_ids}
113
+ # is unset or `false`.
114
+ #
115
+ # The client-defined scope or source of the service call, which typically
116
+ # is the domain on
117
+ # which the service has been implemented and is currently being run.
118
+ #
119
+ # For example, if the service is being run by client <em>Foo, Inc.</em>, on
120
+ # job board www.foo.com and career site www.bar.com, then this field is
121
+ # set to "foo.com" for use on the job board, and "bar.com" for use on the
122
+ # career site.
123
+ #
124
+ # Note that any improvements to the model for a particular tenant site rely
125
+ # on this field being set correctly to a unique domain.
126
+ #
127
+ # The maximum number of allowed characters is 255.
128
+ # @!attribute [rw] session_id
129
+ # @return [::String]
130
+ # Required if
131
+ # {::Google::Cloud::Talent::V4::RequestMetadata#allow_missing_ids allow_missing_ids}
132
+ # is unset or `false`.
133
+ #
134
+ # A unique session identification string. A session is defined as the
135
+ # duration of an end user's interaction with the service over a certain
136
+ # period.
137
+ # Obfuscate this field for privacy concerns before
138
+ # providing it to the service.
139
+ #
140
+ # Note that any improvements to the model for a particular tenant site rely
141
+ # on this field being set correctly to a unique session ID.
142
+ #
143
+ # The maximum number of allowed characters is 255.
144
+ # @!attribute [rw] user_id
145
+ # @return [::String]
146
+ # Required if
147
+ # {::Google::Cloud::Talent::V4::RequestMetadata#allow_missing_ids allow_missing_ids}
148
+ # is unset or `false`.
149
+ #
150
+ # A unique user identification string, as determined by the client.
151
+ # To have the strongest positive impact on search quality
152
+ # make sure the client-level is unique.
153
+ # Obfuscate this field for privacy concerns before
154
+ # providing it to the service.
155
+ #
156
+ # Note that any improvements to the model for a particular tenant site rely
157
+ # on this field being set correctly to a unique user ID.
158
+ #
159
+ # The maximum number of allowed characters is 255.
160
+ # @!attribute [rw] allow_missing_ids
161
+ # @return [::Boolean]
162
+ # Only set when any of
163
+ # {::Google::Cloud::Talent::V4::RequestMetadata#domain domain},
164
+ # {::Google::Cloud::Talent::V4::RequestMetadata#session_id session_id} and
165
+ # {::Google::Cloud::Talent::V4::RequestMetadata#user_id user_id} isn't available
166
+ # for some reason. It is highly recommended not to set this field and provide
167
+ # accurate {::Google::Cloud::Talent::V4::RequestMetadata#domain domain},
168
+ # {::Google::Cloud::Talent::V4::RequestMetadata#session_id session_id} and
169
+ # {::Google::Cloud::Talent::V4::RequestMetadata#user_id user_id} for the best
170
+ # service experience.
171
+ # @!attribute [rw] device_info
172
+ # @return [::Google::Cloud::Talent::V4::DeviceInfo]
173
+ # The type of device used by the job seeker at the time of the call to the
174
+ # service.
175
+ class RequestMetadata
176
+ include ::Google::Protobuf::MessageExts
177
+ extend ::Google::Protobuf::MessageExts::ClassMethods
178
+ end
179
+
180
+ # Additional information returned to client, such as debugging information.
181
+ # @!attribute [rw] request_id
182
+ # @return [::String]
183
+ # A unique id associated with this call.
184
+ # This id is logged for tracking purposes.
185
+ class ResponseMetadata
186
+ include ::Google::Protobuf::MessageExts
187
+ extend ::Google::Protobuf::MessageExts::ClassMethods
188
+ end
189
+
190
+ # Device information collected from the job seeker, candidate, or
191
+ # other entity conducting the job search. Providing this information improves
192
+ # the quality of the search results across devices.
193
+ # @!attribute [rw] device_type
194
+ # @return [::Google::Cloud::Talent::V4::DeviceInfo::DeviceType]
195
+ # Type of the device.
196
+ # @!attribute [rw] id
197
+ # @return [::String]
198
+ # A device-specific ID. The ID must be a unique identifier that
199
+ # distinguishes the device from other devices.
200
+ class DeviceInfo
201
+ include ::Google::Protobuf::MessageExts
202
+ extend ::Google::Protobuf::MessageExts::ClassMethods
203
+
204
+ # An enumeration describing an API access portal and exposure mechanism.
205
+ module DeviceType
206
+ # The device type isn't specified.
207
+ DEVICE_TYPE_UNSPECIFIED = 0
208
+
209
+ # A desktop web browser, such as, Chrome, Firefox, Safari, or Internet
210
+ # Explorer)
211
+ WEB = 1
212
+
213
+ # A mobile device web browser, such as a phone or tablet with a Chrome
214
+ # browser.
215
+ MOBILE_WEB = 2
216
+
217
+ # An Android device native application.
218
+ ANDROID = 3
219
+
220
+ # An iOS device native application.
221
+ IOS = 4
222
+
223
+ # A bot, as opposed to a device operated by human beings, such as a web
224
+ # crawler.
225
+ BOT = 5
226
+
227
+ # Other devices types.
228
+ OTHER = 6
229
+ end
230
+ end
231
+
232
+ # Custom attribute values that are either filterable or non-filterable.
233
+ # @!attribute [rw] string_values
234
+ # @return [::Array<::String>]
235
+ # Exactly one of
236
+ # {::Google::Cloud::Talent::V4::CustomAttribute#string_values string_values} or
237
+ # {::Google::Cloud::Talent::V4::CustomAttribute#long_values long_values} must be
238
+ # specified.
239
+ #
240
+ # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
241
+ # `CASE_INSENSITIVE_MATCH`) search.
242
+ # For filterable `string_value`s, a maximum total number of 200 values
243
+ # is allowed, with each `string_value` has a byte size of no more than
244
+ # 500B. For unfilterable `string_values`, the maximum total byte size of
245
+ # unfilterable `string_values` is 50KB.
246
+ #
247
+ # Empty string isn't allowed.
248
+ # @!attribute [rw] long_values
249
+ # @return [::Array<::Integer>]
250
+ # Exactly one of
251
+ # {::Google::Cloud::Talent::V4::CustomAttribute#string_values string_values} or
252
+ # {::Google::Cloud::Talent::V4::CustomAttribute#long_values long_values} must be
253
+ # specified.
254
+ #
255
+ # This field is used to perform number range search.
256
+ # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
257
+ #
258
+ # Currently at most 1
259
+ # {::Google::Cloud::Talent::V4::CustomAttribute#long_values long_values} is
260
+ # supported.
261
+ # @!attribute [rw] filterable
262
+ # @return [::Boolean]
263
+ # If the `filterable` flag is true, the custom field values may be used for
264
+ # custom attribute filters
265
+ # {::Google::Cloud::Talent::V4::JobQuery#custom_attribute_filter JobQuery.custom_attribute_filter}.
266
+ # If false, these values may not be used for custom attribute filters.
267
+ #
268
+ # Default is false.
269
+ # @!attribute [rw] keyword_searchable
270
+ # @return [::Boolean]
271
+ # If the `keyword_searchable` flag is true, the keywords in custom fields are
272
+ # searchable by keyword match.
273
+ # If false, the values are not searchable by keyword match.
274
+ #
275
+ # Default is false.
276
+ class CustomAttribute
277
+ include ::Google::Protobuf::MessageExts
278
+ extend ::Google::Protobuf::MessageExts::ClassMethods
279
+ end
280
+
281
+ # Spell check result.
282
+ # @!attribute [rw] corrected
283
+ # @return [::Boolean]
284
+ # Indicates if the query was corrected by the spell checker.
285
+ # @!attribute [rw] corrected_text
286
+ # @return [::String]
287
+ # Correction output consisting of the corrected keyword string.
288
+ # @!attribute [rw] corrected_html
289
+ # @return [::String]
290
+ # Corrected output with html tags to highlight the corrected words.
291
+ # Corrected words are called out with the "<b><i>...</i></b>" html tags.
292
+ #
293
+ # For example, the user input query is "software enginear", where the second
294
+ # word, "enginear," is incorrect. It should be "engineer". When spelling
295
+ # correction is enabled, this value is
296
+ # "software <b><i>engineer</i></b>".
297
+ class SpellingCorrection
298
+ include ::Google::Protobuf::MessageExts
299
+ extend ::Google::Protobuf::MessageExts::ClassMethods
300
+ end
301
+
302
+ # Job compensation details.
303
+ # @!attribute [rw] entries
304
+ # @return [::Array<::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry>]
305
+ # Job compensation information.
306
+ #
307
+ # At most one entry can be of type
308
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationType::BASE CompensationInfo.CompensationType.BASE},
309
+ # which is referred as **base compensation entry** for the job.
310
+ # @!attribute [r] annualized_base_compensation_range
311
+ # @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange]
312
+ # Output only. Annualized base compensation range. Computed as base
313
+ # compensation entry's
314
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
315
+ # times
316
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry.expected_units_per_year}.
317
+ #
318
+ # See
319
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry CompensationEntry}
320
+ # for explanation on compensation annualization.
321
+ # @!attribute [r] annualized_total_compensation_range
322
+ # @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange]
323
+ # Output only. Annualized total compensation range. Computed as all
324
+ # compensation entries'
325
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
326
+ # times
327
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry.expected_units_per_year}.
328
+ #
329
+ # See
330
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry CompensationEntry}
331
+ # for explanation on compensation annualization.
332
+ class CompensationInfo
333
+ include ::Google::Protobuf::MessageExts
334
+ extend ::Google::Protobuf::MessageExts::ClassMethods
335
+
336
+ # A compensation entry that represents one component of compensation, such
337
+ # as base pay, bonus, or other compensation type.
338
+ #
339
+ # Annualization: One compensation entry can be annualized if
340
+ # - it contains valid
341
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount amount}
342
+ # or
343
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#range range}.
344
+ # - and its
345
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}
346
+ # is set or can be derived. Its annualized range is determined as
347
+ # ({::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount amount}
348
+ # or
349
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#range range})
350
+ # times
351
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}.
352
+ # @!attribute [rw] type
353
+ # @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationType]
354
+ # Compensation type.
355
+ #
356
+ # Default is
357
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationType::COMPENSATION_TYPE_UNSPECIFIED CompensationType.COMPENSATION_TYPE_UNSPECIFIED}.
358
+ # @!attribute [rw] unit
359
+ # @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit]
360
+ # Frequency of the specified amount.
361
+ #
362
+ # Default is
363
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED}.
364
+ # @!attribute [rw] amount
365
+ # @return [::Google::Type::Money]
366
+ # Compensation amount.
367
+ # @!attribute [rw] range
368
+ # @return [::Google::Cloud::Talent::V4::CompensationInfo::CompensationRange]
369
+ # Compensation range.
370
+ # @!attribute [rw] description
371
+ # @return [::String]
372
+ # Compensation description. For example, could
373
+ # indicate equity terms or provide additional context to an estimated
374
+ # bonus.
375
+ # @!attribute [rw] expected_units_per_year
376
+ # @return [::Google::Protobuf::DoubleValue]
377
+ # Expected number of units paid each year. If not specified, when
378
+ # {::Google::Cloud::Talent::V4::Job#employment_types Job.employment_types} is
379
+ # FULLTIME, a default value is inferred based on
380
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#unit unit}.
381
+ # Default values:
382
+ # - HOURLY: 2080
383
+ # - DAILY: 260
384
+ # - WEEKLY: 52
385
+ # - MONTHLY: 12
386
+ # - ANNUAL: 1
387
+ class CompensationEntry
388
+ include ::Google::Protobuf::MessageExts
389
+ extend ::Google::Protobuf::MessageExts::ClassMethods
390
+ end
391
+
392
+ # Compensation range.
393
+ # @!attribute [rw] max_compensation
394
+ # @return [::Google::Type::Money]
395
+ # The maximum amount of compensation. If left empty, the value is set
396
+ # to a maximal compensation value and the currency code is set to
397
+ # match the {::Google::Type::Money#currency_code currency code} of
398
+ # min_compensation.
399
+ # @!attribute [rw] min_compensation
400
+ # @return [::Google::Type::Money]
401
+ # The minimum amount of compensation. If left empty, the value is set
402
+ # to zero and the currency code is set to match the
403
+ # {::Google::Type::Money#currency_code currency code} of max_compensation.
404
+ class CompensationRange
405
+ include ::Google::Protobuf::MessageExts
406
+ extend ::Google::Protobuf::MessageExts::ClassMethods
407
+ end
408
+
409
+ # The type of compensation.
410
+ #
411
+ # For compensation amounts specified in non-monetary amounts,
412
+ # describe the compensation scheme in the
413
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#description CompensationEntry.description}.
414
+ #
415
+ # For example, tipping format is described in
416
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#description CompensationEntry.description}
417
+ # (for example, "expect 15-20% tips based on customer bill.") and an estimate
418
+ # of the tips provided in
419
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
420
+ # or
421
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#range CompensationEntry.range}
422
+ # ($10 per hour).
423
+ #
424
+ # For example, equity is described in
425
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#description CompensationEntry.description}
426
+ # (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
427
+ # value estimated in
428
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
429
+ # or
430
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#range CompensationEntry.range}.
431
+ # If no value estimate is possible, units are
432
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED}
433
+ # and then further clarified in
434
+ # {::Google::Cloud::Talent::V4::CompensationInfo::CompensationEntry#description CompensationEntry.description}
435
+ # field.
436
+ module CompensationType
437
+ # Default value.
438
+ COMPENSATION_TYPE_UNSPECIFIED = 0
439
+
440
+ # Base compensation: Refers to the fixed amount of money paid to an
441
+ # employee by an employer in return for work performed. Base compensation
442
+ # does not include benefits, bonuses or any other potential compensation
443
+ # from an employer.
444
+ BASE = 1
445
+
446
+ # Bonus.
447
+ BONUS = 2
448
+
449
+ # Signing bonus.
450
+ SIGNING_BONUS = 3
451
+
452
+ # Equity.
453
+ EQUITY = 4
454
+
455
+ # Profit sharing.
456
+ PROFIT_SHARING = 5
457
+
458
+ # Commission.
459
+ COMMISSIONS = 6
460
+
461
+ # Tips.
462
+ TIPS = 7
463
+
464
+ # Other compensation type.
465
+ OTHER_COMPENSATION_TYPE = 8
466
+ end
467
+
468
+ # Pay frequency.
469
+ module CompensationUnit
470
+ # Default value.
471
+ COMPENSATION_UNIT_UNSPECIFIED = 0
472
+
473
+ # Hourly.
474
+ HOURLY = 1
475
+
476
+ # Daily.
477
+ DAILY = 2
478
+
479
+ # Weekly
480
+ WEEKLY = 3
481
+
482
+ # Monthly.
483
+ MONTHLY = 4
484
+
485
+ # Yearly.
486
+ YEARLY = 5
487
+
488
+ # One time.
489
+ ONE_TIME = 6
490
+
491
+ # Other compensation units.
492
+ OTHER_COMPENSATION_UNIT = 7
493
+ end
494
+ end
495
+
496
+ # Metadata used for long running operations returned by CTS batch APIs.
497
+ # It's used to replace
498
+ # {::Google::Longrunning::Operation#metadata google.longrunning.Operation.metadata}.
499
+ # @!attribute [rw] state
500
+ # @return [::Google::Cloud::Talent::V4::BatchOperationMetadata::State]
501
+ # The state of a long running operation.
502
+ # @!attribute [rw] state_description
503
+ # @return [::String]
504
+ # More detailed information about operation state.
505
+ # @!attribute [rw] success_count
506
+ # @return [::Integer]
507
+ # Count of successful item(s) inside an operation.
508
+ # @!attribute [rw] failure_count
509
+ # @return [::Integer]
510
+ # Count of failed item(s) inside an operation.
511
+ # @!attribute [rw] total_count
512
+ # @return [::Integer]
513
+ # Count of total item(s) inside an operation.
514
+ # @!attribute [rw] create_time
515
+ # @return [::Google::Protobuf::Timestamp]
516
+ # The time when the batch operation is created.
517
+ # @!attribute [rw] update_time
518
+ # @return [::Google::Protobuf::Timestamp]
519
+ # The time when the batch operation status is updated. The metadata and the
520
+ # {::Google::Cloud::Talent::V4::BatchOperationMetadata#update_time update_time} is
521
+ # refreshed every minute otherwise cached data is returned.
522
+ # @!attribute [rw] end_time
523
+ # @return [::Google::Protobuf::Timestamp]
524
+ # The time when the batch operation is finished and
525
+ # {::Google::Longrunning::Operation#done google.longrunning.Operation.done} is
526
+ # set to `true`.
527
+ class BatchOperationMetadata
528
+ include ::Google::Protobuf::MessageExts
529
+ extend ::Google::Protobuf::MessageExts::ClassMethods
530
+
531
+ module State
532
+ # Default value.
533
+ STATE_UNSPECIFIED = 0
534
+
535
+ # The batch operation is being prepared for processing.
536
+ INITIALIZING = 1
537
+
538
+ # The batch operation is actively being processed.
539
+ PROCESSING = 2
540
+
541
+ # The batch operation is processed, and at least one item has been
542
+ # successfully processed.
543
+ SUCCEEDED = 3
544
+
545
+ # The batch operation is done and no item has been successfully processed.
546
+ FAILED = 4
547
+
548
+ # The batch operation is in the process of cancelling after
549
+ # google.longrunning.Operations.CancelOperation
550
+ # is called.
551
+ CANCELLING = 5
552
+
553
+ # The batch operation is done after
554
+ # google.longrunning.Operations.CancelOperation
555
+ # is called. Any items processed before cancelling are returned in the
556
+ # response.
557
+ CANCELLED = 6
558
+ end
559
+ end
560
+
561
+ # An enum that represents the size of the company.
562
+ module CompanySize
563
+ # Default value if the size isn't specified.
564
+ COMPANY_SIZE_UNSPECIFIED = 0
565
+
566
+ # The company has less than 50 employees.
567
+ MINI = 1
568
+
569
+ # The company has between 50 and 99 employees.
570
+ SMALL = 2
571
+
572
+ # The company has between 100 and 499 employees.
573
+ SMEDIUM = 3
574
+
575
+ # The company has between 500 and 999 employees.
576
+ MEDIUM = 4
577
+
578
+ # The company has between 1,000 and 4,999 employees.
579
+ BIG = 5
580
+
581
+ # The company has between 5,000 and 9,999 employees.
582
+ BIGGER = 6
583
+
584
+ # The company has 10,000 or more employees.
585
+ GIANT = 7
586
+ end
587
+
588
+ # An enum that represents employee benefits included with the job.
589
+ module JobBenefit
590
+ # Default value if the type isn't specified.
591
+ JOB_BENEFIT_UNSPECIFIED = 0
592
+
593
+ # The job includes access to programs that support child care, such
594
+ # as daycare.
595
+ CHILD_CARE = 1
596
+
597
+ # The job includes dental services covered by a dental
598
+ # insurance plan.
599
+ DENTAL = 2
600
+
601
+ # The job offers specific benefits to domestic partners.
602
+ DOMESTIC_PARTNER = 3
603
+
604
+ # The job allows for a flexible work schedule.
605
+ FLEXIBLE_HOURS = 4
606
+
607
+ # The job includes health services covered by a medical insurance plan.
608
+ MEDICAL = 5
609
+
610
+ # The job includes a life insurance plan provided by the employer or
611
+ # available for purchase by the employee.
612
+ LIFE_INSURANCE = 6
613
+
614
+ # The job allows for a leave of absence to a parent to care for a newborn
615
+ # child.
616
+ PARENTAL_LEAVE = 7
617
+
618
+ # The job includes a workplace retirement plan provided by the
619
+ # employer or available for purchase by the employee.
620
+ RETIREMENT_PLAN = 8
621
+
622
+ # The job allows for paid time off due to illness.
623
+ SICK_DAYS = 9
624
+
625
+ # The job includes paid time off for vacation.
626
+ VACATION = 10
627
+
628
+ # The job includes vision services covered by a vision
629
+ # insurance plan.
630
+ VISION = 11
631
+ end
632
+
633
+ # Educational degree level defined in International Standard Classification
634
+ # of Education (ISCED).
635
+ module DegreeType
636
+ # Default value. Represents no degree, or early childhood education.
637
+ # Maps to ISCED code 0.
638
+ # Ex) Kindergarten
639
+ DEGREE_TYPE_UNSPECIFIED = 0
640
+
641
+ # Primary education which is typically the first stage of compulsory
642
+ # education. ISCED code 1.
643
+ # Ex) Elementary school
644
+ PRIMARY_EDUCATION = 1
645
+
646
+ # Lower secondary education; First stage of secondary education building on
647
+ # primary education, typically with a more subject-oriented curriculum.
648
+ # ISCED code 2.
649
+ # Ex) Middle school
650
+ LOWER_SECONDARY_EDUCATION = 2
651
+
652
+ # Middle education; Second/final stage of secondary education preparing for
653
+ # tertiary education and/or providing skills relevant to employment.
654
+ # Usually with an increased range of subject options and streams. ISCED
655
+ # code 3.
656
+ # Ex) High school
657
+ UPPER_SECONDARY_EDUCATION = 3
658
+
659
+ # Adult Remedial Education; Programmes providing learning experiences that
660
+ # build on secondary education and prepare for labour market entry and/or
661
+ # tertiary education. The content is broader than secondary but not as
662
+ # complex as tertiary education. ISCED code 4.
663
+ ADULT_REMEDIAL_EDUCATION = 4
664
+
665
+ # Associate's or equivalent; Short first tertiary programmes that are
666
+ # typically practically-based, occupationally-specific and prepare for
667
+ # labour market entry. These programmes may also provide a pathway to other
668
+ # tertiary programmes. ISCED code 5.
669
+ ASSOCIATES_OR_EQUIVALENT = 5
670
+
671
+ # Bachelor's or equivalent; Programmes designed to provide intermediate
672
+ # academic and/or professional knowledge, skills and competencies leading
673
+ # to a first tertiary degree or equivalent qualification. ISCED code 6.
674
+ BACHELORS_OR_EQUIVALENT = 6
675
+
676
+ # Master's or equivalent; Programmes designed to provide advanced academic
677
+ # and/or professional knowledge, skills and competencies leading to a
678
+ # second tertiary degree or equivalent qualification. ISCED code 7.
679
+ MASTERS_OR_EQUIVALENT = 7
680
+
681
+ # Doctoral or equivalent; Programmes designed primarily to lead to an
682
+ # advanced research qualification, usually concluding with the submission
683
+ # and defense of a substantive dissertation of publishable quality based on
684
+ # original research. ISCED code 8.
685
+ DOCTORAL_OR_EQUIVALENT = 8
686
+ end
687
+
688
+ # An enum that represents the employment type of a job.
689
+ module EmploymentType
690
+ # The default value if the employment type isn't specified.
691
+ EMPLOYMENT_TYPE_UNSPECIFIED = 0
692
+
693
+ # The job requires working a number of hours that constitute full
694
+ # time employment, typically 40 or more hours per week.
695
+ FULL_TIME = 1
696
+
697
+ # The job entails working fewer hours than a full time job,
698
+ # typically less than 40 hours a week.
699
+ PART_TIME = 2
700
+
701
+ # The job is offered as a contracted, as opposed to a salaried employee,
702
+ # position.
703
+ CONTRACTOR = 3
704
+
705
+ # The job is offered as a contracted position with the understanding
706
+ # that it's converted into a full-time position at the end of the
707
+ # contract. Jobs of this type are also returned by a search for
708
+ # {::Google::Cloud::Talent::V4::EmploymentType::CONTRACTOR EmploymentType.CONTRACTOR}
709
+ # jobs.
710
+ CONTRACT_TO_HIRE = 4
711
+
712
+ # The job is offered as a temporary employment opportunity, usually
713
+ # a short-term engagement.
714
+ TEMPORARY = 5
715
+
716
+ # The job is a fixed-term opportunity for students or entry-level job
717
+ # seekers to obtain on-the-job training, typically offered as a summer
718
+ # position.
719
+ INTERN = 6
720
+
721
+ # The is an opportunity for an individual to volunteer, where there's no
722
+ # expectation of compensation for the provided services.
723
+ VOLUNTEER = 7
724
+
725
+ # The job requires an employee to work on an as-needed basis with a
726
+ # flexible schedule.
727
+ PER_DIEM = 8
728
+
729
+ # The job involves employing people in remote areas and flying them
730
+ # temporarily to the work site instead of relocating employees and their
731
+ # families permanently.
732
+ FLY_IN_FLY_OUT = 9
733
+
734
+ # The job does not fit any of the other listed types.
735
+ OTHER_EMPLOYMENT_TYPE = 10
736
+ end
737
+
738
+ # An enum that represents the required experience level required for the job.
739
+ module JobLevel
740
+ # The default value if the level isn't specified.
741
+ JOB_LEVEL_UNSPECIFIED = 0
742
+
743
+ # Entry-level individual contributors, typically with less than 2 years of
744
+ # experience in a similar role. Includes interns.
745
+ ENTRY_LEVEL = 1
746
+
747
+ # Experienced individual contributors, typically with 2+ years of
748
+ # experience in a similar role.
749
+ EXPERIENCED = 2
750
+
751
+ # Entry- to mid-level managers responsible for managing a team of people.
752
+ MANAGER = 3
753
+
754
+ # Senior-level managers responsible for managing teams of managers.
755
+ DIRECTOR = 4
756
+
757
+ # Executive-level managers and above, including C-level positions.
758
+ EXECUTIVE = 5
759
+ end
760
+
761
+ # An enum that represents the categorization or primary focus of specific
762
+ # role. This value is different than the "industry" associated with a role,
763
+ # which is related to the categorization of the company listing the job.
764
+ module JobCategory
765
+ # The default value if the category isn't specified.
766
+ JOB_CATEGORY_UNSPECIFIED = 0
767
+
768
+ # An accounting and finance job, such as an Accountant.
769
+ ACCOUNTING_AND_FINANCE = 1
770
+
771
+ # An administrative and office job, such as an Administrative Assistant.
772
+ ADMINISTRATIVE_AND_OFFICE = 2
773
+
774
+ # An advertising and marketing job, such as Marketing Manager.
775
+ ADVERTISING_AND_MARKETING = 3
776
+
777
+ # An animal care job, such as Veterinarian.
778
+ ANIMAL_CARE = 4
779
+
780
+ # An art, fashion, or design job, such as Designer.
781
+ ART_FASHION_AND_DESIGN = 5
782
+
783
+ # A business operations job, such as Business Operations Manager.
784
+ BUSINESS_OPERATIONS = 6
785
+
786
+ # A cleaning and facilities job, such as Custodial Staff.
787
+ CLEANING_AND_FACILITIES = 7
788
+
789
+ # A computer and IT job, such as Systems Administrator.
790
+ COMPUTER_AND_IT = 8
791
+
792
+ # A construction job, such as General Laborer.
793
+ CONSTRUCTION = 9
794
+
795
+ # A customer service job, such s Cashier.
796
+ CUSTOMER_SERVICE = 10
797
+
798
+ # An education job, such as School Teacher.
799
+ EDUCATION = 11
800
+
801
+ # An entertainment and travel job, such as Flight Attendant.
802
+ ENTERTAINMENT_AND_TRAVEL = 12
803
+
804
+ # A farming or outdoor job, such as Park Ranger.
805
+ FARMING_AND_OUTDOORS = 13
806
+
807
+ # A healthcare job, such as Registered Nurse.
808
+ HEALTHCARE = 14
809
+
810
+ # A human resources job, such as Human Resources Director.
811
+ HUMAN_RESOURCES = 15
812
+
813
+ # An installation, maintenance, or repair job, such as Electrician.
814
+ INSTALLATION_MAINTENANCE_AND_REPAIR = 16
815
+
816
+ # A legal job, such as Law Clerk.
817
+ LEGAL = 17
818
+
819
+ # A management job, often used in conjunction with another category,
820
+ # such as Store Manager.
821
+ MANAGEMENT = 18
822
+
823
+ # A manufacturing or warehouse job, such as Assembly Technician.
824
+ MANUFACTURING_AND_WAREHOUSE = 19
825
+
826
+ # A media, communications, or writing job, such as Media Relations.
827
+ MEDIA_COMMUNICATIONS_AND_WRITING = 20
828
+
829
+ # An oil, gas or mining job, such as Offshore Driller.
830
+ OIL_GAS_AND_MINING = 21
831
+
832
+ # A personal care and services job, such as Hair Stylist.
833
+ PERSONAL_CARE_AND_SERVICES = 22
834
+
835
+ # A protective services job, such as Security Guard.
836
+ PROTECTIVE_SERVICES = 23
837
+
838
+ # A real estate job, such as Buyer's Agent.
839
+ REAL_ESTATE = 24
840
+
841
+ # A restaurant and hospitality job, such as Restaurant Server.
842
+ RESTAURANT_AND_HOSPITALITY = 25
843
+
844
+ # A sales and/or retail job, such Sales Associate.
845
+ SALES_AND_RETAIL = 26
846
+
847
+ # A science and engineering job, such as Lab Technician.
848
+ SCIENCE_AND_ENGINEERING = 27
849
+
850
+ # A social services or non-profit job, such as Case Worker.
851
+ SOCIAL_SERVICES_AND_NON_PROFIT = 28
852
+
853
+ # A sports, fitness, or recreation job, such as Personal Trainer.
854
+ SPORTS_FITNESS_AND_RECREATION = 29
855
+
856
+ # A transportation or logistics job, such as Truck Driver.
857
+ TRANSPORTATION_AND_LOGISTICS = 30
858
+ end
859
+
860
+ # An enum that represents the job posting region. In most cases, job postings
861
+ # don't need to specify a region. If a region is given, jobs are
862
+ # eligible for searches in the specified region.
863
+ module PostingRegion
864
+ # If the region is unspecified, the job is only returned if it
865
+ # matches the {::Google::Cloud::Talent::V4::LocationFilter LocationFilter}.
866
+ POSTING_REGION_UNSPECIFIED = 0
867
+
868
+ # In addition to exact location matching, job posting is returned when the
869
+ # {::Google::Cloud::Talent::V4::LocationFilter LocationFilter} in the search query
870
+ # is in the same administrative area as the returned job posting. For
871
+ # example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's
872
+ # returned if {::Google::Cloud::Talent::V4::LocationFilter LocationFilter} has
873
+ # "Mountain View".
874
+ #
875
+ # Administrative area refers to top-level administrative subdivision of this
876
+ # country. For example, US state, IT region, UK constituent nation and
877
+ # JP prefecture.
878
+ ADMINISTRATIVE_AREA = 1
879
+
880
+ # In addition to exact location matching, job is returned when
881
+ # {::Google::Cloud::Talent::V4::LocationFilter LocationFilter} in search query is
882
+ # in the same country as this job. For example, if a `NATION_WIDE` job is
883
+ # posted in "USA", it's returned if
884
+ # {::Google::Cloud::Talent::V4::LocationFilter LocationFilter} has 'Mountain
885
+ # View'.
886
+ NATION = 2
887
+
888
+ # Job allows employees to work remotely (telecommute).
889
+ # If locations are provided with this value, the job is
890
+ # considered as having a location, but telecommuting is allowed.
891
+ TELECOMMUTE = 3
892
+ end
893
+
894
+ # Deprecated. All resources are only visible to the owner.
895
+ #
896
+ # An enum that represents who has view access to the resource.
897
+ module Visibility
898
+ # Default value.
899
+ VISIBILITY_UNSPECIFIED = 0
900
+
901
+ # The resource is only visible to the GCP account who owns it.
902
+ ACCOUNT_ONLY = 1
903
+
904
+ # The resource is visible to the owner and may be visible to other
905
+ # applications and processes at Google.
906
+ SHARED_WITH_GOOGLE = 2
907
+
908
+ # The resource is visible to the owner and may be visible to all other API
909
+ # clients.
910
+ SHARED_WITH_PUBLIC = 3
911
+ end
912
+
913
+ # Option for HTML content sanitization on user input fields, for example, job
914
+ # description. By setting this option, user can determine whether and how
915
+ # sanitization is performed on these fields.
916
+ module HtmlSanitization
917
+ # Default value.
918
+ HTML_SANITIZATION_UNSPECIFIED = 0
919
+
920
+ # Disables sanitization on HTML input.
921
+ HTML_SANITIZATION_DISABLED = 1
922
+
923
+ # Sanitizes HTML input, only accepts bold, italic, ordered list, and
924
+ # unordered list markup tags.
925
+ SIMPLE_FORMATTING_ONLY = 2
926
+ end
927
+
928
+ # Method for commute.
929
+ module CommuteMethod
930
+ # Commute method isn't specified.
931
+ COMMUTE_METHOD_UNSPECIFIED = 0
932
+
933
+ # Commute time is calculated based on driving time.
934
+ DRIVING = 1
935
+
936
+ # Commute time is calculated based on public transit including bus, metro,
937
+ # subway, and so on.
938
+ TRANSIT = 2
939
+
940
+ # Commute time is calculated based on walking time.
941
+ WALKING = 3
942
+
943
+ # Commute time is calculated based on biking time.
944
+ CYCLING = 4
945
+ end
946
+ end
947
+ end
948
+ end
949
+ end