Struct google_ml1::api::GoogleIamV1__AuditLogConfig
source · pub struct GoogleIamV1__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 GoogleIamV1__AuditLogConfig
impl Clone for GoogleIamV1__AuditLogConfig
source§fn clone(&self) -> GoogleIamV1__AuditLogConfig
fn clone(&self) -> GoogleIamV1__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 GoogleIamV1__AuditLogConfig
impl Debug for GoogleIamV1__AuditLogConfig
source§impl Default for GoogleIamV1__AuditLogConfig
impl Default for GoogleIamV1__AuditLogConfig
source§fn default() -> GoogleIamV1__AuditLogConfig
fn default() -> GoogleIamV1__AuditLogConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleIamV1__AuditLogConfig
impl<'de> Deserialize<'de> for GoogleIamV1__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
impl Part for GoogleIamV1__AuditLogConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleIamV1__AuditLogConfig
impl Send for GoogleIamV1__AuditLogConfig
impl Sync for GoogleIamV1__AuditLogConfig
impl Unpin for GoogleIamV1__AuditLogConfig
impl UnwindSafe for GoogleIamV1__AuditLogConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more