Google Cloud Data Loss Prevention v2 API - Class ContentItem (2.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
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
ContentItemDataItemOneofCase

HasValue

public bool HasValue { get; }

Gets whether the "value" field is set

Property Value
TypeDescription
bool

Table

public Table Table { get; set; }
Property Value
TypeDescription
Table

Value

public string Value { get; set; }

String data to inspect or redact.

Property Value
TypeDescription
string