google-cloud-error_reporting-v1beta1 0.7.0 → 0.8.0

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: 28a9e642176381ec143fd366f59a98446808d390dde64139cb84783303a7b50d
4
- data.tar.gz: 0d20ac542756736f34245ca4a9479dcb2aea6adfa2e641b61ee1543ab0b0f02f
3
+ metadata.gz: 4e73daf0ddf4c43d212c3d036cc4cb840a2cc06028e7e1476783af9884eb49a3
4
+ data.tar.gz: 140d420af5873ca421fed57ee765c054854d0381aeb69379ec819bfd2e3b5ff8
5
5
  SHA512:
6
- metadata.gz: c96bc5a6fa7f7d226346fc50f9e9adc40bcf015095e1e8b20097106515fd670a7b06ea8bc16793f210921481c0a88df8cb79e0b4d4ee1d335e1287e9603b10c7
7
- data.tar.gz: aa4012c822bd01a34d41c33702cb90ad6e6f1f046bfa9d8e6c9216c4989450781cab305bad75f1662e9b9d9ea200f07bee756d024f58080cb2919c8230c9a00f
6
+ metadata.gz: 3870dfbef0bcc1ed16d4de8762ef699f2c2a2afad5542ca5ddb1e474ed3655d176730fa1146ff31635662c48762aca7a2e9a2e26398ee1dd489db036c3c35a43
7
+ data.tar.gz: 5a13ebe11f07d278e18ad1fe6680f3ecd79bbc6983335d93acba60853ee801f35edf4a5c311948f0477f2fa8643669cc4cf6ec4a8b08cb5c872bd90033897623
@@ -143,7 +143,8 @@ module Google
143
143
  credentials: credentials,
144
144
  endpoint: @config.endpoint,
145
145
  channel_args: @config.channel_args,
146
- interceptors: @config.interceptors
146
+ interceptors: @config.interceptors,
147
+ channel_pool_config: @config.channel_pool
147
148
  )
148
149
  end
149
150
 
@@ -444,6 +445,14 @@ module Google
444
445
  end
445
446
  end
446
447
 
448
+ ##
449
+ # Configuration for the channel pool
450
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
451
+ #
452
+ def channel_pool
453
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
454
+ end
455
+
447
456
  ##
448
457
  # Configuration RPC class for the ErrorGroupService API.
449
458
  #
@@ -172,6 +172,22 @@ module Google
172
172
  # @return [::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup]
173
173
  #
174
174
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
175
+ #
176
+ # @example Basic example
177
+ # require "google/cloud/error_reporting/v1beta1"
178
+ #
179
+ # # Create a client object. The client can be reused for multiple calls.
180
+ # client = Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Rest::Client.new
181
+ #
182
+ # # Create a request. To set request fields, pass in keyword arguments.
183
+ # request = Google::Cloud::ErrorReporting::V1beta1::GetGroupRequest.new
184
+ #
185
+ # # Call the get_group method.
186
+ # result = client.get_group request
187
+ #
188
+ # # The returned object is of type Google::Cloud::ErrorReporting::V1beta1::ErrorGroup.
189
+ # p result
190
+ #
175
191
  def get_group request, options = nil
176
192
  raise ::ArgumentError, "request must be provided" if request.nil?
177
193
 
@@ -235,6 +251,22 @@ module Google
235
251
  # @return [::Google::Cloud::ErrorReporting::V1beta1::ErrorGroup]
236
252
  #
237
253
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
254
+ #
255
+ # @example Basic example
256
+ # require "google/cloud/error_reporting/v1beta1"
257
+ #
258
+ # # Create a client object. The client can be reused for multiple calls.
259
+ # client = Google::Cloud::ErrorReporting::V1beta1::ErrorGroupService::Rest::Client.new
260
+ #
261
+ # # Create a request. To set request fields, pass in keyword arguments.
262
+ # request = Google::Cloud::ErrorReporting::V1beta1::UpdateGroupRequest.new
263
+ #
264
+ # # Call the update_group method.
265
+ # result = client.update_group request
266
+ #
267
+ # # The returned object is of type Google::Cloud::ErrorReporting::V1beta1::ErrorGroup.
268
+ # p result
269
+ #
238
270
  def update_group request, options = nil
