Package com.google.genai.types
Class CreateFileConfig
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.CreateFileConfig
Used to override the default configuration.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for CreateFileConfig. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateFileConfig.Builder
builder()
Instantiates a builder for CreateFileConfig.static CreateFileConfig
Deserializes a JSON string to a CreateFileConfig object.abstract Optional<HttpOptions>
Used to override HTTP request options.If true, the raw HTTP response will be returned in the 'sdk_http_response' field.abstract CreateFileConfig.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
CreateFileConfig
public CreateFileConfig()
-
-
Method Details
-
httpOptions
Used to override HTTP request options. -
shouldReturnHttpResponse
If true, the raw HTTP response will be returned in the 'sdk_http_response' field. -
builder
Instantiates a builder for CreateFileConfig. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a CreateFileConfig object.
-