public sealed class GenerateContentResponse.Types.PromptFeedback : IMessage<GenerateContentResponse.Types.PromptFeedback>, IEquatable<GenerateContentResponse.Types.PromptFeedback>, IDeepCloneable<GenerateContentResponse.Types.PromptFeedback>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud AI Platform v1beta1 API class GenerateContentResponse.Types.PromptFeedback.
Content filter results for a prompt sent in the request.
Implements
IMessageGenerateContentResponseTypesPromptFeedback, IEquatableGenerateContentResponseTypesPromptFeedback, IDeepCloneableGenerateContentResponseTypesPromptFeedback, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Beta1Assembly
Google.Cloud.AIPlatform.V1Beta1.dll
Constructors
PromptFeedback()
public PromptFeedback()
PromptFeedback(PromptFeedback)
public PromptFeedback(GenerateContentResponse.Types.PromptFeedback other)
Parameter | |
---|---|
Name | Description |
other |
GenerateContentResponseTypesPromptFeedback |
Properties
BlockReason
public GenerateContentResponse.Types.PromptFeedback.Types.BlockedReason BlockReason { get; set; }
Output only. Blocked reason.
Property Value | |
---|---|
Type | Description |
GenerateContentResponseTypesPromptFeedbackTypesBlockedReason |
BlockReasonMessage
public string BlockReasonMessage { get; set; }
Output only. A readable block reason message.
Property Value | |
---|---|
Type | Description |
string |
SafetyRatings
public RepeatedField<SafetyRating> SafetyRatings { get; }
Output only. Safety ratings.
Property Value | |
---|---|
Type | Description |
RepeatedFieldSafetyRating |