Class: Google::Cloud::ErrorReporting::V1beta1::QueryTimeRange

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb

Overview

A time range for which error group data shall be displayed. Query time ranges end at 'now'. When longer time ranges are selected, the resolution of the data decreases. The description of each time range below indicates the suggested minimum timed count duration for that range.

Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.

Defined Under Namespace

Modules: Period

Instance Attribute Summary collapse

Instance Attribute Details

#period::Google::Cloud::ErrorReporting::V1beta1::QueryTimeRange::Period

Returns Restricts the query to the specified time range.

Returns:



279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
# File 'proto_docs/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 279

class QueryTimeRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The supported time ranges.
  module Period
    # Do not use.
    PERIOD_UNSPECIFIED = 0

    # Retrieve data for the last hour.
    # Recommended minimum timed count duration: 1 min.
    PERIOD_1_HOUR = 1

    # Retrieve data for the last 6 hours.
    # Recommended minimum timed count duration: 10 min.
    PERIOD_6_HOURS = 2

    # Retrieve data for the last day.
    # Recommended minimum timed count duration: 1 hour.
    PERIOD_1_DAY = 3

    # Retrieve data for the last week.
    # Recommended minimum timed count duration: 6 hours.
    PERIOD_1_WEEK = 4

    # Retrieve data for the last 30 days.
    # Recommended minimum timed count duration: 1 day.
    PERIOD_30_DAYS = 5
  end
end