Struct google_api_proto::google::ads::googleads::v17::resources::AccessibleBiddingStrategy
source · pub struct AccessibleBiddingStrategy {
pub resource_name: String,
pub id: i64,
pub name: String,
pub type: i32,
pub owner_customer_id: i64,
pub owner_descriptive_name: String,
pub scheme: Option<Scheme>,
}
Expand description
Represents a view of BiddingStrategies owned by and shared with the customer.
In contrast to BiddingStrategy, this resource includes strategies owned by managers of the customer and shared with this customer - in addition to strategies owned by this customer. This resource does not provide metrics and only exposes a limited subset of the BiddingStrategy attributes.
Fields§
§resource_name: String
Output only. The resource name of the accessible bidding strategy. AccessibleBiddingStrategy resource names have the form:
customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}
id: i64
Output only. The ID of the bidding strategy.
name: String
Output only. The name of the bidding strategy.
type: i32
Output only. The type of the bidding strategy.
owner_customer_id: i64
Output only. The ID of the Customer which owns the bidding strategy.
owner_descriptive_name: String
Output only. descriptive_name of the Customer which owns the bidding strategy.
scheme: Option<Scheme>
The bidding scheme.
Only one can be set.
Implementations§
source§impl AccessibleBiddingStrategy
impl AccessibleBiddingStrategy
sourcepub fn type(&self) -> BiddingStrategyType
pub fn type(&self) -> BiddingStrategyType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: BiddingStrategyType)
pub fn set_type(&mut self, value: BiddingStrategyType)
Sets type
to the provided enum value.
Trait Implementations§
source§impl Clone for AccessibleBiddingStrategy
impl Clone for AccessibleBiddingStrategy
source§fn clone(&self) -> AccessibleBiddingStrategy
fn clone(&self) -> AccessibleBiddingStrategy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AccessibleBiddingStrategy
impl Debug for AccessibleBiddingStrategy
source§impl Default for AccessibleBiddingStrategy
impl Default for AccessibleBiddingStrategy
source§impl Message for AccessibleBiddingStrategy
impl Message for AccessibleBiddingStrategy
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 AccessibleBiddingStrategy
impl PartialEq for AccessibleBiddingStrategy
source§fn eq(&self, other: &AccessibleBiddingStrategy) -> bool
fn eq(&self, other: &AccessibleBiddingStrategy) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AccessibleBiddingStrategy
Auto Trait Implementations§
impl Freeze for AccessibleBiddingStrategy
impl RefUnwindSafe for AccessibleBiddingStrategy
impl Send for AccessibleBiddingStrategy
impl Sync for AccessibleBiddingStrategy
impl Unpin for AccessibleBiddingStrategy
impl UnwindSafe for AccessibleBiddingStrategy
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