Show / Hide Table of Contents

Class GoogleCloudAiplatformV1SafetyRating

A safety rating for a piece of content. The safety rating contains the harm category and the harm probability level.

Inheritance
object
GoogleCloudAiplatformV1SafetyRating
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Aiplatform.v1.Data
Assembly: Google.Apis.Aiplatform.v1.dll
Syntax
public class GoogleCloudAiplatformV1SafetyRating : IDirectResponseSchema

Properties

Blocked

Output only. Indicates whether the content was blocked because of this rating.

Declaration
[JsonProperty("blocked")]
public virtual bool? Blocked { get; set; }
Property Value
Type Description
bool?

Category

Output only. The harm category of this rating.

Declaration
[JsonProperty("category")]
public virtual string Category { get; set; }
Property Value
Type Description
string

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

OverwrittenThreshold

Output only. The overwritten threshold for the safety category of Gemini 2.0 image out. If minors are detected in the output image, the threshold of each safety category will be overwritten if user sets a lower threshold.

Declaration
[JsonProperty("overwrittenThreshold")]
public virtual string OverwrittenThreshold { get; set; }
Property Value
Type Description
string

Probability

Output only. The probability of harm for this category.

Declaration
[JsonProperty("probability")]
public virtual string Probability { get; set; }
Property Value
Type Description
string

ProbabilityScore

Output only. The probability score of harm for this category.

Declaration
[JsonProperty("probabilityScore")]
public virtual float? ProbabilityScore { get; set; }
Property Value
Type Description
float?

Severity

Output only. The severity of harm for this category.

Declaration
[JsonProperty("severity")]
public virtual string Severity { get; set; }
Property Value
Type Description
string

SeverityScore

Output only. The severity score of harm for this category.

Declaration
[JsonProperty("severityScore")]
public virtual float? SeverityScore { get; set; }
Property Value
Type Description
float?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX