Model Armor v1beta API - Class VirusScanFilterResult (1.0.0-beta04)

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

Reference documentation and code samples for the Model Armor v1beta API class VirusScanFilterResult.

Virus scan results.

Inheritance

object > VirusScanFilterResult

Namespace

Google.Cloud.ModelArmor.V1Beta

Assembly

Google.Cloud.ModelArmor.V1Beta.dll

Constructors

VirusScanFilterResult()

public VirusScanFilterResult()

VirusScanFilterResult(VirusScanFilterResult)

public VirusScanFilterResult(VirusScanFilterResult other)
Parameter
Name Description
other VirusScanFilterResult

Properties

ExecutionState

public FilterExecutionState ExecutionState { get; set; }

Output only. Reports whether Virus Scan was successfully executed or not.

Property Value
Type Description
FilterExecutionState

HasScannedSize

public bool HasScannedSize { get; }

Gets whether the "scanned_size" field is set

Property Value
Type Description
bool

MatchState

public FilterMatchState MatchState { get; set; }

Output only. Match status for Virus. Value is MATCH_FOUND if the data is infected with a virus.

Property Value
Type Description
FilterMatchState

MessageItems

public RepeatedField<MessageItem> MessageItems { get; }

Optional messages corresponding to the result. A message can provide warnings or error details. For example, if execution status is skipped then this field provides related reason/explanation.

Property Value
Type Description
RepeatedFieldMessageItem

ScannedContentType

public VirusScanFilterResult.Types.ScannedContentType ScannedContentType { get; set; }

Type of content scanned.

Property Value
Type Description
VirusScanFilterResultTypesScannedContentType

ScannedSize

public long ScannedSize { get; set; }

Size of scanned content in bytes.

Property Value
Type Description
long

VirusDetails

public RepeatedField<VirusDetail> VirusDetails { get; }

List of Viruses identified. This field will be empty if no virus was detected.

Property Value
Type Description
RepeatedFieldVirusDetail