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.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +3 -3
  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 +18 -14
  7. data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +693 -0
  8. data/lib/google/cloud/talent/v4beta1/company_service/rest/service_stub.rb +382 -0
  9. data/lib/google/cloud/talent/v4beta1/company_service/rest.rb +52 -0
  10. data/lib/google/cloud/talent/v4beta1/company_service.rb +7 -1
  11. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +27 -26
  12. data/lib/google/cloud/talent/v4beta1/completion/client.rb +6 -4
  13. data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +386 -0
  14. data/lib/google/cloud/talent/v4beta1/completion/rest/service_stub.rb +114 -0
  15. data/lib/google/cloud/talent/v4beta1/completion/rest.rb +52 -0
  16. data/lib/google/cloud/talent/v4beta1/completion.rb +7 -1
  17. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +25 -30
  18. data/lib/google/cloud/talent/v4beta1/event_pb.rb +25 -33
  19. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +4 -4
  20. data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +359 -0
  21. data/lib/google/cloud/talent/v4beta1/event_service/rest/service_stub.rb +116 -0
  22. data/lib/google/cloud/talent/v4beta1/event_service/rest.rb +52 -0
  23. data/lib/google/cloud/talent/v4beta1/event_service.rb +7 -1
  24. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +25 -5
  25. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +28 -59
  26. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +24 -8
  27. data/lib/google/cloud/talent/v4beta1/job_pb.rb +26 -46
  28. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +250 -161
  29. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +14 -16
  30. data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +1712 -0
  31. data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +793 -0
  32. data/lib/google/cloud/talent/v4beta1/job_service/rest/service_stub.rb +721 -0
  33. data/lib/google/cloud/talent/v4beta1/job_service/rest.rb +53 -0
  34. data/lib/google/cloud/talent/v4beta1/job_service.rb +7 -1
  35. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +31 -123
  36. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +12 -8
  37. data/lib/google/cloud/talent/v4beta1/rest.rb +41 -0
  38. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +24 -12
  39. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +15 -12
  40. data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +672 -0
  41. data/lib/google/cloud/talent/v4beta1/tenant_service/rest/service_stub.rb +345 -0
  42. data/lib/google/cloud/talent/v4beta1/tenant_service/rest.rb +52 -0
  43. data/lib/google/cloud/talent/v4beta1/tenant_service.rb +7 -1
  44. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +27 -25
  45. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  46. data/lib/google/cloud/talent/v4beta1.rb +7 -2
  47. data/proto_docs/google/api/client.rb +381 -0
  48. data/proto_docs/google/api/launch_stage.rb +71 -0
  49. data/proto_docs/google/cloud/talent/v4beta1/common.rb +117 -56
  50. data/proto_docs/google/cloud/talent/v4beta1/company.rb +10 -5
  51. data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +12 -6
  52. data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +21 -10
  53. data/proto_docs/google/cloud/talent/v4beta1/event.rb +20 -10
  54. data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +2 -2
  55. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +62 -38
  56. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +8 -3
  57. data/proto_docs/google/cloud/talent/v4beta1/job.rb +86 -54
  58. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +211 -120
  59. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +9 -5
  60. data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +9 -4
  61. data/proto_docs/google/protobuf/any.rb +7 -4
  62. data/proto_docs/google/protobuf/timestamp.rb +1 -3
  63. data/proto_docs/google/rpc/status.rb +4 -2
  64. metadata +28 -8
@@ -37,9 +37,11 @@ module Google
37
37
  # @!attribute [rw] location_type
38
38
  # @return [::Google::Cloud::Talent::V4beta1::Location::LocationType]
39
39
  # The type of a location, which corresponds to the address lines field of
40
- # {::Google::Type::PostalAddress google.type.PostalAddress}. For example, "Downtown, Atlanta, GA, USA"
41
- # has a type of {::Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD LocationType.NEIGHBORHOOD}, and "Kansas City, KS, USA"
42
- # has a type of {::Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY LocationType.LOCALITY}.
40
+ # {::Google::Type::PostalAddress google.type.PostalAddress}. For example,
41
+ # "Downtown, Atlanta, GA, USA" has a type of
42
+ # {::Google::Cloud::Talent::V4beta1::Location::LocationType::NEIGHBORHOOD LocationType.NEIGHBORHOOD},
43
+ # and "Kansas City, KS, USA" has a type of
44
+ # {::Google::Cloud::Talent::V4beta1::Location::LocationType::LOCALITY LocationType.LOCALITY}.
43
45
  # @!attribute [rw] postal_address
