google-cloud-error_reporting 0.31.5 → 0.31.6
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/CHANGELOG.md +4 -0
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service_client.rb +8 -2
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service_client.rb +8 -2
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service_client.rb +8 -2
- data/lib/google/cloud/error_reporting/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d5084668828ea4b8f521f068491eed31abc837ec9f06ad8dd8da47650f44111
|
|
4
|
+
data.tar.gz: 01d5cfad4e0ab19968ddc29f660f6427c2cb8a8fc46d2f012f35f4e0ffb2cd3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a491f93c8b64714bb0f361f1d261038a645b36001fbc6ec2a5a073358fd2c344e796b8a77a8db995a15df5e383e2eadf63fcf8b125f0734c319bd0a28698502
|
|
7
|
+
data.tar.gz: e7545831b190b56de3d7d07f83ccfb9c4fb6a4a905714ffe7e75330216e28c3418ccf8c18a5e275daa15bacd6b8f0d7321babf2b9f72092f44594b8dd530c1c5
|
data/CHANGELOG.md
CHANGED
|
@@ -102,6 +102,10 @@ module Google
|
|
|
102
102
|
# The default timeout, in seconds, for calls made through this client.
|
|
103
103
|
# @param metadata [Hash]
|
|
104
104
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
105
|
+
# @param service_address [String]
|
|
106
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
107
|
+
# @param service_port [Integer]
|
|
108
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
105
109
|
# @param exception_transformer [Proc]
|
|
106
110
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
107
111
|
# custom error handling.
|
|
@@ -111,6 +115,8 @@ module Google
|
|
|
111
115
|
client_config: {},
|
|
112
116
|
timeout: DEFAULT_TIMEOUT,
|
|
113
117
|
metadata: nil,
|
|
118
|
+
service_address: nil,
|
|
119
|
+
service_port: nil,
|
|
114
120
|
exception_transformer: nil,
|
|
115
121
|
lib_name: nil,
|
|
116
122
|
lib_version: ""
|
|
@@ -164,8 +170,8 @@ module Google
|
|
|
164
170
|
end
|
|
165
171
|
|
|
166
172
|
# Allow overriding the service path/port in subclasses.
|
|
167
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
168
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
173
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
174
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
169
175
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
170
176
|
@error_group_service_stub = Google::Gax::Grpc.create_stub(
|
|
171
177
|
service_path,
|
|
@@ -114,6 +114,10 @@ module Google
|
|
|
114
114
|
# The default timeout, in seconds, for calls made through this client.
|
|
115
115
|
# @param metadata [Hash]
|
|
116
116
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
117
|
+
# @param service_address [String]
|
|
118
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
119
|
+
# @param service_port [Integer]
|
|
120
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
117
121
|
# @param exception_transformer [Proc]
|
|
118
122
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
119
123
|
# custom error handling.
|
|
@@ -123,6 +127,8 @@ module Google
|
|
|
123
127
|
client_config: {},
|
|
124
128
|
timeout: DEFAULT_TIMEOUT,
|
|
125
129
|
metadata: nil,
|
|
130
|
+
service_address: nil,
|
|
131
|
+
service_port: nil,
|
|
126
132
|
exception_transformer: nil,
|
|
127
133
|
lib_name: nil,
|
|
128
134
|
lib_version: ""
|
|
@@ -177,8 +183,8 @@ module Google
|
|
|
177
183
|
end
|
|
178
184
|
|
|
179
185
|
# Allow overriding the service path/port in subclasses.
|
|
180
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
181
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
186
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
187
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
182
188
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
183
189
|
@error_stats_service_stub = Google::Gax::Grpc.create_stub(
|
|
184
190
|
service_path,
|
|
@@ -100,6 +100,10 @@ module Google
|
|
|
100
100
|
# The default timeout, in seconds, for calls made through this client.
|
|
101
101
|
# @param metadata [Hash]
|
|
102
102
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
103
|
+
# @param service_address [String]
|
|
104
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
105
|
+
# @param service_port [Integer]
|
|
106
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
103
107
|
# @param exception_transformer [Proc]
|
|
104
108
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
105
109
|
# custom error handling.
|
|
@@ -109,6 +113,8 @@ module Google
|
|
|
109
113
|
client_config: {},
|
|
110
114
|
timeout: DEFAULT_TIMEOUT,
|
|
111
115
|
metadata: nil,
|
|
116
|
+
service_address: nil,
|
|
117
|
+
service_port: nil,
|
|
112
118
|
exception_transformer: nil,
|
|
113
119
|
lib_name: nil,
|
|
114
120
|
lib_version: ""
|
|
@@ -162,8 +168,8 @@ module Google
|
|
|
162
168
|
end
|
|
163
169
|
|
|
164
170
|
# Allow overriding the service path/port in subclasses.
|
|
165
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
166
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
171
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
172
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
167
173
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
168
174
|
@report_errors_service_stub = Google::Gax::Grpc.create_stub(
|
|
169
175
|
service_path,
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-error_reporting
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.
|
|
4
|
+
version: 0.31.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google Inc
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-
|
|
11
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: google-cloud-core
|
|
@@ -44,14 +44,14 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '1.
|
|
47
|
+
version: '1.7'
|
|
48
48
|
type: :runtime
|
|
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.7'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: concurrent-ruby
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|