DateRange
दिनों का एक सेट: startDate
, startDate + 1
, ..., endDate
. तारीख की चार सीमाओं के लिए अनुरोध किए जा सकते हैं.
JSON के काेड में दिखाना |
{
"startDate": string,
"endDate": string,
"name": string
} |
फ़ील्ड |
startDate |
string
YYYY-MM-DD फ़ॉर्मैट में, क्वेरी के लिए शुरू होने की तारीख. यह तारीख endDate के बाद की नहीं होनी चाहिए. NdaysAgo , yesterday या today फ़ॉर्मैट भी स्वीकार किया जाता है. इस मामले में, तारीख का अनुमान प्रॉपर्टी के रिपोर्टिंग टाइम ज़ोन के आधार पर लगाया जाता है.
|
endDate |
string
YYYY-MM-DD फ़ॉर्मैट में, क्वेरी के खत्म होने की तारीख. यह तारीख startDate से पहले की नहीं होनी चाहिए. NdaysAgo , yesterday या today फ़ॉर्मैट भी स्वीकार किया जाता है. इस मामले में, तारीख का अनुमान प्रॉपर्टी के रिपोर्टिंग टाइम ज़ोन के आधार पर लगाया जाता है.
|
name |
string
तारीख की इस सीमा को कोई नाम असाइन करता है. रिपोर्ट के जवाब में, डाइमेंशन dateRange की वैल्यू इस नाम पर सेट होती है. अगर यह सेट है, तो यह date_range_ या RESERVED_ से शुरू नहीं हो सकता. अगर यह सेट नहीं है, तो तारीख की सीमाओं को अनुरोध में उनके शून्य आधारित इंडेक्स के नाम से रखा जाता है: date_range_0 , date_range_1 वगैरह.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-11-22 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-11-22 (UTC) को अपडेट किया गया."],[[["Defines a contiguous set of days using `startDate` and `endDate` for querying data within a specific timeframe."],["Allows requests for up to 4 date ranges, providing flexibility in data retrieval."],["Uses a JSON representation with fields for `startDate`, `endDate`, and an optional `name` for the date range."],["Accepts date formats in `YYYY-MM-DD` or relative formats like `NdaysAgo`, `yesterday`, or `today`."],["Enables assigning custom names to date ranges or uses default naming based on their index in the request."]]],["The core content describes defining date ranges for queries. Each date range is specified by a `startDate` and `endDate` in `YYYY-MM-DD` format or using relative terms like `NdaysAgo`, `yesterday`, or `today`. A `name` can be assigned to each range, which will be used in the response; otherwise, ranges are indexed. Up to four date ranges can be requested. The `startDate` cannot be after `endDate`, and the `name` cannot begin with `date_range_` or `RESERVED_`.\n"]]