44
46
  # @return [::Google::Type::PostalAddress]
45
47
  # Postal address of the location that includes human readable information,
@@ -53,10 +55,9 @@ module Google
53
55
  # @return [::Float]
54
56
  # Radius in miles of the job location. This value is derived from the
55
57
  # location bounding box in which a circle with the specified radius
56
- # centered from {::Google::Type::LatLng google.type.LatLng} covers the area associated with the
57
- # job location.
58
- # For example, currently, "Mountain View, CA, USA" has a radius of
59
- # 6.17 miles.
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.
60
61
  class Location
61
62
  include ::Google::Protobuf::MessageExts
62
63
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -107,7 +108,9 @@ module Google
107
108
  # performance of the service.
108
109
  # @!attribute [rw] domain
109
110
  # @return [::String]
110
- # Required if {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
111
+ # Required if
112
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
113
+ # is unset or `false`.
111
114
  #
112
115
  # The client-defined scope or source of the service call, which typically
113
116
  # is the domain on
@@ -124,7 +127,9 @@ module Google
124
127
  # The maximum number of allowed characters is 255.
125
128
  # @!attribute [rw] session_id
126
129
  # @return [::String]
127
- # Required if {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
130
+ # Required if
131
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
132
+ # is unset or `false`.
128
133
  #
129
134
  # A unique session identification string. A session is defined as the
130
135
  # duration of an end user's interaction with the service over a certain
@@ -138,7 +143,9 @@ module Google
138
143
  # The maximum number of allowed characters is 255.
139
144
  # @!attribute [rw] user_id
140
145
  # @return [::String]
141
- # Required if {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids} is unset or `false`.
146
+ # Required if
147
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#allow_missing_ids allow_missing_ids}
148
+ # is unset or `false`.
142
149
  #
143
150
  # A unique user identification string, as determined by the client.
144
151
  # To have the strongest positive impact on search quality
@@ -152,10 +159,16 @@ module Google
152
159
  # The maximum number of allowed characters is 255.
153
160
  # @!attribute [rw] allow_missing_ids
154
161
  # @return [::Boolean]
155
- # Only set when any of {::Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain}, {::Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and {::Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} isn't
162
+ # Only set when any of
163
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain},
164
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and
165
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} isn't
156
166
  # available for some reason. It is highly recommended not to set this field
157
- # and provide accurate {::Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain}, {::Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and {::Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} for the
158
- # best service experience.
167
+ # and provide accurate
168
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#domain domain},
169
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#session_id session_id} and
170
+ # {::Google::Cloud::Talent::V4beta1::RequestMetadata#user_id user_id} for the best
171
+ # service experience.
159
172
  # @!attribute [rw] device_info
160
173
  # @return [::Google::Cloud::Talent::V4beta1::DeviceInfo]
161
174
  # The type of device used by the job seeker at the time of the call to the
@@ -220,7 +233,10 @@ module Google
220
233
  # Custom attribute values that are either filterable or non-filterable.
221
234
  # @!attribute [rw] string_values
222
235
  # @return [::Array<::String>]
223
- # Exactly one of {::Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values} or {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} must be specified.
236
+ # Exactly one of
237
+ # {::Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values}
238
+ # or {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values}
239
+ # must be specified.
224
240
  #
225
241
  # This field is used to perform a string match (`CASE_SENSITIVE_MATCH` or
226
242
  # `CASE_INSENSITIVE_MATCH`) search.
@@ -232,16 +248,22 @@ module Google
232
248
  # Empty string isn't allowed.
233
249
  # @!attribute [rw] long_values
234
250
  # @return [::Array<::Integer>]
235
- # Exactly one of {::Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values} or {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} must be specified.
251
+ # Exactly one of
252
+ # {::Google::Cloud::Talent::V4beta1::CustomAttribute#string_values string_values}
253
+ # or {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values}
254
+ # must be specified.
236
255
  #
