pub struct AuditLogEntry {
pub name: String,
pub project: String,
pub actor: String,
pub action: String,
pub target: String,
pub outcome: i32,
pub occur_time: Option<Timestamp>,
pub details: BTreeMap<String, String>,
}Expand description
One recorded change.
Fields§
§name: StringThe entry’s resource name.
project: StringThe full name of the project the change was limited to,
//resourcemanager.origincloudapis.eu/projects/{project}; empty for a
change to the whole organization.
actor: StringThe full name of who made the change: //iam.origincloudapis.eu/users/{user},
//iam.origincloudapis.eu/organizations/{organization}/serviceAccounts/{service_account},
//iam.origincloudapis.eu/serviceAgents/{service_agent} for a platform
service agent, or //iam.origincloudapis.eu/services/{service} for a
change the platform made itself.
action: StringWhat was done, as a permission key names it, such as
iam.role.assign.
target: StringThe full name of what it was done to, such as a member’s, or the email address invited; empty when the action has no target.
outcome: i32Whether the change was made.
occur_time: Option<Timestamp>When the change was made.
details: BTreeMap<String, String>Details of the change that depend on the action, such as the role
granted or a service account’s display_name.
Implementations§
Source§impl AuditLogEntry
impl AuditLogEntry
Trait Implementations§
Source§impl Clone for AuditLogEntry
impl Clone for AuditLogEntry
Source§impl Debug for AuditLogEntry
impl Debug for AuditLogEntry
Source§impl Default for AuditLogEntry
impl Default for AuditLogEntry
Source§impl<'de> Deserialize<'de> for AuditLogEntry
impl<'de> Deserialize<'de> for AuditLogEntry
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>,
Source§impl Message for AuditLogEntry
impl Message for AuditLogEntry
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.