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.
Implements
IMessageConditionTypesTimeRange, IEquatableConditionTypesTimeRange, IDeepCloneableConditionTypesTimeRange, IBufferMessage, IMessageNamespace
Google.Cloud.Retail.V2Assembly
Google.Cloud.Retail.V2.dll
Constructors
TimeRange()
public TimeRange()
TimeRange(TimeRange)
public TimeRange(Condition.Types.TimeRange other)
Parameter | |
---|---|
Name | Description |
other | ConditionTypesTimeRange |
Properties
EndTime
public Timestamp EndTime { get; set; }
End of time range. Range is inclusive.
Property Value | |
---|---|
Type | Description |
Timestamp |
StartTime
public Timestamp StartTime { get; set; }
Start of time range. Range is inclusive.
Property Value | |
---|---|
Type | Description |
Timestamp |