google-cloud-talent 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/talent/v4beta1.rb +2 -1
  3. data/lib/google/cloud/talent/v4beta1/application_pb.rb +1 -0
  4. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +8 -11
  5. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +1 -0
  6. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -33
  7. data/lib/google/cloud/talent/v4beta1/common_pb.rb +30 -0
  8. data/lib/google/cloud/talent/v4beta1/company_pb.rb +1 -0
  9. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +11 -14
  10. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +1 -0
  11. data/lib/google/cloud/talent/v4beta1/completion_client.rb +10 -10
  12. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +1 -0
  13. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +17 -19
  14. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +10 -15
  15. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +200 -49
  16. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +15 -15
  17. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +13 -18
  18. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +10 -16
  19. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +11 -12
  20. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +2 -4
  21. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +210 -177
  22. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -4
  23. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +47 -54
  24. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +92 -100
  25. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +168 -114
  26. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +55 -36
  27. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +4 -4
  28. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +7 -10
  29. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +6 -4
  30. data/lib/google/cloud/talent/v4beta1/event_pb.rb +1 -0
  31. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +2 -4
  32. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +1 -0
  33. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +8 -0
  34. data/lib/google/cloud/talent/v4beta1/job_pb.rb +1 -0
  35. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +76 -97
  36. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +11 -1
  37. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +6 -6
  38. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +9 -0
  39. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +50 -27
  40. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +3 -0
  41. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +1 -0
  42. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +5 -6
  43. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +1 -0
  44. data/lib/google/cloud/talent/version.rb +1 -1
  45. metadata +22 -2
@@ -6,7 +6,7 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
- require 'google/cloud/talent/v4beta1/batch_pb'
9
+ require 'google/api/field_behavior_pb'
10
10
  require 'google/cloud/talent/v4beta1/common_pb'
11
11
  require 'google/cloud/talent/v4beta1/filters_pb'
12
12
  require 'google/cloud/talent/v4beta1/histogram_pb'
@@ -16,6 +16,7 @@ require 'google/protobuf/any_pb'
16
16
  require 'google/protobuf/duration_pb'
17
17
  require 'google/protobuf/empty_pb'
18
18
  require 'google/protobuf/field_mask_pb'
19
+ require 'google/rpc/status_pb'
19
20
  Google::Protobuf::DescriptorPool.generated_pool.build do
20
21
  add_message "google.cloud.talent.v4beta1.CreateJobRequest" do
21
22
  optional :parent, :string, 1
@@ -118,6 +119,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
118
119
  repeated :jobs, :message, 2, "google.cloud.talent.v4beta1.Job"
119
120
  optional :update_mask, :message, 3, "google.protobuf.FieldMask"
120
121
  end
122
+ add_message "google.cloud.talent.v4beta1.JobOperationResult" do
123
+ repeated :job_results, :message, 1, "google.cloud.talent.v4beta1.JobOperationResult.JobResult"
124
+ end
125
+ add_message "google.cloud.talent.v4beta1.JobOperationResult.JobResult" do
126
+ optional :job, :message, 1, "google.cloud.talent.v4beta1.Job"
127
+ optional :status, :message, 2, "google.rpc.Status"
128
+ end
121
129
  add_enum "google.cloud.talent.v4beta1.JobView" do
122
130
  value :JOB_VIEW_UNSPECIFIED, 0
123
131
  value :JOB_VIEW_ID_ONLY, 1
@@ -148,6 +156,8 @@ module Google
148
156
  SearchJobsResponse::CommuteInfo = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.SearchJobsResponse.CommuteInfo").msgclass
149
157
  BatchCreateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchCreateJobsRequest").msgclass
150
158
  BatchUpdateJobsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.BatchUpdateJobsRequest").msgclass
159
+ JobOperationResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult").msgclass
160
+ JobOperationResult::JobResult = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobOperationResult.JobResult").msgclass
151
161
  JobView = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.JobView").enummodule
152
162
  end
153
163
  end
@@ -40,6 +40,8 @@ module Google
40
40
  # Typically, the job becomes searchable within 10 seconds, but it may take
41
41
  # up to 5 minutes.
42
42
  rpc :CreateJob, CreateJobRequest, Job
43
+ # Begins executing a batch create jobs operation.
44
+ rpc :BatchCreateJobs, BatchCreateJobsRequest, Google::Longrunning::Operation
43
45
  # Retrieves the specified job, whose status is OPEN or recently EXPIRED
44
46
  # within the last 90 days.
