Package com.google.genai.types
Class GcsSource
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GcsSource
The Google Cloud Storage location for the input content. This data type is not supported in
Gemini API.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GcsSource.Builderbuilder()Instantiates a builder for GcsSource.static GcsSourceDeserializes a JSON string to a GcsSource object.abstract GcsSource.BuilderCreates a builder with the same values as this instance.uris()Required.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
GcsSource
public GcsSource()
-
-
Method Details
-
uris
Required. Google Cloud Storage URI(-s) to the input file(s). May contain wildcards. For more information on wildcards, see https://cloud.google.com/storage/docs/wildcards. -
builder
Instantiates a builder for GcsSource. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GcsSource object.
-