237
256
  # This field is used to perform number range search.
238
257
  # (`EQ`, `GT`, `GE`, `LE`, `LT`) over filterable `long_value`.
239
258
  #
240
- # Currently at most 1 {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} is supported.
259
+ # Currently at most 1
260
+ # {::Google::Cloud::Talent::V4beta1::CustomAttribute#long_values long_values} is
261
+ # supported.
241
262
  # @!attribute [rw] filterable
242
263
  # @return [::Boolean]
243
264
  # If the `filterable` flag is true, the custom field values may be used for
244
- # custom attribute filters {::Google::Cloud::Talent::V4beta1::JobQuery#custom_attribute_filter JobQuery.custom_attribute_filter}.
265
+ # custom attribute filters
266
+ # {::Google::Cloud::Talent::V4beta1::JobQuery#custom_attribute_filter JobQuery.custom_attribute_filter}.
245
267
  # If false, these values may not be used for custom attribute filters.
246
268
  #
247
269
  # Default is false.
@@ -284,22 +306,30 @@ module Google
284
306
  # Job compensation information.
285
307
  #
286
308
  # At most one entry can be of type
287
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::BASE CompensationInfo.CompensationType.BASE}, which is
288
- # referred as **base compensation entry** for the job.
309
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::BASE CompensationInfo.CompensationType.BASE},
310
+ # which is referred as **base compensation entry** for the job.
289
311
  # @!attribute [r] annualized_base_compensation_range
290
312
  # @return [::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
291
- # Output only. Annualized base compensation range. Computed as base compensation entry's
292
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount} times
313
+ # Output only. Annualized base compensation range. Computed as base
314
+ # compensation entry's
315
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
316
+ # times
293
317
  # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry.expected_units_per_year}.
294
318
  #
295
- # See {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry} for explanation on compensation annualization.
319
+ # See
320
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry}
321
+ # for explanation on compensation annualization.
296
322
  # @!attribute [r] annualized_total_compensation_range
297
323
  # @return [::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationRange]
298
- # Output only. Annualized total compensation range. Computed as all compensation entries'
299
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount} times
324
+ # Output only. Annualized total compensation range. Computed as all
325
+ # compensation entries'
326
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
327
+ # times
300
328
  # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year CompensationEntry.expected_units_per_year}.
301
329
  #
302
- # See {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry} for explanation on compensation annualization.
330
+ # See
331
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry CompensationEntry}
332
+ # for explanation on compensation annualization.
303
333
  class CompensationInfo
304
334
  include ::Google::Protobuf::MessageExts
305
335
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -308,20 +338,30 @@ module Google
308
338
  # as base pay, bonus, or other compensation type.
309
339
  #
310
340
  # Annualization: One compensation entry can be annualized if
311
- # - it contains valid {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount} or {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}.
312
- # - and its {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year} is set or can be derived.
313
- # Its annualized range is determined as ({::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount} or {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}) times
341
+ # - it contains valid
342
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount}
343
+ # or
344
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range}.
345
+ # - and its
346
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}
347
+ # is set or can be derived. Its annualized range is determined as
348
+ # ({::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount amount}
349
+ # or
350
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range range})
351
+ # times
314
352
  # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#expected_units_per_year expected_units_per_year}.
315
353
  # @!attribute [rw] type
316
354
  # @return [::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType]
317
355
  # Compensation type.
318
356
  #
319
- # Default is {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::COMPENSATION_TYPE_UNSPECIFIED CompensationType.COMPENSATION_TYPE_UNSPECIFIED}.
357
+ # Default is
358
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationType::COMPENSATION_TYPE_UNSPECIFIED CompensationType.COMPENSATION_TYPE_UNSPECIFIED}.
320
359
  # @!attribute [rw] unit
321
360
  # @return [::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit]
322
361
  # Frequency of the specified amount.
323
362
  #
324
- # Default is {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED}.
363
+ # Default is
364
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED}.
325
365
  # @!attribute [rw] amount
