Discovery Engine v1 API - Class Condition.Types.TimeRange (1.2.0)

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 Discovery Engine v1 API class Condition.Types.TimeRange.

Used for time-dependent conditions.

Inheritance

object > Condition.Types.TimeRange

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.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. Must be in the future.

Property Value
Type Description
Timestamp

StartTime

public Timestamp StartTime { get; set; }

Start of time range.

Range is inclusive.

Property Value
Type Description
Timestamp