Struct google_datamigration1::api::AuditLogConfig
source · pub struct AuditLogConfig {
pub exempted_members: Option<Vec<String>>,
pub log_type: Option<String>,
}Expand description
Provides the configuration for logging a type of permissions. Example: { “audit_log_configs”: [ { “log_type”: “DATA_READ”, “exempted_members”: [ “user:jose@example.com” ] }, { “log_type”: “DATA_WRITE” } ] } This enables ‘DATA_READ’ and ‘DATA_WRITE’ logging, while exempting jose@example.com from DATA_READ logging.
This type is not used in any activity, and only used as part of another schema.
Fields§
§exempted_members: Option<Vec<String>>Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members.
log_type: Option<String>The log type that this config enables.
Trait Implementations§
source§impl Clone for AuditLogConfig
impl Clone for AuditLogConfig
source§fn clone(&self) -> AuditLogConfig
fn clone(&self) -> AuditLogConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AuditLogConfig
impl Debug for AuditLogConfig
source§impl Default for AuditLogConfig
impl Default for AuditLogConfig
source§fn default() -> AuditLogConfig
fn default() -> AuditLogConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AuditLogConfig
impl<'de> Deserialize<'de> for AuditLogConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more