Class Condition (0.13.2)

Condition(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Defines circumstances to be checked before allowing a behavior

Attributes

Name Description
query_terms MutableSequence[google.cloud.discoveryengine_v1alpha.types.Condition.QueryTerm]
Search only A list of terms to match the query on. Maximum of 10 query terms.
active_time_range MutableSequence[google.cloud.discoveryengine_v1alpha.types.Condition.TimeRange]
Range of time(s) specifying when condition is active. Maximum of 10 time ranges.

Classes

QueryTerm

QueryTerm(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Matcher for search request query

TimeRange

TimeRange(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Used for time-dependent conditions.