public sealed class DataItem : IMessage<DataItem>, IEquatable<DataItem>, IDeepCloneable<DataItem>, IBufferMessage, IMessageReference documentation and code samples for the Model Armor v1 API class DataItem.
Represents Data item
Namespace
Google.Cloud.ModelArmor.V1Assembly
Google.Cloud.ModelArmor.V1.dll
Constructors
DataItem()
public DataItem()DataItem(DataItem)
public DataItem(DataItem other)| Parameter | |
|---|---|
| Name | Description |
other |
DataItem |
Properties
ByteItem
public ByteDataItem ByteItem { get; set; }Data provided in the form of bytes.
| Property Value | |
|---|---|
| Type | Description |
ByteDataItem |
|
DataItemCase
public DataItem.DataItemOneofCase DataItemCase { get; }| Property Value | |
|---|---|
| Type | Description |
DataItemDataItemOneofCase |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
Text
public string Text { get; set; }Plaintext string data for sanitization.
| Property Value | |
|---|---|
| Type | Description |
string |
|