45
47
  rpc :GetJob, GetJobRequest, Job
@@ -48,15 +50,17 @@ module Google
48
50
  # Typically, updated contents become visible in search results within 10
49
51
  # seconds, but it may take up to 5 minutes.
50
52
  rpc :UpdateJob, UpdateJobRequest, Job
53
+ # Begins executing a batch update jobs operation.
54
+ rpc :BatchUpdateJobs, BatchUpdateJobsRequest, Google::Longrunning::Operation
51
55
  # Deletes the specified job.
52
56
  #
53
57
  # Typically, the job becomes unsearchable within 10 seconds, but it may take
54
58
  # up to 5 minutes.
55
59
  rpc :DeleteJob, DeleteJobRequest, Google::Protobuf::Empty
56
- # Lists jobs by filter.
57
- rpc :ListJobs, ListJobsRequest, ListJobsResponse
58
60
  # Deletes a list of [Job][google.cloud.talent.v4beta1.Job]s by filter.
59
61
  rpc :BatchDeleteJobs, BatchDeleteJobsRequest, Google::Protobuf::Empty
62
+ # Lists jobs by filter.
63
+ rpc :ListJobs, ListJobsRequest, ListJobsResponse
60
64
  # Searches for jobs using the provided
61
65
  # [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
62
66
  #
@@ -78,10 +82,6 @@ module Google
78
82
  # the database, and only returns jobs the caller has permission to search
79
83
  # against.
80
84
  rpc :SearchJobsForAlert, SearchJobsRequest, SearchJobsResponse
81
- # Begins executing a batch create jobs operation.
82
- rpc :BatchCreateJobs, BatchCreateJobsRequest, Google::Longrunning::Operation
83
- # Begins executing a batch update jobs operation.
84
- rpc :BatchUpdateJobs, BatchUpdateJobsRequest, Google::Longrunning::Operation
85
85
  end
86
86
 
87
87
  Stub = Service.rpc_stub_class
@@ -22,6 +22,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  optional :is_hirable, :message, 6, "google.protobuf.BoolValue"
23
23
  optional :create_time, :message, 7, "google.protobuf.Timestamp"
24
24
  optional :update_time, :message, 8, "google.protobuf.Timestamp"
25
+ optional :candidate_update_time, :message, 67, "google.protobuf.Timestamp"
26
+ optional :resume_update_time, :message, 68, "google.protobuf.Timestamp"
25
27
  optional :resume, :message, 53, "google.cloud.talent.v4beta1.Resume"
26
28
  repeated :person_names, :message, 11, "google.cloud.talent.v4beta1.PersonName"
27
29
  repeated :addresses, :message, 12, "google.cloud.talent.v4beta1.Address"
@@ -41,8 +43,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
41
43
  map :custom_attributes, :string, :message, 26, "google.cloud.talent.v4beta1.CustomAttribute"
42
44
  optional :processed, :bool, 27
43
45
  optional :keyword_snippet, :string, 28
46
+ repeated :availability_signals, :message, 70, "google.cloud.talent.v4beta1.AvailabilitySignal"
44
47
  repeated :derived_addresses, :message, 64, "google.cloud.talent.v4beta1.Location"
45
48
  end
49
+ add_message "google.cloud.talent.v4beta1.AvailabilitySignal" do
50
+ optional :type, :enum, 1, "google.cloud.talent.v4beta1.AvailabilitySignalType"
51
+ optional :last_update_time, :message, 2, "google.protobuf.Timestamp"
52
+ optional :filter_satisfied, :message, 3, "google.protobuf.BoolValue"
53
+ end
46
54
  add_message "google.cloud.talent.v4beta1.Resume" do
47
55
  optional :structured_resume, :string, 1
48
56
  optional :resume_type, :enum, 2, "google.cloud.talent.v4beta1.Resume.ResumeType"
@@ -181,6 +189,7 @@ module Google
181
189
  module Talent
182
190
  module V4beta1
183
191
  Profile = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Profile").msgclass
192
+ AvailabilitySignal = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.AvailabilitySignal").msgclass
184
193
  Resume = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume").msgclass
185
194
  Resume::ResumeType = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.Resume.ResumeType").enummodule
186
195
  PersonName = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.talent.v4beta1.PersonName").msgclass
@@ -277,8 +277,26 @@ module Google
277
277
  # Required. The resource name of the tenant under which the profile is
278
278
  # created.
279
279
  #
