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 the .NET environment."],["The `Condition.Types.TimeRange` class is utilized for defining time-dependent conditions, such as scheduling a week-long sale."],["The latest available version of the documentation is 2.12.0, and historical versions back to 1.0.0 are accessible, allowing for version-specific reference."],["The `TimeRange` class implements interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and it inherits members from the base `object` class."],["The class contains a constructor and two properties, `StartTime` and `EndTime` which are of type `Timestamp`, to define the start and end of the time range, inclusively."]]],[]]