google-cloud-talent-v4beta1 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.md +188 -190
- data/README.md +2 -2
- data/lib/google/cloud/talent/v4beta1/application_service/client.rb +18 -18
- data/lib/google/cloud/talent/v4beta1/application_service/paths.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/company_service/client.rb +18 -18
- data/lib/google/cloud/talent/v4beta1/company_service/paths.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/completion/client.rb +8 -8
- data/lib/google/cloud/talent/v4beta1/completion/paths.rb +1 -1
- data/lib/google/cloud/talent/v4beta1/event_service/client.rb +5 -5
- data/lib/google/cloud/talent/v4beta1/job_service/client.rb +23 -23
- data/lib/google/cloud/talent/v4beta1/job_service/operations.rb +7 -7
- data/lib/google/cloud/talent/v4beta1/job_service/paths.rb +2 -2
- data/lib/google/cloud/talent/v4beta1/profile_service/client.rb +19 -19
- data/lib/google/cloud/talent/v4beta1/tenant_service/client.rb +18 -18
- data/lib/google/cloud/talent/v4beta1/version.rb +1 -1
- metadata +6 -6
@@ -60,7 +60,7 @@ module Google
|
|
60
60
|
parent_config = while namespace.any?
|
61
61
|
parent_name = namespace.join "::"
|
62
62
|
parent_const = const_get parent_name
|
63
|
-
break parent_const.configure if parent_const
|
63
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
64
64
|
namespace.pop
|
65
65
|
end
|
66
66
|
default_config = Client::Configuration.new parent_config
|
@@ -70,9 +70,9 @@ module Google
|
|
70
70
|
default_config.rpcs.get_tenant.timeout = 30.0
|
71
71
|
default_config.rpcs.get_tenant.retry_policy = {
|
72
72
|
initial_delay: 0.1,
|
73
|
-
|
74
|
-
|
75
|
-
|
73
|
+
max_delay: 60.0,
|
74
|
+
multiplier: 1.3,
|
75
|
+
retry_codes: [4, 14]
|
76
76
|
}
|
77
77
|
|
78
78
|
default_config.rpcs.update_tenant.timeout = 30.0
|
@@ -80,17 +80,17 @@ module Google
|
|
80
80
|
default_config.rpcs.delete_tenant.timeout = 30.0
|
81
81
|
default_config.rpcs.delete_tenant.retry_policy = {
|
82
82
|
initial_delay: 0.1,
|
83
|
-
|
84
|
-
|
85
|
-
|
83
|
+
max_delay: 60.0,
|
84
|
+
multiplier: 1.3,
|
85
|
+
retry_codes: [4, 14]
|
86
86
|
}
|
87
87
|
|
88
88
|
default_config.rpcs.list_tenants.timeout = 30.0
|
89
89
|
default_config.rpcs.list_tenants.retry_policy = {
|
90
90
|
initial_delay: 0.1,
|
91
|
-
|
92
|
-
|
93
|
-
|
91
|
+
max_delay: 60.0,
|
92
|
+
multiplier: 1.3,
|
93
|
+
retry_codes: [4, 14]
|
94
94
|
}
|
95
95
|
|
96
96
|
default_config
|
@@ -159,7 +159,7 @@ module Google
|
|
159
159
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
160
160
|
@config.endpoint == Client.configure.endpoint &&
|
161
161
|
!@config.endpoint.split(".").first.include?("-")
|
162
|
-
credentials ||= Credentials.default scope:
|
162
|
+
credentials ||= Credentials.default scope: @config.scope,
|
163
163
|
enable_self_signed_jwt: enable_self_signed_jwt
|
164
164
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
165
165
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -628,7 +628,7 @@ module Google
|
|
628
628
|
config_attr :scope, nil, ::String, ::Array, nil
|
629
629
|
config_attr :lib_name, nil, ::String, nil
|
630
630
|
config_attr :lib_version, nil, ::String, nil
|
631
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
631
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
632
632
|
config_attr :interceptors, nil, ::Array, nil
|
633
633
|
config_attr :timeout, nil, ::Numeric, nil
|
634
634
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -649,7 +649,7 @@ module Google
|
|
649
649
|
def rpcs
|
650
650
|
@rpcs ||= begin
|
651
651
|
parent_rpcs = nil
|
652
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
652
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
653
653
|
Rpcs.new parent_rpcs
|
654
654
|
end
|
655
655
|
end
|
@@ -700,15 +700,15 @@ module Google
|
|
700
700
|
|
701
701
|
# @private
|
702
702
|
def initialize parent_rpcs = nil
|
703
|
-
create_tenant_config = parent_rpcs
|
703
|
+
create_tenant_config = parent_rpcs.create_tenant if parent_rpcs.respond_to? :create_tenant
|
704
704
|
@create_tenant = ::Gapic::Config::Method.new create_tenant_config
|
705
|
-
get_tenant_config = parent_rpcs
|
705
|
+
get_tenant_config = parent_rpcs.get_tenant if parent_rpcs.respond_to? :get_tenant
|
706
706
|
@get_tenant = ::Gapic::Config::Method.new get_tenant_config
|
707
|
-
update_tenant_config = parent_rpcs
|
707
|
+
update_tenant_config = parent_rpcs.update_tenant if parent_rpcs.respond_to? :update_tenant
|
708
708
|
@update_tenant = ::Gapic::Config::Method.new update_tenant_config
|
709
|
-
delete_tenant_config = parent_rpcs
|
709
|
+
delete_tenant_config = parent_rpcs.delete_tenant if parent_rpcs.respond_to? :delete_tenant
|
710
710
|
@delete_tenant = ::Gapic::Config::Method.new delete_tenant_config
|
711
|
-
list_tenants_config = parent_rpcs
|
711
|
+
list_tenants_config = parent_rpcs.list_tenants if parent_rpcs.respond_to? :list_tenants
|
712
712
|
@list_tenants = ::Gapic::Config::Method.new list_tenants_config
|
713
713
|
|
714
714
|
yield self if block_given?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-talent-v4beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.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: 2021-
|
11
|
+
date: 2021-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.25.1
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.25.1
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -266,14 +266,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
266
266
|
requirements:
|
267
267
|
- - ">="
|
268
268
|
- !ruby/object:Gem::Version
|
269
|
-
version: '2.
|
269
|
+
version: '2.5'
|
270
270
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
271
271
|
requirements:
|
272
272
|
- - ">="
|
273
273
|
- !ruby/object:Gem::Version
|
274
274
|
version: '0'
|
275
275
|
requirements: []
|
276
|
-
rubygems_version: 3.2.
|
276
|
+
rubygems_version: 3.2.13
|
277
277
|
signing_key:
|
278
278
|
specification_version: 4
|
279
279
|
summary: API Client library for the Cloud Talent Solution V4beta1 API
|