Class OutputInfo

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

public abstract class OutputInfo extends JsonSerializable
Describes the info for output of EvaluationService. This data type is not supported in Gemini API.
  • Constructor Details

    • OutputInfo

      public OutputInfo()
  • Method Details

    • gcsOutputDirectory

      public abstract Optional<String> gcsOutputDirectory()
      Output only. The full path of the Cloud Storage directory created, into which the evaluation results and aggregation results are written.
    • builder

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

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

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