AccessDateRange
A contiguous range of days: startDate, startDate + 1, ..., endDate.
JSON representation |
{
"startDate": string,
"endDate": string
} |
Fields |
startDate |
string
The inclusive start date for the query in the format YYYY-MM-DD . Cannot be after endDate . The format NdaysAgo , yesterday , or today is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.
|
endDate |
string
The inclusive end date for the query in the format YYYY-MM-DD . Cannot be before startDate . The format NdaysAgo , yesterday , or today is also accepted, and in that case, the date is inferred based on the current time in the request's time zone.
|
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 2025-01-14 UTC.
[null,null,["Last updated 2025-01-14 UTC."],[[["Defines a date range using a start date and an end date, inclusive of both."],["Dates are specified in `YYYY-MM-DD` format or using relative terms like `NdaysAgo`, `yesterday`, or `today`."],["The `startDate` cannot be after the `endDate`, ensuring a valid date range."],["Both `startDate` and `endDate` are interpreted based on the request's time zone."]]],["The core content describes a JSON structure for representing a date range. The JSON object contains `startDate` and `endDate` fields, both strings. These fields define an inclusive range of days. The format `YYYY-MM-DD` is required, but `NdaysAgo`, `yesterday`, and `today` are also valid and will infer the date from the request's time zone. `endDate` must not be before `startDate`, and `startDate` must not be after `endDate`.\n"]]