326
366
  # @return [::Google::Type::Money]
327
367
  # Compensation amount.
@@ -336,8 +376,10 @@ module Google
336
376
  # @!attribute [rw] expected_units_per_year
337
377
  # @return [::Google::Protobuf::DoubleValue]
338
378
  # Expected number of units paid each year. If not specified, when
339
- # {::Google::Cloud::Talent::V4beta1::Job#employment_types Job.employment_types} is FULLTIME, a default value is inferred
340
- # based on {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#unit unit}. Default values:
379
+ # {::Google::Cloud::Talent::V4beta1::Job#employment_types Job.employment_types}
380
+ # is FULLTIME, a default value is inferred based on
381
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#unit unit}.
382
+ # Default values:
341
383
  # - HOURLY: 2080
342
384
  # - DAILY: 260
343
385
  # - WEEKLY: 52
@@ -368,19 +410,30 @@ module Google
368
410
  # The type of compensation.
369
411
  #
370
412
  # For compensation amounts specified in non-monetary amounts,
371
- # describe the compensation scheme in the {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}.
413
+ # describe the compensation scheme in the
414
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}.
372
415
  #
373
416
  # For example, tipping format is described in
374
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description} (for example, "expect 15-20% tips based
375
- # on customer bill.") and an estimate of the tips provided in
376
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount} or {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry.range} ($10 per hour).
417
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}
418
+ # (for example, "expect 15-20% tips based on customer bill.") and an estimate
419
+ # of the tips provided in
420
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
421
+ # or
422
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry.range}
423
+ # ($10 per hour).
377
424
  #
378
- # For example, equity is described in {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}
425
+ # For example, equity is described in
426
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}
379
427
  # (for example, "1% - 2% equity vesting over 4 years, 1 year cliff") and
380
- # value estimated in {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount} or
381
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry.range}. If no value estimate is possible, units are
382
- # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED} and then further
383
- # clarified in {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description} field.
428
+ # value estimated in
429
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#amount CompensationEntry.amount}
430
+ # or
431
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#range CompensationEntry.range}.
432
+ # If no value estimate is possible, units are
433
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationUnit::COMPENSATION_UNIT_UNSPECIFIED CompensationUnit.COMPENSATION_UNIT_UNSPECIFIED}
434
+ # and then further clarified in
435
+ # {::Google::Cloud::Talent::V4beta1::CompensationInfo::CompensationEntry#description CompensationEntry.description}
436
+ # field.
384
437
  module CompensationType
385
438
  # Default value.
386
439
  COMPENSATION_TYPE_UNSPECIFIED = 0
@@ -442,7 +495,8 @@ module Google
442
495
  end
443
496
 
444
497
  # Metadata used for long running operations returned by CTS batch APIs.
445
- # It's used to replace {::Google::Longrunning::Operation#metadata google.longrunning.Operation.metadata}.
498
+ # It's used to replace
499
+ # {::Google::Longrunning::Operation#metadata google.longrunning.Operation.metadata}.
446
500
  # @!attribute [rw] state
447
501
  # @return [::Google::Cloud::Talent::V4beta1::BatchOperationMetadata::State]
448
502
  # The state of a long running operation.
@@ -464,12 +518,13 @@ module Google
464
518
  # @!attribute [rw] update_time
465
519
  # @return [::Google::Protobuf::Timestamp]
466
520
  # The time when the batch operation status is updated. The metadata and the
467
- # {::Google::Cloud::Talent::V4beta1::BatchOperationMetadata#update_time update_time} is refreshed every minute otherwise cached data is
468
- # returned.
521
+ # {::Google::Cloud::Talent::V4beta1::BatchOperationMetadata#update_time update_time}
522
+ # is refreshed every minute otherwise cached data is returned.
469
523
  # @!attribute [rw] end_time
470
524
  # @return [::Google::Protobuf::Timestamp]
471
525
  # The time when the batch operation is finished and
472
- # {::Google::Longrunning::Operation#done google.longrunning.Operation.done} is set to `true`.
526
+ # {::Google::Longrunning::Operation#done google.longrunning.Operation.done} is
527
+ # set to `true`.
473
528
  class BatchOperationMetadata
