google-cloud-error_reporting-v1beta1 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service/client.rb +9 -9
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/client.rb +10 -10
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/client.rb +5 -5
- data/lib/google/cloud/error_reporting/v1beta1/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bf20e818f060dda9ece1aefe3e5d9f858771e9f0795b7e7158d52dc413e4b2dd
|
4
|
+
data.tar.gz: 5c9b2eb19cba7c2e00c81753e12ae7f9f3ad8008180e4b80e9ce628f3e0abbf9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0b9107106ddf27152edd37846b2c60369e154bdc5b6ef43da90d5147cb3bad33eb88880539d9b0e17b05e66b3bb7dbe00b0a40b6e7757a15b9887559e4a4f6e3
|
7
|
+
data.tar.gz: bd671f70a105bd2695b70096501bec7eae8fd5a89b4672b366b6154f706fdccf16c11e9ae7fdd327e358bb1403c9c5731d302623e494a93873f89f58fba1c6e4
|
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.
|
@@ -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
|
@@ -68,9 +68,9 @@ module Google
|
|
68
68
|
default_config.timeout = 600.0
|
69
69
|
default_config.retry_policy = {
|
70
70
|
initial_delay: 0.1,
|
71
|
-
|
72
|
-
|
73
|
-
|
71
|
+
max_delay: 60.0,
|
72
|
+
multiplier: 1.3,
|
73
|
+
retry_codes: [14, 4]
|
74
74
|
}
|
75
75
|
|
76
76
|
default_config
|
@@ -139,7 +139,7 @@ module Google
|
|
139
139
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
140
140
|
@config.endpoint == Client.configure.endpoint &&
|
141
141
|
!@config.endpoint.split(".").first.include?("-")
|
142
|
-
credentials ||= Credentials.default scope:
|
142
|
+
credentials ||= Credentials.default scope: @config.scope,
|
143
143
|
enable_self_signed_jwt: enable_self_signed_jwt
|
144
144
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
145
145
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -388,7 +388,7 @@ module Google
|
|
388
388
|
config_attr :scope, nil, ::String, ::Array, nil
|
389
389
|
config_attr :lib_name, nil, ::String, nil
|
390
390
|
config_attr :lib_version, nil, ::String, nil
|
391
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
391
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
392
392
|
config_attr :interceptors, nil, ::Array, nil
|
393
393
|
config_attr :timeout, nil, ::Numeric, nil
|
394
394
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -409,7 +409,7 @@ module Google
|
|
409
409
|
def rpcs
|
410
410
|
@rpcs ||= begin
|
411
411
|
parent_rpcs = nil
|
412
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
412
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
413
413
|
Rpcs.new parent_rpcs
|
414
414
|
end
|
415
415
|
end
|
@@ -445,9 +445,9 @@ module Google
|
|
445
445
|
|
446
446
|
# @private
|
447
447
|
def initialize parent_rpcs = nil
|
448
|
-
get_group_config = parent_rpcs
|
448
|
+
get_group_config = parent_rpcs.get_group if parent_rpcs.respond_to? :get_group
|
449
449
|
@get_group = ::Gapic::Config::Method.new get_group_config
|
450
|
-
update_group_config = parent_rpcs
|
450
|
+
update_group_config = parent_rpcs.update_group if parent_rpcs.respond_to? :update_group
|
451
451
|
@update_group = ::Gapic::Config::Method.new update_group_config
|
452
452
|
|
453
453
|
yield self if block_given?
|
@@ -61,7 +61,7 @@ module Google
|
|
61
61
|
parent_config = while namespace.any?
|
62
62
|
parent_name = namespace.join "::"
|
63
63
|
parent_const = const_get parent_name
|
64
|
-
break parent_const.configure if parent_const
|
64
|
+
break parent_const.configure if parent_const.respond_to? :configure
|
65
65
|
namespace.pop
|
66
66
|
end
|
67
67
|
default_config = Client::Configuration.new parent_config
|
@@ -69,9 +69,9 @@ module Google
|
|
69
69
|
default_config.timeout = 600.0
|
70
70
|
default_config.retry_policy = {
|
71
71
|
initial_delay: 0.1,
|
72
|
-
|
73
|
-
|
74
|
-
|
72
|
+
max_delay: 60.0,
|
73
|
+
multiplier: 1.3,
|
74
|
+
retry_codes: [14, 4]
|
75
75
|
}
|
76
76
|
|
77
77
|
default_config
|
@@ -140,7 +140,7 @@ module Google
|
|
140
140
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
141
141
|
@config.endpoint == Client.configure.endpoint &&
|
142
142
|
!@config.endpoint.split(".").first.include?("-")
|
143
|
-
credentials ||= Credentials.default scope:
|
143
|
+
credentials ||= Credentials.default scope: @config.scope,
|
144
144
|
enable_self_signed_jwt: enable_self_signed_jwt
|
145
145
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
146
146
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -514,7 +514,7 @@ module Google
|
|
514
514
|
config_attr :scope, nil, ::String, ::Array, nil
|
515
515
|
config_attr :lib_name, nil, ::String, nil
|
516
516
|
config_attr :lib_version, nil, ::String, nil
|
517
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
517
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
518
518
|
config_attr :interceptors, nil, ::Array, nil
|
519
519
|
config_attr :timeout, nil, ::Numeric, nil
|
520
520
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -535,7 +535,7 @@ module Google
|
|
535
535
|
def rpcs
|
536
536
|
@rpcs ||= begin
|
537
537
|
parent_rpcs = nil
|
538
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
538
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
539
539
|
Rpcs.new parent_rpcs
|
540
540
|
end
|
541
541
|
end
|
@@ -576,11 +576,11 @@ module Google
|
|
576
576
|
|
577
577
|
# @private
|
578
578
|
def initialize parent_rpcs = nil
|
579
|
-
list_group_stats_config = parent_rpcs
|
579
|
+
list_group_stats_config = parent_rpcs.list_group_stats if parent_rpcs.respond_to? :list_group_stats
|
580
580
|
@list_group_stats = ::Gapic::Config::Method.new list_group_stats_config
|
581
|
-
list_events_config = parent_rpcs
|
581
|
+
list_events_config = parent_rpcs.list_events if parent_rpcs.respond_to? :list_events
|
582
582
|
@list_events = ::Gapic::Config::Method.new list_events_config
|
583
|
-
delete_events_config = parent_rpcs
|
583
|
+
delete_events_config = parent_rpcs.delete_events if parent_rpcs.respond_to? :delete_events
|
584
584
|
@delete_events = ::Gapic::Config::Method.new delete_events_config
|
585
585
|
|
586
586
|
yield self if block_given?
|
@@ -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
|
@@ -133,7 +133,7 @@ module Google
|
|
133
133
|
enable_self_signed_jwt = @config.scope == Client.configure.scope &&
|
134
134
|
@config.endpoint == Client.configure.endpoint &&
|
135
135
|
!@config.endpoint.split(".").first.include?("-")
|
136
|
-
credentials ||= Credentials.default scope:
|
136
|
+
credentials ||= Credentials.default scope: @config.scope,
|
137
137
|
enable_self_signed_jwt: enable_self_signed_jwt
|
138
138
|
if credentials.is_a?(String) || credentials.is_a?(Hash)
|
139
139
|
credentials = Credentials.new credentials, scope: @config.scope
|
@@ -333,7 +333,7 @@ module Google
|
|
333
333
|
config_attr :scope, nil, ::String, ::Array, nil
|
334
334
|
config_attr :lib_name, nil, ::String, nil
|
335
335
|
config_attr :lib_version, nil, ::String, nil
|
336
|
-
config_attr(:channel_args, { "grpc.service_config_disable_resolution"=>1 }, ::Hash, nil)
|
336
|
+
config_attr(:channel_args, { "grpc.service_config_disable_resolution" => 1 }, ::Hash, nil)
|
337
337
|
config_attr :interceptors, nil, ::Array, nil
|
338
338
|
config_attr :timeout, nil, ::Numeric, nil
|
339
339
|
config_attr :metadata, nil, ::Hash, nil
|
@@ -354,7 +354,7 @@ module Google
|
|
354
354
|
def rpcs
|
355
355
|
@rpcs ||= begin
|
356
356
|
parent_rpcs = nil
|
357
|
-
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config
|
357
|
+
parent_rpcs = @parent_config.rpcs if defined?(@parent_config) && @parent_config.respond_to?(:rpcs)
|
358
358
|
Rpcs.new parent_rpcs
|
359
359
|
end
|
360
360
|
end
|
@@ -385,7 +385,7 @@ module Google
|
|
385
385
|
|
386
386
|
# @private
|
387
387
|
def initialize parent_rpcs = nil
|
388
|
-
report_error_event_config = parent_rpcs
|
388
|
+
report_error_event_config = parent_rpcs.report_error_event if parent_rpcs.respond_to? :report_error_event
|
389
389
|
@report_error_event = ::Gapic::Config::Method.new report_error_event_config
|
390
390
|
|
391
391
|
yield self if block_given?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-error_reporting-v1beta1
|
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
|
@@ -207,14 +207,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
207
207
|
requirements:
|
208
208
|
- - ">="
|
209
209
|
- !ruby/object:Gem::Version
|
210
|
-
version: '2.
|
210
|
+
version: '2.5'
|
211
211
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
212
|
requirements:
|
213
213
|
- - ">="
|
214
214
|
- !ruby/object:Gem::Version
|
215
215
|
version: '0'
|
216
216
|
requirements: []
|
217
|
-
rubygems_version: 3.2.
|
217
|
+
rubygems_version: 3.2.13
|
218
218
|
signing_key:
|
219
219
|
specification_version: 4
|
220
220
|
summary: API Client library for the Cloud Error Reporting V1beta1 API
|