public sealed class ContentItem : IMessage<ContentItem>, IEquatable<ContentItem>, IDeepCloneable<ContentItem>, IBufferMessage, IMessageReference 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 |
|
ContentMetadata
public ContentMetadata ContentMetadata { get; set; }User provided metadata for the content.
| Property Value | |
|---|---|
| Type | Description |
ContentMetadata |
|
Conversation
public Conversation Conversation { get; set; }Represents a conversation (either complete or a slice). It is assumed that all included messages are contiguous and ordered in chronological order.
| Property Value | |
|---|---|
| Type | Description |
Conversation |
|
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 |
|