alien-core 1.10.6

Deploy software into your customers' cloud accounts and keep it fully managed
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use serde::{Deserialize, Serialize};

/// GCP ServiceAccount ImportData.
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[cfg_attr(feature = "openapi", derive(utoipa::ToSchema))]
#[cfg_attr(feature = "jsonschema", derive(schemars::JsonSchema))]
#[serde(rename_all = "camelCase")]
pub struct GcpServiceAccountImportData {
    /// Project ID containing the service account.
    pub project_id: String,
    /// Service account email (`<name>@<project>.iam.gserviceaccount.com`).
    pub service_account_email: String,
    /// Stable unique id Google assigns to the service account.
    pub service_account_unique_id: String,
    /// Whether stack-level permissions were attached by the generated stack.
    #[serde(deserialize_with = "crate::import::data::deserialize_bool_from_bool_or_string")]
    pub stack_permissions_applied: bool,
}