Class DeleteDocumentConfig

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

public abstract class DeleteDocumentConfig extends JsonSerializable
Config for optional parameters.
  • Constructor Details

    • DeleteDocumentConfig

      public DeleteDocumentConfig()
  • 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 `Chunk`s and objects related to this `Document` will also be deleted.
    • builder

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

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

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