280
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
281
- # "projects/api-test-project/tenants/foo".
280
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
281
+ # "projects/foo/tenants/bar".
282
+ # @param filter [String]
283
+ # The filter string specifies the profiles to be enumerated.
284
+ #
285
+ # Supported operator: =, AND
286
+ #
287
+ # The field(s) eligible for filtering are:
288
+ #
289
+ # * `externalId`
290
+ # * `groupId`
291
+ #
292
+ # externalId and groupId cannot be specified at the same time. If both
293
+ # externalId and groupId are provided, the API will return a bad request
294
+ # error.
295
+ #
296
+ # Sample Query:
297
+ #
298
+ # * externalId = "externalId-1"
299
+ # * groupId = "groupId-1"
282
300
  # @param page_size [Integer]
283
301
  # The maximum number of resources contained in the underlying API
284
302
  # response. If page streaming is performed per-resource, this
@@ -286,8 +304,8 @@ module Google
286
304
  # performed per-page, this determines the maximum number of
287
305
  # resources in a page.
288
306
  # @param read_mask [Google::Protobuf::FieldMask | Hash]
289
- # Optional. A field mask to specify the profile fields to be listed in
290
- # response. All fields are listed if it is unset.
307
+ # A field mask to specify the profile fields to be listed in response.
308
+ # All fields are listed if it is unset.
291
309
  #
292
310
  # Valid values are:
293
311
  #
@@ -327,12 +345,14 @@ module Google
327
345
 
328
346
  def list_profiles \
329
347
  parent,
348
+ filter: nil,
330
349
  page_size: nil,
331
350
  read_mask: nil,
332
351
  options: nil,
333
352
  &block
334
353
  req = {
335
354
  parent: parent,
355
+ filter: filter,
336
356
  page_size: page_size,
337
357
  read_mask: read_mask
338
358
  }.delete_if { |_, v| v.nil? }
@@ -345,8 +365,8 @@ module Google
345
365
  # @param parent [String]
346
366
  # Required. The name of the tenant this profile belongs to.
347
367
  #
348
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
349
- # "projects/api-test-project/tenants/foo".
368
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
369
+ # "projects/foo/tenants/bar".
350
370
  # @param profile [Google::Cloud::Talent::V4beta1::Profile | Hash]
351
371
  # Required. The profile to be created.
352
372
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Profile`
@@ -388,8 +408,8 @@ module Google
388
408
  # Required. Resource name of the profile to get.
389
409
  #
390
410
  # The format is
391
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
392
- # for example, "projects/api-test-project/tenants/foo/profiles/bar".
411
+ # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For
412
+ # example, "projects/foo/tenants/bar/profiles/baz".
393
413
  # @param options [Google::Gax::CallOptions]
394
414
  # Overrides the default settings for this call, e.g, timeout,
395
415
  # retries, etc.
@@ -423,17 +443,21 @@ module Google
423
443
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Profile`
424
444
  # can also be provided.
425
445
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
426
- # Optional. A field mask to specify the profile fields to update.
446
+ # A field mask to specify the profile fields to update.
427
447
  #
428
448
  # A full update is performed if it is unset.
429
449
  #
430
450
  # Valid values are:
451
+ #
431
452
  # * external_id
432
453
  # * source
454
+ # * source_types
433
455
  # * uri
434
456
  # * is_hirable
435
457
  # * create_time
436
458
  # * update_time
459
+ # * candidate_update_time
460
+ # * resume_update_time
437
461
  # * resume
438
462
  # * person_names
439
463
  # * addresses
@@ -511,8 +535,8 @@ module Google
511
535
  # Required. Resource name of the profile to be deleted.
512
536
  #
513
537
  # The format is
514
- # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}",
515
- # for example, "projects/api-test-project/tenants/foo/profiles/bar".
538
+ # "projects/{project_id}/tenants/{tenant_id}/profiles/{profile_id}". For
539
+ # example, "projects/foo/tenants/bar/profiles/baz".
516
540
  # @param options [Google::Gax::CallOptions]
517
541
  # Overrides the default settings for this call, e.g, timeout,
518
542
  # retries, etc.
@@ -551,8 +575,8 @@ module Google
551
575
  # @param parent [String]
552
576
  # Required. The resource name of the tenant to search within.
553
577
  #
554
- # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
555
- # "projects/api-test-project/tenants/foo".
578
+ # The format is "projects/{project_id}/tenants/{tenant_id}". For example,
579
+ # "projects/foo/tenants/bar".
556
580
  # @param request_metadata [Google::Cloud::Talent::V4beta1::RequestMetadata | Hash]