474
529
  include ::Google::Protobuf::MessageExts
475
530
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -492,12 +547,14 @@ module Google
492
547
  FAILED = 4
493
548
 
494
549
  # The batch operation is in the process of cancelling after
495
- # google.longrunning.Operations.CancelOperation is called.
550
+ # google.longrunning.Operations.CancelOperation
551
+ # is called.
496
552
  CANCELLING = 5
497
553
 
498
554
  # The batch operation is done after
499
- # google.longrunning.Operations.CancelOperation is called. Any items
500
- # processed before cancelling are returned in the response.
555
+ # google.longrunning.Operations.CancelOperation
556
+ # is called. Any items processed before cancelling are returned in the
557
+ # response.
501
558
  CANCELLED = 6
502
559
  end
503
560
  end
@@ -649,7 +706,8 @@ module Google
649
706
  # The job is offered as a contracted position with the understanding
650
707
  # that it's converted into a full-time position at the end of the
651
708
  # contract. Jobs of this type are also returned by a search for
652
- # {::Google::Cloud::Talent::V4beta1::EmploymentType::CONTRACTOR EmploymentType.CONTRACTOR} jobs.
709
+ # {::Google::Cloud::Talent::V4beta1::EmploymentType::CONTRACTOR EmploymentType.CONTRACTOR}
710
+ # jobs.
653
711
  CONTRACT_TO_HIRE = 4
654
712
 
655
713
  # The job is offered as a temporary employment opportunity, usually
@@ -809,10 +867,11 @@ module Google
809
867
  POSTING_REGION_UNSPECIFIED = 0
810
868
 
811
869
  # In addition to exact location matching, job posting is returned when the
812
- # {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in the search query is in the same administrative area
813
- # as the returned job posting. For example, if a `ADMINISTRATIVE_AREA` job
814
- # is posted in "CA, USA", it's returned if {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has
815
- # "Mountain View".
870
+ # {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in the search
871
+ # query is in the same administrative area as the returned job posting. For
872
+ # example, if a `ADMINISTRATIVE_AREA` job is posted in "CA, USA", it's
873
+ # returned if {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter}
874
+ # has "Mountain View".
816
875
  #
817
876
  # Administrative area refers to top-level administrative subdivision of this
818
877
  # country. For example, US state, IT region, UK constituent nation and
@@ -820,9 +879,11 @@ module Google
820
879
  ADMINISTRATIVE_AREA = 1
821
880
 
822
881
  # In addition to exact location matching, job is returned when
823
- # {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in search query is in the same country as this job.
824
- # For example, if a `NATION_WIDE` job is posted in "USA", it's
825
- # returned if {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has 'Mountain View'.
882
+ # {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} in search
883
+ # query is in the same country as this job. For example, if a `NATION_WIDE`
884
+ # job is posted in "USA", it's returned if
885
+ # {::Google::Cloud::Talent::V4beta1::LocationFilter LocationFilter} has 'Mountain
886
+ # View'.
826
887
  NATION = 2
827
888
 
828
889
  # Job allows employees to work remotely (telecommute).
@@ -54,7 +54,8 @@ module Google
54
54
  # The street address of the company's main headquarters, which may be
55
55
  # different from the job location. The service attempts
56
56
  # to geolocate the provided address, and populates a more specific
57
- # location wherever possible in {::Google::Cloud::Talent::V4beta1::Company::DerivedInfo#headquarters_location DerivedInfo.headquarters_location}.
57
+ # location wherever possible in
58
+ # {::Google::Cloud::Talent::V4beta1::Company::DerivedInfo#headquarters_location DerivedInfo.headquarters_location}.
58
59
  # @!attribute [rw] hiring_agency
59
60
  # @return [::Boolean]
60
61
  # Set to true if it is the hiring agency that post jobs for other
@@ -84,10 +85,13 @@ module Google
84
85
  # @!attribute [rw] keyword_searchable_job_custom_attributes
85
86
  # @return [::Array<::String>]
86
87
  # This field is deprecated. Please set the searchability of the custom
87
- # attribute in the {::Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes} going forward.
88
+ # attribute in the
89
+ # {::Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes}
90
+ # going forward.
88
91
  #
