Class DeleteFileSearchStoreConfig

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.DeleteFileSearchStoreConfig

public abstract class DeleteFileSearchStoreConfig extends JsonSerializable
Optional parameters for deleting a FileSearchStore.
  • Constructor Details

    • DeleteFileSearchStoreConfig

      public DeleteFileSearchStoreConfig()
  • Method Details

    • httpOptions

      public abstract Optional<HttpOptions> httpOptions()
      Used to override HTTP request options.
    • force

      public 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

      public static DeleteFileSearchStoreConfig.Builder builder()
      Instantiates a builder for DeleteFileSearchStoreConfig.
    • toBuilder

      public abstract DeleteFileSearchStoreConfig.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static DeleteFileSearchStoreConfig fromJson(String jsonString)
      Deserializes a JSON string to a DeleteFileSearchStoreConfig object.