Struct google_api_proto::google::ads::googleads::v17::resources::feed::PlacesLocationFeedData
source · pub struct PlacesLocationFeedData {
pub oauth_info: Option<OAuthInfo>,
pub email_address: Option<String>,
pub business_account_id: String,
pub business_name_filter: Option<String>,
pub category_filters: Vec<String>,
pub label_filters: Vec<String>,
}
Expand description
Data used to configure a location feed populated from Business Profile.
Fields§
§oauth_info: Option<OAuthInfo>
Immutable. Required authentication token (from OAuth API) for the email. This field can only be specified in a create request. All its subfields are not selectable.
email_address: Option<String>
Email address of a Business Profile or email address of a manager of the Business Profile. Required.
business_account_id: String
Plus page ID of the managed business whose locations should be used. If this field is not set, then all businesses accessible by the user (specified by email_address) are used. This field is mutate-only and is not selectable.
business_name_filter: Option<String>
Used to filter Business Profile listings by business name. If business_name_filter is set, only listings with a matching business name are candidates to be sync’d into FeedItems.
category_filters: Vec<String>
Used to filter Business Profile listings by categories. If entries exist in category_filters, only listings that belong to any of the categories are candidates to be sync’d into FeedItems. If no entries exist in category_filters, then all listings are candidates for syncing.
label_filters: Vec<String>
Used to filter Business Profile listings by labels. If entries exist in label_filters, only listings that has any of the labels set are candidates to be synchronized into FeedItems. If no entries exist in label_filters, then all listings are candidates for syncing.
Implementations§
source§impl PlacesLocationFeedData
impl PlacesLocationFeedData
sourcepub fn email_address(&self) -> &str
pub fn email_address(&self) -> &str
Returns the value of email_address
, or the default value if email_address
is unset.
sourcepub fn business_name_filter(&self) -> &str
pub fn business_name_filter(&self) -> &str
Returns the value of business_name_filter
, or the default value if business_name_filter
is unset.
Trait Implementations§
source§impl Clone for PlacesLocationFeedData
impl Clone for PlacesLocationFeedData
source§fn clone(&self) -> PlacesLocationFeedData
fn clone(&self) -> PlacesLocationFeedData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PlacesLocationFeedData
impl Debug for PlacesLocationFeedData
source§impl Default for PlacesLocationFeedData
impl Default for PlacesLocationFeedData
source§impl Message for PlacesLocationFeedData
impl Message for PlacesLocationFeedData
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 PlacesLocationFeedData
impl PartialEq for PlacesLocationFeedData
source§fn eq(&self, other: &PlacesLocationFeedData) -> bool
fn eq(&self, other: &PlacesLocationFeedData) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PlacesLocationFeedData
Auto Trait Implementations§
impl Freeze for PlacesLocationFeedData
impl RefUnwindSafe for PlacesLocationFeedData
impl Send for PlacesLocationFeedData
impl Sync for PlacesLocationFeedData
impl Unpin for PlacesLocationFeedData
impl UnwindSafe for PlacesLocationFeedData
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