Table of Contents

Class DecisionBlockReasons

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Known values of BlockReason.

public static class DecisionBlockReasons
Inheritance
DecisionBlockReasons
Inherited Members

Fields

Blocklist

Blocked because of terms on the blocklist.

public const string Blocklist = "blocklist"

Field Value

string

ImageSafety

Blocked because of unsafe image content.

public const string ImageSafety = "image_safety"

Field Value

string

Other

Blocked for other reasons.

public const string Other = "other"

Field Value

string

ProhibitedContent

Blocked because of prohibited content.

public const string ProhibitedContent = "prohibited_content"

Field Value

string

Safety

Blocked for safety reasons.

public const string Safety = "safety"

Field Value

string