Package com.google.genai.types
Class UpdateModelConfig
-
- All Implemented Interfaces:
public abstract class UpdateModelConfig extends JsonSerializable
Configuration for updating a tuned model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classUpdateModelConfig.BuilderBuilder for UpdateModelConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description UpdateModelConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. abstract Optional<String>displayName()abstract Optional<String>description()abstract Optional<String>defaultCheckpointId()static UpdateModelConfig.Builderbuilder()Instantiates a builder for UpdateModelConfig. abstract UpdateModelConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static UpdateModelConfigfromJson(String jsonString)Deserializes a JSON string to a UpdateModelConfig 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()
-
description
abstract Optional<String> description()
-
defaultCheckpointId
abstract Optional<String> defaultCheckpointId()
-
builder
static UpdateModelConfig.Builder builder()
Instantiates a builder for UpdateModelConfig.
-
toBuilder
abstract UpdateModelConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static UpdateModelConfig fromJson(String jsonString)
Deserializes a JSON string to a UpdateModelConfig object.
-
-
-
-