Class Environment.Builder

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

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

    • customConfig

      public Environment.Builder customConfig(@Nullable Map<String,Object> customConfig)
      Optional. Arbitrary customer-defined JSON configuration passed through to the self-hosted environment poller. Only supported when `mode` is `SELF_HOSTED`.
    • env

      public Environment.Builder env(@Nullable Map<String,Env> env)
      Environment variables to set in the sandbox environment.
    • environmentId

      public Environment.Builder environmentId(@Nullable String environmentId)
      Optional. The environment ID for the interaction. If specified, the request will update the existing environment instead of creating a new one; creation-only fields (`env` and `sources`) cannot be updated when resuming an existing environment.
    • mode

      public Environment.Builder mode(@Nullable EnvironmentMode mode)
      The compute lifecycle mode for an environment.
    • network

      public Environment.Builder network(@Nullable Network network)
      Network configuration for the environment.
    • sources

      public Environment.Builder sources(@Nullable List<Source> sources)
    • build

      public Environment build()