Class Source.Builder

java.lang.Object
com.google.genai.gaos.models.interactions.Source.Builder
Enclosing class:
Source

public static final class Source.Builder extends Object
  • Method Details

    • content

      public Source.Builder content(@Nullable String content)
      The inline content if `type` is `INLINE`.
    • encoding

      public Source.Builder encoding(@Nullable String encoding)
      Optional encoding for inline content (e.g. `base64`).
    • source

      public Source.Builder source(@Nullable String source)
      The source of the environment. For Cloud Storage, this is the Cloud Storage path. For GitHub, this is the GitHub path.
    • target

      public Source.Builder target(@Nullable String target)
      Where the source should appear in the environment.
    • type

      public Source.Builder type(@Nullable SourceType type)
    • build

      public Source build()