pub struct ChangeStatus {Show 22 fields
pub resource_name: String,
pub last_change_date_time: String,
pub resource_type: i32,
pub campaign: String,
pub ad_group: String,
pub resource_status: i32,
pub ad_group_ad: String,
pub ad_group_criterion: String,
pub campaign_criterion: String,
pub feed: String,
pub feed_item: String,
pub ad_group_feed: String,
pub campaign_feed: String,
pub ad_group_bid_modifier: String,
pub shared_set: String,
pub campaign_shared_set: String,
pub asset: String,
pub customer_asset: String,
pub campaign_asset: String,
pub ad_group_asset: String,
pub combined_audience: String,
pub asset_group: String,
}
Expand description
Describes the status of returned resource. ChangeStatus could have up to 3 minutes delay to reflect a new change.
Fields§
§resource_name: String
Output only. The resource name of the change status. Change status resource names have the form:
customers/{customer_id}/changeStatus/{change_status_id}
last_change_date_time: String
Output only. Time at which the most recent change has occurred on this resource.
resource_type: i32
Output only. Represents the type of the changed resource. This dictates what fields will be set. For example, for AD_GROUP, campaign and ad_group fields will be set.
campaign: String
Output only. The Campaign affected by this change.
ad_group: String
Output only. The AdGroup affected by this change.
resource_status: i32
Output only. Represents the status of the changed resource.
ad_group_ad: String
Output only. The AdGroupAd affected by this change.
ad_group_criterion: String
Output only. The AdGroupCriterion affected by this change.
campaign_criterion: String
Output only. The CampaignCriterion 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.
ad_group_feed: String
Output only. The AdGroupFeed affected by this change.
campaign_feed: String
Output only. The CampaignFeed affected by this change.
ad_group_bid_modifier: String
Output only. The AdGroupBidModifier affected by this change.
Output only. The SharedSet affected by this change.
Output only. The CampaignSharedSet affected by this change.
asset: String
Output only. The Asset affected by this change.
customer_asset: String
Output only. The CustomerAsset affected by this change.
campaign_asset: String
Output only. The CampaignAsset affected by this change.
ad_group_asset: String
Output only. The AdGroupAsset affected by this change.
combined_audience: String
Output only. The CombinedAudience affected by this change.
asset_group: String
Output only. The AssetGroup affected by this change.
Implementations§
Source§impl ChangeStatus
impl ChangeStatus
Sourcepub fn resource_type(&self) -> ChangeStatusResourceType
pub fn resource_type(&self) -> ChangeStatusResourceType
Returns the enum value of resource_type
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_resource_type(&mut self, value: ChangeStatusResourceType)
pub fn set_resource_type(&mut self, value: ChangeStatusResourceType)
Sets resource_type
to the provided enum value.
Sourcepub fn resource_status(&self) -> ChangeStatusOperation
pub fn resource_status(&self) -> ChangeStatusOperation
Returns the enum value of resource_status
, or the default if the field is set to an invalid enum value.
Sourcepub fn set_resource_status(&mut self, value: ChangeStatusOperation)
pub fn set_resource_status(&mut self, value: ChangeStatusOperation)
Sets resource_status
to the provided enum value.
Trait Implementations§
Source§impl Clone for ChangeStatus
impl Clone for ChangeStatus
Source§fn clone(&self) -> ChangeStatus
fn clone(&self) -> ChangeStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ChangeStatus
impl Debug for ChangeStatus
Source§impl Default for ChangeStatus
impl Default for ChangeStatus
Source§impl Message for ChangeStatus
impl Message for ChangeStatus
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>
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<B>(buf: B) -> Result<Self, DecodeError>
fn decode<B>(buf: B) -> Result<Self, DecodeError>
Source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>
Source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
. Read moreSource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>
self
.Source§impl PartialEq for ChangeStatus
impl PartialEq for ChangeStatus
impl StructuralPartialEq for ChangeStatus
Auto Trait Implementations§
impl Freeze for ChangeStatus
impl RefUnwindSafe for ChangeStatus
impl Send for ChangeStatus
impl Sync for ChangeStatus
impl Unpin for ChangeStatus
impl UnwindSafe for ChangeStatus
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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