Show / Hide Table of Contents

Class GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback

Content filter results for a prompt sent in the request. Note: This is sent only in the first stream chunk and only if no candidates were generated due to content violations.

Inheritance
object
GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback
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 GoogleCloudAiplatformV1GenerateContentResponsePromptFeedback : IDirectResponseSchema

Properties

BlockReason

Output only. The reason why the prompt was blocked.

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

BlockReasonMessage

Output only. A readable message that explains the reason why the prompt was blocked.

Declaration
[JsonProperty("blockReasonMessage")]
public virtual string BlockReasonMessage { 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

SafetyRatings

Output only. A list of safety ratings for the prompt. There is one rating per category.

Declaration
[JsonProperty("safetyRatings")]
public virtual IList<GoogleCloudAiplatformV1SafetyRating> SafetyRatings { get; set; }
Property Value
Type Description
IList<GoogleCloudAiplatformV1SafetyRating>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX