Google Cloud Data Loss Prevention v2 API - Class ContentItem (4.15.0)

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

Reference documentation and code samples for the Google Cloud Data Loss Prevention v2 API class ContentItem.

Type of 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
Name Description
other ContentItem

Properties

ByteItem

public ByteContentItem ByteItem { get; set; }

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

Property Value
Type Description
ByteContentItem

DataItemCase

public ContentItem.DataItemOneofCase DataItemCase { get; }
Property Value
Type Description
ContentItemDataItemOneofCase

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
Type Description
bool

Table

public Table Table { get; set; }
Property Value
Type Description
Table

Value

public string Value { get; set; }

String data to inspect or redact.

Property Value
Type Description
string