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, offering reference materials and code samples."],["The `Condition.Types.TimeRange` class is utilized for defining time-dependent conditions, such as those needed for applying rules during a week-long sale."],["The latest version available is 2.12.0, and the page includes links to documentation for a range of previous versions down to 1.0.0."],["The `Condition.Types.TimeRange` class has properties for `StartTime` and `EndTime`, which are of type `Timestamp` and define the inclusive start and end points of a time range."],["It implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its capabilities for message handling and data manipulation."]]],[]]