Struct google_cloudkms1_beta1::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]
fn default() -> AuditLogConfig
[src]
Returns the "default value" for a type. Read more
impl Clone for AuditLogConfig
[src]
fn clone(&self) -> AuditLogConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more