Package com.google.genai.types
Class DeleteDocumentParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class DeleteDocumentParameters extends JsonSerializable
Config for documents.delete parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDeleteDocumentParameters.BuilderBuilder for DeleteDocumentParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DeleteDocumentParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>name()The resource name of the Document. abstract Optional<DeleteDocumentConfig>config()Optional parameters for the request. static DeleteDocumentParameters.Builderbuilder()Instantiates a builder for DeleteDocumentParameters. abstract DeleteDocumentParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static DeleteDocumentParametersfromJson(String jsonString)Deserializes a JSON string to a DeleteDocumentParameters 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()
The resource name of the Document. Example: fileSearchStores/file-search-store-foo/documents/documents-bar
-
config
abstract Optional<DeleteDocumentConfig> config()
Optional parameters for the request.
-
builder
static DeleteDocumentParameters.Builder builder()
Instantiates a builder for DeleteDocumentParameters.
-
toBuilder
abstract DeleteDocumentParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DeleteDocumentParameters fromJson(String jsonString)
Deserializes a JSON string to a DeleteDocumentParameters object.
-
-
-
-