public sealed class SearchResponse.Types.Summary.Types.SafetyAttributes : IMessage<SearchResponse.Types.Summary.Types.SafetyAttributes>, IEquatable<SearchResponse.Types.Summary.Types.SafetyAttributes>, IDeepCloneable<SearchResponse.Types.Summary.Types.SafetyAttributes>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1 API class SearchResponse.Types.Summary.Types.SafetyAttributes.
Safety Attribute categories and their associated confidence scores.
Implements
IMessageSearchResponseTypesSummaryTypesSafetyAttributes, IEquatableSearchResponseTypesSummaryTypesSafetyAttributes, IDeepCloneableSearchResponseTypesSummaryTypesSafetyAttributes, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1Assembly
Google.Cloud.DiscoveryEngine.V1.dll
Constructors
SafetyAttributes()
public SafetyAttributes()SafetyAttributes(SafetyAttributes)
public SafetyAttributes(SearchResponse.Types.Summary.Types.SafetyAttributes other)| Parameter | |
|---|---|
| Name | Description |
other |
SearchResponseTypesSummaryTypesSafetyAttributes |
Properties
Categories
public RepeatedField<string> Categories { get; }The display names of Safety Attribute categories associated with the generated content. Order matches the Scores.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|
Scores
public RepeatedField<float> Scores { get; }The confidence scores of the each category, higher value means higher confidence. Order matches the Categories.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldfloat |
|