public sealed class 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, detailing its usage in specifying time-dependent conditions."],["The `TimeRange` class, found in the `Google.Cloud.Retail.V2` namespace, allows you to define a specific time period, such as a week-long sale, by setting inclusive start and end times."],["The documentation covers the class's inheritance from the `Object` class and its implementation of several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, highlighting the class's structure and capabilities."],["The `TimeRange` class includes properties for setting the `StartTime` and `EndTime` of the desired time period, both using the `Timestamp` type."],["This resource contains references to versioned documentation, with the latest being version `2.12.0` and providing a history of other versions, from `2.11.0` down to `1.0.0`."]]],[]]