Package com.google.genai.types
Class DeleteBatchJobParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class DeleteBatchJobParameters extends JsonSerializable
Config for batches.delete parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDeleteBatchJobParameters.BuilderBuilder for DeleteBatchJobParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DeleteBatchJobParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()A fully-qualified BatchJob resource name or ID. abstract Optional<DeleteBatchJobConfig>config()Optional parameters for the request. static DeleteBatchJobParameters.Builderbuilder()Instantiates a builder for DeleteBatchJobParameters. abstract DeleteBatchJobParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static DeleteBatchJobParametersfromJson(String jsonString)Deserializes a JSON string to a DeleteBatchJobParameters 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
-
name
abstract Optional<String> name()
A fully-qualified BatchJob resource name or ID. Example: "projects/.../locations/.../batchPredictionJobs/456" or "456" when project and location are initialized in the client.
-
config
abstract Optional<DeleteBatchJobConfig> config()
Optional parameters for the request.
-
builder
static DeleteBatchJobParameters.Builder builder()
Instantiates a builder for DeleteBatchJobParameters.
-
toBuilder
abstract DeleteBatchJobParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DeleteBatchJobParameters fromJson(String jsonString)
Deserializes a JSON string to a DeleteBatchJobParameters object.
-
-
-
-