google-cloud-error_reporting-v1beta1 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d4d546fa1485b076839edb429b8ad5a45d5434d061f441f14b51a072db232c0b
4
- data.tar.gz: 2922805e3b538f6a323b25d2afd493dae4914500facc90729326185c9bcf379c
3
+ metadata.gz: e0bfea416e014db2193aef7335f6c57ea18b76b5fe6bd17f4400af66bc9d515a
4
+ data.tar.gz: bbf345ce23074c4c14008c085e388bb57fbccb814a6efce937fe35af1ab0a32a
5
5
  SHA512:
6
- metadata.gz: a04e57fd8beee52f8f8de1fe344de1ff32b7b060825293e7d7425915be292586b8c07f03894d7d8966f33509bb22085d32beaab692ef7e9a4eb36f5a9cc461af
7
- data.tar.gz: d35fd950b0ea9ff4d23e489758806c5dc16738a4a6cc5e714865f833cf3f8967949bbb11b25acac1ae19d4200d990e2191efc07cf5501b925c4961b6879990ec
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all ErrorGroupService clients:
47
- #
48
- # ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
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
- # To create a new ErrorGroupService client with a custom
110
- # configuration:
103
+ # # Create a client using the default configuration
104
+ # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new
111
105
  #
112
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new do |config|
113
- # config.timeout = 10.0
114
- # end
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
310
- #
311
- # To modify the global config, setting the timeout for get_group
312
- # to 20 seconds, and all remaining timeouts to 10 seconds:
313
- #
314
- # ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.configure do |config|
315
- # config.timeout = 10.0
316
- # config.rpcs.get_group.timeout = 20.0
317
- # end
318
- #
319
- # To apply the above configuration only to a new client:
320
- #
321
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Client.new do |config|
322
- # config.timeout = 10.0
323
- # config.rpcs.get_group.timeout = 20.0
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
- # ## Example
45
+ # @example
46
46
  #
47
- # To modify the configuration for all ErrorStatsService clients:
48
- #
49
- # ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.configure do |config|
50
- # config.timeout = 10.0
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
- # ## Examples
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
- # To create a new ErrorStatsService client with a custom
111
- # configuration:
104
+ # # Create a client using the default configuration
105
+ # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new
112
106
  #
113
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new do |config|
114
- # config.timeout = 10.0
115
- # end
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
436
- #
437
- # To modify the global config, setting the timeout for list_group_stats
438
- # to 20 seconds, and all remaining timeouts to 10 seconds:
439
- #
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
- # To apply the above configuration only to a new client:
446
- #
447
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Client.new do |config|
448
- # config.timeout = 10.0
449
- # config.rpcs.list_group_stats.timeout = 20.0
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
- # ## Example
44
+ # @example
45
45
  #
46
- # To modify the configuration for all ReportErrorsService clients:
47
- #
48
- # ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.configure do |config|
49
- # config.timeout = 10.0
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
- # ## Examples
100
- #
101
- # To create a new ReportErrorsService client with the default
102
- # configuration:
98
+ # @example
103
99
  #
104
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new
100
+ # # Create a client using the default configuration
101
+ # client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new
105
102
  #
106
- # To create a new ReportErrorsService client with a custom
107
- # configuration:
108
- #
109
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new do |config|
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 scope and endpoint are unchanged from default,
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.scope == Client.configure.scope &&
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
- options.apply_defaults metadata: @config.metadata,
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
- # # Examples
258
- #
259
- # To modify the global config, setting the timeout for report_error_event
260
- # to 20 seconds, and all remaining timeouts to 10 seconds:
261
- #
262
- # ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.configure do |config|
263
- # config.timeout = 10.0
264
- # config.rpcs.report_error_event.timeout = 20.0
265
- # end
266
- #
267
- # To apply the above configuration only to a new client:
268
- #
269
- # client = ::Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Client.new do |config|
270
- # config.timeout = 10.0
271
- # config.rpcs.report_error_event.timeout = 20.0
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.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ErrorReporting
23
23
  module V1beta1
24
- VERSION = "0.4.2"
24
+ VERSION = "0.4.3"
25
25
  end
26
26
  end
27
27
  end
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.2
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-07-12 00:00:00.000000000 Z
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.5'
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.5'
29
+ version: '0.7'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a