Class ValueRegexFilter (2.23.1)

ValueRegexFilter(regex)

Row filter for a value regular expression.

The regex must be valid RE2 patterns. See Google's RE2 reference_ for the accepted syntax.

.. _RE2 reference: https://github.com/google/re2/wiki/Syntax

Parameter

Name Description
regex bytes or str

A regular expression (RE2) to match cells with values that match this regex. String values will be encoded as ASCII.

Methods

to_pb

to_pb()

Converts the row filter to a protobuf.

Returns
Type Description
.data_v2_pb2.RowFilter The converted current object.