239
271
  raise ::ArgumentError, "request must be provided" if request.nil?
240
272
 
@@ -144,7 +144,8 @@ module Google
144
144
  credentials: credentials,
145
145
  endpoint: @config.endpoint,
146
146
  channel_args: @config.channel_args,
147
- interceptors: @config.interceptors
147
+ interceptors: @config.interceptors,
148
+ channel_pool_config: @config.channel_pool
148
149
  )
149
150
  end
150
151
 
@@ -597,6 +598,14 @@ module Google
597
598
  end
598
599
  end
599
600
 
601
+ ##
602
+ # Configuration for the channel pool
603
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
604
+ #
605
+ def channel_pool
606
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
607
+ end
608
+
600
609
  ##
601
610
  # Configuration RPC class for the ErrorStatsService API.
602
611
  #
@@ -207,6 +207,26 @@ module Google
207
207
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupStats>]
208
208
  #
209
209
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
210
+ #
211
+ # @example Basic example
212
+ # require "google/cloud/error_reporting/v1beta1"
213
+ #
214
+ # # Create a client object. The client can be reused for multiple calls.
215
+ # client = Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Rest::Client.new
216
+ #
217
+ # # Create a request. To set request fields, pass in keyword arguments.
218
+ # request = Google::Cloud::ErrorReporting::V1beta1::ListGroupStatsRequest.new
219
+ #
220
+ # # Call the list_group_stats method.
221
+ # result = client.list_group_stats request
222
+ #
223
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
224
+ # # over elements, and API calls will be issued to fetch pages as needed.
225
+ # result.each do |item|
226
+ # # Each element is of type ::Google::Cloud::ErrorReporting::V1beta1::ErrorGroupStats.
227
+ # p item
228
+ # end
229
+ #
210
230
  def list_group_stats request, options = nil
211
231
  raise ::ArgumentError, "request must be provided" if request.nil?
212
232
 
@@ -289,6 +309,26 @@ module Google
289
309
  # @return [::Gapic::Rest::PagedEnumerable<::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent>]
290
310
  #
291
311
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
312
+ #
313
+ # @example Basic example
314
+ # require "google/cloud/error_reporting/v1beta1"
315
+ #
316
+ # # Create a client object. The client can be reused for multiple calls.
317
+ # client = Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Rest::Client.new
318
+ #
319
+ # # Create a request. To set request fields, pass in keyword arguments.
320
+ # request = Google::Cloud::ErrorReporting::V1beta1::ListEventsRequest.new
321
+ #
322
+ # # Call the list_events method.
323
+ # result = client.list_events request
324
+ #
325
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
326
+ # # over elements, and API calls will be issued to fetch pages as needed.
327
+ # result.each do |item|
328
+ # # Each element is of type ::Google::Cloud::ErrorReporting::V1beta1::ErrorEvent.
329
+ # p item
330
+ # end
331
+ #
292
332
  def list_events request, options = nil
293
333
  raise ::ArgumentError, "request must be provided" if request.nil?
294
334
 
@@ -357,6 +397,22 @@ module Google
357
397
  # @return [::Google::Cloud::ErrorReporting::V1beta1::DeleteEventsResponse]
358
398
  #
359
399
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
400
+ #
401
+ # @example Basic example
402
+ # require "google/cloud/error_reporting/v1beta1"
403
+ #
404
+ # # Create a client object. The client can be reused for multiple calls.
405
+ # client = Google::Cloud::ErrorReporting::V1beta1::ErrorStatsService::Rest::Client.new
406
+ #
407
+ # # Create a request. To set request fields, pass in keyword arguments.
408
+ # request = Google::Cloud::ErrorReporting::V1beta1::DeleteEventsRequest.new
409
+ #
410
+ # # Call the delete_events method.
411
+ # result = client.delete_events request
412
+ #
413
+ # # The returned object is of type Google::Cloud::ErrorReporting::V1beta1::DeleteEventsResponse.
414
+ # p result
415
+ #
360
416
  def delete_events request, options = nil
