Date range configuration for dashboard charts.
| JSON representation |
|---|
{ // The following is a list of mutually exclusive fields. At most one of the // fields will be set in a response: "relativeDateRange": { object ( |
| Fields | |
|---|---|
| The date range. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response: | |
relativeDateRange |
A relative date range. |
absoluteDateRange |
An absolute date range. |
| End of mutually exclusive fields. | |
RelativeDateRange
Relative date range configuration.
| JSON representation |
|---|
{
"quantity": string,
"unit": enum ( |
| Fields | |
|---|---|
quantity |
Required. The quantity of units in the past. |
unit |
Required. The unit of time. |
TimeUnit
The unit of time for relative date range.
| Enums | |
|---|---|
TIME_UNIT_UNSPECIFIED |
Unspecified. |
DAY |
Day. |
WEEK |
Week. |
MONTH |
Month. |
QUARTER |
Quarter. |
YEAR |
Year. |
QueryInterval
A time window for querying conversations.
| JSON representation |
|---|
{ "startTime": string, "endTime": string } |
| Fields | |
|---|---|
startTime |
Required. The start time of the time window. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
endTime |
Required. The end time of the time window. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |