Class GcsSource

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

public abstract class GcsSource extends JsonSerializable
The Google Cloud Storage location for the input content. This data type is not supported in Gemini API.
  • Constructor Details

    • GcsSource

      public GcsSource()
  • Method Details

    • uris

      public abstract Optional<List<String>> 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

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

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

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