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.
- checksums.yaml +4 -4
- data/AUTHENTICATION.md +1 -1
- data/README.md +2 -2
- data/lib/google/cloud/talent/v4/company_service/client.rb +15 -12
- data/lib/google/cloud/talent/v4/company_service/rest/client.rb +682 -0
- data/lib/google/cloud/talent/v4/company_service/rest/service_stub.rb +345 -0
- data/lib/google/cloud/talent/v4/company_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4/company_service.rb +7 -1
- data/lib/google/cloud/talent/v4/completion/client.rb +4 -2
- data/lib/google/cloud/talent/v4/completion/rest/client.rb +380 -0
- data/lib/google/cloud/talent/v4/completion/rest/service_stub.rb +107 -0
- data/lib/google/cloud/talent/v4/completion/rest.rb +52 -0
- data/lib/google/cloud/talent/v4/completion.rb +7 -1
- data/lib/google/cloud/talent/v4/event_service/client.rb +2 -2
- data/lib/google/cloud/talent/v4/event_service/rest/client.rb +358 -0
- data/lib/google/cloud/talent/v4/event_service/rest/service_stub.rb +108 -0
- data/lib/google/cloud/talent/v4/event_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4/event_service.rb +7 -1
- data/lib/google/cloud/talent/v4/job_service/client.rb +238 -161
- data/lib/google/cloud/talent/v4/job_service/operations.rb +12 -14
- data/lib/google/cloud/talent/v4/job_service/rest/client.rb +1685 -0
- data/lib/google/cloud/talent/v4/job_service/rest/operations.rb +793 -0
- data/lib/google/cloud/talent/v4/job_service/rest/service_stub.rb +645 -0
- data/lib/google/cloud/talent/v4/job_service/rest.rb +53 -0
- data/lib/google/cloud/talent/v4/job_service.rb +7 -1
- data/lib/google/cloud/talent/v4/job_service_services_pb.rb +12 -8
- data/lib/google/cloud/talent/v4/rest.rb +41 -0
- data/lib/google/cloud/talent/v4/tenant_service/client.rb +10 -9
- data/lib/google/cloud/talent/v4/tenant_service/rest/client.rb +670 -0
- data/lib/google/cloud/talent/v4/tenant_service/rest/service_stub.rb +345 -0
- data/lib/google/cloud/talent/v4/tenant_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4/tenant_service.rb +7 -1
- data/lib/google/cloud/talent/v4/version.rb +1 -1
- data/lib/google/cloud/talent/v4.rb +7 -2
- data/proto_docs/google/api/client.rb +318 -0
- data/proto_docs/google/api/launch_stage.rb +71 -0
- data/proto_docs/google/cloud/talent/v4/common.rb +116 -56
- data/proto_docs/google/cloud/talent/v4/company.rb +12 -4
- data/proto_docs/google/cloud/talent/v4/company_service.rb +11 -6
- data/proto_docs/google/cloud/talent/v4/completion_service.rb +21 -10
- data/proto_docs/google/cloud/talent/v4/event.rb +17 -9
- data/proto_docs/google/cloud/talent/v4/event_service.rb +2 -2
- data/proto_docs/google/cloud/talent/v4/filters.rb +55 -37
- data/proto_docs/google/cloud/talent/v4/histogram.rb +6 -2
- data/proto_docs/google/cloud/talent/v4/job.rb +83 -55
- data/proto_docs/google/cloud/talent/v4/job_service.rb +199 -117
- data/proto_docs/google/cloud/talent/v4/tenant.rb +2 -1
- data/proto_docs/google/cloud/talent/v4/tenant_service.rb +6 -3
- data/proto_docs/google/protobuf/empty.rb +0 -2
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +28 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3fdce446b32b3d9f2a7f87c63091ee27b805e5a4885b29a9f6a791931667a792
|
4
|
+
data.tar.gz: cfbc4a5312f55839440367d65a5969053d5f210531cfd298e40abd8f7cc68eaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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/
|
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
|
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}
|
369
|
-
#
|
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
|
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
|
562
|
-
#
|
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
|
-
# #
|
586
|
-
#
|
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
|
593
|
+
# p item
|
591
594
|
# end
|
592
595
|
#
|
593
596
|
def list_companies request, options = nil
|