Class Environment.Builder
java.lang.Object
com.google.genai.gaos.models.interactions.Environment.Builder
- Enclosing class:
- Environment
-
Method Summary
Modifier and TypeMethodDescriptionbuild()customConfig(Map<String, Object> customConfig) Optional.Environment variables to set in the sandbox environment.environmentId(String environmentId) Optional.mode(EnvironmentMode mode) The compute lifecycle mode for an environment.Network configuration for the environment.
-
Method Details
-
customConfig
Optional. Arbitrary customer-defined JSON configuration passed through to the self-hosted environment poller. Only supported when `mode` is `SELF_HOSTED`. -
env
Environment variables to set in the sandbox environment. -
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
The compute lifecycle mode for an environment. -
network
Network configuration for the environment. -
sources
-
build
-