google-cloud-talent 0.1.0

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