0.20.1 (latest) 0.20.0 0.19.0 0.18.0 0.17.0 0.16.0 0.15.0 0.14.0 0.13.12 0.12.3 0.11.14 0.10.0 0.9.1 0.8.1 0.7.0 0.6.0 0.5.0 0.4.1 0.3.1 0.2.1 0.1.1

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

Defines circumstances to be checked before allowing a
behavior

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `query_terms` | `MutableSequence[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/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[https://docs.cloud.google.com/python/docs/reference/discoveryengine/latest/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.