Package com.google.genai.types
Class ListDocumentsParameters
-
- All Implemented Interfaces:
@InternalApi() public abstract class ListDocumentsParameters extends JsonSerializable
Config for documents.list parameters.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classListDocumentsParameters.BuilderBuilder for ListDocumentsParameters.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description ListDocumentsParameters()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>parent()The resource name of the FileSearchStores. abstract Optional<ListDocumentsConfig>config()static ListDocumentsParameters.Builderbuilder()Instantiates a builder for ListDocumentsParameters. abstract ListDocumentsParameters.BuildertoBuilder()Creates a builder with the same values as this instance. static ListDocumentsParametersfromJson(String jsonString)Deserializes a JSON string to a ListDocumentsParameters object. -
Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
parent
abstract Optional<String> parent()
The resource name of the FileSearchStores. Example: `fileSearchStore/file-search-store-foo`
-
config
abstract Optional<ListDocumentsConfig> config()
-
builder
static ListDocumentsParameters.Builder builder()
Instantiates a builder for ListDocumentsParameters.
-
toBuilder
abstract ListDocumentsParameters.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static ListDocumentsParameters fromJson(String jsonString)
Deserializes a JSON string to a ListDocumentsParameters object.
-
-
-
-