Package com.google.genai.types
Class FileSearchStore
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.FileSearchStore
A collection of Documents.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for FileSearchStore. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOutput only.static FileSearchStore.Builderbuilder()Instantiates a builder for FileSearchStore.Output only.Optional.The embedding model used by the FileSearchStore.Output only.static FileSearchStoreDeserializes a JSON string to a FileSearchStore object.name()Output only.Output only.Output only.abstract FileSearchStore.BuilderCreates a builder with the same values as this instance.Output only.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
FileSearchStore
public FileSearchStore()
-
-
Method Details
-
name
Output only. Immutable. Identifier. The `FileSearchStore` resource name. It is an ID (name excluding the "fileSearchStores/" prefix) that can contain up to 40 characters that are lowercase alphanumeric or dashes (-). It is output only. The unique name will be derived from `display_name` along with a 12 character random suffix. Example: `fileSearchStores/my-awesome-file-search-store-123a456b789c` If `display_name` is not provided, the name will be randomly generated. -
displayName
Optional. The human-readable display name for the `FileSearchStore`. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever". -
createTime
Output only. The Timestamp of when the `FileSearchStore` was created. -
updateTime
Output only. The Timestamp of when the `FileSearchStore` was last updated. -
activeDocumentsCount
Output only. The number of documents in the `FileSearchStore` that are active and ready for retrieval. -
pendingDocumentsCount
Output only. The number of documents in the `FileSearchStore` that are being processed. -
failedDocumentsCount
Output only. The number of documents in the `FileSearchStore` that have failed processing. -
sizeBytes
Output only. The size of raw bytes ingested into the `FileSearchStore`. This is the total size of all the documents in the `FileSearchStore`. -
embeddingModel
The embedding model used by the FileSearchStore. -
builder
Instantiates a builder for FileSearchStore. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a FileSearchStore object.
-