Retail V2 API - Class Google::Cloud::Retail::V2::Condition::TimeRange (v1.2.0)

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

#end_time=

def end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#start_time

def start_time() -> ::Google::Protobuf::Timestamp
Returns

#start_time=

def start_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns