Package com.google.genai.types
Class ImportFileParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.ImportFileParameters
Config for file_search_stores.import_file parameters.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for ImportFileParameters. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ImportFileParameters.Builderbuilder()Instantiates a builder for ImportFileParameters.abstract Optional<ImportFileConfig>config()Optional parameters for the request.fileName()The name of the File API File to import.The resource name of the FileSearchStore.static ImportFileParametersDeserializes a JSON string to a ImportFileParameters object.abstract ImportFileParameters.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
ImportFileParameters
public ImportFileParameters()
-
-
Method Details
-
fileSearchStoreName
The resource name of the FileSearchStore. Example: `fileSearchStores/my-file-search-store-123` -
fileName
The name of the File API File to import. Example: `files/abc-123` -
config
Optional parameters for the request. -
builder
Instantiates a builder for ImportFileParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a ImportFileParameters object.
-