Update to latest versions of API declarations

This commit is contained in:
Sebastian Thiel
2018-10-13 13:49:14 +02:00
parent 5a67475b54
commit 255c7f5ad5
1508 changed files with 819225 additions and 838421 deletions

View File

@@ -4,14 +4,15 @@
[package]
name = "google-doubleclickbidmanager1"
version = "1.0.7+20170705"
version = "1.0.7+20180821"
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)"
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclickbidmanager1"
homepage = "https://developers.google.com/bid-manager/"
documentation = "https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705"
documentation = "https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821"
license = "MIT"
keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"]
autobins = false
[dev-dependencies]

View File

@@ -5,22 +5,22 @@ DO NOT EDIT !
-->
The `google-doubleclickbidmanager1` library allows access to all features of the *Google DoubleClick Bid Manager* service.
This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.7+20170705*, where *20170705* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.7+20180821*, where *20180821* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the
[official documentation site](https://developers.google.com/bid-manager/).
# Features
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ...
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ...
* lineitems
* [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html)
* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.Query.html)
* [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html)
* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.Report.html)
* [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.ReportListreportCall.html)
* [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html)
* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.Query.html)
* [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html)
* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.Report.html)
* [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.ReportListreportCall.html)
* sdf
* [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.SdfDownloadCall.html)
* [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.SdfDownloadCall.html)
@@ -29,17 +29,17 @@ Handle the following *Resources* with ease from the central [hub](https://docs.r
The API is structured into the following primary items:
* **[Hub](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html)**
* **[Hub](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html)**
* a central object to maintain state and allow accessing all *Activities*
* creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Resource.html)**
* creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn
allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.CallBuilder.html)
* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Resource.html)**
* primary types that you can apply *Activities* to
* a collection of properties and *Parts*
* **[Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Part.html)**
* **[Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Part.html)**
* a collection of properties
* never directly used in *Activities*
* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.CallBuilder.html)**
* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.CallBuilder.html)**
* operations to apply to *Resources*
All *structures* are marked with applicable traits to further categorize them and ease browsing.
@@ -71,6 +71,14 @@ To use this library, you would put the following lines into your `Cargo.toml` fi
```toml
[dependencies]
google-doubleclickbidmanager1 = "*"
# This project intentionally uses an old version of Hyper. See
# https://github.com/Byron/google-apis-rs/issues/173 for more
# information.
hyper = "^0.10"
hyper-rustls = "^0.6"
serde = "^1.0"
serde_json = "^1.0"
yup-oauth2 = "^1.0"
```
## A complete example
@@ -123,17 +131,17 @@ match result {
```
## Handling Errors
All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/enum.Result.html) enumeration as return value of
All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/enum.Result.html) enumeration as return value of
the doit() methods, or handed as possibly intermediate results to either the
[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
[Hub Delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
When delegates handle errors or intermediate values, they may have a chance to instruct the system to retry. This
makes the system potentially resilient to all kinds of errors.
## Uploads and Downloads
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/enum.Result.html), should be
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/enum.Result.html), should be
read by you to obtain the media.
If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.ResponseResult.html), it will return that by default.
If such a method also supports a [Response Result](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.ResponseResult.html), it will return that by default.
You can see it as meta-data for the actual media. To trigger a media download, you will have to set up the builder by making
this call: `.param("alt", "media")`.
@@ -143,29 +151,29 @@ Methods supporting uploads can do so using up to 2 different protocols:
## Customization and Callbacks
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.CallBuilder.html) before making the final `doit()` call.
You may alter the way an `doit()` method is called by providing a [delegate](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Delegate.html) to the
[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.CallBuilder.html) before making the final `doit()` call.
Respective methods will be called to provide progress information, as well as determine whether the system should
retry on failure.
The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
The [delegate trait](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
## Optional Parts in Server-Requests
All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.RequestValue.html) and
[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
All structures provided by this library are made to be [enocodable](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.RequestValue.html) and
[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.ResponseResult.html) via *json*. Optionals are used to indicate that partial requests are responses
are valid.
Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.Part.html) which are identifiable by name, which will be sent to
Most optionals are are considered [Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.Part.html) which are identifiable by name, which will be sent to
the server to indicate either the set parts of the request or the desired parts in the response.
## Builder Arguments
Using [method builders](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
Using [method builders](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
These will always take a single argument, for which the following statements are true.
* [PODs][wiki-pod] are handed by copy
* strings are passed as `&str`
* [request values](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20170705/google_doubleclickbidmanager1/trait.RequestValue.html) are moved
* [request values](https://docs.rs/google-doubleclickbidmanager1/1.0.7+20180821/google_doubleclickbidmanager1/trait.RequestValue.html) are moved
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.

View File

@@ -2,7 +2,7 @@
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
// DO NOT EDIT !
//! This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.7+20170705*, where *20170705* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
//! This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.7+20180821*, where *20180821* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
//!
//! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the
//! [official documentation site](https://developers.google.com/bid-manager/).
@@ -71,6 +71,14 @@
//! ```toml
//! [dependencies]
//! google-doubleclickbidmanager1 = "*"
//! # This project intentionally uses an old version of Hyper. See
//! # https://github.com/Byron/google-apis-rs/issues/173 for more
//! # information.
//! hyper = "^0.10"
//! hyper-rustls = "^0.6"
//! serde = "^1.0"
//! serde_json = "^1.0"
//! yup-oauth2 = "^1.0"
//! ```
//!
//! ## A complete example
@@ -665,7 +673,7 @@ pub struct ListReportsResponse {
impl ResponseResult for ListReportsResponse {}
/// Request to fetch stored insertion orders, line items, TrueView ad groups and ads.
/// Request to fetch stored campaigns, insertion orders, line items, TrueView ad groups and ads.
///
/// # Activities
///
@@ -677,14 +685,21 @@ impl ResponseResult for ListReportsResponse {}
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct DownloadRequest {
/// File types that will be returned.
///
/// Acceptable values are:
/// - "AD"
/// - "AD_GROUP"
/// - "CAMPAIGN"
/// - "INSERTION_ORDER"
/// - "LINE_ITEM"
#[serde(rename="fileTypes")]
pub file_types: Option<Vec<String>>,
/// SDF Version (column names, types, order) in which the entities will be returned. Default to 3.
/// SDF Version (column names, types, order) in which the entities will be returned. Default to 3.1.
pub version: Option<String>,
/// Filter type used to filter line items to fetch.
/// Filter type used to filter entities to fetch.
#[serde(rename="filterType")]
pub filter_type: Option<String>,
/// The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified. Only one ID is allowed for the ADVERTISER_ID filter type. For INSERTION_ORDER_ID or LINE_ITEM_ID filter types, all IDs must be from the same Advertiser.
/// The IDs of the specified filter type. This is used to filter entities to fetch. At least one ID must be specified.
#[serde(rename="filterIds")]
pub filter_ids: Option<Vec<String>>,
}
@@ -840,6 +855,8 @@ impl Part for UploadStatus {}
///
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
pub struct DownloadResponse {
/// Retrieved campaigns in SDF format.
pub campaigns: Option<String>,
/// Retrieved insertion orders in SDF format.
#[serde(rename="insertionOrders")]
pub insertion_orders: Option<String>,
@@ -961,7 +978,7 @@ impl<'a, C, A> LineitemMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Uploads line items in CSV format.
/// Uploads line items in CSV format. TrueView line items are not supported.
///
/// # Arguments
///
@@ -978,7 +995,7 @@ impl<'a, C, A> LineitemMethods<'a, C, A> {
/// Create a builder to help you perform the following task:
///
/// Retrieves line items in CSV format.
/// Retrieves line items in CSV format. TrueView line items are not supported.
///
/// # Arguments
///
@@ -1248,7 +1265,7 @@ impl<'a, C, A> SdfDownloadCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.sdf.download",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
for &field in ["alt"].iter() {
if self._additional_params.contains_key(field) {
dlg.finished(false);
@@ -1387,11 +1404,11 @@ impl<'a, C, A> SdfDownloadCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> SdfDownloadCall<'a, C, A>
@@ -1426,7 +1443,7 @@ impl<'a, C, A> SdfDownloadCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: o
}
/// Uploads line items in CSV format.
/// Uploads line items in CSV format. TrueView line items are not supported.
///
/// A builder for the *uploadlineitems* method supported by a *lineitem* resource.
/// It is not used directly, but through a `LineitemMethods` instance.
@@ -1489,7 +1506,7 @@ impl<'a, C, A> LineitemUploadlineitemCall<'a, C, A> where C: BorrowMut<hyper::Cl
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.lineitems.uploadlineitems",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
for &field in ["alt"].iter() {
if self._additional_params.contains_key(field) {
dlg.finished(false);
@@ -1628,11 +1645,11 @@ impl<'a, C, A> LineitemUploadlineitemCall<'a, C, A> where C: BorrowMut<hyper::Cl
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> LineitemUploadlineitemCall<'a, C, A>
@@ -1667,7 +1684,7 @@ impl<'a, C, A> LineitemUploadlineitemCall<'a, C, A> where C: BorrowMut<hyper::Cl
}
/// Retrieves line items in CSV format.
/// Retrieves line items in CSV format. TrueView line items are not supported.
///
/// A builder for the *downloadlineitems* method supported by a *lineitem* resource.
/// It is not used directly, but through a `LineitemMethods` instance.
@@ -1730,7 +1747,7 @@ impl<'a, C, A> LineitemDownloadlineitemCall<'a, C, A> where C: BorrowMut<hyper::
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.lineitems.downloadlineitems",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
for &field in ["alt"].iter() {
if self._additional_params.contains_key(field) {
dlg.finished(false);
@@ -1869,11 +1886,11 @@ impl<'a, C, A> LineitemDownloadlineitemCall<'a, C, A> where C: BorrowMut<hyper::
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> LineitemDownloadlineitemCall<'a, C, A>
@@ -1965,7 +1982,7 @@ impl<'a, C, A> ReportListreportCall<'a, C, A> where C: BorrowMut<hyper::Client>,
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.reports.listreports",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
params.push(("queryId", self._query_id.to_string()));
for &field in ["alt", "queryId"].iter() {
if self._additional_params.contains_key(field) {
@@ -2112,11 +2129,11 @@ impl<'a, C, A> ReportListreportCall<'a, C, A> where C: BorrowMut<hyper::Client>,
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> ReportListreportCall<'a, C, A>
@@ -2207,7 +2224,7 @@ impl<'a, C, A> QueryListqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.queries.listqueries",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((2 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(2 + self._additional_params.len());
for &field in ["alt"].iter() {
if self._additional_params.contains_key(field) {
dlg.finished(false);
@@ -2322,11 +2339,11 @@ impl<'a, C, A> QueryListqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> QueryListqueryCall<'a, C, A>
@@ -2418,7 +2435,7 @@ impl<'a, C, A> QueryGetqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.queries.getquery",
http_method: hyper::method::Method::Get });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
params.push(("queryId", self._query_id.to_string()));
for &field in ["alt", "queryId"].iter() {
if self._additional_params.contains_key(field) {
@@ -2565,11 +2582,11 @@ impl<'a, C, A> QueryGetqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> QueryGetqueryCall<'a, C, A>
@@ -2667,7 +2684,7 @@ impl<'a, C, A> QueryCreatequeryCall<'a, C, A> where C: BorrowMut<hyper::Client>,
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.queries.createquery",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
for &field in ["alt"].iter() {
if self._additional_params.contains_key(field) {
dlg.finished(false);
@@ -2806,11 +2823,11 @@ impl<'a, C, A> QueryCreatequeryCall<'a, C, A> where C: BorrowMut<hyper::Client>,
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> QueryCreatequeryCall<'a, C, A>
@@ -2902,7 +2919,7 @@ impl<'a, C, A> QueryDeletequeryCall<'a, C, A> where C: BorrowMut<hyper::Client>,
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.queries.deletequery",
http_method: hyper::method::Method::Delete });
let mut params: Vec<(&str, String)> = Vec::with_capacity((2 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(2 + self._additional_params.len());
params.push(("queryId", self._query_id.to_string()));
for &field in ["queryId"].iter() {
if self._additional_params.contains_key(field) {
@@ -3038,11 +3055,11 @@ impl<'a, C, A> QueryDeletequeryCall<'a, C, A> where C: BorrowMut<hyper::Client>,
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> QueryDeletequeryCall<'a, C, A>
@@ -3141,7 +3158,7 @@ impl<'a, C, A> QueryRunqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
};
dlg.begin(MethodInfo { id: "doubleclickbidmanager.queries.runquery",
http_method: hyper::method::Method::Post });
let mut params: Vec<(&str, String)> = Vec::with_capacity((3 + self._additional_params.len()));
let mut params: Vec<(&str, String)> = Vec::with_capacity(3 + self._additional_params.len());
params.push(("queryId", self._query_id.to_string()));
for &field in ["queryId"].iter() {
if self._additional_params.contains_key(field) {
@@ -3301,11 +3318,11 @@ impl<'a, C, A> QueryRunqueryCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
///
/// # Additional Parameters
///
/// * *quotaUser* (query-string) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.
/// * *quotaUser* (query-string) - An opaque string that represents a user for quota purposes. Must not exceed 40 characters.
/// * *oauth_token* (query-string) - OAuth 2.0 token for the current user.
/// * *key* (query-string) - API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
/// * *prettyPrint* (query-boolean) - Returns response with indentations and line breaks.
/// * *userIp* (query-string) - IP address of the site where the request originates. Use this if you want to enforce per-user limits.
/// * *userIp* (query-string) - Deprecated. Please use quotaUser instead.
/// * *fields* (query-string) - Selector specifying which fields to include in a partial response.
/// * *alt* (query-string) - Data format for the response.
pub fn param<T>(mut self, name: T, value: T) -> QueryRunqueryCall<'a, C, A>