ReferenceSdkRustTypes
GcpAdcAuth
Rust struct goodmem::models::GcpAdcAuth: declaration, fields or variants, and implementations.
Struct GcpAdcAuth
goodmem::models::GcpAdcAuth
Configuration for Google Application Default Credentials (ADC).
pub struct GcpAdcAuth {
pub scopes: Option<Vec<String>>,
pub quota_project_id: Option<String>,
}Fields
scopes
pub scopes: Option<Vec<String>>
Additional OAuth scopes. Empty list falls back to the default cloud-platform scope.
Wire name: scopes.
quota_project_id
pub quota_project_id: Option<String>
Optional quota project used for billing
Wire name: quotaProjectId.
Implementations
validate
pub fn validate(&self) -> crate::Result<()>
Validate the request before sending, without making an HTTP call.
Trait implementations
Clone(derived)Default(derived)PartialEq(derived)Serialize(derived)impl<'de> Deserialize<'de> for GcpAdcAuthimpl std::fmt::Debug for GcpAdcAuth