public sealed class Condition.Types.TimeRange : IMessage<Condition.Types.TimeRange>, IEquatable<Condition.Types.TimeRange>, IDeepCloneable<Condition.Types.TimeRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Condition.Types.TimeRange.
Used for time-dependent conditions.
Example: Want to have rule applied for week long sale.
[[["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-03-21 UTC."],[[["This webpage provides documentation for the `Condition.Types.TimeRange` class within the Google Cloud Retail v2 API, offering reference materials and code samples."],["The `Condition.Types.TimeRange` class is utilized for defining time-dependent conditions, such as applying a rule during a week-long sale, and implements interfaces such as `IMessage`, `IEquatable`, and `IDeepCloneable`."],["The documentation lists version history and availability of this class, beginning from version 1.0.0 up to the latest version 2.12.0, with version 2.10.0 currently being viewed."],["The class has two constructors: a default constructor (`TimeRange()`) and a copy constructor (`TimeRange(TimeRange)`), allowing for the creation of new objects and copies of existing ones."],["`Condition.Types.TimeRange` includes properties `EndTime` and `StartTime`, both of type `Timestamp`, which are used to define the inclusive start and end times of the defined time range."]]],[]]