google-cloud-talent-v4beta1 0.6.0 → 0.7.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/v4beta1/company_service/client.rb +16 -12
  5. data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +693 -0
  6. data/lib/google/cloud/talent/v4beta1/company_service/rest/service_stub.rb +382 -0
  7. data/lib/google/cloud/talent/v4beta1/company_service/rest.rb +52 -0
  8. data/lib/google/cloud/talent/v4beta1/company_service.rb +7 -1
  9. data/lib/google/cloud/talent/v4beta1/completion/client.rb +4 -2
  10. data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +386 -0
  11. data/lib/google/cloud/talent/v4beta1/completion/rest/service_stub.rb +114 -0
  12. data/lib/google/cloud/talent/v4beta1/completion/rest.rb +52 -0
  13. data/lib/google/cloud/talent/v4beta1/completion.rb +7 -1
  14. data/lib/google/cloud/talent/v4beta1/event_service/client.rb +2 -2
  15. data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +359 -0
  16. data/lib/google/cloud/talent/v4beta1/event_service/rest/service_stub.rb +116 -0
  17. data/lib/google/cloud/talent/v4beta1/event_service/rest.rb +52 -0
  18. data/lib/google/cloud/talent/v4beta1/event_service.rb +7 -1
  19. data/lib/google/cloud/talent/v4beta1/job_service/client.rb +250 -161
  20. data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +12 -14
  21. data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +1712 -0
  22. data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +793 -0
  23. data/lib/google/cloud/talent/v4beta1/job_service/rest/service_stub.rb +721 -0
  24. data/lib/google/cloud/talent/v4beta1/job_service/rest.rb +53 -0
  25. data/lib/google/cloud/talent/v4beta1/job_service.rb +7 -1
  26. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +12 -8
  27. data/lib/google/cloud/talent/v4beta1/rest.rb +41 -0
  28. data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +13 -10
  29. data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +672 -0
  30. data/lib/google/cloud/talent/v4beta1/tenant_service/rest/service_stub.rb +345 -0
  31. data/lib/google/cloud/talent/v4beta1/tenant_service/rest.rb +52 -0
  32. data/lib/google/cloud/talent/v4beta1/tenant_service.rb +7 -1
  33. data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
  34. data/lib/google/cloud/talent/v4beta1.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/v4beta1/common.rb +117 -56
  38. data/proto_docs/google/cloud/talent/v4beta1/company.rb +12 -4
  39. data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +12 -6
  40. data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +21 -10
  41. data/proto_docs/google/cloud/talent/v4beta1/event.rb +20 -10
  42. data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +2 -2
  43. data/proto_docs/google/cloud/talent/v4beta1/filters.rb +62 -38
  44. data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +8 -3
  45. data/proto_docs/google/cloud/talent/v4beta1/job.rb +86 -54
  46. data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +212 -121
  47. data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +9 -5
  48. data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +9 -4
  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: edf33deef2a2dcae8f2543bce036d1d230cde6821eccfcb0f49b0d4d73456c2d
4
- data.tar.gz: d17f7aa9bd6d0b1b018708db774a15fb073ab0d60cdeb7c16be8232b480b9c76
3
+ metadata.gz: 6fb85d26ee5eb68a760a2098b7c67a826347e08372cefcac02044bff9af53fc4
4
+ data.tar.gz: 82e24857d55a7903c93f4732595cf2c3649dabd8c0d96df256a8035c3926f111
5
5
  SHA512:
6
- metadata.gz: 7398b76bf3c57a0a0ea34e07ae9bab317c601eae6b7a4c923634abe82f1976c0c8ff86b628615a2175764c15cfba24ee524a3c30b40b69d7625c01b0539bcae4
7
- data.tar.gz: f1db8115f790842b76de84065aae7cef333fdc0581d255a4634a0b40c2ff0a9c90d81e31faefe9b40d158e0fafc12e424fcd349f8ab9f9740c4fdcb63d2ef959
6
+ metadata.gz: aaf4b1386ce022e5f4bb3f9249e8914e2bc6f0b8ba2328991d7b3345a66be977cf198eaaf51c67767d03f2d755761b90c61e16695f92f57b41099d9face436e5
7
+ data.tar.gz: 61d71c7847d08b00747bc2b9dc17b733e91aa4c263a5e6e27706663828cf582aaeeced6fa8fe56c3a45b66309a83f4a1645551a106d0a917d433047112106ff1
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 V4beta1 API
2
2
 
3
- API Client library for the Cloud Talent Solution V4beta1 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.
@@ -365,15 +365,20 @@ module Google
365
365
  # the default parameter values, pass an empty Hash as a request object (see above).
366
366
  #
367
367
  # @param company [::Google::Cloud::Talent::V4beta1::Company, ::Hash]
368
- # Required. The company resource to replace the current resource in the system.
368
+ # Required. The company resource to replace the current resource in the
369
+ # system.
369
370
  # @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
370
371
  # Strongly recommended for the best service experience.
371
372
  #
372
- # If {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask} is provided, only the specified fields in
373
- # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are updated. Otherwise all the fields are updated.
373
+ # If
374
+ # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#update_mask update_mask}
375
+ # is provided, only the specified fields in
376
+ # {::Google::Cloud::Talent::V4beta1::UpdateCompanyRequest#company company} are
377
+ # updated. Otherwise all the fields are updated.
374
378
  #
375
379
  # A field mask to specify the company fields to be updated. Only
376
- # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are supported.
380
+ # top level fields of {::Google::Cloud::Talent::V4beta1::Company Company} are
381
+ # supported.
377
382
  #
378
383
  # @yield [response, operation] Access the result along with the RPC operation
379
384
  # @yieldparam response [::Google::Cloud::Talent::V4beta1::Company]
@@ -568,8 +573,9 @@ module Google
568
573
  #
569
574
  # Defaults to false.
570
575
  #
571
- # If true, at most {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of companies are fetched, among which
572
- # only those with open jobs are returned.
576
+ # If true, at most
577
+ # {::Google::Cloud::Talent::V4beta1::ListCompaniesRequest#page_size page_size} of
578
+ # companies are fetched, among which only those with open jobs are returned.
573
579
  #
574
580
  # @yield [response, operation] Access the result along with the RPC operation
575
581
  # @yieldparam response [::Gapic::PagedEnumerable<::Google::Cloud::Talent::V4beta1::Company>]
@@ -591,13 +597,11 @@ module Google
591
597
  # # Call the list_companies method.
592
598
  # result = client.list_companies request
593
599
  #
594
- # # The returned object is of type Gapic::PagedEnumerable. You can
595
- # # iterate over all elements by calling #each, and the enumerable
596
- # # will lazily make API calls to fetch subsequent pages. Other
597
- # # methods are also available for managing paging directly.
598
- # result.each do |response|
600
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
601
+ # # over elements, and API calls will be issued to fetch pages as needed.
602
+ # result.each do |item|
599
603
  # # Each element is of type ::Google::Cloud::Talent::V4beta1::Company.
600
- # p response
604
+ # p item
601
605
  # end
602
606
  #
603
607
  def list_companies request, options = nil