Class LiveEphemeralParameters

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.LiveEphemeralParameters

public abstract class LiveEphemeralParameters extends JsonSerializable
Config for LiveEphemeralParameters for Auth Token creation.
  • Constructor Details

    • LiveEphemeralParameters

      public LiveEphemeralParameters()
  • Method Details

    • model

      public abstract Optional<String> model()
      ID of the model to configure in the ephemeral token for Live API. For a list of models, see `Gemini models <https://ai.google.dev/gemini-api/docs/models>`.
    • config

      public abstract Optional<LiveConnectConfig> config()
      Configuration specific to Live API connections created using this token.
    • builder

      public static LiveEphemeralParameters.Builder builder()
      Instantiates a builder for LiveEphemeralParameters.
    • toBuilder

      public abstract LiveEphemeralParameters.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static LiveEphemeralParameters fromJson(String jsonString)
      Deserializes a JSON string to a LiveEphemeralParameters object.