Input

Input to the query like time window.

JSON representation
{

  // Union field time_input can be only one of the following:
  "timeWindow": {
    object (Interval)
  },
  "relativeTime": {
    object (RelativeTime)
  }
  // End of list of possible types for union field time_input.
}
Fields

Union field time_input.

time_input can be only one of the following:

timeWindow

object (Interval)

time range to fetch the data for.

relativeTime

object (RelativeTime)

time range for last x units.

RelativeTime

time representation for last x units.

JSON representation
{
  "timeUnit": enum (TimeUnit),
  "startTimeVal": string
}
Fields
timeUnit

enum (TimeUnit)

startTimeVal

string (int64 format)

TimeUnit

TimeUnit supported for PAST filter operator.

Enums
TIME_UNIT_UNSPECIFIED Default unspecified.
SECOND
MINUTE
HOUR
DAY
WEEK
MONTH
YEAR