google-cloud-talent 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/talent.rb +23 -23
- data/lib/google/cloud/talent/v4beta1.rb +27 -27
- data/lib/google/cloud/talent/v4beta1/application_service_client.rb +82 -42
- data/lib/google/cloud/talent/v4beta1/application_service_client_config.json +9 -9
- data/lib/google/cloud/talent/v4beta1/company_service_client.rb +53 -49
- data/lib/google/cloud/talent/v4beta1/company_service_client_config.json +9 -9
- data/lib/google/cloud/talent/v4beta1/completion_client.rb +5 -1
- data/lib/google/cloud/talent/v4beta1/event_service_client.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/helpers.rb +17 -0
- data/lib/google/cloud/talent/v4beta1/job_service_client.rb +277 -265
- data/lib/google/cloud/talent/v4beta1/job_service_client_config.json +24 -24
- data/lib/google/cloud/talent/v4beta1/profile_service_client.rb +226 -226
- data/lib/google/cloud/talent/v4beta1/profile_service_client_config.json +12 -12
- data/lib/google/cloud/talent/v4beta1/tenant_service_client.rb +41 -41
- data/lib/google/cloud/talent/v4beta1/tenant_service_client_config.json +9 -9
- data/lib/google/cloud/talent/version.rb +1 -1
- metadata +2 -2
@@ -20,33 +20,33 @@
|
|
20
20
|
}
|
21
21
|
},
|
22
22
|
"methods": {
|
23
|
-
"
|
24
|
-
"timeout_millis":
|
23
|
+
"DeleteProfile": {
|
24
|
+
"timeout_millis": 60000,
|
25
25
|
"retry_codes_name": "idempotent",
|
26
26
|
"retry_params_name": "default"
|
27
27
|
},
|
28
|
-
"
|
29
|
-
"timeout_millis":
|
28
|
+
"SearchProfiles": {
|
29
|
+
"timeout_millis": 60000,
|
30
30
|
"retry_codes_name": "non_idempotent",
|
31
31
|
"retry_params_name": "default"
|
32
32
|
},
|
33
|
-
"
|
34
|
-
"timeout_millis":
|
33
|
+
"ListProfiles": {
|
34
|
+
"timeout_millis": 60000,
|
35
35
|
"retry_codes_name": "idempotent",
|
36
36
|
"retry_params_name": "default"
|
37
37
|
},
|
38
|
-
"
|
39
|
-
"timeout_millis":
|
38
|
+
"CreateProfile": {
|
39
|
+
"timeout_millis": 60000,
|
40
40
|
"retry_codes_name": "non_idempotent",
|
41
41
|
"retry_params_name": "default"
|
42
42
|
},
|
43
|
-
"
|
44
|
-
"timeout_millis":
|
43
|
+
"GetProfile": {
|
44
|
+
"timeout_millis": 60000,
|
45
45
|
"retry_codes_name": "idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
},
|
48
|
-
"
|
49
|
-
"timeout_millis":
|
48
|
+
"UpdateProfile": {
|
49
|
+
"timeout_millis": 60000,
|
50
50
|
"retry_codes_name": "non_idempotent",
|
51
51
|
"retry_params_name": "default"
|
52
52
|
}
|
@@ -213,6 +213,14 @@ module Google
|
|
213
213
|
&Google::Cloud::Talent::V4beta1::TenantService::Stub.method(:new)
|
214
214
|
)
|
215
215
|
|
216
|
+
@delete_tenant = Google::Gax.create_api_call(
|
217
|
+
@tenant_service_stub.method(:delete_tenant),
|
218
|
+
defaults["delete_tenant"],
|
219
|
+
exception_transformer: exception_transformer,
|
220
|
+
params_extractor: proc do |request|
|
221
|
+
{'name' => request.name}
|
222
|
+
end
|
223
|
+
)
|
216
224
|
@create_tenant = Google::Gax.create_api_call(
|
217
225
|
@tenant_service_stub.method(:create_tenant),
|
218
226
|
defaults["create_tenant"],
|
@@ -237,14 +245,6 @@ module Google
|
|
237
245
|
{'tenant.name' => request.tenant.name}
|
238
246
|
end
|
239
247
|
)
|
240
|
-
@delete_tenant = Google::Gax.create_api_call(
|
241
|
-
@tenant_service_stub.method(:delete_tenant),
|
242
|
-
defaults["delete_tenant"],
|
243
|
-
exception_transformer: exception_transformer,
|
244
|
-
params_extractor: proc do |request|
|
245
|
-
{'name' => request.name}
|
246
|
-
end
|
247
|
-
)
|
248
248
|
@list_tenants = Google::Gax.create_api_call(
|
249
249
|
@tenant_service_stub.method(:list_tenants),
|
250
250
|
defaults["list_tenants"],
|
@@ -257,6 +257,39 @@ module Google
|
|
257
257
|
|
258
258
|
# Service calls
|
259
259
|
|
260
|
+
# Deletes specified tenant.
|
261
|
+
#
|
262
|
+
# @param name [String]
|
263
|
+
# Required. The resource name of the tenant to be deleted.
|
264
|
+
#
|
265
|
+
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
266
|
+
# "projects/foo/tenants/bar".
|
267
|
+
# @param options [Google::Gax::CallOptions]
|
268
|
+
# Overrides the default settings for this call, e.g, timeout,
|
269
|
+
# retries, etc.
|
270
|
+
# @yield [result, operation] Access the result along with the RPC operation
|
271
|
+
# @yieldparam result []
|
272
|
+
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
273
|
+
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
274
|
+
# @example
|
275
|
+
# require "google/cloud/talent"
|
276
|
+
#
|
277
|
+
# tenant_client = Google::Cloud::Talent::TenantService.new(version: :v4beta1)
|
278
|
+
# formatted_name = Google::Cloud::Talent::V4beta1::TenantServiceClient.tenant_path("[PROJECT]", "[TENANT]")
|
279
|
+
# tenant_client.delete_tenant(formatted_name)
|
280
|
+
|
281
|
+
def delete_tenant \
|
282
|
+
name,
|
283
|
+
options: nil,
|
284
|
+
&block
|
285
|
+
req = {
|
286
|
+
name: name
|
287
|
+
}.delete_if { |_, v| v.nil? }
|
288
|
+
req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::DeleteTenantRequest)
|
289
|
+
@delete_tenant.call(req, options, &block)
|
290
|
+
nil
|
291
|
+
end
|
292
|
+
|
260
293
|
# Creates a new tenant entity.
|
261
294
|
#
|
262
295
|
# @param parent [String]
|
@@ -378,39 +411,6 @@ module Google
|
|
378
411
|
@update_tenant.call(req, options, &block)
|
379
412
|
end
|
380
413
|
|
381
|
-
# Deletes specified tenant.
|
382
|
-
#
|
383
|
-
# @param name [String]
|
384
|
-
# Required. The resource name of the tenant to be deleted.
|
385
|
-
#
|
386
|
-
# The format is "projects/{project_id}/tenants/{tenant_id}", for example,
|
387
|
-
# "projects/foo/tenants/bar".
|
388
|
-
# @param options [Google::Gax::CallOptions]
|
389
|
-
# Overrides the default settings for this call, e.g, timeout,
|
390
|
-
# retries, etc.
|
391
|
-
# @yield [result, operation] Access the result along with the RPC operation
|
392
|
-
# @yieldparam result []
|
393
|
-
# @yieldparam operation [GRPC::ActiveCall::Operation]
|
394
|
-
# @raise [Google::Gax::GaxError] if the RPC is aborted.
|
395
|
-
# @example
|
396
|
-
# require "google/cloud/talent"
|
397
|
-
#
|
398
|
-
# tenant_client = Google::Cloud::Talent::TenantService.new(version: :v4beta1)
|
399
|
-
# formatted_name = Google::Cloud::Talent::V4beta1::TenantServiceClient.tenant_path("[PROJECT]", "[TENANT]")
|
400
|
-
# tenant_client.delete_tenant(formatted_name)
|
401
|
-
|
402
|
-
def delete_tenant \
|
403
|
-
name,
|
404
|
-
options: nil,
|
405
|
-
&block
|
406
|
-
req = {
|
407
|
-
name: name
|
408
|
-
}.delete_if { |_, v| v.nil? }
|
409
|
-
req = Google::Gax::to_proto(req, Google::Cloud::Talent::V4beta1::DeleteTenantRequest)
|
410
|
-
@delete_tenant.call(req, options, &block)
|
411
|
-
nil
|
412
|
-
end
|
413
|
-
|
414
414
|
# Lists all tenants associated with the project.
|
415
415
|
#
|
416
416
|
# @param parent [String]
|
@@ -20,28 +20,28 @@
|
|
20
20
|
}
|
21
21
|
},
|
22
22
|
"methods": {
|
23
|
+
"DeleteTenant": {
|
24
|
+
"timeout_millis": 60000,
|
25
|
+
"retry_codes_name": "idempotent",
|
26
|
+
"retry_params_name": "default"
|
27
|
+
},
|
23
28
|
"CreateTenant": {
|
24
|
-
"timeout_millis":
|
29
|
+
"timeout_millis": 60000,
|
25
30
|
"retry_codes_name": "non_idempotent",
|
26
31
|
"retry_params_name": "default"
|
27
32
|
},
|
28
33
|
"GetTenant": {
|
29
|
-
"timeout_millis":
|
34
|
+
"timeout_millis": 60000,
|
30
35
|
"retry_codes_name": "idempotent",
|
31
36
|
"retry_params_name": "default"
|
32
37
|
},
|
33
38
|
"UpdateTenant": {
|
34
|
-
"timeout_millis":
|
39
|
+
"timeout_millis": 60000,
|
35
40
|
"retry_codes_name": "non_idempotent",
|
36
41
|
"retry_params_name": "default"
|
37
42
|
},
|
38
|
-
"DeleteTenant": {
|
39
|
-
"timeout_millis": 30000,
|
40
|
-
"retry_codes_name": "idempotent",
|
41
|
-
"retry_params_name": "default"
|
42
|
-
},
|
43
43
|
"ListTenants": {
|
44
|
-
"timeout_millis":
|
44
|
+
"timeout_millis": 60000,
|
45
45
|
"retry_codes_name": "idempotent",
|
46
46
|
"retry_params_name": "default"
|
47
47
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-gax
|