Cloud AI Platform v1 API - Class SafetyInstance (3.7.0)

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

Reference documentation and code samples for the Cloud AI Platform v1 API class SafetyInstance.

Spec for safety instance.

Inheritance

object > SafetyInstance

Namespace

Google.Cloud.AIPlatform.V1

Assembly

Google.Cloud.AIPlatform.V1.dll

Constructors

SafetyInstance()

public SafetyInstance()

SafetyInstance(SafetyInstance)

public SafetyInstance(SafetyInstance other)
Parameter
Name Description
other SafetyInstance

Properties

HasPrediction

public bool HasPrediction { get; }

Gets whether the "prediction" field is set

Property Value
Type Description
bool

Prediction

public string Prediction { get; set; }

Required. Output of the evaluated model.

Property Value
Type Description
string