Package com.google.genai.types
Class GcsDestination
-
- All Implemented Interfaces:
public abstract class GcsDestination extends JsonSerializable
The Google Cloud Storage location where the output is to be written to.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classGcsDestination.BuilderBuilder for GcsDestination.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description GcsDestination()
-
Method Summary
Modifier and Type Method Description abstract Optional<String>outputUriPrefix()Required. static GcsDestination.Builderbuilder()Instantiates a builder for GcsDestination. abstract GcsDestination.BuildertoBuilder()Creates a builder with the same values as this instance. static GcsDestinationfromJson(String jsonString)Deserializes a JSON string to a GcsDestination 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
-
outputUriPrefix
abstract Optional<String> outputUriPrefix()
Required. Google Cloud Storage URI to output directory. If the uri doesn't end with '/', a '/' will be automatically appended. The directory is created if it doesn't exist.
-
builder
static GcsDestination.Builder builder()
Instantiates a builder for GcsDestination.
-
toBuilder
abstract GcsDestination.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static GcsDestination fromJson(String jsonString)
Deserializes a JSON string to a GcsDestination object.
-
-
-
-