|
|
|
|
@@ -138,7 +138,7 @@ impl<'a, C, A> AdExchangeSeller<C, A>
|
|
|
|
|
AdExchangeSeller {
|
|
|
|
|
client: RefCell::new(client),
|
|
|
|
|
auth: RefCell::new(authenticator),
|
|
|
|
|
_user_agent: "google-api-rust-client/0.1.12".to_string(),
|
|
|
|
|
_user_agent: "google-api-rust-client/0.1.13".to_string(),
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@@ -147,7 +147,7 @@ impl<'a, C, A> AdExchangeSeller<C, A>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// Set the user-agent header field to use in all requests to the server.
|
|
|
|
|
/// It defaults to `google-api-rust-client/0.1.12`.
|
|
|
|
|
/// It defaults to `google-api-rust-client/0.1.13`.
|
|
|
|
|
///
|
|
|
|
|
/// Returns the previously set user-agent.
|
|
|
|
|
pub fn user_agent(&mut self, agent_name: String) -> String {
|
|
|
|
|
@@ -1009,7 +1009,7 @@ impl<'a, C, A> AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut<hyper
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Report)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -1088,8 +1088,7 @@ impl<'a, C, A> AccountReportSavedGenerateCall<'a, C, A> where C: BorrowMut<hyper
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -1286,7 +1285,7 @@ impl<'a, C, A> AccountMetadataMetricListCall<'a, C, A> where C: BorrowMut<hyper:
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Metadata)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -1355,8 +1354,7 @@ impl<'a, C, A> AccountMetadataMetricListCall<'a, C, A> where C: BorrowMut<hyper:
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -1543,7 +1541,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut<hyper::Cli
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Report)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -1659,8 +1657,7 @@ impl<'a, C, A> AccountReportGenerateCall<'a, C, A> where C: BorrowMut<hyper::Cli
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -1904,7 +1901,7 @@ impl<'a, C, A> AccountUrlchannelListCall<'a, C, A> where C: BorrowMut<hyper::Cli
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, UrlChannels)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -1980,8 +1977,7 @@ impl<'a, C, A> AccountUrlchannelListCall<'a, C, A> where C: BorrowMut<hyper::Cli
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -2175,7 +2171,7 @@ impl<'a, C, A> AccountReportSavedListCall<'a, C, A> where C: BorrowMut<hyper::Cl
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, SavedReports)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -2250,8 +2246,7 @@ impl<'a, C, A> AccountReportSavedListCall<'a, C, A> where C: BorrowMut<hyper::Cl
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -2432,7 +2427,7 @@ impl<'a, C, A> AccountPreferreddealGetCall<'a, C, A> where C: BorrowMut<hyper::C
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, PreferredDeal)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -2502,8 +2497,7 @@ impl<'a, C, A> AccountPreferreddealGetCall<'a, C, A> where C: BorrowMut<hyper::C
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -2683,7 +2677,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut<hyper::Clien
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, AdClients)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -2758,8 +2752,7 @@ impl<'a, C, A> AccountAdclientListCall<'a, C, A> where C: BorrowMut<hyper::Clien
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -2939,7 +2932,7 @@ impl<'a, C, A> AccountMetadataDimensionListCall<'a, C, A> where C: BorrowMut<hyp
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Metadata)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -3008,8 +3001,7 @@ impl<'a, C, A> AccountMetadataDimensionListCall<'a, C, A> where C: BorrowMut<hyp
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -3177,7 +3169,7 @@ impl<'a, C, A> AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut<hyper::C
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, CustomChannel)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -3248,8 +3240,7 @@ impl<'a, C, A> AccountCustomchannelGetCall<'a, C, A> where C: BorrowMut<hyper::C
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -3440,7 +3431,7 @@ impl<'a, C, A> AccountCustomchannelListCall<'a, C, A> where C: BorrowMut<hyper::
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, CustomChannels)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -3516,8 +3507,7 @@ impl<'a, C, A> AccountCustomchannelListCall<'a, C, A> where C: BorrowMut<hyper::
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -3710,7 +3700,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Accounts)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -3763,8 +3753,7 @@ impl<'a, C, A> AccountListCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -3936,7 +3925,7 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Alerts)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -4008,8 +3997,7 @@ impl<'a, C, A> AccountAlertListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -4182,7 +4170,7 @@ impl<'a, C, A> AccountPreferreddealListCall<'a, C, A> where C: BorrowMut<hyper::
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, PreferredDeals)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -4251,8 +4239,7 @@ impl<'a, C, A> AccountPreferreddealListCall<'a, C, A> where C: BorrowMut<hyper::
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
@@ -4418,7 +4405,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
|
|
|
|
|
/// Perform the operation you have build so far.
|
|
|
|
|
pub fn doit(mut self) -> Result<(hyper::client::Response, Account)> {
|
|
|
|
|
use std::io::{Read, Seek};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, UserAgent, Location};
|
|
|
|
|
use hyper::header::{ContentType, ContentLength, Authorization, Bearer, UserAgent, Location};
|
|
|
|
|
let mut dd = DefaultDelegate;
|
|
|
|
|
let mut dlg: &mut Delegate = match self._delegate {
|
|
|
|
|
Some(d) => d,
|
|
|
|
|
@@ -4487,8 +4474,7 @@ impl<'a, C, A> AccountGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oa
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
let auth_header = Authorization(oauth2::Scheme { token_type: oauth2::TokenType::Bearer,
|
|
|
|
|
access_token: token.access_token });
|
|
|
|
|
let auth_header = Authorization(Bearer { token: token.access_token });
|
|
|
|
|
let mut req_result = {
|
|
|
|
|
let mut client = &mut *self.hub.client.borrow_mut();
|
|
|
|
|
let mut req = client.borrow_mut().request(hyper::method::Method::Get, &url)
|
|
|
|
|
|