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 page provides documentation for the `Condition.Types.TimeRange` class within the Google Cloud Retail v2 API, specifically for version 2.7.0."],["The `Condition.Types.TimeRange` class is utilized to define time-dependent conditions, such as scheduling rules for a week-long sale, within the Retail v2 API."],["The `TimeRange` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and is inherited from `object`."],["It includes constructors for creating new `TimeRange` instances and allows for setting both `StartTime` and `EndTime` properties using the `Timestamp` type, where both values are inclusive."],["The documentation features a version history of the `TimeRange` class, ranging from version 1.0.0 to the most recent version 2.12.0, where you can access the documentation for each."]]],[]]