89
- # A list of keys of filterable {::Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes}, whose
90
- # corresponding `string_values` are used in keyword searches. Jobs with
92
+ # A list of keys of filterable
93
+ # {::Google::Cloud::Talent::V4beta1::Job#custom_attributes Job.custom_attributes},
94
+ # whose corresponding `string_values` are used in keyword searches. Jobs with
91
95
  # `string_values` under these specified field keys are returned if any
92
96
  # of the values match the search keyword. Custom field values with
93
97
  # parenthesis, brackets and special symbols are not searchable as-is,
@@ -108,7 +112,8 @@ module Google
108
112
  # @!attribute [rw] headquarters_location
109
113
  # @return [::Google::Cloud::Talent::V4beta1::Location]
110
114
  # A structured headquarters location of the company, resolved from
111
- # {::Google::Cloud::Talent::V4beta1::Company#headquarters_address Company.headquarters_address} if provided.
115
+ # {::Google::Cloud::Talent::V4beta1::Company#headquarters_address Company.headquarters_address}
116
+ # if provided.
112
117
  class DerivedInfo
113
118
  include ::Google::Protobuf::MessageExts
114
119
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -56,16 +56,21 @@ module Google
56
56
  # Request for updating a specified company.
57
57
  # @!attribute [rw] company
58
58
  # @return [::Google::Cloud::Talent::V4beta1::Company]
59
- # Required. The company resource to replace the current resource in the system.
59
+ # Required. The company resource to replace the current resource in the
60
+ # system.
60
61
  # @!attribute [rw] update_mask
61
62
  # @return [::Google::Protobuf::FieldMask]
62
63
  # Strongly recommended for the best service experience.
63
64
  #
64
- # If {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in
65
- # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated.
65
+ # If
66
+ # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask}
67
+ # is provided, only the specified fields in
68
+ # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are
69
+ # updated. Otherwise all the fields are updated.
66
70
  #
67
71
  # A field mask to specify the company fields to be updated. Only
68
- # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are supported.
72
+ # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are
73
+ # supported.
69
74
  class UpdateCompanyRequest
70
75
  include ::Google::Protobuf::MessageExts
71
76
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -110,8 +115,9 @@ module Google
110
115
  #
111
116
  # Defaults to false.
112
117
  #
113
- # If true, at most {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
114
- # only those with open jobs are returned.
118
+ # If true, at most
119
+ # {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of
120
+ # companies are fetched, among which only those with open jobs are returned.
115
121
  class ListCompaniesRequest
116
122
  include ::Google::Protobuf::MessageExts
117
123
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -61,10 +61,12 @@ module Google
61
61
  # example, "projects/foo".
62
62
  # @!attribute [rw] scope
63
63
  # @return [::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope]
64
- # The scope of the completion. The defaults is {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope.PUBLIC}.
64
+ # The scope of the completion. The defaults is
65
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionScope::PUBLIC CompletionScope.PUBLIC}.
65
66
  # @!attribute [rw] type
66
67
  # @return [::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType]
67
- # The completion topic. The default is {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}.
68
+ # The completion topic. The default is
69
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}.
68
70
  class CompleteQueryRequest
69
71
  include ::Google::Protobuf::MessageExts
70
72
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -89,22 +91,31 @@ module Google
89
91
 
90
92
  # Suggest job titles for jobs autocomplete.
91
93
  #
92
- # For {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType.JOB_TITLE} type, only open jobs with the same
93
- # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
94
+ # For
95
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::JOB_TITLE CompletionType.JOB_TITLE}
96
+ # type, only open jobs with the same
97
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
98
+ # are returned.
94
99
  JOB_TITLE = 1
95
100
 
96
101
  # Suggest company names for jobs autocomplete.
97
102
  #
98
- # For {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType.COMPANY_NAME} type,
99
- # only companies having open jobs with the same {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are
100
- # returned.
103
+ # For
104
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMPANY_NAME CompletionType.COMPANY_NAME}
105
+ # type, only companies having open jobs with the same
106
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
107
+ # are returned.
101
108
  COMPANY_NAME = 2
