Discovery Engine v1 API - Class Condition (1.5.0)

public sealed class Condition : IMessage<Condition>, IEquatable<Condition>, IDeepCloneable<Condition>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class Condition.

Defines circumstances to be checked before allowing a behavior

Inheritance

object > Condition

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

Condition()

public Condition()

Condition(Condition)

public Condition(Condition other)
Parameter
Name Description
other Condition

Properties

ActiveTimeRange

public RepeatedField<Condition.Types.TimeRange> ActiveTimeRange { get; }

Range of time(s) specifying when condition is active.

Maximum of 10 time ranges.

Property Value
Type Description
RepeatedFieldConditionTypesTimeRange

QueryTerms

public RepeatedField<Condition.Types.QueryTerm> QueryTerms { get; }

Search only A list of terms to match the query on.

Maximum of 10 query terms.

Property Value
Type Description
RepeatedFieldConditionTypesQueryTerm