google-cloud-talent 0.8.3 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (80) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +2 -1
  3. data/AUTHENTICATION.md +51 -59
  4. data/LICENSE.md +203 -0
  5. data/MIGRATING.md +347 -0
  6. data/README.md +36 -25
  7. data/lib/{google/cloud/talent/v4beta1/doc/google/protobuf/empty.rb → google-cloud-talent.rb} +4 -14
  8. data/lib/google/cloud/talent.rb +203 -453
  9. data/lib/google/cloud/talent/version.rb +6 -2
  10. metadata +75 -110
  11. data/LICENSE +0 -201
  12. data/lib/google/cloud/talent/v4beta1.rb +0 -543
  13. data/lib/google/cloud/talent/v4beta1/application_pb.rb +0 -63
  14. data/lib/google/cloud/talent/v4beta1/application_service_client.rb +0 -484
  15. data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +0 -51
  16. data/lib/google/cloud/talent/v4beta1/application_service_pb.rb +0 -55
  17. data/lib/google/cloud/talent/v4beta1/application_service_services_pb.rb +0 -56
  18. data/lib/google/cloud/talent/v4beta1/batch_pb.rb +0 -18
  19. data/lib/google/cloud/talent/v4beta1/common_pb.rb +0 -341
  20. data/lib/google/cloud/talent/v4beta1/company_pb.rb +0 -41
  21. data/lib/google/cloud/talent/v4beta1/company_service_client.rb +0 -529
  22. data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +0 -51
  23. data/lib/google/cloud/talent/v4beta1/company_service_pb.rb +0 -56
  24. data/lib/google/cloud/talent/v4beta1/company_service_services_pb.rb +0 -56
  25. data/lib/google/cloud/talent/v4beta1/completion_client.rb +0 -337
  26. data/lib/google/cloud/talent/v4beta1/completion_client_config.json +0 -31
  27. data/lib/google/cloud/talent/v4beta1/completion_service_pb.rb +0 -56
  28. data/lib/google/cloud/talent/v4beta1/completion_service_services_pb.rb +0 -48
  29. data/lib/google/cloud/talent/v4beta1/credentials.rb +0 -42
  30. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application.rb +0 -166
  31. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/application_service.rb +0 -100
  32. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/common.rb +0 -1057
  33. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company.rb +0 -107
  34. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/company_service.rb +0 -116
  35. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/completion_service.rb +0 -139
  36. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event.rb +0 -224
  37. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/event_service.rb +0 -36
  38. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/filters.rb +0 -763
  39. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/histogram.rb +0 -50
  40. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job.rb +0 -331
  41. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/job_service.rb +0 -696
  42. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile.rb +0 -750
  43. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/profile_service.rb +0 -410
  44. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant.rb +0 -70
  45. data/lib/google/cloud/talent/v4beta1/doc/google/cloud/talent/v4beta1/tenant_service.rb +0 -96
  46. data/lib/google/cloud/talent/v4beta1/doc/google/longrunning/operations.rb +0 -51
  47. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/any.rb +0 -131
  48. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/duration.rb +0 -91
  49. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/field_mask.rb +0 -222
  50. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/timestamp.rb +0 -113
  51. data/lib/google/cloud/talent/v4beta1/doc/google/protobuf/wrappers.rb +0 -34
  52. data/lib/google/cloud/talent/v4beta1/doc/google/rpc/status.rb +0 -39
  53. data/lib/google/cloud/talent/v4beta1/doc/google/type/date.rb +0 -43
  54. data/lib/google/cloud/talent/v4beta1/doc/google/type/latlng.rb +0 -31
  55. data/lib/google/cloud/talent/v4beta1/doc/google/type/money.rb +0 -36
  56. data/lib/google/cloud/talent/v4beta1/doc/google/type/postal_address.rb +0 -128
  57. data/lib/google/cloud/talent/v4beta1/doc/google/type/timeofday.rb +0 -37
  58. data/lib/google/cloud/talent/v4beta1/event_pb.rb +0 -69
  59. data/lib/google/cloud/talent/v4beta1/event_service_client.rb +0 -268
  60. data/lib/google/cloud/talent/v4beta1/event_service_client_config.json +0 -31
  61. data/lib/google/cloud/talent/v4beta1/event_service_pb.rb +0 -27
  62. data/lib/google/cloud/talent/v4beta1/event_service_services_pb.rb +0 -53
  63. data/lib/google/cloud/talent/v4beta1/filters_pb.rb +0 -187
  64. data/lib/google/cloud/talent/v4beta1/helpers.rb +0 -162
  65. data/lib/google/cloud/talent/v4beta1/histogram_pb.rb +0 -27
  66. data/lib/google/cloud/talent/v4beta1/job_pb.rb +0 -72
  67. data/lib/google/cloud/talent/v4beta1/job_service_client.rb +0 -1510
  68. data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +0 -76
  69. data/lib/google/cloud/talent/v4beta1/job_service_pb.rb +0 -166
  70. data/lib/google/cloud/talent/v4beta1/job_service_services_pb.rb +0 -88
  71. data/lib/google/cloud/talent/v4beta1/profile_pb.rb +0 -213
  72. data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +0 -811
  73. data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +0 -56
  74. data/lib/google/cloud/talent/v4beta1/profile_service_pb.rb +0 -91
  75. data/lib/google/cloud/talent/v4beta1/profile_service_services_pb.rb +0 -65
  76. data/lib/google/cloud/talent/v4beta1/tenant_pb.rb +0 -34
  77. data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +0 -471
  78. data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +0 -51
  79. data/lib/google/cloud/talent/v4beta1/tenant_service_pb.rb +0 -55
  80. data/lib/google/cloud/talent/v4beta1/tenant_service_services_pb.rb +0 -55
