Class BlockedReason (1.50.0)

BlockedReason(value)

Blocked reason enumeration.

Enum 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.

Enum 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.