Class CreateFileConfig

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

public abstract class CreateFileConfig extends JsonSerializable
Used to override the default configuration.
  • Constructor Details

    • CreateFileConfig

      public CreateFileConfig()
  • Method Details

    • httpOptions

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

      public abstract Optional<Boolean> shouldReturnHttpResponse()
      If true, the raw HTTP response will be returned in the 'sdk_http_response' field.
    • builder

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

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

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