java.lang.Object
com.google.genai.gaos.models.interactions.Allowlist

public class Allowlist extends Object
Allowlist

Outbound networking configuration for the sandbox. When specified, restricts which external domains the sandbox can reach. Omit entirely to allow all outbound traffic with no header injection.

  • Constructor Details

    • Allowlist

      public Allowlist(@Nullable List<AllowlistEntry> allowlist)
    • Allowlist

      public Allowlist()
  • Method Details

    • allowlist

      public Optional<List<AllowlistEntry>> allowlist()
      List of allowed outbound domains. Only requests to listed domains are permitted. Use [{'domain': '*'}] to allow all domains while still injecting headers on specific ones.
    • builder

      public static Allowlist.Builder builder()
    • withAllowlist

      public Allowlist withAllowlist(@Nullable List<AllowlistEntry> allowlist)
      List of allowed outbound domains. Only requests to listed domains are permitted. Use [{'domain': '*'}] to allow all domains while still injecting headers on specific ones.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object