Skip to main content

alien_core/import/data/gcp/
sandbox.rs

1use serde::{Deserialize, Serialize};
2
3/// GCP Agent Platform sandbox ImportData.
4///
5/// The sandbox is the environment template, which is release-owned under either lifecycle: setup
6/// creates no template, so this carries only the region the stack applied in. The engine registers
7/// its own id, and the template controller reads it from that dependency.
8#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
9#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
10#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
11#[serde(rename_all = "camelCase")]
12pub struct GcpSandboxImportData {
13    /// Region the setup stack applied in; selects the regional Agent Platform endpoint.
14    pub region: String,
15}