Input for the query, such as a time window.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "timeWindow": { object ( |
| Fields | |
|---|---|
| The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
timeWindow |
Time range to fetch data for. |
relativeTime |
Time range for the last x units. |
| End of mutually exclusive fields. | |
RelativeTime
Time representation for the last x units.
| JSON representation |
|---|
{
"timeUnit": enum ( |
| Fields | |
|---|---|
timeUnit |
|
startTimeVal |
|
TimeUnit
Time unit supported by the PAST filter operator.
| Enums | |
|---|---|
TIME_UNIT_UNSPECIFIED |
Default unspecified. |
SECOND |
|
MINUTE |
|
HOUR |
|
DAY |
|
WEEK |
|
MONTH |
|
YEAR |
|