Skip to main content

Module agentengine

Module agentengine 

Source
Expand description

gadk deploy agentengine.

The flag structs keep ADK’s shape (the nested flag groups, field for field in ADK’s order); gadk’s additions (bin, target) sit after those fields. The flags are not printed: --env values may be secrets.

compute_flags resolves the Cargo target where ADK splits an entry-point path, and fixes the archive root (-d, else the Cargo workspace root); the derived fields are set as ADK sets them (exec_file = the binary, src_base_path = the package directory, source_dir = the absolute archive root). Vertex AI is reached through gadk_vertexai::reasoning_engine with Env::vertex.

Modules§

environment
The Agent Engine deployment environment (--env NAME=VALUE, --default_env).

Structs§

AgentEngineFlags
The flags of gadk deploy agentengine, plus gadk’s --bin and the resolved Cargo target.
AgentEngineServiceFlags
The Agent Engine service flags. Debug shows the --env names only: values may be secrets.
BuildFlags
The build flags: the temp dir and the paths derived from it by compute_flags.
GCloudFlags
The gcloud flags.
MemoryBankFlags
The memory bank flags.
SourceFlags
The source flags: the entry point, its original form and the derived source paths.

Constants§

AGENT_ENGINE_OPERATION_TIMEOUT
The bound on waiting for a create/update operation.
LONG
The command’s long description.
SHORT
The command’s short description.

Functions§

command
The agentengine command with its flags, in ADK’s order, plus gadk’s --bin. Positional arguments are collected (not a clap error) so validate_args can reject them with ADK’s text.
from_matches
The flags of a parsed agentengine command; the derived fields are empty until AgentEngineFlags::compute_flags.
validate_args
Accepts no positional arguments: any positional argument fails with accepts 0 arg(s), received N, which does not echo the arguments; runs before anything else.