Class StringFilter (1.48.0)

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

String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.

Attributes

NameDescription
name str
Required. Column names in BigQuery that used as filters.
allow_tokens MutableSequence[str]
Optional. The allowed tokens.
deny_tokens MutableSequence[str]
Optional. The denied tokens.

Methods

StringFilter

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

String filter is used to search a subset of the entities by using boolean rules on string columns. For example: if a query specifies string filter with 'name = color, allow_tokens = {red, blue}, deny_tokens = {purple}',' then that query will match entities that are red or blue, but if those points are also purple, then they will be excluded even if they are red/blue. Only string filter is supported for now, numeric filter will be supported in the near future.