Class DataMaskingPolicy (0.6.11)

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

The data masking policy that is used to specify data masking rule.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attribute

Name Description
predefined_expression google.cloud.bigquery_datapolicies_v1beta1.types.DataMaskingPolicy.PredefinedExpression
A predefined masking expression. This field is a member of oneof_ masking_expression.

Classes

PredefinedExpression

PredefinedExpression(value)

The available masking rules. Learn more here: https://cloud.google.com/bigquery/docs/column-data-masking-intro#masking_options.

    -  STRING: ""
    -  BYTES: b''
    -  INTEGER: 0
    -  FLOAT: 0.0
    -  NUMERIC: 0
    -  BOOLEAN: FALSE
    -  TIMESTAMP: 0001-01-01 00:00:00 UTC
    -  DATE: 0001-01-01
    -  TIME: 00:00:00
    -  DATETIME: 0001-01-01T00:00:00
    -  GEOGRAPHY: POINT(0 0)
    -  BIGNUMERIC: 0
    -  ARRAY: []
    -  STRUCT: NOT_APPLICABLE
    -  JSON: NULL