[−][src]Struct google_adexchangebuyer1d4::PretargetingConfigMethods
A builder providing access to all methods supported on pretargetingConfig resources.
It is not used directly, but through the AdExchangeBuyer
hub.
Example
Instantiate a resource builder
extern crate hyper; extern crate hyper_rustls; extern crate yup_oauth2 as oauth2; extern crate google_adexchangebuyer1d4 as adexchangebuyer1d4; use std::default::Default; use oauth2::{Authenticator, DefaultAuthenticatorDelegate, ApplicationSecret, MemoryStorage}; use adexchangebuyer1d4::AdExchangeBuyer; 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 = AdExchangeBuyer::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 `delete(...)`, `get(...)`, `insert(...)`, `list(...)`, `patch(...)` and `update(...)` // to build up your call. let rb = hub.pretargeting_config();
Implementations
impl<'a, C, A> PretargetingConfigMethods<'a, C, A>
[src]
pub fn insert(
&self,
request: PretargetingConfig,
account_id: &str
) -> PretargetingConfigInsertCall<'a, C, A>
[src]
&self,
request: PretargetingConfig,
account_id: &str
) -> PretargetingConfigInsertCall<'a, C, A>
Create a builder to help you perform the following task:
Inserts a new pretargeting configuration.
Arguments
request
- No description provided.accountId
- The account id to insert the pretargeting config for.
pub fn list(&self, account_id: &str) -> PretargetingConfigListCall<'a, C, A>
[src]
Create a builder to help you perform the following task:
Retrieves a list of the authenticated user's pretargeting configurations.
Arguments
accountId
- The account id to get the pretargeting configs for.
pub fn update(
&self,
request: PretargetingConfig,
account_id: &str,
config_id: &str
) -> PretargetingConfigUpdateCall<'a, C, A>
[src]
&self,
request: PretargetingConfig,
account_id: &str,
config_id: &str
) -> PretargetingConfigUpdateCall<'a, C, A>
Create a builder to help you perform the following task:
Updates an existing pretargeting config.
Arguments
request
- No description provided.accountId
- The account id to update the pretargeting config for.configId
- The specific id of the configuration to update.
pub fn patch(
&self,
request: PretargetingConfig,
account_id: &str,
config_id: &str
) -> PretargetingConfigPatchCall<'a, C, A>
[src]
&self,
request: PretargetingConfig,
account_id: &str,
config_id: &str
) -> PretargetingConfigPatchCall<'a, C, A>
Create a builder to help you perform the following task:
Updates an existing pretargeting config. This method supports patch semantics.
Arguments
request
- No description provided.accountId
- The account id to update the pretargeting config for.configId
- The specific id of the configuration to update.
pub fn delete(
&self,
account_id: &str,
config_id: &str
) -> PretargetingConfigDeleteCall<'a, C, A>
[src]
&self,
account_id: &str,
config_id: &str
) -> PretargetingConfigDeleteCall<'a, C, A>
Create a builder to help you perform the following task:
Deletes an existing pretargeting config.
Arguments
accountId
- The account id to delete the pretargeting config for.configId
- The specific id of the configuration to delete.
pub fn get(
&self,
account_id: &str,
config_id: &str
) -> PretargetingConfigGetCall<'a, C, A>
[src]
&self,
account_id: &str,
config_id: &str
) -> PretargetingConfigGetCall<'a, C, A>
Create a builder to help you perform the following task:
Gets a specific pretargeting configuration
Arguments
accountId
- The account id to get the pretargeting config for.configId
- The specific id of the configuration to retrieve.
Trait Implementations
impl<'a, C, A> MethodsBuilder for PretargetingConfigMethods<'a, C, A>
[src]
Auto Trait Implementations
impl<'a, C, A> !RefUnwindSafe for PretargetingConfigMethods<'a, C, A>
impl<'a, C, A> !Send for PretargetingConfigMethods<'a, C, A>
impl<'a, C, A> !Sync for PretargetingConfigMethods<'a, C, A>
impl<'a, C, A> Unpin for PretargetingConfigMethods<'a, C, A>
impl<'a, C, A> !UnwindSafe for PretargetingConfigMethods<'a, C, A>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Typeable for T where
T: Any,
T: Any,