TimeQuery

The date ranges or specific dates for which you want to retrieve data.

JSON representation
{
 "dateRanges": {
 object (DateRanges )
 },
 "dateList": {
 object (DateList )
 }
}
Fields
Union field time_specification. The type of time specification. time_specification can be only one of the following:
dateRanges

object (DateRanges )

A list of date ranges.

dateList

object (DateList )

A list of specific dates.

DateRanges

A set of date ranges.

JSON representation
{
 "dateRanges": [
 {
 object (DateRange )
 }
 ]
}
Fields
dateRanges[]

object (DateRange )

Required. The list of date ranges for which to retrieve data.

DateRange

A single date range defined by a start and end date.

JSON representation
{
 "start": {
 object (Date )
 },
 "end": {
 object (Date )
 }
}
Fields
start

object (Date )

Required. The inclusive start date of the date range.

end

object (Date )

Required. The inclusive end date of the date range.

DateList

A set of specific dates.

JSON representation
{
 "dates": [
 {
 object (Date )
 }
 ]
}
Fields
dates[]

object (Date )

Required. The list of specific dates for which to retrieve data.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026年06月25日 UTC.