Class ContentItem (3.7.1)

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

Container structure for the 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

NameDescription
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/dlp/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``.

Inheritance

builtins.object > proto.message.Message > ContentItem