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 project the change was limited to, projects/{project}; empty for
a change to the whole organization.
actor: StringWho made the change, as it was when the change was made:
user:{email} with the verified address the account had then,
userId:{user} when none was recorded, serviceAccount:{service_account},
serviceAgent:{service_agent} for a platform service agent acting in
the organization, or platform for a change the platform made itself.
A later change of address doesn’t change it.
action: StringWhat was done, as a permission key names it, such as
iam.role.assign.
target: StringWhat it was done to, written as actor is, 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.