Reference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class QueryTimeRange.
A time range for which error group data shall be displayed.
Query time ranges end at 'now'.
When longer time ranges are selected, the resolution of the data decreases.
The description of each time range below indicates the suggested minimum
timed count duration for that range.
Requests might be rejected or the resulting timed count durations might be
adjusted for lower durations.
Generated from protobuf messagegoogle.devtools.clouderrorreporting.v1beta1.QueryTimeRange
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Stackdriver Error Reporting V1beta1 Client - Class QueryTimeRange (0.23.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.23.1 (latest)](/php/docs/reference/cloud-error-reporting/latest/V1beta1.QueryTimeRange)\n- [0.23.0](/php/docs/reference/cloud-error-reporting/0.23.0/V1beta1.QueryTimeRange)\n- [0.22.10](/php/docs/reference/cloud-error-reporting/0.22.10/V1beta1.QueryTimeRange)\n- [0.21.1](/php/docs/reference/cloud-error-reporting/0.21.1/V1beta1.QueryTimeRange)\n- [0.20.2](/php/docs/reference/cloud-error-reporting/0.20.2/V1beta1.QueryTimeRange)\n- [0.19.12](/php/docs/reference/cloud-error-reporting/0.19.12/V1beta1.QueryTimeRange) \n| **Beta**\n|\n|\n| This library is covered by the [Pre-GA Offerings Terms](/terms/service-terms#1)\n| of the Terms of Service. Pre-GA libraries might have limited support,\n| and changes to pre-GA libraries might not be compatible with other pre-GA versions.\n| For more information, see the\n[launch stage descriptions](/products#product-launch-stages). \nReference documentation and code samples for the Stackdriver Error Reporting V1beta1 Client class QueryTimeRange.\n\nA time range for which error group data shall be displayed.\n\nQuery time ranges end at 'now'.\nWhen longer time ranges are selected, the resolution of the data decreases.\nThe description of each time range below indicates the suggested minimum\ntimed count duration for that range.\nRequests might be rejected or the resulting timed count durations might be\nadjusted for lower durations.\n\nGenerated from protobuf message `google.devtools.clouderrorreporting.v1beta1.QueryTimeRange`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ErrorReporting \\\\ V1beta1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getPeriod\n\nRestricts the query to the specified time range.\n\n### setPeriod\n\nRestricts the query to the specified time range."]]