google-cloud-talent-v4 0.8.0 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
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
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 592e84f512d7f92b7ff3c0d6d018e0017c5e03579936fa8b635ef2bb0e222292
4
- data.tar.gz: eb259933766b2b2d37f5bafa980439a368ddd25d56b078a25ff724b45803972a
3
+ metadata.gz: 3fdce446b32b3d9f2a7f87c63091ee27b805e5a4885b29a9f6a791931667a792
4
+ data.tar.gz: cfbc4a5312f55839440367d65a5969053d5f210531cfd298e40abd8f7cc68eaf
5
5
  SHA512:
6
- metadata.gz: d397158230a5dc823b84ac82b822fabe2f7660396c316166c620513b3c8fe62236d29f703be131bc48ac03c6e146ab753ed86e18fafab84265d28389295a6313
7
- data.tar.gz: 055ceffc36ff65d663576fcecc8df2a283bf06d5868edf3a38487f1645b450866576e23b0ac2c54f3d607626aa6c2f17cea726bc39c72d3caf51701f317579f1
6
+ metadata.gz: ffc6bf05db32dc30520d8a614d85fb8e6073dd46941d28e09dcf1804c555f79add78f574a0d83ed3f3c1e57d9183d86eba59347d1fb778fd825cd99325575329
7
+ data.tar.gz: 45b4c274ef8323c64772590bfd33cbe9cf1704bb4168aa67ad2673842025674cb959d4de0f815ea478b53ce1c6dd91af9cc4fd7ece59c803475c3ff3ac8d904a
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Cloud Talent Solution V4 API
2
2
 
3
- API Client library for the Cloud Talent Solution V4 API
3
+ Cloud Talent Solution provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters.
4
4
 
5
5
  Transform your job search and candidate matching capabilities with Cloud Talent Solution, designed to support enterprise talent acquisition technology and evolve with your growing needs. This AI solution includes features such as Job Search and Profile Search to provide candidates and employers with an enhanced talent acquisition experience.
6
6
 
@@ -46,7 +46,7 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
@@ -361,15 +361,19 @@ module Google
361
361
  # the default parameter values, pass an empty Hash as a request object (see above).
362
362
  #
363
363
  # @param company [::Google::Cloud::Talent::V4::Company, ::Hash]
364
- # Required. The company resource to replace the current resource in the system.
364
+ # Required. The company resource to replace the current resource in the
365
+ # system.
365
366
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
366
367
  # Strongly recommended for the best service experience.
367
368
  #
368
- # If {::Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in
369
- # {::Google::Cloud::Talent::V4::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated.
369
+ # If {::Google::Cloud::Talent::V4::UpdateCompanyRequest#update_mask update_mask}
370
+ # is provided, only the specified fields in
371
+ # {::Google::Cloud::Talent::V4::UpdateCompanyRequest#company company} are updated.
372
+ # Otherwise all the fields are updated.
370
373
  #
371
374
  # A field mask to specify the company fields to be updated. Only
372
- # top level fields of {::Google::Cloud::Talent::V4::Company Company} are supported.
375
+ # top level fields of {::Google::Cloud::Talent::V4::Company Company} are
376
+ # supported.
373
377
  #
374
378
  # @yield [response, operation] Access the result along with the RPC operation
375
379
  # @yieldparam response [::Google::Cloud::Talent::V4::Company]
@@ -558,8 +562,9 @@ module Google
558
562
  #
559
563
  # Defaults to false.
560
564
  #
561
- # If true, at most {::Google::Cloud::Talent::V4::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
562
- # only those with open jobs are returned.
565
+ # If true, at most
566
+ # {::Google::Cloud::Talent::V4::ListCompaniesRequest#page_size page_size} of
567
+ # companies are fetched, among which only those with open jobs are returned.
563
568
  #
564
569
  # @yield [response, operation] Access the result along with the RPC operation
565
570
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4::Company>]
@@ -581,13 +586,11 @@ module Google
581
586
  # # Call the list_companies method.
582
587
  # result = client.list_companies request
583
588
  #
584
- # # The returned object is of type Gapic::PagedEnumerable. You can
585
- # # iterate over all elements by calling #each, and the enumerable
586
- # # will lazily make API calls to fetch subsequent pages. Other
587
- # # methods are also available for managing paging directly.
588
- # result.each do |response|
589
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
590
+ # # over elements, and API calls will be issued to fetch pages as needed.
591
+ # result.each do |item|
589
592
  # # Each element is of type ::Google::Cloud::Talent::V4::Company.
590
- # p response
593
+ # p item
591
594
  # end
592
595
  #
593
596
  def list_companies request, options = nil