557
581
  # Required. The meta information collected about the profile search user.
558
582
  # This is used to improve the search quality of the service. These values are
@@ -560,7 +584,7 @@ module Google
560
584
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::RequestMetadata`
561
585
  # can also be provided.
562
586
  # @param profile_query [Google::Cloud::Talent::V4beta1::ProfileQuery | Hash]
563
- # Optional. Search query to execute. See
587
+ # Search query to execute. See
564
588
  # {Google::Cloud::Talent::V4beta1::ProfileQuery ProfileQuery} for more details.
565
589
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::ProfileQuery`
566
590
  # can also be provided.
@@ -571,8 +595,8 @@ module Google
571
595
  # performed per-page, this determines the maximum number of
572
596
  # resources in a page.
573
597
  # @param offset [Integer]
574
- # Optional. An integer that specifies the current offset (that is, starting
575
- # result) in search results. This field is only considered if
598
+ # An integer that specifies the current offset (that is, starting result) in
599
+ # search results. This field is only considered if
576
600
  # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest#page_token page_token}
577
601
  # is unset.
578
602
  #
@@ -582,12 +606,12 @@ module Google
582
606
  # search from the 11th profile. This can be used for pagination, for example
583
607
  # pageSize = 10 and offset = 10 means to search from the second page.
584
608
  # @param disable_spell_check [true, false]
585
- # Optional. This flag controls the spell-check feature. If `false`, the
609
+ # This flag controls the spell-check feature. If `false`, the
586
610
  # service attempts to correct a misspelled query.
587
611
  #
588
612
  # For example, "enginee" is corrected to "engineer".
589
613
  # @param order_by [String]
590
- # Optional. The criteria that determines how search results are sorted.
614
+ # The criteria that determines how search results are sorted.
591
615
  # Defaults is "relevance desc" if no value is specified.
592
616
  #
593
617
  # Supported options are:
@@ -617,16 +641,15 @@ module Google
617
641
  # {Google::Cloud::Talent::V4beta1::PersonName::PersonStructuredName#family_name PersonName::PersonStructuredName#family_name}
618
642
  # in ascending order.
619
643
  # @param case_sensitive_sort [true, false]
620
- # Optional. When sort by field is based on alphabetical order, sort values
621
- # case sensitively (based on ASCII) when the value is set to true. Default
622
- # value is case in-sensitive sort (false).
644
+ # When sort by field is based on alphabetical order, sort values case
645
+ # sensitively (based on ASCII) when the value is set to true. Default value
646
+ # is case in-sensitive sort (false).
623
647
  # @param histogram_queries [Array<Google::Cloud::Talent::V4beta1::HistogramQuery | Hash>]
624
- # Optional. A list of expressions specifies histogram requests against
625
- # matching profiles for
648
+ # A list of expressions specifies histogram requests against matching
649
+ # profiles for
626
650
  # {Google::Cloud::Talent::V4beta1::SearchProfilesRequest SearchProfilesRequest}.
627
651
  #
628
- # The expression syntax looks like a function definition with optional
629
- # parameters.
652
+ # The expression syntax looks like a function definition with parameters.
630
653
  #
631
654
  # Function syntax: function_name(histogram_facet[, list of buckets])
632
655
  #
