[][src]Struct google_realtimebidding1::BidderMethods

pub struct BidderMethods<'a, C, A> where
    C: 'a,
    A: 'a, 
{ /* fields omitted */ }

A builder providing access to all methods supported on bidder resources. It is not used directly, but through the RealTimeBidding hub.

Example

Instantiate a resource builder

extern crate hyper;
extern crate hyper_rustls;
extern crate yup_oauth2 as oauth2;
extern crate google_realtimebidding1 as realtimebidding1;
 
use std::default::Default;
use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage};
use realtimebidding1::RealTimeBidding;
 
let secret: ApplicationSecret = Default::default();
let auth = Authenticator::new(&secret, DefaultAuthenticatorDelegate,
                              hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())),
                              <MemoryStorage as Default>::default(), None);
let mut hub = RealTimeBidding::new(hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())), auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `creatives_list(...)` and `creatives_watch(...)`
// to build up your call.
let rb = hub.bidders();

Implementations

impl<'a, C, A> BidderMethods<'a, C, A>[src]

pub fn creatives_watch(
    &self,
    request: WatchCreativesRequest,
    parent: &str
) -> BidderCreativeWatchCall<'a, C, A>
[src]

Create a builder to help you perform the following task:

Watches all creatives pertaining to a bidder. It is sufficient to invoke this endpoint once per bidder. A Pub/Sub topic will be created and notifications will be pushed to the topic when any of the bidder's creatives change status. All of the bidder's service accounts will have access to read from the topic. Subsequent invocations of this method will return the existing Pub/Sub configuration.

Arguments

  • request - No description provided.
  • parent - Required. To watch all creatives pertaining to the bidder and all its child seat accounts, the bidder must follow the pattern bidders/{bidderAccountId}.

pub fn creatives_list(&self, parent: &str) -> BidderCreativeListCall<'a, C, A>[src]

Create a builder to help you perform the following task:

Lists creatives.

Arguments

  • parent - Required. Name of the parent buyer that owns the creatives. The pattern for this resource is either buyers/{buyerAccountId} or bidders/{bidderAccountId}. For buyers/{buyerAccountId}, the buyerAccountId can be one of the following: 1. The ID of the buyer that is accessing their own creatives. 2. The ID of the child seat buyer under a bidder account. So for listing creatives pertaining to the child seat buyer (456) under bidder account (123), you would use the pattern: buyers/456. 3. The ID of the bidder itself. So for listing creatives pertaining to bidder (123), you would use buyers/123. If you want to access all creatives pertaining to both the bidder and all of its child seat accounts, you would use bidders/{bidderAccountId}, e.g., for all creatives pertaining to bidder (123), use bidders/123.

Trait Implementations

impl<'a, C, A> MethodsBuilder for BidderMethods<'a, C, A>[src]

Auto Trait Implementations

impl<'a, C, A> !RefUnwindSafe for BidderMethods<'a, C, A>

impl<'a, C, A> !Send for BidderMethods<'a, C, A>

impl<'a, C, A> !Sync for BidderMethods<'a, C, A>

impl<'a, C, A> Unpin for BidderMethods<'a, C, A>

impl<'a, C, A> !UnwindSafe for BidderMethods<'a, C, A>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any