Package com.google.genai.types
Class CreateBatchJobConfig
-
- All Implemented Interfaces:
public abstract class CreateBatchJobConfig extends JsonSerializable
Config for optional parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classCreateBatchJobConfig.BuilderBuilder for CreateBatchJobConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description CreateBatchJobConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. abstract Optional<String>displayName()The user-defined name of this BatchJob. abstract Optional<BatchJobDestination>dest()GCS or BigQuery URI prefix for the output predictions. abstract Optional<WebhookConfig>webhookConfig()Webhook configuration for receiving notifications when the batch operation completes. static CreateBatchJobConfig.Builderbuilder()Instantiates a builder for CreateBatchJobConfig. abstract CreateBatchJobConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static CreateBatchJobConfigfromJson(String jsonString)Deserializes a JSON string to a CreateBatchJobConfig object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
httpOptions
abstract Optional<HttpOptions> httpOptions()
Used to override HTTP request options.
-
displayName
abstract Optional<String> displayName()
The user-defined name of this BatchJob.
-
dest
abstract Optional<BatchJobDestination> dest()
GCS or BigQuery URI prefix for the output predictions. Example: "gs://path/to/output/data" or "bq://projectId.bqDatasetId.bqTableId".
-
webhookConfig
abstract Optional<WebhookConfig> webhookConfig()
Webhook configuration for receiving notifications when the batch operation completes.
-
builder
static CreateBatchJobConfig.Builder builder()
Instantiates a builder for CreateBatchJobConfig.
-
toBuilder
abstract CreateBatchJobConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static CreateBatchJobConfig fromJson(String jsonString)
Deserializes a JSON string to a CreateBatchJobConfig object.
-
-
-
-