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.
Implements
IMessageContentItem, IEquatableContentItem, IDeepCloneableContentItem, IBufferMessage, IMessageNamespace
Google.Cloud.Dlp.V2Assembly
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; }
Structured content for inspection. See https://cloud.google.com/sensitive-data-protection/docs/inspecting-text#inspecting_a_table to learn more.
Property Value | |
---|---|
Type | Description |
Table |
Value
public string Value { get; set; }
String data to inspect or redact.
Property Value | |
---|---|
Type | Description |
string |