google-cloud-error_reporting-v1beta1 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service/client.rb +16 -5
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service/rest/client.rb +38 -4
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service/rest/service_stub.rb +2 -2
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/client.rb +16 -5
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/rest/client.rb +62 -4
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service/rest/service_stub.rb +3 -3
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/client.rb +16 -5
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/rest/client.rb +22 -4
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service/rest/service_stub.rb +1 -1
- data/lib/google/cloud/error_reporting/v1beta1/version.rb +1 -1
- data/lib/google/devtools/clouderrorreporting/v1beta1/common_pb.rb +25 -46
- data/lib/google/devtools/clouderrorreporting/v1beta1/error_group_service_pb.rb +25 -7
- data/lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_pb.rb +27 -80
- data/lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb +26 -13
- data/proto_docs/google/api/client.rb +67 -4
- data/proto_docs/google/api/field_behavior.rb +14 -0
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e73daf0ddf4c43d212c3d036cc4cb840a2cc06028e7e1476783af9884eb49a3
|
4
|
+
data.tar.gz: 140d420af5873ca421fed57ee765c054854d0381aeb69379ec819bfd2e3b5ff8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3870dfbef0bcc1ed16d4de8762ef699f2c2a2afad5542ca5ddb1e474ed3655d176730fa1146ff31635662c48762aca7a2e9a2e26398ee1dd489db036c3c35a43
|
7
|
+
data.tar.gz: 5a13ebe11f07d278e18ad1fe6680f3ecd79bbc6983335d93acba60853ee801f35edf4a5c311948f0477f2fa8643669cc4cf6ec4a8b08cb5c872bd90033897623
|
data/README.md
CHANGED
@@ -47,7 +47,7 @@ for general usage information.
|
|
47
47
|
|
48
48
|
To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
|
49
49
|
The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
|
50
|
-
or a [`Google::Cloud::Logging::Logger`](https://
|
50
|
+
or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
|
51
51
|
that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
52
52
|
and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
|
53
53
|
|
@@ -128,7 +128,7 @@ module Google
|
|
128
128
|
credentials = @config.credentials
|
129
129
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
130
130
|
# but only if the default endpoint does not have a region prefix.
|
131
|
-
enable_self_signed_jwt = @config.endpoint ==
|
131
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
132
132
|
!@config.endpoint.split(".").first.include?("-")
|
133
133
|
credentials ||= Credentials.default scope: @config.scope,
|
134
134
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -363,9 +364,9 @@ module Google
|
|
363
364
|
# * (`String`) The path to a service account key file in JSON format
|
364
365
|
# * (`Hash`) A service account key as a Hash
|
365
366
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
366
|
-
# (see the [googleauth docs](https://
|
367
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
367
368
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
368
|
-
# (see the [signet docs](https://
|
369
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
369
370
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
370
371
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
371
372
|
# * (`nil`) indicating no credentials
|
@@ -407,7 +408,9 @@ module Google
|
|
407
408
|
class Configuration
|
408
409
|
extend ::Gapic::Config
|
409
410
|
|
410
|
-
|
411
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
412
|
+
|
413
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
411
414
|
config_attr :credentials, nil do |value|
|
412
415
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
413
416
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -442,6 +445,14 @@ module Google
|
|
442
445
|
end
|
443
446
|
end
|
444
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
|
+
|
445
456
|
##
|
446
457
|
# Configuration RPC class for the ErrorGroupService API.
|
447
458
|
#
|
@@ -124,7 +124,7 @@ module Google
|
|
124
124
|
credentials = @config.credentials
|
125
125
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
126
126
|
# but only if the default endpoint does not have a region prefix.
|
127
|
-
enable_self_signed_jwt = @config.endpoint ==
|
127
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
128
128
|
!@config.endpoint.split(".").first.include?("-")
|
129
129
|
credentials ||= Credentials.default scope: @config.scope,
|
130
130
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -308,9 +340,9 @@ module Google
|
|
308
340
|
# * (`String`) The path to a service account key file in JSON format
|
309
341
|
# * (`Hash`) A service account key as a Hash
|
310
342
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
311
|
-
# (see the [googleauth docs](https://
|
343
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
312
344
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
313
|
-
# (see the [signet docs](https://
|
345
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
314
346
|
# * (`nil`) indicating no credentials
|
315
347
|
# @return [::Object]
|
316
348
|
# @!attribute [rw] scope
|
@@ -343,7 +375,9 @@ module Google
|
|
343
375
|
class Configuration
|
344
376
|
extend ::Gapic::Config
|
345
377
|
|
346
|
-
|
378
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
379
|
+
|
380
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
347
381
|
config_attr :credentials, nil do |value|
|
348
382
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
349
383
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_get_group_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_update_group_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -129,7 +129,7 @@ module Google
|
|
129
129
|
credentials = @config.credentials
|
130
130
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
131
131
|
# but only if the default endpoint does not have a region prefix.
|
132
|
-
enable_self_signed_jwt = @config.endpoint ==
|
132
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
133
133
|
!@config.endpoint.split(".").first.include?("-")
|
134
134
|
credentials ||= Credentials.default scope: @config.scope,
|
135
135
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -516,9 +517,9 @@ module Google
|
|
516
517
|
# * (`String`) The path to a service account key file in JSON format
|
517
518
|
# * (`Hash`) A service account key as a Hash
|
518
519
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
519
|
-
# (see the [googleauth docs](https://
|
520
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
520
521
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
521
|
-
# (see the [signet docs](https://
|
522
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
522
523
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
523
524
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
524
525
|
# * (`nil`) indicating no credentials
|
@@ -560,7 +561,9 @@ module Google
|
|
560
561
|
class Configuration
|
561
562
|
extend ::Gapic::Config
|
562
563
|
|
563
|
-
|
564
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
565
|
+
|
566
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
564
567
|
config_attr :credentials, nil do |value|
|
565
568
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
566
569
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -595,6 +598,14 @@ module Google
|
|
595
598
|
end
|
596
599
|
end
|
597
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
|
+
|
598
609
|
##
|
599
610
|
# Configuration RPC class for the ErrorStatsService API.
|
600
611
|
#
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -430,9 +486,9 @@ module Google
|
|
430
486
|
# * (`String`) The path to a service account key file in JSON format
|
431
487
|
# * (`Hash`) A service account key as a Hash
|
432
488
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
433
|
-
# (see the [googleauth docs](https://
|
489
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
434
490
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
435
|
-
# (see the [signet docs](https://
|
491
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
436
492
|
# * (`nil`) indicating no credentials
|
437
493
|
# @return [::Object]
|
438
494
|
# @!attribute [rw] scope
|
@@ -465,7 +521,9 @@ module Google
|
|
465
521
|
class Configuration
|
466
522
|
extend ::Gapic::Config
|
467
523
|
|
468
|
-
|
524
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
525
|
+
|
526
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
469
527
|
config_attr :credentials, nil do |value|
|
470
528
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
471
529
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_group_stats_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -97,7 +97,7 @@ module Google
|
|
97
97
|
|
98
98
|
verb, uri, query_string_params, body = ServiceStub.transcode_list_events_request request_pb
|
99
99
|
query_string_params = if query_string_params.any?
|
100
|
-
query_string_params.to_h { |p| p.split
|
100
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
101
101
|
else
|
102
102
|
{}
|
103
103
|
end
|
@@ -135,7 +135,7 @@ module Google
|
|
135
135
|
|
136
136
|
verb, uri, query_string_params, body = ServiceStub.transcode_delete_events_request request_pb
|
137
137
|
query_string_params = if query_string_params.any?
|
138
|
-
query_string_params.to_h { |p| p.split
|
138
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
139
139
|
else
|
140
140
|
{}
|
141
141
|
end
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
credentials = @config.credentials
|
126
126
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
127
127
|
# but only if the default endpoint does not have a region prefix.
|
128
|
-
enable_self_signed_jwt = @config.endpoint ==
|
128
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
129
129
|
!@config.endpoint.split(".").first.include?("-")
|
130
130
|
credentials ||= Credentials.default scope: @config.scope,
|
131
131
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -288,9 +289,9 @@ module Google
|
|
288
289
|
# * (`String`) The path to a service account key file in JSON format
|
289
290
|
# * (`Hash`) A service account key as a Hash
|
290
291
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
291
|
-
# (see the [googleauth docs](https://
|
292
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
292
293
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
293
|
-
# (see the [signet docs](https://
|
294
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
294
295
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
295
296
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
296
297
|
# * (`nil`) indicating no credentials
|
@@ -332,7 +333,9 @@ module Google
|
|
332
333
|
class Configuration
|
333
334
|
extend ::Gapic::Config
|
334
335
|
|
335
|
-
|
336
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
337
|
+
|
338
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
336
339
|
config_attr :credentials, nil do |value|
|
337
340
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
338
341
|
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
@@ -367,6 +370,14 @@ module Google
|
|
367
370
|
end
|
368
371
|
end
|
369
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
|
+
|
370
381
|
##
|
371
382
|
# Configuration RPC class for the ReportErrorsService API.
|
372
383
|
#
|
@@ -121,7 +121,7 @@ module Google
|
|
121
121
|
credentials = @config.credentials
|
122
122
|
# Use self-signed JWT if the endpoint is unchanged from default,
|
123
123
|
# but only if the default endpoint does not have a region prefix.
|
124
|
-
enable_self_signed_jwt = @config.endpoint ==
|
124
|
+
enable_self_signed_jwt = @config.endpoint == Configuration::DEFAULT_ENDPOINT &&
|
125
125
|
!@config.endpoint.split(".").first.include?("-")
|
126
126
|
credentials ||= Credentials.default scope: @config.scope,
|
127
127
|
enable_self_signed_jwt: enable_self_signed_jwt
|
@@ -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
|
|
@@ -256,9 +272,9 @@ module Google
|
|
256
272
|
# * (`String`) The path to a service account key file in JSON format
|
257
273
|
# * (`Hash`) A service account key as a Hash
|
258
274
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
259
|
-
# (see the [googleauth docs](https://
|
275
|
+
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
260
276
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
261
|
-
# (see the [signet docs](https://
|
277
|
+
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
262
278
|
# * (`nil`) indicating no credentials
|
263
279
|
# @return [::Object]
|
264
280
|
# @!attribute [rw] scope
|
@@ -291,7 +307,9 @@ module Google
|
|
291
307
|
class Configuration
|
292
308
|
extend ::Gapic::Config
|
293
309
|
|
294
|
-
|
310
|
+
DEFAULT_ENDPOINT = "clouderrorreporting.googleapis.com"
|
311
|
+
|
312
|
+
config_attr :endpoint, DEFAULT_ENDPOINT, ::String
|
295
313
|
config_attr :credentials, nil do |value|
|
296
314
|
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
297
315
|
allowed.any? { |klass| klass === value }
|
@@ -59,7 +59,7 @@ module Google
|
|
59
59
|
|
60
60
|
verb, uri, query_string_params, body = ServiceStub.transcode_report_error_event_request request_pb
|
61
61
|
query_string_params = if query_string_params.any?
|
62
|
-
query_string_params.to_h { |p| p.split
|
62
|
+
query_string_params.to_h { |p| p.split "=", 2 }
|
63
63
|
else
|
64
64
|
{}
|
65
65
|
end
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/clouderrorreporting/v1beta1/common.proto
|
3
4
|
|
@@ -6,54 +7,32 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/resource_pb'
|
7
8
|
require 'google/protobuf/timestamp_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.ErrorContext" do
|
32
|
-
optional :http_request, :message, 1, "google.devtools.clouderrorreporting.v1beta1.HttpRequestContext"
|
33
|
-
optional :user, :string, 2
|
34
|
-
optional :report_location, :message, 3, "google.devtools.clouderrorreporting.v1beta1.SourceLocation"
|
35
|
-
end
|
36
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.HttpRequestContext" do
|
37
|
-
optional :method, :string, 1
|
38
|
-
optional :url, :string, 2
|
39
|
-
optional :user_agent, :string, 3
|
40
|
-
optional :referrer, :string, 4
|
41
|
-
optional :response_status_code, :int32, 5
|
42
|
-
optional :remote_ip, :string, 6
|
43
|
-
end
|
44
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.SourceLocation" do
|
45
|
-
optional :file_path, :string, 1
|
46
|
-
optional :line_number, :int32, 2
|
47
|
-
optional :function_name, :string, 4
|
48
|
-
end
|
49
|
-
add_enum "google.devtools.clouderrorreporting.v1beta1.ResolutionStatus" do
|
50
|
-
value :RESOLUTION_STATUS_UNSPECIFIED, 0
|
51
|
-
value :OPEN, 1
|
52
|
-
value :ACKNOWLEDGED, 2
|
53
|
-
value :RESOLVED, 3
|
54
|
-
value :MUTED, 4
|
10
|
+
|
11
|
+
descriptor_data = "\n8google/devtools/clouderrorreporting/v1beta1/common.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb2\x02\n\nErrorGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x10\n\x08group_id\x18\x02 \x01(\t\x12S\n\x0ftracking_issues\x18\x03 \x03(\x0b\x32:.google.devtools.clouderrorreporting.v1beta1.TrackingIssue\x12X\n\x11resolution_status\x18\x05 \x01(\x0e\x32=.google.devtools.clouderrorreporting.v1beta1.ResolutionStatus:U\xea\x41R\n-clouderrorreporting.googleapis.com/ErrorGroup\x12!projects/{project}/groups/{group}\"\x1c\n\rTrackingIssue\x12\x0b\n\x03url\x18\x01 \x01(\t\"\xef\x01\n\nErrorEvent\x12.\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12T\n\x0fservice_context\x18\x02 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContext\x12\x0f\n\x07message\x18\x03 \x01(\t\x12J\n\x07\x63ontext\x18\x05 \x01(\x0b\x32\x39.google.devtools.clouderrorreporting.v1beta1.ErrorContext\"I\n\x0eServiceContext\x12\x0f\n\x07service\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\t\x12\x15\n\rresource_type\x18\x04 \x01(\t\"\xc9\x01\n\x0c\x45rrorContext\x12U\n\x0chttp_request\x18\x01 \x01(\x0b\x32?.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext\x12\x0c\n\x04user\x18\x02 \x01(\t\x12T\n\x0freport_location\x18\x03 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.SourceLocation\"\x88\x01\n\x12HttpRequestContext\x12\x0e\n\x06method\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t\x12\x12\n\nuser_agent\x18\x03 \x01(\t\x12\x10\n\x08referrer\x18\x04 \x01(\t\x12\x1c\n\x14response_status_code\x18\x05 \x01(\x05\x12\x11\n\tremote_ip\x18\x06 \x01(\t\"O\n\x0eSourceLocation\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x13\n\x0bline_number\x18\x02 \x01(\x05\x12\x15\n\rfunction_name\x18\x04 \x01(\t*j\n\x10ResolutionStatus\x12!\n\x1dRESOLUTION_STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04OPEN\x10\x01\x12\x10\n\x0c\x41\x43KNOWLEDGED\x10\x02\x12\x0c\n\x08RESOLVED\x10\x03\x12\t\n\x05MUTED\x10\x04\x42\x89\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x0b\x43ommonProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
27
|
+
]
|
28
|
+
imports.each do |type_name, expected_filename|
|
29
|
+
import_file = pool.lookup(type_name).file_descriptor
|
30
|
+
if import_file.name != expected_filename
|
31
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
55
32
|
end
|
56
33
|
end
|
34
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
35
|
+
warn "This will become an error in the next major version."
|
57
36
|
end
|
58
37
|
|
59
38
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
|
3
4
|
|
@@ -9,15 +10,32 @@ require 'google/api/field_behavior_pb'
|
|
9
10
|
require 'google/api/resource_pb'
|
10
11
|
require 'google/devtools/clouderrorreporting/v1beta1/common_pb'
|
11
12
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
13
|
+
|
14
|
+
descriptor_data = "\nEgoogle/devtools/clouderrorreporting/v1beta1/error_group_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\"\\\n\x0fGetGroupRequest\x12I\n\ngroup_name\x18\x01 \x01(\tB5\xe0\x41\x02\xfa\x41/\n-clouderrorreporting.googleapis.com/ErrorGroup\"a\n\x12UpdateGroupRequest\x12K\n\x05group\x18\x01 \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroupB\x03\xe0\x41\x02\x32\xfb\x03\n\x11\x45rrorGroupService\x12\xc1\x01\n\x08GetGroup\x12<.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest\x1a\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\">\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{group_name=projects/*/groups/*}\xda\x41\ngroup_name\x12\xc9\x01\n\x0bUpdateGroup\x12?.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest\x1a\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\"@\x82\xd3\xe4\x93\x02\x32\x1a)/v1beta1/{group.name=projects/*/groups/*}:\x05group\xda\x41\x05group\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x94\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x16\x45rrorGroupServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.devtools.clouderrorreporting.v1beta1.ErrorGroup", "google/devtools/clouderrorreporting/v1beta1/common.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
19
35
|
end
|
20
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
21
39
|
end
|
22
40
|
|
23
41
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
|
3
4
|
|
@@ -11,88 +12,34 @@ require 'google/devtools/clouderrorreporting/v1beta1/common_pb'
|
|
11
12
|
require 'google/protobuf/duration_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
optional :first_seen_time, :message, 5, "google.protobuf.Timestamp"
|
39
|
-
optional :last_seen_time, :message, 6, "google.protobuf.Timestamp"
|
40
|
-
repeated :affected_services, :message, 7, "google.devtools.clouderrorreporting.v1beta1.ServiceContext"
|
41
|
-
optional :num_affected_services, :int32, 8
|
42
|
-
optional :representative, :message, 9, "google.devtools.clouderrorreporting.v1beta1.ErrorEvent"
|
43
|
-
end
|
44
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.TimedCount" do
|
45
|
-
optional :count, :int64, 1
|
46
|
-
optional :start_time, :message, 2, "google.protobuf.Timestamp"
|
47
|
-
optional :end_time, :message, 3, "google.protobuf.Timestamp"
|
48
|
-
end
|
49
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.ListEventsRequest" do
|
50
|
-
optional :project_name, :string, 1
|
51
|
-
optional :group_id, :string, 2
|
52
|
-
optional :service_filter, :message, 3, "google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter"
|
53
|
-
optional :time_range, :message, 4, "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange"
|
54
|
-
optional :page_size, :int32, 6
|
55
|
-
optional :page_token, :string, 7
|
56
|
-
end
|
57
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.ListEventsResponse" do
|
58
|
-
repeated :error_events, :message, 1, "google.devtools.clouderrorreporting.v1beta1.ErrorEvent"
|
59
|
-
optional :next_page_token, :string, 2
|
60
|
-
optional :time_range_begin, :message, 4, "google.protobuf.Timestamp"
|
61
|
-
end
|
62
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange" do
|
63
|
-
optional :period, :enum, 1, "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period"
|
64
|
-
end
|
65
|
-
add_enum "google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period" do
|
66
|
-
value :PERIOD_UNSPECIFIED, 0
|
67
|
-
value :PERIOD_1_HOUR, 1
|
68
|
-
value :PERIOD_6_HOURS, 2
|
69
|
-
value :PERIOD_1_DAY, 3
|
70
|
-
value :PERIOD_1_WEEK, 4
|
71
|
-
value :PERIOD_30_DAYS, 5
|
72
|
-
end
|
73
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter" do
|
74
|
-
optional :service, :string, 2
|
75
|
-
optional :version, :string, 3
|
76
|
-
optional :resource_type, :string, 4
|
77
|
-
end
|
78
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest" do
|
79
|
-
optional :project_name, :string, 1
|
80
|
-
end
|
81
|
-
add_message "google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse" do
|
82
|
-
end
|
83
|
-
add_enum "google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment" do
|
84
|
-
value :ERROR_COUNT_ALIGNMENT_UNSPECIFIED, 0
|
85
|
-
value :ALIGNMENT_EQUAL_ROUNDED, 1
|
86
|
-
value :ALIGNMENT_EQUAL_AT_END, 2
|
87
|
-
end
|
88
|
-
add_enum "google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder" do
|
89
|
-
value :GROUP_ORDER_UNSPECIFIED, 0
|
90
|
-
value :COUNT_DESC, 1
|
91
|
-
value :LAST_SEEN_DESC, 2
|
92
|
-
value :CREATED_DESC, 3
|
93
|
-
value :AFFECTED_USERS_DESC, 4
|
15
|
+
|
16
|
+
descriptor_data = "\nEgoogle/devtools/clouderrorreporting/v1beta1/error_stats_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x05\n\x15ListGroupStatsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x15\n\x08group_id\x18\x02 \x03(\tB\x03\xe0\x41\x01\x12^\n\x0eservice_filter\x18\x03 \x01(\x0b\x32\x41.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterB\x03\xe0\x41\x01\x12T\n\ntime_range\x18\x05 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeB\x03\xe0\x41\x01\x12<\n\x14timed_count_duration\x18\x06 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12X\n\talignment\x18\x07 \x01(\x0e\x32@.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignmentB\x03\xe0\x41\x01\x12\x37\n\x0e\x61lignment_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12P\n\x05order\x18\t \x01(\x0e\x32<.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrderB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x0b \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x0c \x01(\tB\x03\xe0\x41\x01\"\xc0\x01\n\x16ListGroupStatsResponse\x12W\n\x11\x65rror_group_stats\x18\x01 \x03(\x0b\x32<.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x34\n\x10time_range_begin\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\x86\x04\n\x0f\x45rrorGroupStats\x12\x46\n\x05group\x18\x01 \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorGroup\x12\r\n\x05\x63ount\x18\x02 \x01(\x03\x12\x1c\n\x14\x61\x66\x66\x65\x63ted_users_count\x18\x03 \x01(\x03\x12M\n\x0ctimed_counts\x18\x04 \x03(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.TimedCount\x12\x33\n\x0f\x66irst_seen_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x32\n\x0elast_seen_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12V\n\x11\x61\x66\x66\x65\x63ted_services\x18\x07 \x03(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContext\x12\x1d\n\x15num_affected_services\x18\x08 \x01(\x05\x12O\n\x0erepresentative\x18\t \x01(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorEvent\"y\n\nTimedCount\x12\r\n\x05\x63ount\x18\x01 \x01(\x03\x12.\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12,\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xdc\x02\n\x11ListEventsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x15\n\x08group_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12^\n\x0eservice_filter\x18\x03 \x01(\x0b\x32\x41.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterB\x03\xe0\x41\x01\x12T\n\ntime_range\x18\x04 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeB\x03\xe0\x41\x01\x12\x16\n\tpage_size\x18\x06 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x07 \x01(\tB\x03\xe0\x41\x01\"\xb2\x01\n\x12ListEventsResponse\x12M\n\x0c\x65rror_events\x18\x01 \x03(\x0b\x32\x37.google.devtools.clouderrorreporting.v1beta1.ErrorEvent\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\x12\x34\n\x10time_range_begin\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe7\x01\n\x0eQueryTimeRange\x12R\n\x06period\x18\x01 \x01(\x0e\x32\x42.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period\"\x80\x01\n\x06Period\x12\x16\n\x12PERIOD_UNSPECIFIED\x10\x00\x12\x11\n\rPERIOD_1_HOUR\x10\x01\x12\x12\n\x0ePERIOD_6_HOURS\x10\x02\x12\x10\n\x0cPERIOD_1_DAY\x10\x03\x12\x11\n\rPERIOD_1_WEEK\x10\x04\x12\x12\n\x0ePERIOD_30_DAYS\x10\x05\"^\n\x14ServiceContextFilter\x12\x14\n\x07service\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12\x14\n\x07version\x18\x03 \x01(\tB\x03\xe0\x41\x01\x12\x1a\n\rresource_type\x18\x04 \x01(\tB\x03\xe0\x41\x01\"`\n\x13\x44\x65leteEventsRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\"\x16\n\x14\x44\x65leteEventsResponse*u\n\x13TimedCountAlignment\x12%\n!ERROR_COUNT_ALIGNMENT_UNSPECIFIED\x10\x00\x12\x1b\n\x17\x41LIGNMENT_EQUAL_ROUNDED\x10\x01\x12\x1a\n\x16\x41LIGNMENT_EQUAL_AT_END\x10\x02*}\n\x0f\x45rrorGroupOrder\x12\x1b\n\x17GROUP_ORDER_UNSPECIFIED\x10\x00\x12\x0e\n\nCOUNT_DESC\x10\x01\x12\x12\n\x0eLAST_SEEN_DESC\x10\x02\x12\x10\n\x0c\x43REATED_DESC\x10\x03\x12\x17\n\x13\x41\x46\x46\x45\x43TED_USERS_DESC\x10\x04\x32\x8b\x06\n\x11\x45rrorStatsService\x12\xea\x01\n\x0eListGroupStats\x12\x42.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest\x1a\x43.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse\"O\x82\xd3\xe4\x93\x02/\x12-/v1beta1/{project_name=projects/*}/groupStats\xda\x41\x17project_name,time_range\x12\xd8\x01\n\nListEvents\x12>.google.devtools.clouderrorreporting.v1beta1.ListEventsRequest\x1a?.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse\"I\x82\xd3\xe4\x93\x02+\x12)/v1beta1/{project_name=projects/*}/events\xda\x41\x15project_name,group_id\x12\xd5\x01\n\x0c\x44\x65leteEvents\x12@.google.devtools.clouderrorreporting.v1beta1.DeleteEventsRequest\x1a\x41.google.devtools.clouderrorreporting.v1beta1.DeleteEventsResponse\"@\x82\xd3\xe4\x93\x02+*)/v1beta1/{project_name=projects/*}/events\xda\x41\x0cproject_name\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x94\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x16\x45rrorStatsServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.protobuf.Duration", "google/protobuf/duration.proto"],
|
32
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
33
|
+
["google.devtools.clouderrorreporting.v1beta1.ErrorGroup", "google/devtools/clouderrorreporting/v1beta1/common.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
94
39
|
end
|
95
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
96
43
|
end
|
97
44
|
|
98
45
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
|
3
4
|
|
@@ -10,21 +11,33 @@ require 'google/api/resource_pb'
|
|
10
11
|
require 'google/devtools/clouderrorreporting/v1beta1/common_pb'
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
14
|
+
|
15
|
+
descriptor_data = "\nGgoogle/devtools/clouderrorreporting/v1beta1/report_errors_service.proto\x12+google.devtools.clouderrorreporting.v1beta1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x38google/devtools/clouderrorreporting/v1beta1/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb9\x01\n\x17ReportErrorEventRequest\x12I\n\x0cproject_name\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12S\n\x05\x65vent\x18\x02 \x01(\x0b\x32?.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventB\x03\xe0\x41\x02\"\x1a\n\x18ReportErrorEventResponse\"\x8b\x02\n\x12ReportedErrorEvent\x12\x33\n\nevent_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12Y\n\x0fservice_context\x18\x02 \x01(\x0b\x32;.google.devtools.clouderrorreporting.v1beta1.ServiceContextB\x03\xe0\x41\x02\x12\x14\n\x07message\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12O\n\x07\x63ontext\x18\x04 \x01(\x0b\x32\x39.google.devtools.clouderrorreporting.v1beta1.ErrorContextB\x03\xe0\x41\x01\x32\xe5\x02\n\x13ReportErrorsService\x12\xf5\x01\n\x10ReportErrorEvent\x12\x44.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest\x1a\x45.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse\"T\x82\xd3\xe4\x93\x02\x39\"0/v1beta1/{project_name=projects/*}/events:report:\x05\x65vent\xda\x41\x12project_name,event\x1aV\xca\x41\"clouderrorreporting.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\x96\x02\n/com.google.devtools.clouderrorreporting.v1beta1B\x18ReportErrorsServiceProtoP\x01ZOcloud.google.com/go/errorreporting/apiv1beta1/errorreportingpb;errorreportingpb\xf8\x01\x01\xaa\x02#Google.Cloud.ErrorReporting.V1Beta1\xca\x02#Google\\Cloud\\ErrorReporting\\V1beta1\xea\x02&Google::Cloud::ErrorReporting::V1beta1b\x06proto3"
|
16
|
+
|
17
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
18
|
+
|
19
|
+
begin
|
20
|
+
pool.add_serialized_file(descriptor_data)
|
21
|
+
rescue TypeError => e
|
22
|
+
# Compatibility code: will be removed in the next major version.
|
23
|
+
require 'google/protobuf/descriptor_pb'
|
24
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
25
|
+
parsed.clear_dependency
|
26
|
+
serialized = parsed.class.encode(parsed)
|
27
|
+
file = pool.add_serialized_file(serialized)
|
28
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
29
|
+
imports = [
|
30
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
31
|
+
["google.devtools.clouderrorreporting.v1beta1.ServiceContext", "google/devtools/clouderrorreporting/v1beta1/common.proto"],
|
32
|
+
]
|
33
|
+
imports.each do |type_name, expected_filename|
|
34
|
+
import_file = pool.lookup(type_name).file_descriptor
|
35
|
+
if import_file.name != expected_filename
|
36
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
26
37
|
end
|
27
38
|
end
|
39
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
40
|
+
warn "This will become an error in the next major version."
|
28
41
|
end
|
29
42
|
|
30
43
|
module Google
|
@@ -35,7 +35,9 @@ module Google
|
|
35
35
|
# Details about how and where to publish client libraries.
|
36
36
|
# @!attribute [rw] version
|
37
37
|
# @return [::String]
|
38
|
-
# Version of the API to apply these settings to.
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
39
|
+
# package for the API, ending in the version element.
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
39
41
|
# @!attribute [rw] launch_stage
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
41
43
|
# Launch stage of this version of the API.
|
@@ -81,7 +83,7 @@ module Google
|
|
81
83
|
# long-running operation pattern.
|
82
84
|
# @!attribute [rw] new_issue_uri
|
83
85
|
# @return [::String]
|
84
|
-
# Link to a
|
86
|
+
# Link to a *public* URI where users can report issues. Example:
|
85
87
|
# https://issuetracker.google.com/issues/new?component=190865&template=1161103
|
86
88
|
# @!attribute [rw] documentation_uri
|
87
89
|
# @return [::String]
|
@@ -111,6 +113,10 @@ module Google
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
113
115
|
# settings with the same version string are discarded.
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
117
|
+
# @return [::String]
|
118
|
+
# Optional link to proto reference documentation. Example:
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
114
120
|
class Publishing
|
115
121
|
include ::Google::Protobuf::MessageExts
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -203,9 +209,57 @@ module Google
|
|
203
209
|
# @!attribute [rw] common
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
205
211
|
# Some settings.
|
212
|
+
# @!attribute [rw] renamed_services
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
214
|
+
# Map from original service names to renamed versions.
|
215
|
+
# This is used when the default generated types
|
216
|
+
# would cause a naming conflict. (Neither name is
|
217
|
+
# fully-qualified.)
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
219
|
+
# @!attribute [rw] renamed_resources
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
221
|
+
# Map from full resource types to the effective short name
|
222
|
+
# for the resource. This is used when otherwise resource
|
223
|
+
# named from different services would cause naming collisions.
|
224
|
+
# Example entry:
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
226
|
+
# @!attribute [rw] ignored_resources
|
227
|
+
# @return [::Array<::String>]
|
228
|
+
# List of full resource types to ignore during generation.
|
229
|
+
# This is typically used for API-specific Location resources,
|
230
|
+
# which should be handled by the generator as if they were actually
|
231
|
+
# the common Location resources.
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
234
|
+
# @return [::Array<::String>]
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
238
|
+
# @return [::Array<::String>]
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
206
242
|
class DotnetSettings
|
207
243
|
include ::Google::Protobuf::MessageExts
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
245
|
+
|
246
|
+
# @!attribute [rw] key
|
247
|
+
# @return [::String]
|
248
|
+
# @!attribute [rw] value
|
249
|
+
# @return [::String]
|
250
|
+
class RenamedServicesEntry
|
251
|
+
include ::Google::Protobuf::MessageExts
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
253
|
+
end
|
254
|
+
|
255
|
+
# @!attribute [rw] key
|
256
|
+
# @return [::String]
|
257
|
+
# @!attribute [rw] value
|
258
|
+
# @return [::String]
|
259
|
+
class RenamedResourcesEntry
|
260
|
+
include ::Google::Protobuf::MessageExts
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
262
|
+
end
|
209
263
|
end
|
210
264
|
|
211
265
|
# Settings for Ruby client libraries.
|
@@ -240,8 +294,8 @@ module Google
|
|
240
294
|
# Example of a YAML configuration::
|
241
295
|
#
|
242
296
|
# publishing:
|
243
|
-
#
|
244
|
-
# - selector:
|
297
|
+
# method_settings:
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
245
299
|
# long_running:
|
246
300
|
# initial_poll_delay:
|
247
301
|
# seconds: 60 # 1 minute
|
@@ -299,6 +353,15 @@ module Google
|
|
299
353
|
|
300
354
|
# Street View Org.
|
301
355
|
STREET_VIEW = 4
|
356
|
+
|
357
|
+
# Shopping Org.
|
358
|
+
SHOPPING = 5
|
359
|
+
|
360
|
+
# Geo Org.
|
361
|
+
GEO = 6
|
362
|
+
|
363
|
+
# Generative AI - https://developers.generativeai.google
|
364
|
+
GENERATIVE_AI = 7
|
302
365
|
end
|
303
366
|
|
304
367
|
# To where should client libraries be published?
|
@@ -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
|
@@ -69,7 +69,6 @@ module Google
|
|
69
69
|
# Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
|
70
70
|
# .setNanos((int) ((millis % 1000) * 1000000)).build();
|
71
71
|
#
|
72
|
-
#
|
73
72
|
# Example 5: Compute Timestamp from Java `Instant.now()`.
|
74
73
|
#
|
75
74
|
# Instant now = Instant.now();
|
@@ -78,7 +77,6 @@ module Google
|
|
78
77
|
# Timestamp.newBuilder().setSeconds(now.getEpochSecond())
|
79
78
|
# .setNanos(now.getNano()).build();
|
80
79
|
#
|
81
|
-
#
|
82
80
|
# Example 6: Compute Timestamp from current time in Python.
|
83
81
|
#
|
84
82
|
# timestamp = Timestamp()
|
@@ -108,7 +106,7 @@ module Google
|
|
108
106
|
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
109
107
|
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
110
108
|
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
111
|
-
# http://
|
109
|
+
# http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime()
|
112
110
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
113
111
|
# @!attribute [rw] seconds
|
114
112
|
# @return [::Integer]
|
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
|
+
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-
|
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
|
+
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.
|
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.
|
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
|