public sealed class TimeRange : IMessage<Condition.Types.TimeRange>, IEquatable<Condition.Types.TimeRange>, IDeepCloneable<Condition.Types.TimeRange>, IBufferMessage, IMessage
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."],[[["The content covers the `TimeRange` class within the `Google.Cloud.Retail.V2` namespace, which is used for defining time-dependent conditions, such as a week-long sale."],["`TimeRange` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["The latest version available in this content is version 2.12.0, but version 2.2.0 is the current context version, with various other versions listed from 1.0.0 up to 2.11.0."],["The `TimeRange` class has two constructors: a default one and another that accepts another `TimeRange` object as a parameter."],["The `TimeRange` class has `StartTime` and `EndTime` properties, both of which are of type `Timestamp` and define the inclusive boundaries of the time range."]]],[]]