Class: Google::Devtools::Clouderrorreporting::V1beta1::QueryTimeRange

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb

Overview

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

#periodGoogle::Devtools::Clouderrorreporting::V1beta1::QueryTimeRange::Period

Returns Restricts the query to the specified time range.

Returns:



210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
# File 'lib/google/cloud/error_reporting/v1beta1/doc/google/devtools/clouderrorreporting/v1beta1/error_stats_service.rb', line 210

class QueryTimeRange
  # 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