@@ -1,543 +0,0 @@
1
- # Copyright 2020 Google LLC
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # https://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
-
16
- require "google/cloud/talent/v4beta1/application_service_client"
17
- require "google/cloud/talent/v4beta1/helpers"
18
- require "google/cloud/talent/v4beta1/company_service_client"
19
- require "google/cloud/talent/v4beta1/completion_client"
20
- require "google/cloud/talent/v4beta1/event_service_client"
21
- require "google/cloud/talent/v4beta1/job_service_client"
22
- require "google/cloud/talent/v4beta1/profile_service_client"
23
- require "google/cloud/talent/v4beta1/tenant_service_client"
24
- require "google/cloud/talent/v4beta1/common_pb"
25
- require "google/cloud/talent/v4beta1/job_service_pb"
26
-
27
- module Google
28
- module Cloud
29
- module Talent
30
- # rubocop:disable LineLength
31
-
32
- ##
33
- # # Ruby Client for Cloud Talent Solution API ([Alpha](https://github.com/googleapis/google-cloud-ruby#versioning))
34
- #
35
- # [Cloud Talent Solution API][Product Documentation]:
36
- # Cloud Talent Solution provides the capability to create, read, update, and
37
- # delete job postings, as well as search jobs based on keywords and filters.
38
- # - [Product Documentation][]
39
- #
40
- # ## Quick Start
41
- # In order to use this library, you first need to go through the following
42
- # steps:
43
- #
44
- # 1. [Select or create a Cloud Platform project.](https://console.cloud.google.com/project)
45
- # 2. [Enable billing for your project.](https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project)
46
- # 3. [Enable the Cloud Talent Solution API.](https://console.cloud.google.com/apis/library/talent.googleapis.com)
47
- # 4. [Setup Authentication.](https://googleapis.dev/ruby/google-cloud-talent/latest/file.AUTHENTICATION.html)
48
- #
49
- # ### Installation
50
- # ```
51
- # $ gem install google-cloud-talent
52
- # ```
53
- #
54
- # ### Next Steps
55
- # - Read the [Cloud Talent Solution API Product documentation][Product Documentation]
56
- # to learn more about the product and see How-to Guides.
57
- # - View this [repository's main README](https://github.com/googleapis/google-cloud-ruby/blob/master/README.md)
58
- # to see the full list of Cloud APIs that we cover.
59
- #
60
- # [Product Documentation]: https://cloud.google.com/talent
61
- #
62
- # ## Enabling Logging
63
- #
64
- # To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
65
- # The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as shown below,
66
- # or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
67
- # that will write logs to [Stackdriver Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
68
- # and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
69
- #
70
- # Configuring a Ruby stdlib logger:
71
- #
72
- # ```ruby
73
- # require "logger"
74
- #
75
- # module MyLogger
76
- # LOGGER = Logger.new $stderr, level: Logger::WARN
77
- # def logger
78
- # LOGGER
79
- # end
80
- # end
81
- #
82
- # # Define a gRPC module-level logger method before grpc/logconfig.rb loads.
83
- # module GRPC
84
- # extend MyLogger
85
- # end
86
- # ```
87
- #
88
- module V4beta1
89
- # rubocop:enable LineLength
90
-
91
- module ApplicationService
92
- ##
93
- # A service that handles application management, including CRUD and
94
- # enumeration.
95
- #
96
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
97
- # Provides the means for authenticating requests made by the client. This parameter can
98
- # be many types.
99
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
100
- # authenticating requests made by this client.
101
- # A `String` will be treated as the path to the keyfile to be used for the construction of
102
- # credentials for this client.
103
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
104
- # credentials for this client.
105
- # A `GRPC::Core::Channel` will be used to make calls through.
106
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
107
- # should already be composed with a `GRPC::Core::CallCredentials` object.
108
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
109
- # metadata for requests, generally, to give OAuth credentials.
110
- # @param scopes [Array<String>]
111
- # The OAuth scopes for this service. This parameter is ignored if
112
- # an updater_proc is supplied.
113
- # @param client_config [Hash]
114
- # A Hash for call options for each method. See
115
- # Google::Gax#construct_settings for the structure of
116
- # this data. Falls back to the default config if not specified
117
- # or the specified config is missing data points.
118
- # @param timeout [Numeric]
119
- # The default timeout, in seconds, for calls made through this client.
120
- # @param metadata [Hash]
121
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
122
- # @param service_address [String]
123
- # Override for the service hostname, or `nil` to leave as the default.
124
- # @param service_port [Integer]
125
- # Override for the service port, or `nil` to leave as the default.
126
- # @param exception_transformer [Proc]
127
- # An optional proc that intercepts any exceptions raised during an API call to inject
128
- # custom error handling.
129
- def self.new \
130
- credentials: nil,
131
- scopes: nil,
132
- client_config: nil,
133
- timeout: nil,
134
- metadata: nil,
135
- service_address: nil,
136
- service_port: nil,
137
- exception_transformer: nil,
138
- lib_name: nil,
139
- lib_version: nil
140
- kwargs = {
141
- credentials: credentials,
142
- scopes: scopes,
143
- client_config: client_config,
144
- timeout: timeout,
145
- metadata: metadata,
146
- exception_transformer: exception_transformer,
147
- lib_name: lib_name,
148
- service_address: service_address,
149
- service_port: service_port,
150
- lib_version: lib_version
151
- }.select { |_, v| v != nil }
152
- Google::Cloud::Talent::V4beta1::ApplicationServiceClient.new(**kwargs)
153
- end
154
- end
155
-
156
- module CompanyService
157
- ##
158
- # A service that handles company management, including CRUD and enumeration.
159
- #
160
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
161
- # Provides the means for authenticating requests made by the client. This parameter can
162
- # be many types.
163
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
164
- # authenticating requests made by this client.
165
- # A `String` will be treated as the path to the keyfile to be used for the construction of
166
- # credentials for this client.
167
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
168
- # credentials for this client.
169
- # A `GRPC::Core::Channel` will be used to make calls through.
170
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
171
- # should already be composed with a `GRPC::Core::CallCredentials` object.
172
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
173
- # metadata for requests, generally, to give OAuth credentials.
174
- # @param scopes [Array<String>]
175
- # The OAuth scopes for this service. This parameter is ignored if
176
- # an updater_proc is supplied.
177
- # @param client_config [Hash]
178
- # A Hash for call options for each method. See
179
- # Google::Gax#construct_settings for the structure of
180
- # this data. Falls back to the default config if not specified
181
- # or the specified config is missing data points.
182
- # @param timeout [Numeric]
183
- # The default timeout, in seconds, for calls made through this client.
184
- # @param metadata [Hash]
185
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
186
- # @param service_address [String]
187
- # Override for the service hostname, or `nil` to leave as the default.
188
- # @param service_port [Integer]
189
- # Override for the service port, or `nil` to leave as the default.
190
- # @param exception_transformer [Proc]
191
- # An optional proc that intercepts any exceptions raised during an API call to inject
192
- # custom error handling.
193
- def self.new \
194
- credentials: nil,
195
- scopes: nil,
196
- client_config: nil,
197
- timeout: nil,
198
- metadata: nil,
199
- service_address: nil,
200
- service_port: nil,
201
- exception_transformer: nil,
202
- lib_name: nil,
203
- lib_version: nil
204
- kwargs = {
205
- credentials: credentials,
206
- scopes: scopes,
207
- client_config: client_config,
208
- timeout: timeout,
209
- metadata: metadata,
210
- exception_transformer: exception_transformer,
211
- lib_name: lib_name,
212
- service_address: service_address,
213
- service_port: service_port,
214
- lib_version: lib_version
215
- }.select { |_, v| v != nil }
216
- Google::Cloud::Talent::V4beta1::CompanyServiceClient.new(**kwargs)
217
- end
218
- end
219
-
220
- module Completion
221
- ##
222
- # A service handles auto completion.
223
- #
224
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
225
- # Provides the means for authenticating requests made by the client. This parameter can
226
- # be many types.
227
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
228
- # authenticating requests made by this client.
229
- # A `String` will be treated as the path to the keyfile to be used for the construction of
230
- # credentials for this client.
231
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
232
- # credentials for this client.
233
- # A `GRPC::Core::Channel` will be used to make calls through.
234
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
235
- # should already be composed with a `GRPC::Core::CallCredentials` object.
236
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
237
- # metadata for requests, generally, to give OAuth credentials.
238
- # @param scopes [Array<String>]
239
- # The OAuth scopes for this service. This parameter is ignored if
240
- # an updater_proc is supplied.
241
- # @param client_config [Hash]
242
- # A Hash for call options for each method. See
243
- # Google::Gax#construct_settings for the structure of
244
- # this data. Falls back to the default config if not specified
245
- # or the specified config is missing data points.
246
- # @param timeout [Numeric]
247
- # The default timeout, in seconds, for calls made through this client.
248
- # @param metadata [Hash]
249
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
250
- # @param service_address [String]
251
- # Override for the service hostname, or `nil` to leave as the default.
252
- # @param service_port [Integer]
253
- # Override for the service port, or `nil` to leave as the default.
254
- # @param exception_transformer [Proc]
255
- # An optional proc that intercepts any exceptions raised during an API call to inject
256
- # custom error handling.
257
- def self.new \
258
- credentials: nil,
259
- scopes: nil,
260
- client_config: nil,
261
- timeout: nil,
262
- metadata: nil,
263
- service_address: nil,
264
- service_port: nil,
265
- exception_transformer: nil,
266
- lib_name: nil,
267
- lib_version: nil
268
- kwargs = {
269
- credentials: credentials,
270
- scopes: scopes,
271
- client_config: client_config,
272
- timeout: timeout,
273
- metadata: metadata,
274
- exception_transformer: exception_transformer,
275
- lib_name: lib_name,
276
- service_address: service_address,
277
- service_port: service_port,
278
- lib_version: lib_version
279
- }.select { |_, v| v != nil }
280
- Google::Cloud::Talent::V4beta1::CompletionClient.new(**kwargs)
281
- end
282
- end
283
-
284
- module Event
285
- ##
286
- # A service handles client event report.
287
- #
288
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
289
- # Provides the means for authenticating requests made by the client. This parameter can
290
- # be many types.
291
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
292
- # authenticating requests made by this client.
293
- # A `String` will be treated as the path to the keyfile to be used for the construction of
294
- # credentials for this client.
295
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
296
- # credentials for this client.
297
- # A `GRPC::Core::Channel` will be used to make calls through.
298
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
299
- # should already be composed with a `GRPC::Core::CallCredentials` object.
300
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
301
- # metadata for requests, generally, to give OAuth credentials.
302
- # @param scopes [Array<String>]
303
- # The OAuth scopes for this service. This parameter is ignored if
304
- # an updater_proc is supplied.
305
- # @param client_config [Hash]
306
- # A Hash for call options for each method. See
307
- # Google::Gax#construct_settings for the structure of
308
- # this data. Falls back to the default config if not specified
309
- # or the specified config is missing data points.
310
- # @param timeout [Numeric]
311
- # The default timeout, in seconds, for calls made through this client.
312
- # @param metadata [Hash]
313
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
314
- # @param service_address [String]
315
- # Override for the service hostname, or `nil` to leave as the default.
316
- # @param service_port [Integer]
317
- # Override for the service port, or `nil` to leave as the default.
318
- # @param exception_transformer [Proc]
319
- # An optional proc that intercepts any exceptions raised during an API call to inject
320
- # custom error handling.
321
- def self.new \
322
- credentials: nil,
323
- scopes: nil,
324
- client_config: nil,
325
- timeout: nil,
326
- metadata: nil,
327
- service_address: nil,
328
- service_port: nil,
329
- exception_transformer: nil,
330
- lib_name: nil,
331
- lib_version: nil
332
- kwargs = {
333
- credentials: credentials,
334
- scopes: scopes,
335
- client_config: client_config,
336
- timeout: timeout,
337
- metadata: metadata,
338
- exception_transformer: exception_transformer,
339
- lib_name: lib_name,
340
- service_address: service_address,
341
- service_port: service_port,
342
- lib_version: lib_version
343
- }.select { |_, v| v != nil }
344
- Google::Cloud::Talent::V4beta1::EventServiceClient.new(**kwargs)
345
- end
346
- end
347
-
348
- module JobService
349
- ##
350
- # A service handles job management, including job CRUD, enumeration and search.
351
- #
352
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
353
- # Provides the means for authenticating requests made by the client. This parameter can
354
- # be many types.
355
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
356
- # authenticating requests made by this client.
357
- # A `String` will be treated as the path to the keyfile to be used for the construction of
358
- # credentials for this client.
359
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
360
- # credentials for this client.
361
- # A `GRPC::Core::Channel` will be used to make calls through.
362
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
363
- # should already be composed with a `GRPC::Core::CallCredentials` object.
364
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
365
- # metadata for requests, generally, to give OAuth credentials.
366
- # @param scopes [Array<String>]
367
- # The OAuth scopes for this service. This parameter is ignored if
368
- # an updater_proc is supplied.
369
- # @param client_config [Hash]
370
- # A Hash for call options for each method. See
371
- # Google::Gax#construct_settings for the structure of
372
- # this data. Falls back to the default config if not specified
373
- # or the specified config is missing data points.
374
- # @param timeout [Numeric]
375
- # The default timeout, in seconds, for calls made through this client.
376
- # @param metadata [Hash]
377
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
378
- # @param service_address [String]
379
- # Override for the service hostname, or `nil` to leave as the default.
380
- # @param service_port [Integer]
381
- # Override for the service port, or `nil` to leave as the default.
382
- # @param exception_transformer [Proc]
383
- # An optional proc that intercepts any exceptions raised during an API call to inject
384
- # custom error handling.
385
- def self.new \
386
- credentials: nil,
387
- scopes: nil,
388
- client_config: nil,
389
- timeout: nil,
390
- metadata: nil,
391
- service_address: nil,
392
- service_port: nil,
393
- exception_transformer: nil,
394
- lib_name: nil,
395
- lib_version: nil
396
- kwargs = {
397
- credentials: credentials,
398
- scopes: scopes,
399
- client_config: client_config,
400
- timeout: timeout,
401
- metadata: metadata,
402
- exception_transformer: exception_transformer,
403
- lib_name: lib_name,
404
- service_address: service_address,
405
- service_port: service_port,
406
- lib_version: lib_version
407
- }.select { |_, v| v != nil }
408
- Google::Cloud::Talent::V4beta1::JobServiceClient.new(**kwargs)
409
- end
410
- end
411
-
412
- module ProfileService
413
- ##
414
- # A service that handles profile management, including profile CRUD,
415
- # enumeration and search.
416
- #
417
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
418
- # Provides the means for authenticating requests made by the client. This parameter can
419
- # be many types.
420
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
421
- # authenticating requests made by this client.
422
- # A `String` will be treated as the path to the keyfile to be used for the construction of
423
- # credentials for this client.
424
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
425
- # credentials for this client.
426
- # A `GRPC::Core::Channel` will be used to make calls through.
427
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
428
- # should already be composed with a `GRPC::Core::CallCredentials` object.
429
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
430
- # metadata for requests, generally, to give OAuth credentials.
431
- # @param scopes [Array<String>]
432
- # The OAuth scopes for this service. This parameter is ignored if
433
- # an updater_proc is supplied.
434
- # @param client_config [Hash]
435
- # A Hash for call options for each method. See
436
- # Google::Gax#construct_settings for the structure of
437
- # this data. Falls back to the default config if not specified
438
- # or the specified config is missing data points.
439
- # @param timeout [Numeric]
440
- # The default timeout, in seconds, for calls made through this client.
441
- # @param metadata [Hash]
442
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
443
- # @param service_address [String]
444
- # Override for the service hostname, or `nil` to leave as the default.
445
- # @param service_port [Integer]
446
- # Override for the service port, or `nil` to leave as the default.
447
- # @param exception_transformer [Proc]
448
- # An optional proc that intercepts any exceptions raised during an API call to inject
449
- # custom error handling.
450
- def self.new \
451
- credentials: nil,
452
- scopes: nil,
453
- client_config: nil,
454
- timeout: nil,
455
- metadata: nil,
456
- service_address: nil,
457
- service_port: nil,
458
- exception_transformer: nil,
459
- lib_name: nil,
460
- lib_version: nil
461
- kwargs = {
462
- credentials: credentials,
463
- scopes: scopes,
464
- client_config: client_config,
465
- timeout: timeout,
466
- metadata: metadata,
467
- exception_transformer: exception_transformer,
468
- lib_name: lib_name,
469
- service_address: service_address,
470
- service_port: service_port,
471
- lib_version: lib_version
472
- }.select { |_, v| v != nil }
473
- Google::Cloud::Talent::V4beta1::ProfileServiceClient.new(**kwargs)
474
- end
475
- end
476
-
477
- module TenantService
478
- ##
479
- # A service that handles tenant management, including CRUD and enumeration.
480
- #
481
- # @param credentials [Google::Auth::Credentials, String, Hash, GRPC::Core::Channel, GRPC::Core::ChannelCredentials, Proc]
482
- # Provides the means for authenticating requests made by the client. This parameter can
483
- # be many types.
484
- # A `Google::Auth::Credentials` uses a the properties of its represented keyfile for
485
- # authenticating requests made by this client.
486
- # A `String` will be treated as the path to the keyfile to be used for the construction of
487
- # credentials for this client.
488
- # A `Hash` will be treated as the contents of a keyfile to be used for the construction of
489
- # credentials for this client.
490
- # A `GRPC::Core::Channel` will be used to make calls through.
491
- # A `GRPC::Core::ChannelCredentials` for the setting up the RPC client. The channel credentials
492
- # should already be composed with a `GRPC::Core::CallCredentials` object.
493
- # A `Proc` will be used as an updater_proc for the Grpc channel. The proc transforms the
494
- # metadata for requests, generally, to give OAuth credentials.
495
- # @param scopes [Array<String>]
496
- # The OAuth scopes for this service. This parameter is ignored if
497
- # an updater_proc is supplied.
498
- # @param client_config [Hash]
499
- # A Hash for call options for each method. See
500
- # Google::Gax#construct_settings for the structure of
501
- # this data. Falls back to the default config if not specified
502
- # or the specified config is missing data points.
503
- # @param timeout [Numeric]
504
- # The default timeout, in seconds, for calls made through this client.
505
- # @param metadata [Hash]
506
- # Default metadata to be sent with each request. This can be overridden on a per call basis.
507
- # @param service_address [String]
508
- # Override for the service hostname, or `nil` to leave as the default.
509
- # @param service_port [Integer]
510
- # Override for the service port, or `nil` to leave as the default.
511
- # @param exception_transformer [Proc]
512
- # An optional proc that intercepts any exceptions raised during an API call to inject
513
- # custom error handling.
514
- def self.new \
515
- credentials: nil,
516
- scopes: nil,
517
- client_config: nil,
518
- timeout: nil,
519
- metadata: nil,
520
- service_address: nil,
521
- service_port: nil,
522
- exception_transformer: nil,
523
- lib_name: nil,
524
- lib_version: nil
525
- kwargs = {
526
- credentials: credentials,
527
- scopes: scopes,
528
- client_config: client_config,
529
- timeout: timeout,
530
- metadata: metadata,
531
- exception_transformer: exception_transformer,
532
- lib_name: lib_name,
533
- service_address: service_address,
534
- service_port: service_port,
535
- lib_version: lib_version
536
- }.select { |_, v| v != nil }
537
- Google::Cloud::Talent::V4beta1::TenantServiceClient.new(**kwargs)
538
- end
539
- end
540
- end
541
- end
542
- end
543
- end