Send feedback
Class DateRange (1.23.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latestkeyboard_arrow_down
DateRange ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
A representation of usage or invoice date ranges.
Attributes
Name
Description
usage_start_date_time
google.type.datetime_pb2.DateTime
The earliest usage date time (inclusive).
If you use time groupings (daily, weekly, etc), each group
uses midnight to midnight (Pacific time). The usage start
date is rounded down to include all usage from the specified
date. We recommend that clients pass
usage_start_date_time
in Pacific time.
usage_end_date_time
google.type.datetime_pb2.DateTime
The latest usage date time (exclusive).
If you use time groupings (daily, weekly, etc), each group
uses midnight to midnight (Pacific time). The usage end date
is rounded down to include all usage from the specified
date. We recommend that clients pass
usage_start_date_time
in Pacific time.
invoice_start_date
google.type.date_pb2.Date
The earliest invoice date (inclusive).
If this value is not the first day of a month,
this will move it back to the first day of the
given month.
invoice_end_date
google.type.date_pb2.Date
The latest invoice date (inclusive).
If this value is not the last day of a month,
this will move it forward to the last day of the
given month.
Send feedback
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-08-07 UTC.
Need to tell us more?
[[["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-08-07 UTC."],[],[],null,["# Class DateRange (1.23.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.23.0 (latest)](/python/docs/reference/cloudchannel/latest/google.cloud.channel_v1.types.DateRange)\n- [1.22.2](/python/docs/reference/cloudchannel/1.22.2/google.cloud.channel_v1.types.DateRange)\n- [1.21.0](/python/docs/reference/cloudchannel/1.21.0/google.cloud.channel_v1.types.DateRange)\n- [1.20.1](/python/docs/reference/cloudchannel/1.20.1/google.cloud.channel_v1.types.DateRange)\n- [1.19.0](/python/docs/reference/cloudchannel/1.19.0/google.cloud.channel_v1.types.DateRange)\n- [1.18.5](/python/docs/reference/cloudchannel/1.18.5/google.cloud.channel_v1.types.DateRange)\n- [1.17.1](/python/docs/reference/cloudchannel/1.17.1/google.cloud.channel_v1.types.DateRange)\n- [1.15.1](/python/docs/reference/cloudchannel/1.15.1/google.cloud.channel_v1.types.DateRange)\n- [1.14.0](/python/docs/reference/cloudchannel/1.14.0/google.cloud.channel_v1.types.DateRange)\n- [1.13.0](/python/docs/reference/cloudchannel/1.13.0/google.cloud.channel_v1.types.DateRange)\n- [1.12.1](/python/docs/reference/cloudchannel/1.12.1/google.cloud.channel_v1.types.DateRange)\n- [1.11.0](/python/docs/reference/cloudchannel/1.11.0/google.cloud.channel_v1.types.DateRange)\n- [1.10.0](/python/docs/reference/cloudchannel/1.10.0/google.cloud.channel_v1.types.DateRange)\n- [1.9.3](/python/docs/reference/cloudchannel/1.9.3/google.cloud.channel_v1.types.DateRange)\n- [1.8.1](/python/docs/reference/cloudchannel/1.8.1/google.cloud.channel_v1.types.DateRange)\n- [1.7.1](/python/docs/reference/cloudchannel/1.7.1/google.cloud.channel_v1.types.DateRange)\n- [1.6.3](/python/docs/reference/cloudchannel/1.6.3/google.cloud.channel_v1.types.DateRange)\n- [1.5.0](/python/docs/reference/cloudchannel/1.5.0/google.cloud.channel_v1.types.DateRange)\n- [1.4.0](/python/docs/reference/cloudchannel/1.4.0/google.cloud.channel_v1.types.DateRange)\n- [1.3.2](/python/docs/reference/cloudchannel/1.3.2/google.cloud.channel_v1.types.DateRange)\n- [1.2.3](/python/docs/reference/cloudchannel/1.2.3/google.cloud.channel_v1.types.DateRange)\n- [1.1.1](/python/docs/reference/cloudchannel/1.1.1/google.cloud.channel_v1.types.DateRange)\n- [1.0.0](/python/docs/reference/cloudchannel/1.0.0/google.cloud.channel_v1.types.DateRange)\n- [0.3.0](/python/docs/reference/cloudchannel/0.3.0/google.cloud.channel_v1.types.DateRange)\n- [0.2.1](/python/docs/reference/cloudchannel/0.2.1/google.cloud.channel_v1.types.DateRange)\n- [0.1.0](/python/docs/reference/cloudchannel/0.1.0/google.cloud.channel_v1.types.DateRange) \n\n DateRange(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nA representation of usage or invoice date ranges."]]