google-cloud-error_reporting-v1beta1 0.4.2 → 0.4.3
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/lib/google/cloud/error_reporting/v1beta1/error_group_service/client.rb +35 -38
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/client.rb +38 -39
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/client.rb +32 -37
- data/lib/google/cloud/error_reporting/v1beta1/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: e0bfea416e014db2193aef7335f6c57ea18b76b5fe6bd17f4400af66bc9d515a
|
4
|
+
data.tar.gz: bbf345ce23074c4c14008c085e388bb57fbccb814a6efce937fe35af1ab0a32a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca7a9b56e9b714dd54c7411ab04638656d19b868d8dcaad470c68e6f757cc24a476447677cb28d8d4f356691bf4dccb26dc7ae631f0c12f956a25932e03e3029
|
7
|
+
data.tar.gz: a45acf8f093aef70a40dc3ed6fdcb99919fa9335ac74c2849b191669913400fa5b06b2a2895c89ff409d56ab17f7d70b4ad18d83274b645798ab853b059aae72
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all ErrorGroupService clients
|
47
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -99,19 +98,15 @@ module Google
|
|
99
98
|
##
|
100
99
|
# Create a new ErrorGroupService client object.
|
101
100
|
#
|
102
|
-
#
|
103
|
-
#
|
104
|
-
# To create a new ErrorGroupService client with the default
|
105
|
-
# configuration:
|
106
|
-
#
|
107
|
-
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new
|
101
|
+
# @example
|
108
102
|
#
|
109
|
-
#
|
110
|
-
#
|
103
|
+
# # Create a client using the default configuration
|
104
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new
|
111
105
|
#
|
112
|
-
#
|
113
|
-
#
|
114
|
-
#
|
106
|
+
# # Create a client using a custom configuration
|
107
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new do |config|
|
108
|
+
# config.timeout = 10.0
|
109
|
+
# end
|
115
110
|
#
|
116
111
|
# @yield [config] Configure the ErrorGroupService client.
|
117
112
|
# @yieldparam config [Client::Configuration]
|
@@ -131,10 +126,9 @@ module Google
|
|
131
126
|
|
132
127
|
# Create credentials
|
133
128
|
credentials = @config.credentials
|
134
|
-
# Use self-signed JWT if the
|
129
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
135
130
|
# but only if the default endpoint does not have a region prefix.
|
136
|
-
enable_self_signed_jwt = @config.
|
137
|
-
@config.endpoint == Client.configure.endpoint &&
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
138
132
|
!@config.endpoint.split(".").first.include?("-")
|
139
133
|
credentials ||= Credentials.default scope: @config.scope,
|
140
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -215,7 +209,9 @@ module Google
|
|
215
209
|
options.apply_defaults timeout: @config.rpcs.get_group.timeout,
|
216
210
|
metadata: metadata,
|
217
211
|
retry_policy: @config.rpcs.get_group.retry_policy
|
218
|
-
|
212
|
+
|
213
|
+
options.apply_defaults timeout: @config.timeout,
|
214
|
+
metadata: @config.metadata,
|
219
215
|
retry_policy: @config.retry_policy
|
220
216
|
|
221
217
|
@error_group_service_stub.call_rpc :get_group, request, options: options do |response, operation|
|
@@ -282,7 +278,9 @@ module Google
|
|
282
278
|
options.apply_defaults timeout: @config.rpcs.update_group.timeout,
|
283
279
|
metadata: metadata,
|
284
280
|
retry_policy: @config.rpcs.update_group.retry_policy
|
285
|
-
|
281
|
+
|
282
|
+
options.apply_defaults timeout: @config.timeout,
|
283
|
+
metadata: @config.metadata,
|
286
284
|
retry_policy: @config.retry_policy
|
287
285
|
|
288
286
|
@error_group_service_stub.call_rpc :update_group, request, options: options do |response, operation|
|
@@ -306,22 +304,21 @@ module Google
|
|
306
304
|
# Configuration can be applied globally to all clients, or to a single client
|
307
305
|
# on construction.
|
308
306
|
#
|
309
|
-
#
|
310
|
-
#
|
311
|
-
#
|
312
|
-
# to 20 seconds,
|
313
|
-
#
|
314
|
-
#
|
315
|
-
#
|
316
|
-
#
|
317
|
-
#
|
318
|
-
#
|
319
|
-
#
|
320
|
-
#
|
321
|
-
#
|
322
|
-
#
|
323
|
-
#
|
324
|
-
# end
|
307
|
+
# @example
|
308
|
+
#
|
309
|
+
# # Modify the global config, setting the timeout for
|
310
|
+
# # get_group to 20 seconds,
|
311
|
+
# # and all remaining timeouts to 10 seconds.
|
312
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.configure do |config|
|
313
|
+
# config.timeout = 10.0
|
314
|
+
# config.rpcs.get_group.timeout = 20.0
|
315
|
+
# end
|
316
|
+
#
|
317
|
+
# # Apply the above configuration only to a new client.
|
318
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new do |config|
|
319
|
+
# config.timeout = 10.0
|
320
|
+
# config.rpcs.get_group.timeout = 20.0
|
321
|
+
# end
|
325
322
|
#
|
326
323
|
# @!attribute [rw] endpoint
|
327
324
|
# The hostname or hostname:port of the service endpoint.
|
@@ -42,13 +42,12 @@ module Google
|
|
42
42
|
# See {::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client::Configuration}
|
43
43
|
# for a description of the configuration fields.
|
44
44
|
#
|
45
|
-
#
|
45
|
+
# @example
|
46
46
|
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
#
|
51
|
-
# end
|
47
|
+
# # Modify the configuration for all ErrorStatsService clients
|
48
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.configure do |config|
|
49
|
+
# config.timeout = 10.0
|
50
|
+
# end
|
52
51
|
#
|
53
52
|
# @yield [config] Configure the Client client.
|
54
53
|
# @yieldparam config [Client::Configuration]
|
@@ -100,19 +99,15 @@ module Google
|
|
100
99
|
##
|
101
100
|
# Create a new ErrorStatsService client object.
|
102
101
|
#
|
103
|
-
#
|
104
|
-
#
|
105
|
-
# To create a new ErrorStatsService client with the default
|
106
|
-
# configuration:
|
107
|
-
#
|
108
|
-
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new
|
102
|
+
# @example
|
109
103
|
#
|
110
|
-
#
|
111
|
-
#
|
104
|
+
# # Create a client using the default configuration
|
105
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new
|
112
106
|
#
|
113
|
-
#
|
114
|
-
#
|
115
|
-
#
|
107
|
+
# # Create a client using a custom configuration
|
108
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new do |config|
|
109
|
+
# config.timeout = 10.0
|
110
|
+
# end
|
116
111
|
#
|
117
112
|
# @yield [config] Configure the ErrorStatsService client.
|
118
113
|
# @yieldparam config [Client::Configuration]
|
@@ -132,10 +127,9 @@ module Google
|
|
132
127
|
|
133
128
|
# Create credentials
|
134
129
|
credentials = @config.credentials
|
135
|
-
# Use self-signed JWT if the
|
130
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
136
131
|
# but only if the default endpoint does not have a region prefix.
|
137
|
-
enable_self_signed_jwt = @config.
|
138
|
-
@config.endpoint == Client.configure.endpoint &&
|
132
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
139
133
|
!@config.endpoint.split(".").first.include?("-")
|
140
134
|
credentials ||= Credentials.default scope: @config.scope,
|
141
135
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -250,7 +244,9 @@ module Google
|
|
250
244
|
options.apply_defaults timeout: @config.rpcs.list_group_stats.timeout,
|
251
245
|
metadata: metadata,
|
252
246
|
retry_policy: @config.rpcs.list_group_stats.retry_policy
|
253
|
-
|
247
|
+
|
248
|
+
options.apply_defaults timeout: @config.timeout,
|
249
|
+
metadata: @config.metadata,
|
254
250
|
retry_policy: @config.retry_policy
|
255
251
|
|
256
252
|
@error_stats_service_stub.call_rpc :list_group_stats, request, options: options do |response, operation|
|
@@ -336,7 +332,9 @@ module Google
|
|
336
332
|
options.apply_defaults timeout: @config.rpcs.list_events.timeout,
|
337
333
|
metadata: metadata,
|
338
334
|
retry_policy: @config.rpcs.list_events.retry_policy
|
339
|
-
|
335
|
+
|
336
|
+
options.apply_defaults timeout: @config.timeout,
|
337
|
+
metadata: @config.metadata,
|
340
338
|
retry_policy: @config.retry_policy
|
341
339
|
|
342
340
|
@error_stats_service_stub.call_rpc :list_events, request, options: options do |response, operation|
|
@@ -408,7 +406,9 @@ module Google
|
|
408
406
|
options.apply_defaults timeout: @config.rpcs.delete_events.timeout,
|
409
407
|
metadata: metadata,
|
410
408
|
retry_policy: @config.rpcs.delete_events.retry_policy
|
411
|
-
|
409
|
+
|
410
|
+
options.apply_defaults timeout: @config.timeout,
|
411
|
+
metadata: @config.metadata,
|
412
412
|
retry_policy: @config.retry_policy
|
413
413
|
|
414
414
|
@error_stats_service_stub.call_rpc :delete_events, request, options: options do |response, operation|
|
@@ -432,22 +432,21 @@ module Google
|
|
432
432
|
# Configuration can be applied globally to all clients, or to a single client
|
433
433
|
# on construction.
|
434
434
|
#
|
435
|
-
#
|
436
|
-
#
|
437
|
-
#
|
438
|
-
# to 20 seconds,
|
439
|
-
#
|
440
|
-
#
|
441
|
-
#
|
442
|
-
#
|
443
|
-
#
|
444
|
-
#
|
445
|
-
#
|
446
|
-
#
|
447
|
-
#
|
448
|
-
#
|
449
|
-
#
|
450
|
-
# end
|
435
|
+
# @example
|
436
|
+
#
|
437
|
+
# # Modify the global config, setting the timeout for
|
438
|
+
# # list_group_stats to 20 seconds,
|
439
|
+
# # and all remaining timeouts to 10 seconds.
|
440
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.configure do |config|
|
441
|
+
# config.timeout = 10.0
|
442
|
+
# config.rpcs.list_group_stats.timeout = 20.0
|
443
|
+
# end
|
444
|
+
#
|
445
|
+
# # Apply the above configuration only to a new client.
|
446
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new do |config|
|
447
|
+
# config.timeout = 10.0
|
448
|
+
# config.rpcs.list_group_stats.timeout = 20.0
|
449
|
+
# end
|
451
450
|
#
|
452
451
|
# @!attribute [rw] endpoint
|
453
452
|
# The hostname or hostname:port of the service endpoint.
|
@@ -41,13 +41,12 @@ module Google
|
|
41
41
|
# See {::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client::Configuration}
|
42
42
|
# for a description of the configuration fields.
|
43
43
|
#
|
44
|
-
#
|
44
|
+
# @example
|
45
45
|
#
|
46
|
-
#
|
47
|
-
#
|
48
|
-
#
|
49
|
-
#
|
50
|
-
# end
|
46
|
+
# # Modify the configuration for all ReportErrorsService clients
|
47
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.configure do |config|
|
48
|
+
# config.timeout = 10.0
|
49
|
+
# end
|
51
50
|
#
|
52
51
|
# @yield [config] Configure the Client client.
|
53
52
|
# @yieldparam config [Client::Configuration]
|
@@ -96,19 +95,15 @@ module Google
|
|
96
95
|
##
|
97
96
|
# Create a new ReportErrorsService client object.
|
98
97
|
#
|
99
|
-
#
|
100
|
-
#
|
101
|
-
# To create a new ReportErrorsService client with the default
|
102
|
-
# configuration:
|
98
|
+
# @example
|
103
99
|
#
|
104
|
-
#
|
100
|
+
# # Create a client using the default configuration
|
101
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new
|
105
102
|
#
|
106
|
-
#
|
107
|
-
#
|
108
|
-
#
|
109
|
-
#
|
110
|
-
# config.timeout = 10.0
|
111
|
-
# end
|
103
|
+
# # Create a client using a custom configuration
|
104
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new do |config|
|
105
|
+
# config.timeout = 10.0
|
106
|
+
# end
|
112
107
|
#
|
113
108
|
# @yield [config] Configure the ReportErrorsService client.
|
114
109
|
# @yieldparam config [Client::Configuration]
|
@@ -128,10 +123,9 @@ module Google
|
|
128
123
|
|
129
124
|
# Create credentials
|
130
125
|
credentials = @config.credentials
|
131
|
-
# Use self-signed JWT if the
|
126
|
+
# Use self-signed JWT if the endpoint is unchanged from default,
|
132
127
|
# but only if the default endpoint does not have a region prefix.
|
133
|
-
enable_self_signed_jwt = @config.
|
134
|
-
@config.endpoint == Client.configure.endpoint &&
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Client.configure.endpoint &&
|
135
129
|
!@config.endpoint.split(".").first.include?("-")
|
136
130
|
credentials ||= Credentials.default scope: @config.scope,
|
137
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -230,7 +224,9 @@ module Google
|
|
230
224
|
options.apply_defaults timeout: @config.rpcs.report_error_event.timeout,
|
231
225
|
metadata: metadata,
|
232
226
|
retry_policy: @config.rpcs.report_error_event.retry_policy
|
233
|
-
|
227
|
+
|
228
|
+
options.apply_defaults timeout: @config.timeout,
|
229
|
+
metadata: @config.metadata,
|
234
230
|
retry_policy: @config.retry_policy
|
235
231
|
|
236
232
|
@report_errors_service_stub.call_rpc :report_error_event, request, options: options do |response, operation|
|
@@ -254,22 +250,21 @@ module Google
|
|
254
250
|
# Configuration can be applied globally to all clients, or to a single client
|
255
251
|
# on construction.
|
256
252
|
#
|
257
|
-
#
|
258
|
-
#
|
259
|
-
#
|
260
|
-
# to 20 seconds,
|
261
|
-
#
|
262
|
-
#
|
263
|
-
#
|
264
|
-
#
|
265
|
-
#
|
266
|
-
#
|
267
|
-
#
|
268
|
-
#
|
269
|
-
#
|
270
|
-
#
|
271
|
-
#
|
272
|
-
# end
|
253
|
+
# @example
|
254
|
+
#
|
255
|
+
# # Modify the global config, setting the timeout for
|
256
|
+
# # report_error_event to 20 seconds,
|
257
|
+
# # and all remaining timeouts to 10 seconds.
|
258
|
+
# ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.configure do |config|
|
259
|
+
# config.timeout = 10.0
|
260
|
+
# config.rpcs.report_error_event.timeout = 20.0
|
261
|
+
# end
|
262
|
+
#
|
263
|
+
# # Apply the above configuration only to a new client.
|
264
|
+
# client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new do |config|
|
265
|
+
# config.timeout = 10.0
|
266
|
+
# config.rpcs.report_error_event.timeout = 20.0
|
267
|
+
# end
|
273
268
|
#
|
274
269
|
# @!attribute [rw] endpoint
|
275
270
|
# The hostname or hostname:port of the service endpoint.
|
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.
|
4
|
+
version: 0.4.3
|
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-08-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.7'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.7'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|