Class: Google::Cloud::Retail::V2::Condition::TimeRange

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/retail/v2/common.rb

Overview

Used for time-dependent conditions. Example: Want to have rule applied for week long sale.

Instance Attribute Summary collapse

Instance Attribute Details

#end_time::Google::Protobuf::Timestamp

Returns End of time range. Range is inclusive.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 75

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

#start_time::Google::Protobuf::Timestamp

Returns Start of time range. Range is inclusive.

Returns:



75
76
77
78
# File 'proto_docs/google/cloud/retail/v2/common.rb', line 75

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