google-cloud-binary_authorization-v1beta1 0.2.1 → 0.3.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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d454cd261d7570e606e1de6fd61b41670a267135e6aa0bfc737a77baefd55875
|
4
|
+
data.tar.gz: ffb83fef0c39bcd830559312d5cc6d161ebab3eef9561a01607e685782a824e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52aed078305448ae68a6f9f33425233d04d60d886ab6c2a1ae44eafb9bffe22546a31e42d18416a04df1cce155e1557c3205824eb6bcfaa09e77be4fcb1dc071
|
7
|
+
data.tar.gz: c4d470f4b7c30d96b2a10f4f26ba7880f7afe4e370d16ccbf8cec308753557d83ddac5661329c6e269255b0e40a0c395af1b62005cb2ffd4907ff618ea5b536b
|
data/README.md
CHANGED
@@ -71,11 +71,11 @@ end
|
|
71
71
|
|
72
72
|
## Supported Ruby Versions
|
73
73
|
|
74
|
-
This library is supported on Ruby 2.
|
74
|
+
This library is supported on Ruby 2.5+.
|
75
75
|
|
76
76
|
Google provides official support for Ruby versions that are actively supported
|
77
77
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
78
|
-
in security maintenance, and not end of life. Currently, this means Ruby 2.
|
78
|
+
in security maintenance, and not end of life. Currently, this means Ruby 2.5
|
79
79
|
and later. Older versions of Ruby _may_ still work, but are unsupported and not
|
80
80
|
recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details
|
81
81
|
about the Ruby support schedule.
|
@@ -66,7 +66,7 @@ module Google
|
|
66
66
|
parent_config = while namespace.any?
|
67
67
|
parent_name = namespace.join "::"
|
68
68
|
parent_const = const_get parent_name
|
69
|
-
break parent_const.configure if parent_const
|
69
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
70
70
|
namespace.pop
|
71
71
|
end
|
72
72
|
default_config = Client::Configuration.new parent_config
|
@@ -74,17 +74,17 @@ module Google
|
|
74
74
|
default_config.rpcs.get_policy.timeout = 600.0
|
75
75
|
default_config.rpcs.get_policy.retry_policy = {
|
76
76
|
initial_delay: 0.1,
|
77
|
-
|
78
|
-
|
79
|
-
|
77
|
+
max_delay: 60.0,
|
78
|
+
multiplier: 1.3,
|
79
|
+
retry_codes: [4, 14]
|
80
80
|
}
|
81
81
|
|
82
82
|
default_config.rpcs.update_policy.timeout = 600.0
|
83
83
|
default_config.rpcs.update_policy.retry_policy = {
|
84
84
|
initial_delay: 0.1,
|
85
|
-
|
86
|
-
|
87
|
-
|
85
|
+
max_delay: 60.0,
|
86
|
+
multiplier: 1.3,
|
87
|
+
retry_codes: [4, 14]
|
88
88
|
}
|
89
89
|
|
90
90
|
default_config.rpcs.create_attestor.timeout = 600.0
|
@@ -92,33 +92,33 @@ module Google
|
|
92
92
|
default_config.rpcs.get_attestor.timeout = 600.0
|
93
93
|
default_config.rpcs.get_attestor.retry_policy = {
|
94
94
|
initial_delay: 0.1,
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
max_delay: 60.0,
|
96
|
+
multiplier: 1.3,
|
97
|
+
retry_codes: [4, 14]
|
98
98
|
}
|
99
99
|
|
100
100
|
default_config.rpcs.update_attestor.timeout = 600.0
|
101
101
|
default_config.rpcs.update_attestor.retry_policy = {
|
102
102
|
initial_delay: 0.1,
|
103
|
-
|
104
|
-
|
105
|
-
|
103
|
+
max_delay: 60.0,
|
104
|
+
multiplier: 1.3,
|
105
|
+
retry_codes: [4, 14]
|
106
106
|
}
|
107
107
|
|
108
108
|
default_config.rpcs.list_attestors.timeout = 600.0
|
109
109
|
default_config.rpcs.list_attestors.retry_policy = {
|
110
110
|
initial_delay: 0.1,
|
111
|
-
|
112
|
-
|
113
|
-
|
111
|
+
max_delay: 60.0,
|
112
|
+
multiplier: 1.3,
|
113
|
+
retry_codes: [4, 14]
|
114
114
|
}
|
115
115
|
|
116
116
|
default_config.rpcs.delete_attestor.timeout = 600.0
|
117
117
|
default_config.rpcs.delete_attestor.retry_policy = {
|
118
118
|
initial_delay: 0.1,
|
119
|
-
|
120
|
-
|
121
|
-
|
119
|
+
max_delay: 60.0,
|
120
|
+
multiplier: 1.3,
|
121
|
+
retry_codes: [4, 14]
|
122
122
|
}
|
123
123
|
|
124
124
|
default_config
|
@@ -187,7 +187,7 @@ module Google
|
|
187
187
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
188
188
|
@config.endpoint == Client.configure.endpoint &&
|
189
189
|
!@config.endpoint.split(".").first.include?("-")
|
190
|
-
credentials ||= Credentials.default scope:
|
190
|
+
credentials ||= Credentials.default scope: @config.scope,
|
191
191
|
enable_self_signed_jwt: enable_self_signed_jwt
|
192
192
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
193
193
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -799,7 +799,7 @@ module Google
|
|
799
799
|
config_attr :scope, nil, ::String, ::Array, nil
|
800
800
|
config_attr :lib_name, nil, ::String, nil
|
801
801
|
config_attr :lib_version, nil, ::String, nil
|
802
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
802
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
803
803
|
config_attr :interceptors, nil, ::Array, nil
|
804
804
|
config_attr :timeout, nil, ::Numeric, nil
|
805
805
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -820,7 +820,7 @@ module Google
|
|
820
820
|
def rpcs
|
821
821
|
@rpcs ||= begin
|
822
822
|
parent_rpcs = nil
|
823
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
823
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
824
824
|
Rpcs.new parent_rpcs
|
825
825
|
end
|
826
826
|
end
|
@@ -881,19 +881,19 @@ module Google
|
|
881
881
|
|
882
882
|
# @private
|
883
883
|
def initialize parent_rpcs = nil
|
884
|
-
get_policy_config = parent_rpcs
|
884
|
+
get_policy_config = parent_rpcs.get_policy if parent_rpcs.respond_to? :get_policy
|
885
885
|
@get_policy = ::Gapic::Config::Method.new get_policy_config
|
886
|
-
update_policy_config = parent_rpcs
|
886
|
+
update_policy_config = parent_rpcs.update_policy if parent_rpcs.respond_to? :update_policy
|
887
887
|
@update_policy = ::Gapic::Config::Method.new update_policy_config
|
888
|
-
create_attestor_config = parent_rpcs
|
888
|
+
create_attestor_config = parent_rpcs.create_attestor if parent_rpcs.respond_to? :create_attestor
|
889
889
|
@create_attestor = ::Gapic::Config::Method.new create_attestor_config
|
890
|
-
get_attestor_config = parent_rpcs
|
890
|
+
get_attestor_config = parent_rpcs.get_attestor if parent_rpcs.respond_to? :get_attestor
|
891
891
|
@get_attestor = ::Gapic::Config::Method.new get_attestor_config
|
892
|
-
update_attestor_config = parent_rpcs
|
892
|
+
update_attestor_config = parent_rpcs.update_attestor if parent_rpcs.respond_to? :update_attestor
|
893
893
|
@update_attestor = ::Gapic::Config::Method.new update_attestor_config
|
894
|
-
list_attestors_config = parent_rpcs
|
894
|
+
list_attestors_config = parent_rpcs.list_attestors if parent_rpcs.respond_to? :list_attestors
|
895
895
|
@list_attestors = ::Gapic::Config::Method.new list_attestors_config
|
896
|
-
delete_attestor_config = parent_rpcs
|
896
|
+
delete_attestor_config = parent_rpcs.delete_attestor if parent_rpcs.respond_to? :delete_attestor
|
897
897
|
@delete_attestor = ::Gapic::Config::Method.new delete_attestor_config
|
898
898
|
|
899
899
|
yield self if block_given?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-binary_authorization-v1beta1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.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
|
@@ -194,14 +194,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
194
194
|
requirements:
|
195
195
|
- - ">="
|
196
196
|
- !ruby/object:Gem::Version
|
197
|
-
version: '2.
|
197
|
+
version: '2.5'
|
198
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
199
199
|
requirements:
|
200
200
|
- - ">="
|
201
201
|
- !ruby/object:Gem::Version
|
202
202
|
version: '0'
|
203
203
|
requirements: []
|
204
|
-
rubygems_version: 3.2.
|
204
|
+
rubygems_version: 3.2.13
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: API Client library for the Binary Authorization V1beta1 API
|