Package com.google.genai.types
Class GetDocumentParameters
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GetDocumentParameters
Parameters for documents.get.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GetDocumentParameters. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for GetDocumentParameters.abstract Optional<GetDocumentConfig>config()Optional parameters for the request.static GetDocumentParametersDeserializes a JSON string to a GetDocumentParameters object.name()The resource name of the Document.abstract GetDocumentParameters.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
GetDocumentParameters
public GetDocumentParameters()
-
-
Method Details
-
name
The resource name of the Document. Example: fileSearchStores/file-search-store-foo/documents/documents-bar -
config
Optional parameters for the request. -
builder
Instantiates a builder for GetDocumentParameters. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GetDocumentParameters object.
-