Class: Google::Cloud::Channel::V1::DateRange Deprecated

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/channel/v1/reports_service.rb

Overview

Deprecated.

This message is deprecated and may be removed in the next major version update.

A representation of usage or invoice date ranges.

Instance Attribute Summary collapse

Instance Attribute Details

#invoice_end_date::Google::Type::Date

Returns 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.

Returns:

  • (::Google::Type::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.



301
302
303
304
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 301

class DateRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#invoice_start_date::Google::Type::Date

Returns 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.

Returns:

  • (::Google::Type::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.



301
302
303
304
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 301

class DateRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#usage_end_date_time::Google::Type::DateTime

Returns 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.

Returns:

  • (::Google::Type::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.



301
302
303
304
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 301

class DateRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#usage_start_date_time::Google::Type::DateTime

Returns 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.

Returns:

  • (::Google::Type::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.



301
302
303
304
# File 'proto_docs/google/cloud/channel/v1/reports_service.rb', line 301

class DateRange
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end