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