Class ContentItem (3.18.1)

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

Type of content to inspect.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

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

Attributes

Name Description
value str
String data to inspect or redact. This field is a member of oneof_ data_item.
table google.cloud.dlp_v2.types.Table
Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more. This field is a member of oneof_ data_item.
byte_item google.cloud.dlp_v2.types.ByteContentItem
Content data to inspect or redact. Replaces type and data. This field is a member of oneof_ data_item.