Package com.google.genai.types
Class DeleteDocumentConfig
-
- All Implemented Interfaces:
public abstract class DeleteDocumentConfig extends JsonSerializable
Config for optional parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDeleteDocumentConfig.BuilderBuilder for DeleteDocumentConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DeleteDocumentConfig()
-
Method Summary
Modifier and Type Method Description abstract Optional<HttpOptions>httpOptions()Used to override HTTP request options. abstract Optional<Boolean>force()If set to true, any `Chunk`s and objects related to this `Document` will also be deleted. static DeleteDocumentConfig.Builderbuilder()Instantiates a builder for DeleteDocumentConfig. abstract DeleteDocumentConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static DeleteDocumentConfigfromJson(String jsonString)Deserializes a JSON string to a DeleteDocumentConfig 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.
-
force
abstract Optional<Boolean> force()
If set to true, any `Chunk`s and objects related to this `Document` will also be deleted.
-
builder
static DeleteDocumentConfig.Builder builder()
Instantiates a builder for DeleteDocumentConfig.
-
toBuilder
abstract DeleteDocumentConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DeleteDocumentConfig fromJson(String jsonString)
Deserializes a JSON string to a DeleteDocumentConfig object.
-
-
-
-