google-cloud-logging 1.6.4 → 1.6.5
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/logging/v2/config_service_v2_client.rb +8 -2
- data/lib/google/cloud/logging/v2/logging_service_v2_client.rb +8 -2
- data/lib/google/cloud/logging/v2/metrics_service_v2_client.rb +8 -2
- data/lib/google/cloud/logging/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: a1cc7c516362b6eab646e6b363e80f7f6539d7111b9f0128477898de57c0562b
|
|
4
|
+
data.tar.gz: acae4acb352b0757d0867f66c45d23d15901603160e3f79483d4f53eb8a61f77
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7009e843a5d8372e699d829d87881555fe9744beccbf5d2059562c73b1a7e5ce0416be7a62d5f2fc2c88e8145c043bee399db995360d4e6bce1b3d8efe55063e
|
|
7
|
+
data.tar.gz: a90732728e4dd94191dc965b0483d492723b7a19428174956468bdafd0993a21585b4dc93ac7846e2da5ced5aaacf0a472754c8029e47b4e00db7d77df0d8024
|
data/CHANGELOG.md
CHANGED
|
@@ -152,6 +152,10 @@ module Google
|
|
|
152
152
|
# The default timeout, in seconds, for calls made through this client.
|
|
153
153
|
# @param metadata [Hash]
|
|
154
154
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
155
|
+
# @param service_address [String]
|
|
156
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
157
|
+
# @param service_port [Integer]
|
|
158
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
155
159
|
# @param exception_transformer [Proc]
|
|
156
160
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
157
161
|
# custom error handling.
|
|
@@ -161,6 +165,8 @@ module Google
|
|
|
161
165
|
client_config: {},
|
|
162
166
|
timeout: DEFAULT_TIMEOUT,
|
|
163
167
|
metadata: nil,
|
|
168
|
+
service_address: nil,
|
|
169
|
+
service_port: nil,
|
|
164
170
|
exception_transformer: nil,
|
|
165
171
|
lib_name: nil,
|
|
166
172
|
lib_version: ""
|
|
@@ -215,8 +221,8 @@ module Google
|
|
|
215
221
|
end
|
|
216
222
|
|
|
217
223
|
# Allow overriding the service path/port in subclasses.
|
|
218
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
219
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
224
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
225
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
220
226
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
221
227
|
@config_service_v2_stub = Google::Gax::Grpc.create_stub(
|
|
222
228
|
service_path,
|
|
@@ -150,6 +150,10 @@ module Google
|
|
|
150
150
|
# The default timeout, in seconds, for calls made through this client.
|
|
151
151
|
# @param metadata [Hash]
|
|
152
152
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
153
|
+
# @param service_address [String]
|
|
154
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
155
|
+
# @param service_port [Integer]
|
|
156
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
153
157
|
# @param exception_transformer [Proc]
|
|
154
158
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
155
159
|
# custom error handling.
|
|
@@ -159,6 +163,8 @@ module Google
|
|
|
159
163
|
client_config: {},
|
|
160
164
|
timeout: DEFAULT_TIMEOUT,
|
|
161
165
|
metadata: nil,
|
|
166
|
+
service_address: nil,
|
|
167
|
+
service_port: nil,
|
|
162
168
|
exception_transformer: nil,
|
|
163
169
|
lib_name: nil,
|
|
164
170
|
lib_version: ""
|
|
@@ -214,8 +220,8 @@ module Google
|
|
|
214
220
|
end
|
|
215
221
|
|
|
216
222
|
# Allow overriding the service path/port in subclasses.
|
|
217
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
218
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
223
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
224
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
219
225
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
220
226
|
@logging_service_v2_stub = Google::Gax::Grpc.create_stub(
|
|
221
227
|
service_path,
|
|
@@ -130,6 +130,10 @@ module Google
|
|
|
130
130
|
# The default timeout, in seconds, for calls made through this client.
|
|
131
131
|
# @param metadata [Hash]
|
|
132
132
|
# Default metadata to be sent with each request. This can be overridden on a per call basis.
|
|
133
|
+
# @param service_address [String]
|
|
134
|
+
# Override for the service hostname, or `nil` to leave as the default.
|
|
135
|
+
# @param service_port [Integer]
|
|
136
|
+
# Override for the service port, or `nil` to leave as the default.
|
|
133
137
|
# @param exception_transformer [Proc]
|
|
134
138
|
# An optional proc that intercepts any exceptions raised during an API call to inject
|
|
135
139
|
# custom error handling.
|
|
@@ -139,6 +143,8 @@ module Google
|
|
|
139
143
|
client_config: {},
|
|
140
144
|
timeout: DEFAULT_TIMEOUT,
|
|
141
145
|
metadata: nil,
|
|
146
|
+
service_address: nil,
|
|
147
|
+
service_port: nil,
|
|
142
148
|
exception_transformer: nil,
|
|
143
149
|
lib_name: nil,
|
|
144
150
|
lib_version: ""
|
|
@@ -193,8 +199,8 @@ module Google
|
|
|
193
199
|
end
|
|
194
200
|
|
|
195
201
|
# Allow overriding the service path/port in subclasses.
|
|
196
|
-
service_path = self.class::SERVICE_ADDRESS
|
|
197
|
-
port = self.class::DEFAULT_SERVICE_PORT
|
|
202
|
+
service_path = service_address || self.class::SERVICE_ADDRESS
|
|
203
|
+
port = service_port || self.class::DEFAULT_SERVICE_PORT
|
|
198
204
|
interceptors = self.class::GRPC_INTERCEPTORS
|
|
199
205
|
@metrics_service_v2_stub = Google::Gax::Grpc.create_stub(
|
|
200
206
|
service_path,
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-logging
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.6.
|
|
4
|
+
version: 1.6.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Mike Moore
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2019-
|
|
12
|
+
date: 2019-07-09 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: google-cloud-core
|
|
@@ -45,14 +45,14 @@ dependencies:
|
|
|
45
45
|
requirements:
|
|
46
46
|
- - "~>"
|
|
47
47
|
- !ruby/object:Gem::Version
|
|
48
|
-
version: '1.
|
|
48
|
+
version: '1.7'
|
|
49
49
|
type: :runtime
|
|
50
50
|
prerelease: false
|
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
|
52
52
|
requirements:
|
|
53
53
|
- - "~>"
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: '1.
|
|
55
|
+
version: '1.7'
|
|
56
56
|
- !ruby/object:Gem::Dependency
|
|
57
57
|
name: googleapis-common-protos-types
|
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|