Package com.google.genai.types
Class DeleteFileSearchStoreConfig
-
- All Implemented Interfaces:
public abstract class DeleteFileSearchStoreConfig extends JsonSerializable
Optional parameters for deleting a FileSearchStore.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classDeleteFileSearchStoreConfig.BuilderBuilder for DeleteFileSearchStoreConfig.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description DeleteFileSearchStoreConfig()
-
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 Documents and objects related to this FileSearchStore will also be deleted. static DeleteFileSearchStoreConfig.Builderbuilder()Instantiates a builder for DeleteFileSearchStoreConfig. abstract DeleteFileSearchStoreConfig.BuildertoBuilder()Creates a builder with the same values as this instance. static DeleteFileSearchStoreConfigfromJson(String jsonString)Deserializes a JSON string to a DeleteFileSearchStoreConfig 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 Documents and objects related to this FileSearchStore will also be deleted. If false (the default), a FAILED_PRECONDITION error will be returned if the FileSearchStore contains any Documents.
-
builder
static DeleteFileSearchStoreConfig.Builder builder()
Instantiates a builder for DeleteFileSearchStoreConfig.
-
toBuilder
abstract DeleteFileSearchStoreConfig.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static DeleteFileSearchStoreConfig fromJson(String jsonString)
Deserializes a JSON string to a DeleteFileSearchStoreConfig object.
-
-
-
-