TimeQuery

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

JSON representation
 { 
 // Union field time_specification 
can be only one of the following: 
 "dateRanges" 
 : 
 { 
 object (  DateRanges 
 
) 
 } 
 , 
 "dateList" 
 : 
 { 
 object (  DateList 
 
) 
 } 
 // End of list of possible types for union field time_specification 
. 
 } 
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.

Design a Mobile Site
View Site in Mobile | Classic
Share by: