Reference documentation and code samples for the Retail V2 API class Google::Cloud::Retail::V2::Condition::TimeRange.
Used for time-dependent conditions. Example: Want to have rule applied for week long sale.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
    Returns
    
  - (::Google::Protobuf::Timestamp) — End of time range. Range is inclusive.
 
#end_time=
def end_time=(value) -> ::Google::Protobuf::Timestamp
    Parameter
    
  - value (::Google::Protobuf::Timestamp) — End of time range. Range is inclusive.
 
    Returns
    
  - (::Google::Protobuf::Timestamp) — End of time range. Range is inclusive.
 
#start_time
def start_time() -> ::Google::Protobuf::Timestamp
    Returns
    
  - (::Google::Protobuf::Timestamp) — Start of time range. Range is inclusive.
 
#start_time=
def start_time=(value) -> ::Google::Protobuf::Timestamp
    Parameter
    
  - value (::Google::Protobuf::Timestamp) — Start of time range. Range is inclusive.
 
    Returns
    
- (::Google::Protobuf::Timestamp) — Start of time range. Range is inclusive.