Enum RevocationBehavior

java.lang.Object
java.lang.Enum<RevocationBehavior>
com.google.genai.gaos.models.webhooks.RevocationBehavior
All Implemented Interfaces:
Serializable, Comparable<RevocationBehavior>

public enum RevocationBehavior extends Enum<RevocationBehavior>
RevocationBehavior

Optional. The revocation behavior for previous signing secrets.

  • Enum Constant Details

    • REVOKE_PREVIOUS_SECRETS_AFTER_H24

      public static final RevocationBehavior REVOKE_PREVIOUS_SECRETS_AFTER_H24
    • REVOKE_PREVIOUS_SECRETS_IMMEDIATELY

      public static final RevocationBehavior REVOKE_PREVIOUS_SECRETS_IMMEDIATELY
  • Method Details

    • values

      public static RevocationBehavior[] 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 RevocationBehavior 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
    • value

      public String value()
    • fromValue

      public static Optional<RevocationBehavior> fromValue(String value)