Class: Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats
- Inherits:
-
Object
- Object
- Google::Apis::ClouderrorreportingV1beta1::ErrorGroupStats
- Defined in:
- generated/google/apis/clouderrorreporting_v1beta1/classes.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb,
generated/google/apis/clouderrorreporting_v1beta1/representations.rb
Overview
Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.
Instance Attribute Summary collapse
-
#affected_services ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::ServiceContext>
Service contexts with a non-zero error count for the given filter criteria.
-
#affected_users_count ⇒ Fixnum
Approximate number of affected users in the given group that match the filter criteria.
-
#count ⇒ Fixnum
Approximate total number of events in the given group that match the filter criteria.
-
#first_seen_time ⇒ String
Approximate first occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
-
#group ⇒ Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
Description of a group of similar error events.
-
#last_seen_time ⇒ String
Approximate last occurrence that was ever seen for this group and which matches the given filter criteria, ignoring the time_range that was specified in the request.
-
#num_affected_services ⇒ Fixnum
The total number of services with a non-zero error count for the given filter criteria.
-
#representative ⇒ Google::Apis::ClouderrorreportingV1beta1::ErrorEvent
An error event which is returned by the Error Reporting system.
-
#timed_counts ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::TimedCount>
Approximate number of occurrences over time.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ErrorGroupStats
constructor
A new instance of ErrorGroupStats.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ErrorGroupStats
Returns a new instance of ErrorGroupStats
241 242 243 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 241 def initialize(**args) update!(**args) end |
Instance Attribute Details
#affected_services ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::ServiceContext>
Service contexts with a non-zero error count for the given filter
criteria. This list can be truncated if multiple services are affected.
Refer to num_affected_services
for the total count.
Corresponds to the JSON property affectedServices
178 179 180 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 178 def affected_services @affected_services end |
#affected_users_count ⇒ Fixnum
Approximate number of affected users in the given group that
match the filter criteria.
Users are distinguished by data in the ErrorContext
of the
individual error events, such as their login name or their remote
IP address in case of HTTP requests.
The number of affected users can be zero even if the number of
errors is non-zero if no data was provided from which the
affected user could be deduced.
Users are counted based on data in the request
context that was provided in the error report. If more users are
implicitly affected, such as due to a crash of the whole service,
this is not reflected here.
Corresponds to the JSON property affectedUsersCount
194 195 196 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 194 def affected_users_count @affected_users_count end |
#count ⇒ Fixnum
Approximate total number of events in the given group that match
the filter criteria.
Corresponds to the JSON property count
200 201 202 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 200 def count @count end |
#first_seen_time ⇒ String
Approximate first occurrence that was ever seen for this group
and which matches the given filter criteria, ignoring the
time_range that was specified in the request.
Corresponds to the JSON property firstSeenTime
207 208 209 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 207 def first_seen_time @first_seen_time end |
#group ⇒ Google::Apis::ClouderrorreportingV1beta1::ErrorGroup
Description of a group of similar error events.
Corresponds to the JSON property group
212 213 214 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 212 def group @group end |
#last_seen_time ⇒ String
Approximate last occurrence that was ever seen for this group and
which matches the given filter criteria, ignoring the time_range
that was specified in the request.
Corresponds to the JSON property lastSeenTime
219 220 221 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 219 def last_seen_time @last_seen_time end |
#num_affected_services ⇒ Fixnum
The total number of services with a non-zero error count for the given
filter criteria.
Corresponds to the JSON property numAffectedServices
225 226 227 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 225 def num_affected_services @num_affected_services end |
#representative ⇒ Google::Apis::ClouderrorreportingV1beta1::ErrorEvent
An error event which is returned by the Error Reporting system.
Corresponds to the JSON property representative
230 231 232 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 230 def representative @representative end |
#timed_counts ⇒ Array<Google::Apis::ClouderrorreportingV1beta1::TimedCount>
Approximate number of occurrences over time. Timed counts returned by ListGroups are guaranteed to be:
- Inside the requested time interval
- Non-overlapping, and
- Ordered by ascending time.
Corresponds to the JSON property
timedCounts
239 240 241 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 239 def timed_counts @timed_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
246 247 248 249 250 251 252 253 254 255 256 |
# File 'generated/google/apis/clouderrorreporting_v1beta1/classes.rb', line 246 def update!(**args) @affected_services = args[:affected_services] if args.key?(:affected_services) @affected_users_count = args[:affected_users_count] if args.key?(:affected_users_count) @count = args[:count] if args.key?(:count) @first_seen_time = args[:first_seen_time] if args.key?(:first_seen_time) @group = args[:group] if args.key?(:group) @last_seen_time = args[:last_seen_time] if args.key?(:last_seen_time) @num_affected_services = args[:num_affected_services] if args.key?(:num_affected_services) @representative = args[:representative] if args.key?(:representative) @timed_counts = args[:timed_counts] if args.key?(:timed_counts) end |