Package com.google.genai.types
Class GetFileParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GetFileParameters
Generates the parameters for the get method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GetFileParameters. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GetFileParameters.Builder
builder()
Instantiates a builder for GetFileParameters.abstract Optional<GetFileConfig>
config()
Used to override the default configuration.static GetFileParameters
Deserializes a JSON string to a GetFileParameters object.name()
The name identifier for the file to retrieve.abstract GetFileParameters.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
GetFileParameters
public GetFileParameters()
-
-
Method Details
-
name
The name identifier for the file to retrieve. -
config
Used to override the default configuration. -
builder
Instantiates a builder for GetFileParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GetFileParameters object.
-