Class FilterAction (0.11.13)

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

Specified which products may be included in results. Uses same filter as boost.

Attributes

Name Description
filter str
Required. A filter to apply on the matching condition results. Required Syntax documentation: https://cloud.google.com/retail/docs/filter-and-order Maximum length is 5000 characters. Otherwise an INVALID ARGUMENT error is thrown.
data_store str
Required. Specifies which data store's documents can be filtered by this control. Full data store name e.g. projects/123/locations/global/collections/default_collection/dataStores/default_data_store