google-cloud-error_reporting 0.30.4 → 0.30.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/INSTRUMENTATION.md +2 -2
- data/LOGGING.md +1 -1
- data/lib/google-cloud-error_reporting.rb +1 -1
- data/lib/google/cloud/error_reporting.rb +1 -1
- data/lib/google/cloud/error_reporting/middleware.rb +1 -1
- data/lib/google/cloud/error_reporting/rails.rb +1 -1
- data/lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/common.rb +8 -8
- data/lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb +20 -20
- data/lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/report_errors_service.rb +2 -2
- data/lib/google/cloud/error_reporting/v1beta1/doc/google/protobuf/duration.rb +3 -3
- data/lib/google/cloud/error_reporting/v1beta1/doc/google/protobuf/timestamp.rb +7 -7
- data/lib/google/cloud/error_reporting/v1beta1/error_group_service_client.rb +1 -1
- data/lib/google/cloud/error_reporting/v1beta1/error_stats_service_client.rb +9 -9
- data/lib/google/cloud/error_reporting/v1beta1/report_errors_service_client.rb +4 -4
- data/lib/google/cloud/error_reporting/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df53fba39b31fef5256a2fb3e35160f868eaaea7e6332b71ea779c9edb55c11c
|
4
|
+
data.tar.gz: 28bea2c9d8caa7eb94f69ad8ea64fb243c9920449cff4396bc5220726d834f07
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec08c92db16cdaf1a8fe8d6d0d4f00255d2c78c550f07ccb1dc024d9318704b5c1e57a6ded1c37228fa094fd87fc41869c98f4b9c3d7a1a773c611b74e9237d8
|
7
|
+
data.tar.gz: 4099c791a52bab837c673cc8a88f02542a1f64fe9926e143af97758e72df970066898db77e8fcbb0d7a07a58fca0c5a115d132fc162670ed1b0ec8f3cda5997d
|
data/CHANGELOG.md
CHANGED
data/INSTRUMENTATION.md
CHANGED
@@ -26,7 +26,7 @@ you want to run on a non Google Cloud environment or you want to customize the
|
|
26
26
|
default behavior.
|
27
27
|
|
28
28
|
See the [Configuration
|
29
|
-
Guide](https://
|
29
|
+
Guide](https://googleapis.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
|
30
30
|
for full configuration parameters.
|
31
31
|
|
32
32
|
## Rack Middleware and Railtie
|
@@ -48,7 +48,7 @@ require "google/cloud/error_reporting/rails"
|
|
48
48
|
```
|
49
49
|
|
50
50
|
Alternatively, check out the
|
51
|
-
[stackdriver](https://
|
51
|
+
[stackdriver](https://googleapis.github.io/google-cloud-ruby/docs/stackdriver/latest)
|
52
52
|
gem, which enables this Railtie by default.
|
53
53
|
|
54
54
|
### Rack Integration
|
data/LOGGING.md
CHANGED
@@ -5,7 +5,7 @@ To enable logging for this library, set the logger for the underlying
|
|
5
5
|
that you set may be a Ruby stdlib
|
6
6
|
[`Logger`](https://ruby-doc.org/stdlib-2.5.0/libdoc/logger/rdoc/Logger.html) as
|
7
7
|
shown below, or a
|
8
|
-
[`Google::Cloud::Logging::Logger`](https://
|
8
|
+
[`Google::Cloud::Logging::Logger`](https://googleapis.github.io/google-cloud-ruby/docs/google-cloud-logging/latest/Google/Cloud/Logging/Logger)
|
9
9
|
that will write logs to [Stackdriver
|
10
10
|
Logging](https://cloud.google.com/logging/). See
|
11
11
|
[grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
|
@@ -125,7 +125,7 @@ module Google
|
|
125
125
|
# should not be reported.
|
126
126
|
#
|
127
127
|
# See the [Configuration
|
128
|
-
# Guide](https://
|
128
|
+
# Guide](https://googleapis.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
|
129
129
|
# for full configuration parameters.
|
130
130
|
#
|
131
131
|
# @example
|
@@ -39,7 +39,7 @@ module Google
|
|
39
39
|
# exceptions
|
40
40
|
# @param [Hash] kwargs Hash of configuration settings. Used for backward
|
41
41
|
# API compatibility. See the [Configuration
|
42
|
-
# Guide](https://
|
42
|
+
# Guide](https://googleapis.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
|
43
43
|
# for the prefered way to set configuration parameters.
|
44
44
|
#
|
45
45
|
# @return [Google::Cloud::ErrorReporting::Middleware] A new instance of
|
@@ -35,7 +35,7 @@ module Google
|
|
35
35
|
# and handle all Exceptions without interfering with Rails's normal error
|
36
36
|
# pages.
|
37
37
|
# See the [Configuration
|
38
|
-
# Guide](https://
|
38
|
+
# Guide](https://googleapis.github.io/google-cloud-ruby/docs/stackdriver/latest/file.INSTRUMENTATION_CONFIGURATION)
|
39
39
|
# on how to configure the Railtie and Middleware.
|
40
40
|
#
|
41
41
|
class Railtie < ::Rails::Railtie
|
@@ -46,7 +46,7 @@ module Google
|
|
46
46
|
# by the Error Reporting system is used.
|
47
47
|
# @!attribute [rw] service_context
|
48
48
|
# @return [Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext]
|
49
|
-
# The
|
49
|
+
# The `ServiceContext` for which this error was reported.
|
50
50
|
# @!attribute [rw] message
|
51
51
|
# @return [String]
|
52
52
|
# The stack trace that was reported or logged by the service.
|
@@ -62,10 +62,10 @@ module Google
|
|
62
62
|
# An identifier of the service, such as the name of the
|
63
63
|
# executable, job, or Google App Engine service name. This field is expected
|
64
64
|
# to have a low number of values that are relatively stable over time, as
|
65
|
-
# opposed to
|
65
|
+
# opposed to `version`, which can be changed whenever new code is deployed.
|
66
66
|
#
|
67
67
|
# Contains the service name for error reports extracted from Google
|
68
|
-
# App Engine logs or
|
68
|
+
# App Engine logs or `default` if the App Engine default service is used.
|
69
69
|
# @!attribute [rw] version
|
70
70
|
# @return [String]
|
71
71
|
# Represents the source code version that the developer provided,
|
@@ -95,15 +95,15 @@ module Google
|
|
95
95
|
# When sending an error report, leave this field empty if the user was not
|
96
96
|
# logged in. In this case the
|
97
97
|
# Error Reporting system will use other data, such as remote IP address, to
|
98
|
-
# distinguish affected users. See
|
99
|
-
#
|
98
|
+
# distinguish affected users. See `affected_users_count` in
|
99
|
+
# `ErrorGroupStats`.
|
100
100
|
# @!attribute [rw] report_location
|
101
101
|
# @return [Google::Devtools::Clouderrorreporting::V1beta1::SourceLocation]
|
102
102
|
# The location in the source code where the decision was made to
|
103
103
|
# report the error, usually the place where it was logged.
|
104
104
|
# For a logged exception this would be the source line where the
|
105
105
|
# exception is logged, usually close to the place where it was
|
106
|
-
# caught. This value is in contrast to
|
106
|
+
# caught. This value is in contrast to `Exception.cause_location`,
|
107
107
|
# which describes the source line where the exception was thrown.
|
108
108
|
class ErrorContext; end
|
109
109
|
|
@@ -113,7 +113,7 @@ module Google
|
|
113
113
|
# error report has been generated automatically from Google App Engine logs.
|
114
114
|
# @!attribute [rw] method
|
115
115
|
# @return [String]
|
116
|
-
# The type of HTTP request, such as
|
116
|
+
# The type of HTTP request, such as `GET`, `POST`, etc.
|
117
117
|
# @!attribute [rw] url
|
118
118
|
# @return [String]
|
119
119
|
# The URL of the request.
|
@@ -150,7 +150,7 @@ module Google
|
|
150
150
|
# @return [String]
|
151
151
|
# Human-readable name of a function or method.
|
152
152
|
# The value can include optional context like the class or package name.
|
153
|
-
# For example,
|
153
|
+
# For example, `my.package.MyClass.method` in case of Java.
|
154
154
|
class SourceLocation; end
|
155
155
|
end
|
156
156
|
end
|
@@ -17,7 +17,7 @@ module Google
|
|
17
17
|
module Devtools
|
18
18
|
module Clouderrorreporting
|
19
19
|
module V1beta1
|
20
|
-
# Specifies a set of
|
20
|
+
# Specifies a set of `ErrorGroupStats` to return.
|
21
21
|
# @!attribute [rw] project_name
|
22
22
|
# @return [String]
|
23
23
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
@@ -45,12 +45,12 @@ module Google
|
|
45
45
|
# occurrences are returned.
|
46
46
|
# @!attribute [rw] timed_count_duration
|
47
47
|
# @return [Google::Protobuf::Duration]
|
48
|
-
# [Optional] The preferred duration for a single returned
|
48
|
+
# [Optional] The preferred duration for a single returned `TimedCount`.
|
49
49
|
# If not set, no timed counts are returned.
|
50
50
|
# @!attribute [rw] alignment
|
51
51
|
# @return [Google::Devtools::Clouderrorreporting::V1beta1::TimedCountAlignment]
|
52
52
|
# [Optional] The alignment of the timed counts to be returned.
|
53
|
-
# Default is
|
53
|
+
# Default is `ALIGNMENT_EQUAL_AT_END`.
|
54
54
|
# @!attribute [rw] alignment_time
|
55
55
|
# @return [Google::Protobuf::Timestamp]
|
56
56
|
# [Optional] Time where the timed counts shall be aligned if rounded
|
@@ -58,14 +58,14 @@ module Google
|
|
58
58
|
# @!attribute [rw] order
|
59
59
|
# @return [Google::Devtools::Clouderrorreporting::V1beta1::ErrorGroupOrder]
|
60
60
|
# [Optional] The sort order in which the results are returned.
|
61
|
-
# Default is
|
61
|
+
# Default is `COUNT_DESC`.
|
62
62
|
# @!attribute [rw] page_size
|
63
63
|
# @return [Integer]
|
64
64
|
# [Optional] The maximum number of results to return per response.
|
65
65
|
# Default is 20.
|
66
66
|
# @!attribute [rw] page_token
|
67
67
|
# @return [String]
|
68
|
-
# [Optional] A
|
68
|
+
# [Optional] A `next_page_token` provided by a previous response. To view
|
69
69
|
# additional results, pass this token along with the identical query
|
70
70
|
# parameters as the first request.
|
71
71
|
class ListGroupStatsRequest; end
|
@@ -100,7 +100,7 @@ module Google
|
|
100
100
|
# @return [Integer]
|
101
101
|
# Approximate number of affected users in the given group that
|
102
102
|
# match the filter criteria.
|
103
|
-
# Users are distinguished by data in the
|
103
|
+
# Users are distinguished by data in the `ErrorContext` of the
|
104
104
|
# individual error events, such as their login name or their remote
|
105
105
|
# IP address in case of HTTP requests.
|
106
106
|
# The number of affected users can be zero even if the number of
|
@@ -132,7 +132,7 @@ module Google
|
|
132
132
|
# @return [Array<Google::Devtools::Clouderrorreporting::V1beta1::ServiceContext>]
|
133
133
|
# Service contexts with a non-zero error count for the given filter
|
134
134
|
# criteria. This list can be truncated if multiple services are affected.
|
135
|
-
# Refer to
|
135
|
+
# Refer to `num_affected_services` for the total count.
|
136
136
|
# @!attribute [rw] num_affected_services
|
137
137
|
# @return [Integer]
|
138
138
|
# The total number of services with a non-zero error count for the given
|
@@ -154,20 +154,20 @@ module Google
|
|
154
154
|
# Approximate number of occurrences in the given time period.
|
155
155
|
# @!attribute [rw] start_time
|
156
156
|
# @return [Google::Protobuf::Timestamp]
|
157
|
-
# Start of the time period to which
|
157
|
+
# Start of the time period to which `count` refers (included).
|
158
158
|
# @!attribute [rw] end_time
|
159
159
|
# @return [Google::Protobuf::Timestamp]
|
160
|
-
# End of the time period to which
|
160
|
+
# End of the time period to which `count` refers (excluded).
|
161
161
|
class TimedCount; end
|
162
162
|
|
163
163
|
# Specifies a set of error events to return.
|
164
164
|
# @!attribute [rw] project_name
|
165
165
|
# @return [String]
|
166
166
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
167
|
-
# as
|
167
|
+
# as `projects/` plus the
|
168
168
|
# [Google Cloud Platform project
|
169
169
|
# ID](https://support.google.com/cloud/answer/6158840).
|
170
|
-
# Example:
|
170
|
+
# Example: `projects/my-project-123`.
|
171
171
|
# @!attribute [rw] group_id
|
172
172
|
# @return [String]
|
173
173
|
# [Required] The group for which events shall be returned.
|
@@ -186,7 +186,7 @@ module Google
|
|
186
186
|
# [Optional] The maximum number of results to return per response.
|
187
187
|
# @!attribute [rw] page_token
|
188
188
|
# @return [String]
|
189
|
-
# [Optional] A
|
189
|
+
# [Optional] A `next_page_token` provided by a previous response.
|
190
190
|
class ListEventsRequest; end
|
191
191
|
|
192
192
|
# Contains a set of requested error events.
|
@@ -237,31 +237,31 @@ module Google
|
|
237
237
|
end
|
238
238
|
|
239
239
|
# Specifies criteria for filtering a subset of service contexts.
|
240
|
-
# The fields in the filter correspond to the fields in
|
240
|
+
# The fields in the filter correspond to the fields in `ServiceContext`.
|
241
241
|
# Only exact, case-sensitive matches are supported.
|
242
242
|
# If a field is unset or empty, it matches arbitrary values.
|
243
243
|
# @!attribute [rw] service
|
244
244
|
# @return [String]
|
245
245
|
# [Optional] The exact value to match against
|
246
|
-
# [
|
246
|
+
# [`ServiceContext.service`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
|
247
247
|
# @!attribute [rw] version
|
248
248
|
# @return [String]
|
249
249
|
# [Optional] The exact value to match against
|
250
|
-
# [
|
250
|
+
# [`ServiceContext.version`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
|
251
251
|
# @!attribute [rw] resource_type
|
252
252
|
# @return [String]
|
253
253
|
# [Optional] The exact value to match against
|
254
|
-
# [
|
254
|
+
# [`ServiceContext.resource_type`](https://cloud.google.com/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
|
255
255
|
class ServiceContextFilter; end
|
256
256
|
|
257
257
|
# Deletes all events in the project.
|
258
258
|
# @!attribute [rw] project_name
|
259
259
|
# @return [String]
|
260
260
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
261
|
-
# as
|
261
|
+
# as `projects/` plus the
|
262
262
|
# [Google Cloud Platform project
|
263
263
|
# ID](https://support.google.com/cloud/answer/6158840).
|
264
|
-
# Example:
|
264
|
+
# Example: `projects/my-project-123`.
|
265
265
|
class DeleteEventsRequest; end
|
266
266
|
|
267
267
|
# Response message for deleting error events.
|
@@ -273,9 +273,9 @@ module Google
|
|
273
273
|
ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0
|
274
274
|
|
275
275
|
# The time periods shall be consecutive, have width equal to the
|
276
|
-
# requested duration, and be aligned at the
|
276
|
+
# requested duration, and be aligned at the `alignment_time` provided in
|
277
277
|
# the request.
|
278
|
-
# The
|
278
|
+
# The `alignment_time` does not have to be inside the query period but
|
279
279
|
# even if it is outside, only time periods are returned which overlap
|
280
280
|
# with the query period.
|
281
281
|
# A rounded alignment will typically result in a
|
@@ -21,9 +21,9 @@ module Google
|
|
21
21
|
# @!attribute [rw] project_name
|
22
22
|
# @return [String]
|
23
23
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
24
|
-
# as
|
24
|
+
# as `projects/` plus the
|
25
25
|
# [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
|
26
|
-
# Example:
|
26
|
+
# Example: `projects/my-project-123`.
|
27
27
|
# @!attribute [rw] event
|
28
28
|
# @return [Google::Devtools::Clouderrorreporting::V1beta1::ReportedErrorEvent]
|
29
29
|
# [Required] The error event to be reported.
|
@@ -82,9 +82,9 @@ module Google
|
|
82
82
|
# @return [Integer]
|
83
83
|
# Signed fractions of a second at nanosecond resolution of the span
|
84
84
|
# of time. Durations less than one second are represented with a 0
|
85
|
-
#
|
86
|
-
# of one second or more, a non-zero value for the
|
87
|
-
# of the same sign as the
|
85
|
+
# `seconds` field and a positive or negative `nanos` field. For durations
|
86
|
+
# of one second or more, a non-zero value for the `nanos` field must be
|
87
|
+
# of the same sign as the `seconds` field. Must be from -999,999,999
|
88
88
|
# to +999,999,999 inclusive.
|
89
89
|
class Duration; end
|
90
90
|
end
|
@@ -29,13 +29,13 @@ module Google
|
|
29
29
|
#
|
30
30
|
# = Examples
|
31
31
|
#
|
32
|
-
# Example 1: Compute Timestamp from POSIX
|
32
|
+
# Example 1: Compute Timestamp from POSIX `time()`.
|
33
33
|
#
|
34
34
|
# Timestamp timestamp;
|
35
35
|
# timestamp.set_seconds(time(NULL));
|
36
36
|
# timestamp.set_nanos(0);
|
37
37
|
#
|
38
|
-
# Example 2: Compute Timestamp from POSIX
|
38
|
+
# Example 2: Compute Timestamp from POSIX `gettimeofday()`.
|
39
39
|
#
|
40
40
|
# struct timeval tv;
|
41
41
|
# gettimeofday(&tv, NULL);
|
@@ -44,7 +44,7 @@ module Google
|
|
44
44
|
# timestamp.set_seconds(tv.tv_sec);
|
45
45
|
# timestamp.set_nanos(tv.tv_usec * 1000);
|
46
46
|
#
|
47
|
-
# Example 3: Compute Timestamp from Win32
|
47
|
+
# Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
|
48
48
|
#
|
49
49
|
# FILETIME ft;
|
50
50
|
# GetSystemTimeAsFileTime(&ft);
|
@@ -56,7 +56,7 @@ module Google
|
|
56
56
|
# timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
|
57
57
|
# timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
|
58
58
|
#
|
59
|
-
# Example 4: Compute Timestamp from Java
|
59
|
+
# Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
|
60
60
|
#
|
61
61
|
# long millis = System.currentTimeMillis();
|
62
62
|
#
|
@@ -87,10 +87,10 @@ module Google
|
|
87
87
|
#
|
88
88
|
# In JavaScript, one can convert a Date object to this format using the
|
89
89
|
# standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
|
90
|
-
# method. In Python, a standard
|
91
|
-
# to this format using [
|
90
|
+
# method. In Python, a standard `datetime.datetime` object can be converted
|
91
|
+
# to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
|
92
92
|
# with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
|
93
|
-
# can use the Joda Time's [
|
93
|
+
# can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
94
94
|
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
|
95
95
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
96
96
|
# @!attribute [rw] seconds
|
@@ -248,7 +248,7 @@ module Google
|
|
248
248
|
#
|
249
249
|
# error_group_service_client = Google::Cloud::ErrorReporting::ErrorGroup.new(version: :v1beta1)
|
250
250
|
#
|
251
|
-
# # TODO: Initialize
|
251
|
+
# # TODO: Initialize `group`:
|
252
252
|
# group = {}
|
253
253
|
# response = error_group_service_client.update_group(group)
|
254
254
|
|
@@ -237,13 +237,13 @@ module Google
|
|
237
237
|
# A hash of the same form as `Google::Devtools::Clouderrorreporting::V1beta1::ServiceContextFilter`
|
238
238
|
# can also be provided.
|
239
239
|
# @param timed_count_duration [Google::Protobuf::Duration | Hash]
|
240
|
-
# [Optional] The preferred duration for a single returned
|
240
|
+
# [Optional] The preferred duration for a single returned `TimedCount`.
|
241
241
|
# If not set, no timed counts are returned.
|
242
242
|
# A hash of the same form as `Google::Protobuf::Duration`
|
243
243
|
# can also be provided.
|
244
244
|
# @param alignment [Google::Devtools::Clouderrorreporting::V1beta1::TimedCountAlignment]
|
245
245
|
# [Optional] The alignment of the timed counts to be returned.
|
246
|
-
# Default is
|
246
|
+
# Default is `ALIGNMENT_EQUAL_AT_END`.
|
247
247
|
# @param alignment_time [Google::Protobuf::Timestamp | Hash]
|
248
248
|
# [Optional] Time where the timed counts shall be aligned if rounded
|
249
249
|
# alignment is chosen. Default is 00:00 UTC.
|
@@ -251,7 +251,7 @@ module Google
|
|
251
251
|
# can also be provided.
|
252
252
|
# @param order [Google::Devtools::Clouderrorreporting::V1beta1::ErrorGroupOrder]
|
253
253
|
# [Optional] The sort order in which the results are returned.
|
254
|
-
# Default is
|
254
|
+
# Default is `COUNT_DESC`.
|
255
255
|
# @param page_size [Integer]
|
256
256
|
# The maximum number of resources contained in the underlying API
|
257
257
|
# response. If page streaming is performed per-resource, this
|
@@ -276,7 +276,7 @@ module Google
|
|
276
276
|
# error_stats_service_client = Google::Cloud::ErrorReporting::ErrorStats.new(version: :v1beta1)
|
277
277
|
# formatted_project_name = Google::Cloud::ErrorReporting::V1beta1::ErrorStatsServiceClient.project_path("[PROJECT]")
|
278
278
|
#
|
279
|
-
# # TODO: Initialize
|
279
|
+
# # TODO: Initialize `time_range`:
|
280
280
|
# time_range = {}
|
281
281
|
#
|
282
282
|
# # Iterate over all results.
|
@@ -323,10 +323,10 @@ module Google
|
|
323
323
|
#
|
324
324
|
# @param project_name [String]
|
325
325
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
326
|
-
# as
|
326
|
+
# as `projects/` plus the
|
327
327
|
# [Google Cloud Platform project
|
328
328
|
# ID](https://support.google.com/cloud/answer/6158840).
|
329
|
-
# Example:
|
329
|
+
# Example: `projects/my-project-123`.
|
330
330
|
# @param group_id [String]
|
331
331
|
# [Required] The group for which events shall be returned.
|
332
332
|
# @param service_filter [Google::Devtools::Clouderrorreporting::V1beta1::ServiceContextFilter | Hash]
|
@@ -365,7 +365,7 @@ module Google
|
|
365
365
|
# error_stats_service_client = Google::Cloud::ErrorReporting::ErrorStats.new(version: :v1beta1)
|
366
366
|
# formatted_project_name = Google::Cloud::ErrorReporting::V1beta1::ErrorStatsServiceClient.project_path("[PROJECT]")
|
367
367
|
#
|
368
|
-
# # TODO: Initialize
|
368
|
+
# # TODO: Initialize `group_id`:
|
369
369
|
# group_id = ''
|
370
370
|
#
|
371
371
|
# # Iterate over all results.
|
@@ -404,10 +404,10 @@ module Google
|
|
404
404
|
#
|
405
405
|
# @param project_name [String]
|
406
406
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
407
|
-
# as
|
407
|
+
# as `projects/` plus the
|
408
408
|
# [Google Cloud Platform project
|
409
409
|
# ID](https://support.google.com/cloud/answer/6158840).
|
410
|
-
# Example:
|
410
|
+
# Example: `projects/my-project-123`.
|
411
411
|
# @param options [Google::Gax::CallOptions]
|
412
412
|
# Overrides the default settings for this call, e.g, timeout,
|
413
413
|
# retries, etc.
|
@@ -190,14 +190,14 @@ module Google
|
|
190
190
|
# <strong>or</strong> an
|
191
191
|
# <a href="https://support.google.com/cloud/answer/6158862">API key</a>
|
192
192
|
# for authentication. To use an API key, append it to the URL as the value of
|
193
|
-
# a
|
193
|
+
# a `key` parameter. For example:
|
194
194
|
# <pre>POST https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
|
195
195
|
#
|
196
196
|
# @param project_name [String]
|
197
197
|
# [Required] The resource name of the Google Cloud Platform project. Written
|
198
|
-
# as
|
198
|
+
# as `projects/` plus the
|
199
199
|
# [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840).
|
200
|
-
# Example:
|
200
|
+
# Example: `projects/my-project-123`.
|
201
201
|
# @param event [Google::Devtools::Clouderrorreporting::V1beta1::ReportedErrorEvent | Hash]
|
202
202
|
# [Required] The error event to be reported.
|
203
203
|
# A hash of the same form as `Google::Devtools::Clouderrorreporting::V1beta1::ReportedErrorEvent`
|
@@ -216,7 +216,7 @@ module Google
|
|
216
216
|
# report_errors_service_client = Google::Cloud::ErrorReporting::ReportErrors.new(version: :v1beta1)
|
217
217
|
# formatted_project_name = Google::Cloud::ErrorReporting::V1beta1::ReportErrorsServiceClient.project_path("[PROJECT]")
|
218
218
|
#
|
219
|
-
# # TODO: Initialize
|
219
|
+
# # TODO: Initialize `event`:
|
220
220
|
# event = {}
|
221
221
|
# response = report_errors_service_client.report_error_event(formatted_project_name, event)
|
222
222
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-error_reporting
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.30.
|
4
|
+
version: 0.30.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-cloud-core
|
@@ -255,7 +255,7 @@ files:
|
|
255
255
|
- lib/google/devtools/clouderrorreporting/v1beta1/error_stats_service_services_pb.rb
|
256
256
|
- lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_pb.rb
|
257
257
|
- lib/google/devtools/clouderrorreporting/v1beta1/report_errors_service_services_pb.rb
|
258
|
-
homepage: https://github.com/
|
258
|
+
homepage: https://github.com/googleapis/google-cloud-ruby/tree/master/google-cloud-error_reporting
|
259
259
|
licenses:
|
260
260
|
- Apache-2.0
|
261
261
|
metadata: {}
|