Enum AuthType.Known

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

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

    • AUTH_TYPE_UNSPECIFIED

      public static final AuthType.Known AUTH_TYPE_UNSPECIFIED
    • NO_AUTH

      public static final AuthType.Known NO_AUTH
      No Auth.
    • API_KEY_AUTH

      public static final AuthType.Known API_KEY_AUTH
      API Key Auth.
    • HTTP_BASIC_AUTH

      public static final AuthType.Known HTTP_BASIC_AUTH
      HTTP Basic Auth.
    • GOOGLE_SERVICE_ACCOUNT_AUTH

      public static final AuthType.Known GOOGLE_SERVICE_ACCOUNT_AUTH
      Google Service Account Auth.
    • OAUTH

      public static final AuthType.Known OAUTH
      OAuth auth.
    • OIDC_AUTH

      public static final AuthType.Known OIDC_AUTH
      OpenID Connect (OIDC) Auth.
  • Method Details

    • values

      public static AuthType.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 AuthType.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