Expand description
The Agent Engine deployment environment (--env NAME=VALUE, --default_env).
--env values are kept as OsStrings (the argument bytes) so a value that is not
valid UTF-8 reaches AgentEngineFlags::environment_variables and gets ADK’s error text.
No error names an entry’s name or value: a malformed entry may hold a secret.
Structs§
- EnvVar
- One variable of the deployment environment.
Debugshows the name only: values may be secrets.
Constants§
- DEFAULT_
ENV_ HELP - The help text of
--default_env. - ENV_
HELP - The help text of
--env.
Functions§
- deployment_
spec - The JSON form of the
ReasoningEngineSpec.DeploymentSpecholdingvarsasenv: an empty list is left out ({}) and so is an emptyvalue. - register_
environment_ flags - Registers the environment flags:
--env(repeatable, one value per occurrence, kept verbatim — no comma splitting) and--default_env(default true; a value only as--default_env=<v>).