Struct google_api_proto::google::ads::googleads::v17::resources::ChannelAggregateAssetView
source · pub struct ChannelAggregateAssetView {
pub resource_name: String,
pub advertising_channel_type: Option<i32>,
pub asset: Option<String>,
pub asset_source: Option<i32>,
pub field_type: Option<i32>,
}
Expand description
A channel-level aggregate asset view that shows where the asset is linked, performamce of the asset and stats.
Fields§
§resource_name: String
Output only. The resource name of the channel aggregate asset view. Channel aggregate asset view resource names have the form:
customers/{customer_id}/channelAggregateAssetViews/{ChannelAssetV2.advertising_channel_type}~{ChannelAssetV2.asset_id}~{ChannelAssetV2.asset_source}~{ChannelAssetV2.field_type}"
advertising_channel_type: Option<i32>
Output only. Channel in which the asset served.
asset: Option<String>
Output only. The ID of the asset.
asset_source: Option<i32>
Output only. Source of the asset link.
field_type: Option<i32>
Output only. FieldType of the asset.
Implementations§
source§impl ChannelAggregateAssetView
impl ChannelAggregateAssetView
sourcepub fn advertising_channel_type(&self) -> AdvertisingChannelType
pub fn advertising_channel_type(&self) -> AdvertisingChannelType
Returns the enum value of advertising_channel_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_advertising_channel_type(&mut self, value: AdvertisingChannelType)
pub fn set_advertising_channel_type(&mut self, value: AdvertisingChannelType)
Sets advertising_channel_type
to the provided enum value.
sourcepub fn asset(&self) -> &str
pub fn asset(&self) -> &str
Returns the value of asset
, or the default value if asset
is unset.
sourcepub fn asset_source(&self) -> AssetSource
pub fn asset_source(&self) -> AssetSource
Returns the enum value of asset_source
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_asset_source(&mut self, value: AssetSource)
pub fn set_asset_source(&mut self, value: AssetSource)
Sets asset_source
to the provided enum value.
sourcepub fn field_type(&self) -> AssetFieldType
pub fn field_type(&self) -> AssetFieldType
Returns the enum value of field_type
, or the default if the field is unset or set to an invalid enum value.
sourcepub fn set_field_type(&mut self, value: AssetFieldType)
pub fn set_field_type(&mut self, value: AssetFieldType)
Sets field_type
to the provided enum value.
Trait Implementations§
source§impl Clone for ChannelAggregateAssetView
impl Clone for ChannelAggregateAssetView
source§fn clone(&self) -> ChannelAggregateAssetView
fn clone(&self) -> ChannelAggregateAssetView
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelAggregateAssetView
impl Debug for ChannelAggregateAssetView
source§impl Default for ChannelAggregateAssetView
impl Default for ChannelAggregateAssetView
source§impl Message for ChannelAggregateAssetView
impl Message for ChannelAggregateAssetView
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 ChannelAggregateAssetView
impl PartialEq for ChannelAggregateAssetView
source§fn eq(&self, other: &ChannelAggregateAssetView) -> bool
fn eq(&self, other: &ChannelAggregateAssetView) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelAggregateAssetView
Auto Trait Implementations§
impl Freeze for ChannelAggregateAssetView
impl RefUnwindSafe for ChannelAggregateAssetView
impl Send for ChannelAggregateAssetView
impl Sync for ChannelAggregateAssetView
impl Unpin for ChannelAggregateAssetView
impl UnwindSafe for ChannelAggregateAssetView
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