Class ContentItem (4.1.0)

public sealed class ContentItem : IMessage<ContentItem>, IEquatable<ContentItem>, IDeepCloneable<ContentItem>, IBufferMessage, IMessage

Container structure for the content to inspect.

Inheritance

Object > ContentItem

Namespace

Google.Cloud.Dlp.V2

Assembly

Google.Cloud.Dlp.V2.dll

Constructors

ContentItem()

public ContentItem()

ContentItem(ContentItem)

public ContentItem(ContentItem other)
Parameter
NameDescription
otherContentItem

Properties

ByteItem

public ByteContentItem ByteItem { get; set; }

Content data to inspect or redact. Replaces type and data.

Property Value
TypeDescription
ByteContentItem

DataItemCase

public ContentItem.DataItemOneofCase DataItemCase { get; }
Property Value
TypeDescription
ContentItem.DataItemOneofCase

Table

public Table Table { get; set; }

Structured content for inspection. See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to learn more.

Property Value
TypeDescription
Table

Value

public string Value { get; set; }

String data to inspect or redact.

Property Value
TypeDescription
String