Package com.google.genai.types
Class CreateBatchJobParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CreateBatchJobParameters
Config for batches.create parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for CreateBatchJobParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for CreateBatchJobParameters.abstract Optional<CreateBatchJobConfig>
config()
Optional parameters for creating a BatchJob.static CreateBatchJobParameters
Deserializes a JSON string to a CreateBatchJobParameters object.model()
The name of the model to produces the predictions via the BatchJob.abstract Optional<BatchJobSource>
src()
GCS URI(-s) or BigQuery URI to your input data to run batch job.abstract CreateBatchJobParameters.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
CreateBatchJobParameters
public CreateBatchJobParameters()
-
-
Method Details
-
model
The name of the model to produces the predictions via the BatchJob. -
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
Optional parameters for creating a BatchJob. -
builder
Instantiates a builder for CreateBatchJobParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CreateBatchJobParameters object.
-