@@ -706,7 +729,7 @@ module Google
706
729
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::HistogramQuery`
707
730
  # can also be provided.
708
731
  # @param result_set_id [String]
709
- # Optional. An id that uniquely identifies the result set of a
732
+ # An id that uniquely identifies the result set of a
710
733
  # {Google::Cloud::Talent::V4beta1::ProfileService::SearchProfiles SearchProfiles}
711
734
  # call. The id should be retrieved from the
712
735
  # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
@@ -737,7 +760,7 @@ module Google
737
760
  # {Google::Cloud::Talent::V4beta1::SearchProfilesResponse SearchProfilesResponse}
738
761
  # to page through the results.
739
762
  # @param strict_keywords_search [true, false]
740
- # Optional. This flag is used to indicate whether the service will attempt to
763
+ # This flag is used to indicate whether the service will attempt to
741
764
  # understand synonyms and terms related to the search query or treat the
742
765
  # query "as is" when it generates a set of results. By default this flag is
743
766
  # set to false, thus allowing expanded results to also be returned. For
@@ -6,15 +6,18 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
9
10
  require 'google/cloud/talent/v4beta1/common_pb'
10
11
  require 'google/cloud/talent/v4beta1/filters_pb'
11
12
  require 'google/cloud/talent/v4beta1/histogram_pb'
12
13
  require 'google/cloud/talent/v4beta1/profile_pb'
14
+ require 'google/protobuf/any_pb'
13
15
  require 'google/protobuf/empty_pb'
14
16
  require 'google/protobuf/field_mask_pb'
15
17
  Google::Protobuf::DescriptorPool.generated_pool.build do
16
18
  add_message "google.cloud.talent.v4beta1.ListProfilesRequest" do
17
19
  optional :parent, :string, 1
20
+ optional :filter, :string, 5
18
21
  optional :page_token, :string, 2
19
22
  optional :page_size, :int32, 3
20
23
  optional :read_mask, :message, 4, "google.protobuf.FieldMask"
@@ -5,6 +5,7 @@
5
5
  require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
+ require 'google/api/field_behavior_pb'
8
9
  require 'google/protobuf/timestamp_pb'
9
10
  Google::Protobuf::DescriptorPool.generated_pool.build do
10
11
  add_message "google.cloud.talent.v4beta1.Tenant" do
@@ -260,7 +260,7 @@ module Google
260
260
  # Required. Resource name of the project under which the tenant is created.
261
261
  #
262
262
  # The format is "projects/{project_id}", for example,
263
- # "projects/api-test-project".
263
+ # "projects/foo".
264
264
  # @param tenant [Google::Cloud::Talent::V4beta1::Tenant | Hash]
265
265
  # Required. The tenant to be created.
266
266
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Tenant`
@@ -302,7 +302,7 @@ module Google
302
302
  # Required. The resource name of the tenant to be retrieved.
303
303
  #
304
304
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
305
- # "projects/api-test-project/tenants/foo".
305
+ # "projects/foo/tenants/bar".
306
306
  # @param options [Google::Gax::CallOptions]
307
307
  # Overrides the default settings for this call, e.g, timeout,
308
308
  # retries, etc.
@@ -337,8 +337,7 @@ module Google
337
337
  # A hash of the same form as `Google::Cloud::Talent::V4beta1::Tenant`
338
338
  # can also be provided.
339
339
  # @param update_mask [Google::Protobuf::FieldMask | Hash]
340
- # Optional but strongly recommended for the best service
341
- # experience.
340
+ # Strongly recommended for the best service experience.
342
341
  #
343
342
  # If
344
343
  # {Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask update_mask}
@@ -387,7 +386,7 @@ module Google
387
386
  # Required. The resource name of the tenant to be deleted.
388
387
  #
389
388
  # The format is "projects/{project_id}/tenants/{tenant_id}", for example,
390
- # "projects/api-test-project/tenants/foo".
389
+ # "projects/foo/tenants/bar".
391
390
  # @param options [Google::Gax::CallOptions]
392
391
  # Overrides the default settings for this call, e.g, timeout,
393
392
  # retries, etc.
@@ -420,7 +419,7 @@ module Google
420
419
  # Required. Resource name of the project under which the tenant is created.
421
420
  #
422
421
  # The format is "projects/{project_id}", for example,
423
- # "projects/api-test-project".
422
+ # "projects/foo".
424
423
  # @param page_size [Integer]
425
424
  # The maximum number of resources contained in the underlying API
426
425
  # response. If page streaming is performed per-resource, this
@@ -6,6 +6,7 @@ require 'google/protobuf'
6
6
 
7
7
  require 'google/api/annotations_pb'
8
8
  require 'google/api/client_pb'
9
+ require 'google/api/field_behavior_pb'
9
10
  require 'google/cloud/talent/v4beta1/common_pb'
10
11
  require 'google/cloud/talent/v4beta1/tenant_pb'
11
12
  require 'google/protobuf/empty_pb'
@@ -16,7 +16,7 @@
16
16
  module Google
17
17
  module Cloud
18
18
  module Talent
19
- VERSION = "0.5.0".freeze
19
+ VERSION = "0.6.0".freeze
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-talent
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-23 00:00:00.000000000 Z
11
+ date: 2019-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-gax
@@ -24,6 +24,26 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: googleapis-common-protos
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 1.3.9
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '2.0'
37
+ type: :runtime
38
+ prerelease: false
39
+ version_requirements: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 1.3.9
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '2.0'
27
47
  - !ruby/object:Gem::Dependency
28
48
  name: minitest
29
49
  requirement: !ruby/object:Gem::Requirement