google-cloud-talent-v4beta1 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +16 -12
- data/lib/google/cloud/talent/v4beta1/company_service/rest/client.rb +693 -0
- data/lib/google/cloud/talent/v4beta1/company_service/rest/service_stub.rb +382 -0
- data/lib/google/cloud/talent/v4beta1/company_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/company_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +4 -2
- data/lib/google/cloud/talent/v4beta1/completion/rest/client.rb +386 -0
- data/lib/google/cloud/talent/v4beta1/completion/rest/service_stub.rb +114 -0
- data/lib/google/cloud/talent/v4beta1/completion/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/completion.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/event_service/rest/client.rb +359 -0
- data/lib/google/cloud/talent/v4beta1/event_service/rest/service_stub.rb +116 -0
- data/lib/google/cloud/talent/v4beta1/event_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/event_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +248 -159
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +12 -14
- data/lib/google/cloud/talent/v4beta1/job_service/rest/client.rb +1712 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest/operations.rb +793 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest/service_stub.rb +721 -0
- data/lib/google/cloud/talent/v4beta1/job_service/rest.rb +53 -0
- data/lib/google/cloud/talent/v4beta1/job_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +12 -8
- data/lib/google/cloud/talent/v4beta1/rest.rb +41 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +13 -10
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest/client.rb +672 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest/service_stub.rb +345 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service/rest.rb +52 -0
- data/lib/google/cloud/talent/v4beta1/tenant_service.rb +7 -1
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- data/lib/google/cloud/talent/v4beta1.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/v4beta1/common.rb +117 -56
- data/proto_docs/google/cloud/talent/v4beta1/company.rb +10 -5
- data/proto_docs/google/cloud/talent/v4beta1/company_service.rb +12 -6
- data/proto_docs/google/cloud/talent/v4beta1/completion_service.rb +21 -10
- data/proto_docs/google/cloud/talent/v4beta1/event.rb +20 -10
- data/proto_docs/google/cloud/talent/v4beta1/event_service.rb +2 -2
- data/proto_docs/google/cloud/talent/v4beta1/filters.rb +62 -38
- data/proto_docs/google/cloud/talent/v4beta1/histogram.rb +8 -3
- data/proto_docs/google/cloud/talent/v4beta1/job.rb +86 -54
- data/proto_docs/google/cloud/talent/v4beta1/job_service.rb +211 -120
- data/proto_docs/google/cloud/talent/v4beta1/tenant.rb +9 -5
- data/proto_docs/google/cloud/talent/v4beta1/tenant_service.rb +9 -4
- data/proto_docs/google/rpc/status.rb +4 -2
- metadata +28 -8
@@ -0,0 +1,53 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "gapic/rest"
|
20
|
+
require "gapic/config"
|
21
|
+
require "gapic/config/method"
|
22
|
+
|
23
|
+
require "google/cloud/talent/v4beta1/version"
|
24
|
+
|
25
|
+
require "google/cloud/talent/v4beta1/job_service/credentials"
|
26
|
+
require "google/cloud/talent/v4beta1/job_service/paths"
|
27
|
+
require "google/cloud/talent/v4beta1/job_service/rest/operations"
|
28
|
+
require "google/cloud/talent/v4beta1/job_service/rest/client"
|
29
|
+
|
30
|
+
module Google
|
31
|
+
module Cloud
|
32
|
+
module Talent
|
33
|
+
module V4beta1
|
34
|
+
##
|
35
|
+
# A service handles job management, including job CRUD, enumeration and search.
|
36
|
+
#
|
37
|
+
# To load this service and instantiate a REST client:
|
38
|
+
#
|
39
|
+
# require "google/cloud/talent/v4beta1/job_service/rest"
|
40
|
+
# client = ::Google::Cloud::Talent::V4beta1::JobService::Rest::Client.new
|
41
|
+
#
|
42
|
+
module JobService
|
43
|
+
# Client for the REST transport
|
44
|
+
module Rest
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
helper_path = ::File.join __dir__, "rest", "helpers.rb"
|
53
|
+
require "google/cloud/talent/v4beta1/job_service/rest/helpers" if ::File.file? helper_path
|
@@ -26,6 +26,7 @@ require "google/cloud/talent/v4beta1/job_service/credentials"
|
|
26
26
|
require "google/cloud/talent/v4beta1/job_service/paths"
|
27
27
|
require "google/cloud/talent/v4beta1/job_service/operations"
|
28
28
|
require "google/cloud/talent/v4beta1/job_service/client"
|
29
|
+
require "google/cloud/talent/v4beta1/job_service/rest"
|
29
30
|
|
30
31
|
module Google
|
31
32
|
module Cloud
|
@@ -34,11 +35,16 @@ module Google
|
|
34
35
|
##
|
35
36
|
# A service handles job management, including job CRUD, enumeration and search.
|
36
37
|
#
|
37
|
-
#
|
38
|
+
# @example Load this service and instantiate a gRPC client
|
38
39
|
#
|
39
40
|
# require "google/cloud/talent/v4beta1/job_service"
|
40
41
|
# client = ::Google::Cloud::Talent::V4beta1::JobService::Client.new
|
41
42
|
#
|
43
|
+
# @example Load this service and instantiate a REST client
|
44
|
+
#
|
45
|
+
# require "google/cloud/talent/v4beta1/job_service/rest"
|
46
|
+
# client = ::Google::Cloud::Talent::V4beta1::JobService::Rest::Client.new
|
47
|
+
#
|
42
48
|
module JobService
|
43
49
|
end
|
44
50
|
end
|
@@ -59,22 +59,26 @@ module Google
|
|
59
59
|
rpc :BatchDeleteJobs, ::Google::Cloud::Talent::V4beta1::BatchDeleteJobsRequest, ::Google::Protobuf::Empty
|
60
60
|
# Lists jobs by filter.
|
61
61
|
rpc :ListJobs, ::Google::Cloud::Talent::V4beta1::ListJobsRequest, ::Google::Cloud::Talent::V4beta1::ListJobsResponse
|
62
|
-
# Searches for jobs using the provided
|
62
|
+
# Searches for jobs using the provided
|
63
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
63
64
|
#
|
64
|
-
# This call constrains the
|
65
|
-
#
|
66
|
-
# permission to
|
65
|
+
# This call constrains the
|
66
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
67
|
+
# the database, and only returns jobs that the caller has permission to
|
68
|
+
# search against.
|
67
69
|
rpc :SearchJobs, ::Google::Cloud::Talent::V4beta1::SearchJobsRequest, ::Google::Cloud::Talent::V4beta1::SearchJobsResponse
|
68
|
-
# Searches for jobs using the provided
|
70
|
+
# Searches for jobs using the provided
|
71
|
+
# [SearchJobsRequest][google.cloud.talent.v4beta1.SearchJobsRequest].
|
69
72
|
#
|
70
73
|
# This API call is intended for the use case of targeting passive job
|
71
74
|
# seekers (for example, job seekers who have signed up to receive email
|
72
75
|
# alerts about potential job opportunities), and has different algorithmic
|
73
76
|
# adjustments that are targeted to passive job seekers.
|
74
77
|
#
|
75
|
-
# This call constrains the
|
76
|
-
#
|
77
|
-
# permission to search
|
78
|
+
# This call constrains the
|
79
|
+
# [visibility][google.cloud.talent.v4beta1.Job.visibility] of jobs present in
|
80
|
+
# the database, and only returns jobs the caller has permission to search
|
81
|
+
# against.
|
78
82
|
rpc :SearchJobsForAlert, ::Google::Cloud::Talent::V4beta1::SearchJobsRequest, ::Google::Cloud::Talent::V4beta1::SearchJobsResponse
|
79
83
|
end
|
80
84
|
|
@@ -0,0 +1,41 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2023 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
require "google/cloud/talent/v4beta1/company_service/rest"
|
20
|
+
require "google/cloud/talent/v4beta1/completion/rest"
|
21
|
+
require "google/cloud/talent/v4beta1/event_service/rest"
|
22
|
+
require "google/cloud/talent/v4beta1/job_service/rest"
|
23
|
+
require "google/cloud/talent/v4beta1/tenant_service/rest"
|
24
|
+
require "google/cloud/talent/v4beta1/version"
|
25
|
+
|
26
|
+
module Google
|
27
|
+
module Cloud
|
28
|
+
module Talent
|
29
|
+
##
|
30
|
+
# To load just the REST part of this package, including all its services, and instantiate a REST client:
|
31
|
+
#
|
32
|
+
# @example
|
33
|
+
#
|
34
|
+
# require "google/cloud/talent/v4beta1/rest"
|
35
|
+
# client = ::Google::Cloud::Talent::V4beta1::CompanyService::Rest::Client.new
|
36
|
+
#
|
37
|
+
module V4beta1
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -360,15 +360,20 @@ module Google
|
|
360
360
|
# the default parameter values, pass an empty Hash as a request object (see above).
|
361
361
|
#
|
362
362
|
# @param tenant [::Google::Cloud::Talent::V4beta1::Tenant, ::Hash]
|
363
|
-
# Required. The tenant resource to replace the current resource in the
|
363
|
+
# Required. The tenant resource to replace the current resource in the
|
364
|
+
# system.
|
364
365
|
# @param update_mask [::Google::Protobuf::FieldMask, ::Hash]
|
365
366
|
# Strongly recommended for the best service experience.
|
366
367
|
#
|
367
|
-
# If
|
368
|
-
# {::Google::Cloud::Talent::V4beta1::UpdateTenantRequest#
|
368
|
+
# If
|
369
|
+
# {::Google::Cloud::Talent::V4beta1::UpdateTenantRequest#update_mask update_mask}
|
370
|
+
# is provided, only the specified fields in
|
371
|
+
# {::Google::Cloud::Talent::V4beta1::UpdateTenantRequest#tenant tenant} are
|
372
|
+
# updated. Otherwise all the fields are updated.
|
369
373
|
#
|
370
374
|
# A field mask to specify the tenant fields to be updated. Only
|
371
|
-
# top level fields of {::Google::Cloud::Talent::V4beta1::Tenant Tenant} are
|
375
|
+
# top level fields of {::Google::Cloud::Talent::V4beta1::Tenant Tenant} are
|
376
|
+
# supported.
|
372
377
|
#
|
373
378
|
# @yield [response, operation] Access the result along with the RPC operation
|
374
379
|
# @yieldparam response [::Google::Cloud::Talent::V4beta1::Tenant]
|
@@ -571,13 +576,11 @@ module Google
|
|
571
576
|
# # Call the list_tenants method.
|
572
577
|
# result = client.list_tenants request
|
573
578
|
#
|
574
|
-
# # The returned object is of type Gapic::PagedEnumerable. You can
|
575
|
-
# #
|
576
|
-
#
|
577
|
-
# # methods are also available for managing paging directly.
|
578
|
-
# result.each do |response|
|
579
|
+
# # The returned object is of type Gapic::PagedEnumerable. You can iterate
|
580
|
+
# # over elements, and API calls will be issued to fetch pages as needed.
|
581
|
+
# result.each do |item|
|
579
582
|
# # Each element is of type ::Google::Cloud::Talent::V4beta1::Tenant.
|
580
|
-
# p
|
583
|
+
# p item
|
581
584
|
# end
|
582
585
|
#
|
583
586
|
def list_tenants request, options = nil
|