Class Environment
java.lang.Object
com.google.genai.gaos.models.interactions.Environment
Environment
Configuration for a custom environment.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Environment.Builderbuilder()Optional.env()Environment variables to set in the sandbox environment.Optional.booleaninthashCode()mode()The compute lifecycle mode for an environment.network()Network configuration for the environment.sources()toString()type()withCustomConfig(Map<String, Object> customConfig) Optional.Environment variables to set in the sandbox environment.withEnvironmentId(String environmentId) Optional.withMode(EnvironmentMode mode) The compute lifecycle mode for an environment.withNetwork(Network network) Network configuration for the environment.withSources(List<Source> sources)
-
Constructor Details
-
Environment
-
Environment
public 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
-
type
-
builder
-
withCustomConfig
Optional. Arbitrary customer-defined JSON configuration passed through to the self-hosted environment poller. Only supported when `mode` is `SELF_HOSTED`. -
withEnv
Environment variables to set in the sandbox environment. -
withEnvironmentId
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. -
withMode
The compute lifecycle mode for an environment. -
withNetwork
Network configuration for the environment. -
withSources
-
equals
-
hashCode
public int hashCode() -
toString
-