Struct gapi_grpc::google::ads::googleads::v7::resources::ChangeEvent [−][src]
Describes the granular change of returned resource of certain resource types. Changes made through UI, API and new versions of Editor by external users (including external users, and internal users that can be shown externally) in the past 30 days will be shown. The change shows the old values of the changed fields before the change and the new values right after the change. ChangeEvent could have up to 3 minutes delay to reflect a new change.
Fields
resource_name: String
Output only. The resource name of the change event. Change event resource names have the form:
customers/{customer_id}/changeEvent/{timestamp_micros}~{command_index}~{mutate_index}
change_date_time: String
Output only. Time at which the change was committed on this resource.
change_resource_type: i32
Output only. The type of the changed resource. This dictates what resource will be set in old_resource and new_resource.
change_resource_name: String
Output only. The Simply resource this change occurred on.
client_type: i32
Output only. Where the change was made through.
user_email: String
Output only. The email of the user who made this change.
old_resource: Option<ChangedResource>
Output only. The old resource before the change. Only changed fields will be populated.
new_resource: Option<ChangedResource>
Output only. The new resource after the change. Only changed fields will be populated.
resource_change_operation: i32
Output only. The operation on the changed resource.
changed_fields: Option<FieldMask>
Output only. A list of fields that are changed in the returned resource.
campaign: String
Output only. The Campaign affected by this change.
ad_group: String
Output only. The AdGroup affected by this change.
feed: String
Output only. The Feed affected by this change.
feed_item: String
Output only. The FeedItem affected by this change.
Implementations
impl ChangeEvent
[src]
pub fn change_resource_type(&self) -> ChangeEventResourceType
[src]
Returns the enum value of change_resource_type
, or the default if the field is set to an invalid enum value.
pub fn set_change_resource_type(&mut self, value: ChangeEventResourceType)
[src]
Sets change_resource_type
to the provided enum value.
pub fn client_type(&self) -> ChangeClientType
[src]
Returns the enum value of client_type
, or the default if the field is set to an invalid enum value.
pub fn set_client_type(&mut self, value: ChangeClientType)
[src]
Sets client_type
to the provided enum value.
pub fn resource_change_operation(&self) -> ResourceChangeOperation
[src]
Returns the enum value of resource_change_operation
, or the default if the field is set to an invalid enum value.
pub fn set_resource_change_operation(&mut self, value: ResourceChangeOperation)
[src]
Sets resource_change_operation
to the provided enum value.
Trait Implementations
impl Clone for ChangeEvent
[src]
fn clone(&self) -> ChangeEvent
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ChangeEvent
[src]
impl Default for ChangeEvent
[src]
fn default() -> ChangeEvent
[src]
impl Message for ChangeEvent
[src]
fn encode_raw<B>(&self, buf: &mut B) where
B: BufMut,
[src]
B: BufMut,
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
[src]
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
fn encoded_len(&self) -> usize
[src]
fn clear(&mut self)
[src]
pub fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError> where
B: BufMut,
[src]
B: BufMut,
pub fn decode<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
[src]
Self: Default,
B: Buf,
pub fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
pub fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError> where
B: Buf,
[src]
B: Buf,
impl PartialEq<ChangeEvent> for ChangeEvent
[src]
fn eq(&self, other: &ChangeEvent) -> bool
[src]
fn ne(&self, other: &ChangeEvent) -> bool
[src]
impl StructuralPartialEq for ChangeEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ChangeEvent
impl Send for ChangeEvent
impl Sync for ChangeEvent
impl Unpin for ChangeEvent
impl UnwindSafe for ChangeEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoRequest<T> for T
[src]
pub fn into_request(self) -> Request<T>
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,