Struct google_api_proto::google::analytics::admin::v1alpha::ChangeHistoryEvent
source · pub struct ChangeHistoryEvent {
pub id: String,
pub change_time: Option<Timestamp>,
pub actor_type: i32,
pub user_actor_email: String,
pub changes_filtered: bool,
pub changes: Vec<ChangeHistoryChange>,
}
Expand description
A set of changes within a Google Analytics account or its child properties that resulted from the same cause. Common causes would be updates made in the Google Analytics UI, changes from customer support, or automatic Google Analytics system changes.
Fields§
§id: String
ID of this change history event. This ID is unique across Google Analytics.
change_time: Option<Timestamp>
Time when change was made.
actor_type: i32
The type of actor that made this change.
user_actor_email: String
Email address of the Google account that made the change. This will be a valid email address if the actor field is set to USER, and empty otherwise. Google accounts that have been deleted will cause an error.
changes_filtered: bool
If true, then the list of changes returned was filtered, and does not represent all changes that occurred in this event.
changes: Vec<ChangeHistoryChange>
A list of changes made in this change history event that fit the filters specified in SearchChangeHistoryEventsRequest.
Implementations§
source§impl ChangeHistoryEvent
impl ChangeHistoryEvent
sourcepub fn actor_type(&self) -> ActorType
pub fn actor_type(&self) -> ActorType
Returns the enum value of actor_type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_actor_type(&mut self, value: ActorType)
pub fn set_actor_type(&mut self, value: ActorType)
Sets actor_type
to the provided enum value.
Trait Implementations§
source§impl Clone for ChangeHistoryEvent
impl Clone for ChangeHistoryEvent
source§fn clone(&self) -> ChangeHistoryEvent
fn clone(&self) -> ChangeHistoryEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangeHistoryEvent
impl Debug for ChangeHistoryEvent
source§impl Default for ChangeHistoryEvent
impl Default for ChangeHistoryEvent
source§impl Message for ChangeHistoryEvent
impl Message for ChangeHistoryEvent
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
.source§impl PartialEq for ChangeHistoryEvent
impl PartialEq for ChangeHistoryEvent
source§fn eq(&self, other: &ChangeHistoryEvent) -> bool
fn eq(&self, other: &ChangeHistoryEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChangeHistoryEvent
Auto Trait Implementations§
impl Freeze for ChangeHistoryEvent
impl RefUnwindSafe for ChangeHistoryEvent
impl Send for ChangeHistoryEvent
impl Sync for ChangeHistoryEvent
impl Unpin for ChangeHistoryEvent
impl UnwindSafe for ChangeHistoryEvent
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request