google-cloud-talent 1.6.0 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +0 -1
- data/README.md +2 -12
- data/lib/google/cloud/talent/version.rb +1 -1
- metadata +7 -34
- data/MIGRATING.md +0 -347
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5d89d415751877617d7d4b92c1c940df23c19d80dc632f01664b6f7edc7f167a
|
4
|
+
data.tar.gz: 179777deaf5af40886aaf0854051c3e13667353dc02b8f8ecc0bfc8468ca0440
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fca255866b3a2e9c2e650e3894432830a36f20d92033fd6ed73858a1c82afa5671ac4a99cb83b1d4b275a2691e2bd563fbf56568e1b320a9162238b27697d4a6
|
7
|
+
data.tar.gz: 0cd4004bd76edc0200b7e873729b904056c31b46f3849d54b14cf6979d2cf69f1eecbe8727381f90b6af055ae105dc802aedffe147e9ba3e3b631c46da9e5c30
|
data/.yardopts
CHANGED
data/README.md
CHANGED
@@ -16,8 +16,7 @@ for this library, google-cloud-talent, to see the convenience methods for
|
|
16
16
|
constructing client objects. Reference documentation for the client objects
|
17
17
|
themselves can be found in the client library documentation for the versioned
|
18
18
|
client gems:
|
19
|
-
[google-cloud-talent-v4](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest)
|
20
|
-
[google-cloud-talent-v4beta1](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest).
|
19
|
+
[google-cloud-talent-v4](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest).
|
21
20
|
|
22
21
|
See also the [Product Documentation](https://cloud.google.com/solutions/talent-solution)
|
23
22
|
for more usage information.
|
@@ -35,14 +34,6 @@ In order to use this library, you first need to go through the following steps:
|
|
35
34
|
1. [Enable the API.](https://console.cloud.google.com/apis/library/jobs.googleapis.com)
|
36
35
|
1. {file:AUTHENTICATION.md Set up authentication.}
|
37
36
|
|
38
|
-
## Migrating from pre-0.20 versions
|
39
|
-
|
40
|
-
The 0.20 release of the google-cloud-talent client is a significant upgrade
|
41
|
-
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
|
42
|
-
and includes substantial interface changes. Existing code written for earlier
|
43
|
-
versions of this library will likely require updates to use this version.
|
44
|
-
See the {file:MIGRATING.md MIGRATING.md} document for more information.
|
45
|
-
|
46
37
|
## Debug Logging
|
47
38
|
|
48
39
|
This library comes with opt-in Debug Logging that can help you troubleshoot
|
@@ -71,8 +62,7 @@ results in logs appearing alongside your application logs in the
|
|
71
62
|
Debug logging also requires that the versioned clients for this service be
|
72
63
|
sufficiently recent, released after about Dec 10, 2024. If logging is not
|
73
64
|
working, try updating the versioned clients in your bundle or installed gems:
|
74
|
-
[google-cloud-talent-v4](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest)
|
75
|
-
[google-cloud-talent-v4beta1](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4beta1/latest).
|
65
|
+
[google-cloud-talent-v4](https://cloud.google.com/ruby/docs/reference/google-cloud-talent-v4/latest).
|
76
66
|
|
77
67
|
## Supported Ruby Versions
|
78
68
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-02-13 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: google-cloud-core
|
@@ -27,42 +27,16 @@ dependencies:
|
|
27
27
|
name: google-cloud-talent-v4
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- - "
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: '0.12'
|
33
|
-
- - "<"
|
34
|
-
- !ruby/object:Gem::Version
|
35
|
-
version: 2.a
|
36
|
-
type: :runtime
|
37
|
-
prerelease: false
|
38
|
-
version_requirements: !ruby/object:Gem::Requirement
|
39
|
-
requirements:
|
40
|
-
- - ">="
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
version: '0.12'
|
43
|
-
- - "<"
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 2.a
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: google-cloud-talent-v4beta1
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
requirements:
|
50
|
-
- - ">="
|
51
|
-
- !ruby/object:Gem::Version
|
52
|
-
version: '0.10'
|
53
|
-
- - "<"
|
30
|
+
- - "~>"
|
54
31
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
32
|
+
version: '1.3'
|
56
33
|
type: :runtime
|
57
34
|
prerelease: false
|
58
35
|
version_requirements: !ruby/object:Gem::Requirement
|
59
36
|
requirements:
|
60
|
-
- - "
|
61
|
-
- !ruby/object:Gem::Version
|
62
|
-
version: '0.10'
|
63
|
-
- - "<"
|
37
|
+
- - "~>"
|
64
38
|
- !ruby/object:Gem::Version
|
65
|
-
version:
|
39
|
+
version: '1.3'
|
66
40
|
description: Transform your job search and candidate matching capabilities with Cloud
|
67
41
|
Talent Solution, designed to support enterprise talent acquisition technology and
|
68
42
|
evolve with your growing needs. This AI solution includes features such as Job Search
|
@@ -76,7 +50,6 @@ files:
|
|
76
50
|
- ".yardopts"
|
77
51
|
- AUTHENTICATION.md
|
78
52
|
- LICENSE.md
|
79
|
-
- MIGRATING.md
|
80
53
|
- README.md
|
81
54
|
- lib/google-cloud-talent.rb
|
82
55
|
- lib/google/cloud/talent.rb
|
@@ -99,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
72
|
- !ruby/object:Gem::Version
|
100
73
|
version: '0'
|
101
74
|
requirements: []
|
102
|
-
rubygems_version: 3.6.
|
75
|
+
rubygems_version: 3.6.3
|
103
76
|
specification_version: 4
|
104
77
|
summary: API Client library for the Cloud Talent Solution API
|
105
78
|
test_files: []
|
data/MIGRATING.md
DELETED
@@ -1,347 +0,0 @@
|
|
1
|
-
## Migrating to google-cloud-talent 0.20
|
2
|
-
|
3
|
-
The 0.20 release of the google-cloud-talent client is a significant upgrade
|
4
|
-
based on a [next-gen code generator](https://github.com/googleapis/gapic-generator-ruby),
|
5
|
-
and includes substantial interface changes. Existing code written for earlier
|
6
|
-
versions of this library will likely require updates to use this version.
|
7
|
-
This document describes the changes that have been made, and what you need to
|
8
|
-
do to update your usage.
|
9
|
-
|
10
|
-
To summarize:
|
11
|
-
|
12
|
-
* The library has been broken out into two libraries. The new gem
|
13
|
-
`google-cloud-talent-v4beta1` contains the actual client classes for version
|
14
|
-
V4beta1 of the Talent service, and the gem `google-cloud-talent` now
|
15
|
-
simply provides a convenience wrapper. See
|
16
|
-
[Library Structure](#library-structure) for more info.
|
17
|
-
* The library uses a new configuration mechanism giving you closer control
|
18
|
-
over endpoint address, network timeouts, and retry. See
|
19
|
-
[Client Configuration](#client-configuration) for more info. Furthermore,
|
20
|
-
when creating a client object, you can customize its configuration in a
|
21
|
-
block rather than passing arguments to the constructor. See
|
22
|
-
[Creating Clients](#creating-clients) for more info.
|
23
|
-
* Previously, positional arguments were used to indicate required arguments.
|
24
|
-
Now, all method arguments are keyword arguments, with documentation that
|
25
|
-
specifies whether they are required or optional. Additionally, you can pass
|
26
|
-
a proto request object instead of separate arguments. See
|
27
|
-
[Passing Arguments](#passing-arguments) for more info.
|
28
|
-
* Previously, some client classes included class methods for constructing
|
29
|
-
resource paths. These paths are now instance methods on the client objects,
|
30
|
-
and are also available in a separate paths module. See
|
31
|
-
[Resource Path Helpers](#resource-path-helpers) for more info.
|
32
|
-
* Previously, clients reported RPC errors by raising instances of
|
33
|
-
`Google::Gax::GaxError` and its subclasses. Now, RPC exceptions are of type
|
34
|
-
`Google::Cloud::Error` and its subclasses. See
|
35
|
-
[Handling Errors](#handling-errors) for more info.
|
36
|
-
* Some classes have moved into different namespaces. See
|
37
|
-
[Class Namespaces](#class-namespaces) for more info.
|
38
|
-
|
39
|
-
### Library Structure
|
40
|
-
|
41
|
-
Older pre-0.20 releases of the `google-cloud-talent` gem were all-in-one gems
|
42
|
-
that included potentially multiple clients for multiple versions of the
|
43
|
-
Talent service. Factory methods such as `Google::Cloud::Talent::ApplicationService.new`
|
44
|
-
would return you instances of client classes such as
|
45
|
-
`Google::Cloud::Talent::V4beta1::ApplicationServiceClient`. These classes were all defined
|
46
|
-
in the same gem.
|
47
|
-
|
48
|
-
With the 0.20 release, the `google-cloud-talent` gem still provides factory
|
49
|
-
methods for obtaining clients. (The method signatures will have changed. See
|
50
|
-
[Creating Clients](#creating-clients) for details.) However, the actual client
|
51
|
-
classes have been moved into separate gems, one per service version. Currently,
|
52
|
-
Talent has one version, V4beta1. The
|
53
|
-
`Google::Cloud::Talent::V4beta1::ApplicationService::Client` class, along with its
|
54
|
-
helpers and data types, is now part of the `google-cloud-talent-v4beta1` gem.
|
55
|
-
|
56
|
-
For normal usage, you can continue to install the `google-cloud-talent` gem
|
57
|
-
(which will bring in the versioned client gems as dependencies) and continue to
|
58
|
-
use factory methods to create clients. However, you may alternatively choose to
|
59
|
-
install only one of the versioned gems. For example, if you know you will only
|
60
|
-
use `V4beta1` of the service, you can install `google-cloud-talent-v4beta1` by
|
61
|
-
itself, and construct instances of the
|
62
|
-
`Google::Cloud::Talent::V4beta1::ApplicationService::Client` client class directly.
|
63
|
-
|
64
|
-
### Client Configuration
|
65
|
-
|
66
|
-
In older releases, if you wanted to customize performance parameters or
|
67
|
-
low-level behavior of the client (such as credentials, timeouts, or
|
68
|
-
instrumentation), you would pass a variety of keyword arguments to the client
|
69
|
-
constructor. It was also extremely difficult to customize the default settings.
|
70
|
-
|
71
|
-
With the 0.20 release, a configuration interface provides control over these
|
72
|
-
parameters, including defaults for all instances of a client, and settings for
|
73
|
-
each specific client instance. For example, to set default credentials and
|
74
|
-
timeout for all Talent V4beta1 application service clients:
|
75
|
-
|
76
|
-
```
|
77
|
-
Google::Cloud::Talent::V4beta1::ApplicationService::Client.configure do |config|
|
78
|
-
config.credentials = "/path/to/credentials.json"
|
79
|
-
config.timeout = 10.0
|
80
|
-
end
|
81
|
-
```
|
82
|
-
|
83
|
-
Individual RPCs can also be configured independently. For example, to set the
|
84
|
-
timeout for the `list_applications` call:
|
85
|
-
|
86
|
-
```
|
87
|
-
Google::Cloud::Talent::V4beta1::ApplicationService::Client.configure do |config|
|
88
|
-
config.rpcs.list_applications.timeout = 20.0
|
89
|
-
end
|
90
|
-
```
|
91
|
-
|
92
|
-
Defaults for certain configurations can be set for all Talent versions and
|
93
|
-
services globally:
|
94
|
-
|
95
|
-
```
|
96
|
-
Google::Cloud::Talent.configure do |config|
|
97
|
-
config.credentials = "/path/to/credentials.json"
|
98
|
-
config.timeout = 10.0
|
99
|
-
end
|
100
|
-
```
|
101
|
-
|
102
|
-
Finally, you can override the configuration for each client instance. See the
|
103
|
-
next section on [Creating Clients](#creating-clients) for details.
|
104
|
-
|
105
|
-
### Creating Clients
|
106
|
-
|
107
|
-
In older releases, to create a client object, you would use the `new` method
|
108
|
-
of modules under `Google::Cloud::Talent`. For example, you might call
|
109
|
-
`Google::Cloud::Talent::ApplicationService.new`. Keyword arguments were available to
|
110
|
-
select a service version and to configure parameters such as credentials and
|
111
|
-
timeouts.
|
112
|
-
|
113
|
-
With the 0.20 release, use named class methods of `Google::Cloud::Talent` to
|
114
|
-
create a client object. For example, `Google::Cloud::Talent.application_service`.
|
115
|
-
You may select a service version using the `:version` keyword argument.
|
116
|
-
However, other configuration parameters should be set in a configuration block
|
117
|
-
when you create the client.
|
118
|
-
|
119
|
-
Old:
|
120
|
-
```
|
121
|
-
client = Google::Cloud::Talent::ApplicationService.new credentials: "/path/to/credentials.json"
|
122
|
-
```
|
123
|
-
|
124
|
-
New:
|
125
|
-
```
|
126
|
-
client = Google::Cloud::Talent.application_service do |config|
|
127
|
-
config.credentials = "/path/to/credentials.json"
|
128
|
-
end
|
129
|
-
```
|
130
|
-
|
131
|
-
The configuration block is optional. If you do not provide it, or you do not
|
132
|
-
set some configuration parameters, then the default configuration is used. See
|
133
|
-
[Client Configuration](#client-configuration).
|
134
|
-
|
135
|
-
### Passing Arguments
|
136
|
-
|
137
|
-
In older releases, required arguments would be passed as positional method
|
138
|
-
arguments, while most optional arguments would be passed as keyword arguments.
|
139
|
-
|
140
|
-
With the 0.20 release, all RPC arguments are passed as keyword arguments,
|
141
|
-
regardless of whether they are required or optional. For example:
|
142
|
-
|
143
|
-
Old:
|
144
|
-
```
|
145
|
-
client = Google::Cloud::Talent::ApplicationService.new
|
146
|
-
|
147
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
148
|
-
|
149
|
-
# Parent is a positional argument, but page_size is a keyword argument
|
150
|
-
response = client.list_applications parent, page_size: 10
|
151
|
-
```
|
152
|
-
|
153
|
-
New:
|
154
|
-
```
|
155
|
-
client = Google::Cloud::Talent.application_service
|
156
|
-
|
157
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
158
|
-
|
159
|
-
# Parent and page_size are both keyword arguments
|
160
|
-
response = client.list_applications parent: parent, page_size: 10
|
161
|
-
```
|
162
|
-
|
163
|
-
In the 0.20 release, it is also possible to pass a request object, either
|
164
|
-
as a hash or as a protocol buffer.
|
165
|
-
|
166
|
-
New:
|
167
|
-
```
|
168
|
-
client = Google::Cloud::Talent.application_service
|
169
|
-
|
170
|
-
request = Google::Cloud::Talent::V1beta4::ListApplicationsRequest.new(
|
171
|
-
parent: "projects/my-project/tenants/my-tenant/profiles/my-profile",
|
172
|
-
page_size: 10
|
173
|
-
)
|
174
|
-
|
175
|
-
# Pass a request object as a positional argument:
|
176
|
-
response = client.list_applications request
|
177
|
-
```
|
178
|
-
|
179
|
-
Finally, in older releases, to provide call options, you would pass a
|
180
|
-
`Google::Gax::CallOptions` object with the `:options` keyword argument. In the
|
181
|
-
0.20 release, pass call options using a _second set_ of keyword arguments.
|
182
|
-
|
183
|
-
Old:
|
184
|
-
```
|
185
|
-
client = Google::Cloud::Talent::ApplicationService.new
|
186
|
-
|
187
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
188
|
-
|
189
|
-
options = Google::Gax::CallOptions.new timeout: 10.0
|
190
|
-
|
191
|
-
response = client.list_applications parent, page_size: 10, options: options
|
192
|
-
```
|
193
|
-
|
194
|
-
New:
|
195
|
-
```
|
196
|
-
client = Google::Cloud::Talent.application_service
|
197
|
-
|
198
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
199
|
-
|
200
|
-
# Use a hash to wrap the normal call arguments (or pass a request object), and
|
201
|
-
# then add further keyword arguments for the call options.
|
202
|
-
response = client.list_applications(
|
203
|
-
{ parent: parent, page_size: 10 },
|
204
|
-
timeout: 10.0
|
205
|
-
)
|
206
|
-
```
|
207
|
-
|
208
|
-
### Resource Path Helpers
|
209
|
-
|
210
|
-
The client library includes helper methods for generating the resource path
|
211
|
-
strings passed to many calls. These helpers have changed in two ways:
|
212
|
-
|
213
|
-
* In older releases, they are _class_ methods on the client class. In the 0.20
|
214
|
-
release, they are _instance_ methods on the client. They are also available
|
215
|
-
on a separate paths module that you can include elsewhere for convenience.
|
216
|
-
* In older releases, arguments to a resource path helper are passed as
|
217
|
-
_positional_ arguments. In the 0.20 release, they are passed as named _keyword_
|
218
|
-
arguments. Some helpers also support different sets of arguments, each set
|
219
|
-
corresponding to a different type of path.
|
220
|
-
|
221
|
-
Following is an example involving using a resource path helper.
|
222
|
-
|
223
|
-
Old:
|
224
|
-
```
|
225
|
-
client = Google::Cloud::Talent::ApplicationService.new
|
226
|
-
|
227
|
-
# Call the helper on the client class
|
228
|
-
parent = Google::Cloud::Talent::V1beta4::ApplicationServiceClient.profile_path(
|
229
|
-
"my-project", "my-tenant", "my-profile"
|
230
|
-
)
|
231
|
-
|
232
|
-
response = client.list_applications parent, page_size: 10
|
233
|
-
```
|
234
|
-
|
235
|
-
New:
|
236
|
-
```
|
237
|
-
client = Google::Cloud::Talent.application_service
|
238
|
-
|
239
|
-
# Call the helper on the client instance, and use keyword arguments
|
240
|
-
parent = client.profile_path project: "my-project", tenant: "my-tenant",
|
241
|
-
profile: "my-profile"
|
242
|
-
|
243
|
-
response = client.list_applications parent: parent, page_size: 10
|
244
|
-
```
|
245
|
-
|
246
|
-
Because arguments are passed as keyword arguments, some closely related paths
|
247
|
-
have been combined. For example, `job_path` and `job_without_tenant_path` used
|
248
|
-
to be separate helpers, one that took a tenant argument and one that did not.
|
249
|
-
In the 0.20 client, use `job_path` for both, and either pass or omit the
|
250
|
-
`tenant` keyword argument.
|
251
|
-
|
252
|
-
Old:
|
253
|
-
```
|
254
|
-
job1 = Google::Cloud::Talent::V1beta4::ApplicationServiceClient.job_path(
|
255
|
-
"my-project", "my-tenant", "my-job"
|
256
|
-
)
|
257
|
-
job2 = Google::Cloud::Talent::V1beta4::ApplicationServiceClient.job_without_tenant_path(
|
258
|
-
"my-project", "my-job"
|
259
|
-
)
|
260
|
-
```
|
261
|
-
|
262
|
-
New:
|
263
|
-
```
|
264
|
-
client = Google::Cloud::Talent.application_service
|
265
|
-
job1 = client.job_path project: "my-project", tenant: "my-tenant", job: "my-job"
|
266
|
-
job2 = client.job_path project: "my-project", job: "my-job"
|
267
|
-
```
|
268
|
-
|
269
|
-
Finally, in the 0.20 client, you can also use the paths module as a convenience module.
|
270
|
-
|
271
|
-
New:
|
272
|
-
```
|
273
|
-
# Bring the path helper methods into the current class
|
274
|
-
include Google::Cloud::Talent::V1beta4::ApplicationService::Paths
|
275
|
-
|
276
|
-
def foo
|
277
|
-
client = Google::Cloud::Talent.application_service
|
278
|
-
|
279
|
-
# Call the included helper method
|
280
|
-
parent = profile_path project: "my-project", tenant: "my-tenant",
|
281
|
-
profile: "my-profile"
|
282
|
-
|
283
|
-
response = client.list_applications parent: parent, page_size: 10
|
284
|
-
|
285
|
-
# Do something with response...
|
286
|
-
end
|
287
|
-
```
|
288
|
-
|
289
|
-
### Handling Errors
|
290
|
-
|
291
|
-
The client reports standard
|
292
|
-
[gRPC error codes](https://github.com/grpc/grpc/blob/master/doc/statuscodes.md)
|
293
|
-
by raising exceptions. In older releases, these exceptions were located in the
|
294
|
-
`Google::Gax` namespace and were subclasses of the `Google::Gax::GaxError` base
|
295
|
-
exception class, defined in the `google-gax` gem. However, these classes were
|
296
|
-
different from the standard exceptions (subclasses of `Google::Cloud::Error`)
|
297
|
-
thrown by other client libraries such as `google-cloud-storage`.
|
298
|
-
|
299
|
-
The 0.20 client library now uses the `Google::Cloud::Error` exception hierarchy,
|
300
|
-
for consistency across all the Google Cloud client libraries. In general, these
|
301
|
-
exceptions have the same name as their counterparts from older releases, but
|
302
|
-
are located in the `Google::Cloud` namespace rather than the `Google::Gax`
|
303
|
-
namespace.
|
304
|
-
|
305
|
-
Old:
|
306
|
-
```
|
307
|
-
client = Google::Cloud::Talent::ApplicationService.new
|
308
|
-
|
309
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
310
|
-
|
311
|
-
begin
|
312
|
-
response = client.list_applications parent, page_size: 10
|
313
|
-
rescue Google::Gax::Error => e
|
314
|
-
# Handle exceptions that subclass Google::Gax::Error
|
315
|
-
end
|
316
|
-
```
|
317
|
-
|
318
|
-
New:
|
319
|
-
```
|
320
|
-
client = Google::Cloud::Talent.application_service
|
321
|
-
|
322
|
-
parent = "projects/my-project/tenants/my-tenant/profiles/my-profile"
|
323
|
-
|
324
|
-
begin
|
325
|
-
response = client.list_applications parent: parent, page_size: 10
|
326
|
-
rescue Google::Cloud::Error => e
|
327
|
-
# Handle exceptions that subclass Google::Cloud::Error
|
328
|
-
end
|
329
|
-
```
|
330
|
-
|
331
|
-
### Class Namespaces
|
332
|
-
|
333
|
-
In older releases, the client object was of classes with names like:
|
334
|
-
`Google::Cloud::Talent::V1beta4::ApplicationServiceClient`.
|
335
|
-
In the 0.20 release, the client object is of a different class:
|
336
|
-
`Google::Cloud::Talent::V1beta4::ApplicationService::Client`.
|
337
|
-
Note that most users will use the factory methods such as
|
338
|
-
`Google::Cloud::Talent.application_service` to create instances of the client object,
|
339
|
-
so you may not need to reference the actual class directly.
|
340
|
-
See [Creating Clients](#creating-clients).
|
341
|
-
|
342
|
-
In older releases, the credentials object was of class
|
343
|
-
`Google::Cloud::Talent::V1beta4::Credentials`.
|
344
|
-
In the 0.20 release, each service has its own credentials class, e.g.
|
345
|
-
`Google::Cloud::Talent::V1beta4::ApplicationService::Credentials`.
|
346
|
-
Again, most users will not need to reference this class directly.
|
347
|
-
See [Client Configuration](#client-configuration).
|