Vertex AI v1 API - Class SafetyInstance (3.74.0)
Stay organized with collections
Save and categorize content based on your preferences.
public sealed class SafetyInstance : IMessage<SafetyInstance>, IEquatable<SafetyInstance>, IDeepCloneable<SafetyInstance>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class SafetyInstance.
Spec for safety instance.
Inheritance
object >
SafetyInstance
Namespace
Google.Cloud.AIPlatform.V1
Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
public SafetyInstance(SafetyInstance other)
Properties
public bool HasPrediction { get; }
Gets whether the "prediction" field is set
| Property Value |
| Type |
Description |
bool |
|
public string Prediction { get; set; }
Required. Output of the evaluated model.
| Property Value |
| Type |
Description |
string |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-07-30 UTC.
[null,null,["Last updated 2026-07-30 UTC."],[],[]]