Enum PhishBlockThreshold.Known

java.lang.Object
java.lang.Enum<PhishBlockThreshold.Known>
com.google.genai.types.PhishBlockThreshold.Known
All Implemented Interfaces:
Serializable, Comparable<PhishBlockThreshold.Known>
Enclosing class:
PhishBlockThreshold

public static enum PhishBlockThreshold.Known extends Enum<PhishBlockThreshold.Known>
Enum representing the known values for PhishBlockThreshold.
  • Enum Constant Details

    • PHISH_BLOCK_THRESHOLD_UNSPECIFIED

      public static final PhishBlockThreshold.Known PHISH_BLOCK_THRESHOLD_UNSPECIFIED
      Defaults to unspecified.
    • BLOCK_LOW_AND_ABOVE

      public static final PhishBlockThreshold.Known BLOCK_LOW_AND_ABOVE
      Blocks Low and above confidence URL that is risky.
    • BLOCK_MEDIUM_AND_ABOVE

      public static final PhishBlockThreshold.Known BLOCK_MEDIUM_AND_ABOVE
      Blocks Medium and above confidence URL that is risky.
    • BLOCK_HIGH_AND_ABOVE

      public static final PhishBlockThreshold.Known BLOCK_HIGH_AND_ABOVE
      Blocks High and above confidence URL that is risky.
    • BLOCK_HIGHER_AND_ABOVE

      public static final PhishBlockThreshold.Known BLOCK_HIGHER_AND_ABOVE
      Blocks Higher and above confidence URL that is risky.
    • BLOCK_VERY_HIGH_AND_ABOVE

      public static final PhishBlockThreshold.Known BLOCK_VERY_HIGH_AND_ABOVE
      Blocks Very high and above confidence URL that is risky.
    • BLOCK_ONLY_EXTREMELY_HIGH

      public static final PhishBlockThreshold.Known BLOCK_ONLY_EXTREMELY_HIGH
      Blocks Extremely high confidence URL that is risky.
  • Method Details

    • values

      public static PhishBlockThreshold.Known[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static PhishBlockThreshold.Known valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null