361
417
  raise ::ArgumentError, "request must be provided" if request.nil?
362
418
 
@@ -140,7 +140,8 @@ module Google
140
140
  credentials: credentials,
141
141
  endpoint: @config.endpoint,
142
142
  channel_args: @config.channel_args,
143
- interceptors: @config.interceptors
143
+ interceptors: @config.interceptors,
144
+ channel_pool_config: @config.channel_pool
144
145
  )
145
146
  end
146
147
 
@@ -369,6 +370,14 @@ module Google
369
370
  end
370
371
  end
371
372
 
373
+ ##
374
+ # Configuration for the channel pool
375
+ # @return [::Gapic::ServiceStub::ChannelPool::Configuration]
376
+ #
377
+ def channel_pool
378
+ @channel_pool ||= ::Gapic::ServiceStub::ChannelPool::Configuration.new
379
+ end
380
+
372
381
  ##
373
382
  # Configuration RPC class for the ReportErrorsService API.
374
383
  #
@@ -183,6 +183,22 @@ module Google
183
183
  # @return [::Google::Cloud::ErrorReporting::V1beta1::ReportErrorEventResponse]
184
184
  #
185
185
  # @raise [::Google::Cloud::Error] if the REST call is aborted.
186
+ #
187
+ # @example Basic example
188
+ # require "google/cloud/error_reporting/v1beta1"
189
+ #
190
+ # # Create a client object. The client can be reused for multiple calls.
191
+ # client = Google::Cloud::ErrorReporting::V1beta1::ReportErrorsService::Rest::Client.new
192
+ #
193
+ # # Create a request. To set request fields, pass in keyword arguments.
194
+ # request = Google::Cloud::ErrorReporting::V1beta1::ReportErrorEventRequest.new
195
+ #
196
+ # # Call the report_error_event method.
197
+ # result = client.report_error_event request
198
+ #
199
+ # # The returned object is of type Google::Cloud::ErrorReporting::V1beta1::ReportErrorEventResponse.
200
+ # p result
201
+ #
186
202
  def report_error_event request, options = nil
187
203
  raise ::ArgumentError, "request must be provided" if request.nil?
188
204
 
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ErrorReporting
23
23
  module V1beta1
24
- VERSION = "0.7.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -66,6 +66,20 @@ module Google
66
66
  # a non-empty value will be returned. The user will not be aware of what
67
67
  # non-empty value to expect.
68
68
  NON_EMPTY_DEFAULT = 7
69
+
70
+ # Denotes that the field in a resource (a message annotated with
71
+ # google.api.resource) is used in the resource name to uniquely identify the
72
+ # resource. For AIP-compliant APIs, this should only be applied to the
73
+ # `name` field on the resource.
74
+ #
75
+ # This behavior should not be applied to references to other resources within
76
+ # the message.
77
+ #
78
+ # The identifier field of resources often have different field behavior
79
+ # depending on the request it is embedded in (e.g. for Create methods name
80
+ # is optional and unused, while for Update methods it is required). Instead
81
+ # of method-specific annotations, only `IDENTIFIER` is required.
82
+ IDENTIFIER = 8
69
83
  end
70
84
  end
71
85
  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.7.0
4
+ version: 0.8.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: 2023-06-06 00:00:00.000000000 Z
11
+ date: 2023-09-12 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.1
19
+ version: 0.20.0
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.19.1
29
+ version: 0.20.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -232,7 +232,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
232
232
  - !ruby/object:Gem::Version
233
233
  version: '0'
234
234
  requirements: []
235
- rubygems_version: 3.4.2
235
+ rubygems_version: 3.4.19
236
236
  signing_key:
237
237
  specification_version: 4
238
238
  summary: Groups and counts similar errors from cloud services and applications, reports