102
109
 
103
110
  # Suggest both job titles and company names for jobs autocomplete.
104
111
  #
105
- # For {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED} type, only open jobs with the same
106
- # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} or companies having open jobs with the same
107
- # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes} are returned.
112
+ # For
113
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest::CompletionType::COMBINED CompletionType.COMBINED}
114
+ # type, only open jobs with the same
115
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
116
+ # or companies having open jobs with the same
117
+ # {::Google::Cloud::Talent::V4beta1::CompleteQueryRequest#language_codes language_codes}
118
+ # are returned.
108
119
  COMBINED = 3
109
120
  end
110
121
  end
@@ -55,21 +55,25 @@ module Google
55
55
  # implements Cloud Talent Solution.
56
56
  # @!attribute [rw] type
57
57
  # @return [::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType]
58
- # Required. The type of the event (see {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType JobEventType}).
58
+ # Required. The type of the event (see
59
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType JobEventType}).
59
60
  # @!attribute [rw] jobs
60
61
  # @return [::Array<::String>]
61
- # Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name] associated with this event.
62
- # For example, if this is an {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression} event,
63
- # this field contains the identifiers of all jobs shown to the job seeker.
64
- # If this was a {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW view} event, this field contains the
65
- # identifier of the viewed job.
62
+ # Required. The [job name(s)][google.cloud.talent.v4beta1.Job.name]
63
+ # associated with this event. For example, if this is an
64
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::IMPRESSION impression}
65
+ # event, this field contains the identifiers of all jobs shown to the job
66
+ # seeker. If this was a
67
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW view} event, this
68
+ # field contains the identifier of the viewed job.
66
69
  #
67
70
  # The format is
68
71
  # "projects/\\{project_id}/tenants/\\{tenant_id}/jobs/\\{job_id}", for
69
72
  # example, "projects/foo/tenants/bar/jobs/baz".
70
73
  # @!attribute [rw] profile
71
74
  # @return [::String]
72
- # The [profile name][google.cloud.talent.v4beta1.Profile.name] associated with this client event.
75
+ # The [profile name][google.cloud.talent.v4beta1.Profile.name] associated
76
+ # with this client event.
73
77
  #
74
78
  # The format is
75
79
  # "projects/\\{project_id}/tenants/\\{tenant_id}/profiles/\\{profile_id}",
@@ -114,7 +118,9 @@ module Google
114
118
  # submitted an application for a job with a single click without
115
119
  # entering information. If a job seeker performs this action, send only
116
120
  # this event to the service. Do not also send
117
- # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START} or {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
121
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START}
122
+ # or
123
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
118
124
  # events.
119
125
  APPLICATION_QUICK_SUBMISSION = 6
120
126
 
@@ -134,8 +140,12 @@ module Google
134
140
  # (without viewing the details of the job posting), and is redirected
135
141
  # to a different website to complete the application. If a candidate
136
142
  # performs this action, send only this event to the service. Do not also
137
- # send {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START},
138
- # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH} or {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW JobEventType.VIEW} events.
143
+ # send
144
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_START JobEventType.APPLICATION_START},
145
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::APPLICATION_FINISH JobEventType.APPLICATION_FINISH}
146
+ # or
147
+ # {::Google::Cloud::Talent::V4beta1::JobEvent::JobEventType::VIEW JobEventType.VIEW}
148
+ # events.
139
149
  APPLICATION_REDIRECT_FROM_SEARCH = 9
140
150
 
141
151
  # This event should be used when a company submits an application
@@ -31,8 +31,8 @@ module Google
31
31
  # is created, for example, "projects/foo".
32
32
  # @!attribute [rw] client_event
33
33
  # @return [::Google::Cloud::Talent::V4beta1::ClientEvent]
34
- # Required. Events issued when end user interacts with customer's application that
35
- # uses Cloud Talent Solution.
34
+ # Required. Events issued when end user interacts with customer's application
35
+ # that uses Cloud Talent Solution.
36
36
  class CreateClientEventRequest
37
37
  include ::Google::Protobuf::MessageExts
38
38
  extend ::Google::Protobuf::MessageExts::ClassMethods