#[non_exhaustive]pub struct AuditConfigDelta {
pub action: Action,
pub service: String,
pub exempted_member: String,
pub log_type: String,
}Expand description
One delta entry for AuditConfig. Each individual change (only one exempted_member in each entry) to a AuditConfig will be a separate entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.action: ActionThe action that was performed on an audit configuration in a policy. Required
service: StringSpecifies a service that was configured for Cloud Audit Logging.
For example, storage.googleapis.com, cloudsql.googleapis.com.
allServices is a special value that covers all services.
Required
exempted_member: StringA single identity that is exempted from “data access” audit
logging for the service specified above.
Follows the same format of Binding.members.
log_type: StringSpecifies the log_type that was be enabled. ADMIN_ACTIVITY is always enabled, and cannot be configured. Required
Implementations§
Source§impl AuditConfigDelta
impl AuditConfigDelta
Sourcepub fn set_action<T: Into<Action>>(self, v: T) -> Self
pub fn set_action<T: Into<Action>>(self, v: T) -> Self
Sets the value of action.
Sourcepub fn set_service<T: Into<String>>(self, v: T) -> Self
pub fn set_service<T: Into<String>>(self, v: T) -> Self
Sets the value of service.
Sourcepub fn set_exempted_member<T: Into<String>>(self, v: T) -> Self
pub fn set_exempted_member<T: Into<String>>(self, v: T) -> Self
Sets the value of exempted_member.
Sourcepub fn set_log_type<T: Into<String>>(self, v: T) -> Self
pub fn set_log_type<T: Into<String>>(self, v: T) -> Self
Sets the value of log_type.
Trait Implementations§
Source§impl Clone for AuditConfigDelta
impl Clone for AuditConfigDelta
Source§fn clone(&self) -> AuditConfigDelta
fn clone(&self) -> AuditConfigDelta
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more