Class CreateEnvironmentRequest.Builder
java.lang.Object
com.google.genai.gaos.models.environments.CreateEnvironmentRequest.Builder
- Enclosing class:
- CreateEnvironmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionbuild()customConfig(Map<String, Object> customConfig) Optional.Environment variables to set in the sandbox environment.fromEnvironment(String fromEnvironment) Optional.mode(EnvironmentMode mode) The compute lifecycle mode for an environment.Network configuration for the environment.Sources to be mounted into the environment.systemInstruction(String systemInstruction) Optional.
-
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. -
fromEnvironment
Optional. The source environment to copy/fork from. Format: `environments/{environment_id}` or `{environment_id}`. When specified, `sources` and `env` must be empty. -
mode
The compute lifecycle mode for an environment. -
network
public CreateEnvironmentRequest.Builder network(@Nullable CreateEnvironmentRequestNetworkUnion network) Network configuration for the environment. -
sources
Sources to be mounted into the environment. -
systemInstruction
Optional. System instruction applied to interactions running in this environment. Only supported for `SELF_HOSTED` environments, where it is recommended. -
build
-