Struct google_bigtableadmin2::api::AuditLogConfig [−][src]
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
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for AuditLogConfig
impl Send for AuditLogConfig
impl Sync for AuditLogConfig
impl Unpin for AuditLogConfig
impl UnwindSafe for AuditLogConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more