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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eCondition.Types.TimeRange\u003c/code\u003e class within the Google Cloud Retail v2 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCondition.Types.TimeRange\u003c/code\u003e class is used to define time-dependent conditions, such as scheduling a rule to be active during a week-long sale.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeRange\u003c/code\u003e class includes properties for \u003ccode\u003eStartTime\u003c/code\u003e and \u003ccode\u003eEndTime\u003c/code\u003e, both of which use the \u003ccode\u003eTimestamp\u003c/code\u003e type and are inclusive for the specified range.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation covers multiple versions of the API, from version 1.0.0 up to the latest version, 2.12.0, allowing users to browse the different versions of the documentation for the given class.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is \u003ccode\u003e2.12.0\u003c/code\u003e which can be found at the top of the list, while version \u003ccode\u003e2.8.0\u003c/code\u003e is being specifically described in this webpage.\u003c/p\u003e\n"]]],[],null,[]]