Class GcsDestination

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GcsDestination

public abstract class GcsDestination extends JsonSerializable
The Google Cloud Storage location where the output is to be written to.
  • Constructor Details

    • GcsDestination

      public GcsDestination()
  • Method Details

    • outputUriPrefix

      public 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

      public static GcsDestination.Builder builder()
      Instantiates a builder for GcsDestination.
    • toBuilder

      public abstract GcsDestination.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static GcsDestination fromJson(String jsonString)
      Deserializes a JSON string to a GcsDestination object.