Class CreateBatchJobParameters

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

@InternalApi public abstract class CreateBatchJobParameters extends JsonSerializable
Config for batches.create parameters.
  • Constructor Details

    • CreateBatchJobParameters

      public CreateBatchJobParameters()
  • Method Details

    • model

      public abstract Optional<String> model()
      The name of the model to produces the predictions via the BatchJob.
    • src

      public abstract Optional<BatchJobSource> src()
      GCS URI(-s) or BigQuery URI to your input data to run batch job. Example: "gs://path/to/input/data" or "bq://projectId.bqDatasetId.bqTableId".
    • config

      public abstract Optional<CreateBatchJobConfig> config()
      Optional parameters for creating a BatchJob.
    • builder

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

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

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