Class BlockedReason (1.48.0)

BlockedReason(value)

Blocked reason enumeration.

Values: BLOCKED_REASON_UNSPECIFIED (0): Unspecified blocked reason. SAFETY (1): Candidates blocked due to safety. OTHER (2): Candidates blocked due to other reason. BLOCKLIST (3): Candidates blocked due to the terms which are included from the terminology blocklist. PROHIBITED_CONTENT (4): Candidates blocked due to prohibited content.

Methods

BlockedReason

BlockedReason(value)

Blocked reason enumeration.

Values: BLOCKED_REASON_UNSPECIFIED (0): Unspecified blocked reason. SAFETY (1): Candidates blocked due to safety. OTHER (2): Candidates blocked due to other reason. BLOCKLIST (3): Candidates blocked due to the terms which are included from the terminology blocklist. PROHIBITED_CONTENT (4): Candidates blocked due to prohibited content.