Struct google_cloudkms1::AuditLogConfig [−][src]
pub struct AuditLogConfig { pub exempted_members: Option<Vec<String>>, pub log_type: Option<String>, }
Provides the configuration for logging a type of permissions. Example:
{ "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:foo@gmail.com" ] }, { "log_type": "DATA_WRITE", } ] }
This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting foo@gmail.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
impl Default for AuditLogConfig
[src]
impl Default for AuditLogConfig
fn default() -> AuditLogConfig
[src]
fn default() -> AuditLogConfig
Returns the "default value" for a type. Read more
impl Clone for AuditLogConfig
[src]
impl Clone for AuditLogConfig
fn clone(&self) -> AuditLogConfig
[src]
fn clone(&self) -> AuditLogConfig
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AuditLogConfig
[src]
impl Debug for AuditLogConfig
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for AuditLogConfig
[src]
impl Part for AuditLogConfig
Auto Trait Implementations
impl Send for AuditLogConfig
impl Send for AuditLogConfig
impl Sync for AuditLogConfig
impl Sync for AuditLogConfig