mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-02-23 15:49:49 +01:00
Update to latest versions of API declarations
This commit is contained in:
@@ -4,14 +4,15 @@
|
||||
[package]
|
||||
|
||||
name = "google-doubleclicksearch2"
|
||||
version = "1.0.7+20171116"
|
||||
version = "1.0.7+20181010"
|
||||
authors = ["Sebastian Thiel <byronimo@gmail.com>"]
|
||||
description = "A complete library to interact with doubleclicksearch (protocol v2)"
|
||||
repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclicksearch2"
|
||||
homepage = "https://developers.google.com/doubleclick-search/"
|
||||
documentation = "https://docs.rs/google-doubleclicksearch2/1.0.7+20171116"
|
||||
documentation = "https://docs.rs/google-doubleclicksearch2/1.0.7+20181010"
|
||||
license = "MIT"
|
||||
keywords = ["doubleclicksearch", "google", "protocol", "web", "api"]
|
||||
autobins = false
|
||||
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -5,25 +5,25 @@ DO NOT EDIT !
|
||||
-->
|
||||
The `google-doubleclicksearch2` library allows access to all features of the *Google doubleclicksearch* service.
|
||||
|
||||
This documentation was generated from *doubleclicksearch* crate version *1.0.7+20171116*, where *20171116* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
|
||||
This documentation was generated from *doubleclicksearch* crate version *1.0.7+20181010*, where *20181010* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
|
||||
|
||||
Everything else about the *doubleclicksearch* *v2* API can be found at the
|
||||
[official documentation site](https://developers.google.com/doubleclick-search/).
|
||||
# Features
|
||||
|
||||
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.Doubleclicksearch.html) ...
|
||||
Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.Doubleclicksearch.html) ...
|
||||
|
||||
* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.Conversion.html)
|
||||
* [*get*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html)
|
||||
* [reports](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.Report.html)
|
||||
* [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ReportRequestCall.html)
|
||||
* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.SavedColumn.html)
|
||||
* [*list*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.SavedColumnListCall.html)
|
||||
* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.Conversion.html)
|
||||
* [*get*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html)
|
||||
* [reports](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.Report.html)
|
||||
* [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ReportRequestCall.html)
|
||||
* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.SavedColumn.html)
|
||||
* [*list*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.SavedColumnListCall.html)
|
||||
|
||||
|
||||
Download supported by ...
|
||||
|
||||
* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.ReportGetFileCall.html)
|
||||
* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.ReportGetFileCall.html)
|
||||
|
||||
|
||||
|
||||
@@ -31,17 +31,17 @@ Download supported by ...
|
||||
|
||||
The API is structured into the following primary items:
|
||||
|
||||
* **[Hub](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/struct.Doubleclicksearch.html)**
|
||||
* **[Hub](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/struct.Doubleclicksearch.html)**
|
||||
* a central object to maintain state and allow accessing all *Activities*
|
||||
* creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn
|
||||
allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.CallBuilder.html)
|
||||
* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Resource.html)**
|
||||
* creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn
|
||||
allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.CallBuilder.html)
|
||||
* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.Resource.html)**
|
||||
* primary types that you can apply *Activities* to
|
||||
* a collection of properties and *Parts*
|
||||
* **[Parts](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Part.html)**
|
||||
* **[Parts](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.Part.html)**
|
||||
* a collection of properties
|
||||
* never directly used in *Activities*
|
||||
* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.CallBuilder.html)**
|
||||
* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.CallBuilder.html)**
|
||||
* operations to apply to *Resources*
|
||||
|
||||
All *structures* are marked with applicable traits to further categorize them and ease browsing.
|
||||
@@ -75,6 +75,14 @@ To use this library, you would put the following lines into your `Cargo.toml` fi
|
||||
```toml
|
||||
[dependencies]
|
||||
google-doubleclicksearch2 = "*"
|
||||
# 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
|
||||
@@ -127,17 +135,17 @@ match result {
|
||||
```
|
||||
## Handling Errors
|
||||
|
||||
All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/enum.Result.html) enumeration as return value of
|
||||
All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html).
|
||||
[Hub Delegate](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/enum.Result.html), should be
|
||||
If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.ResponseResult.html), it will return that by default.
|
||||
If such a method also supports a [Response Result](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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")`.
|
||||
|
||||
@@ -147,29 +155,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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Delegate.html) to the
|
||||
[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.Delegate.html) to the
|
||||
[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort.
|
||||
The [delegate trait](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.RequestValue.html) and
|
||||
[decodable](https://docs.rs/google-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.RequestValue.html) and
|
||||
[decodable](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.Part.html) which are identifiable by name, which will be sent to
|
||||
Most optionals are are considered [Parts](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods.
|
||||
Using [method builders](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/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-doubleclicksearch2/1.0.7+20171116/google_doubleclicksearch2/trait.RequestValue.html) are moved
|
||||
* [request values](https://docs.rs/google-doubleclicksearch2/1.0.7+20181010/google_doubleclicksearch2/trait.RequestValue.html) are moved
|
||||
|
||||
Arguments will always be copied or cloned into the builder, to make them independent of their original life times.
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// This file was generated automatically from 'src/mako/api/lib.rs.mako'
|
||||
// DO NOT EDIT !
|
||||
|
||||
//! This documentation was generated from *doubleclicksearch* crate version *1.0.7+20171116*, where *20171116* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
|
||||
//! This documentation was generated from *doubleclicksearch* crate version *1.0.7+20181010*, where *20181010* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.7*.
|
||||
//!
|
||||
//! Everything else about the *doubleclicksearch* *v2* API can be found at the
|
||||
//! [official documentation site](https://developers.google.com/doubleclick-search/).
|
||||
@@ -75,6 +75,14 @@
|
||||
//! ```toml
|
||||
//! [dependencies]
|
||||
//! google-doubleclicksearch2 = "*"
|
||||
//! # 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
|
||||
@@ -569,6 +577,7 @@ impl Part for ReportRequestReportScope {}
|
||||
|
||||
|
||||
/// A list of filters to be applied to the report.
|
||||
/// The maximum number of filters per request is 300.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
@@ -579,6 +588,7 @@ pub struct ReportRequestFilters {
|
||||
/// Operator to use in the filter. See the filter reference for a list of available operators.
|
||||
pub operator: Option<String>,
|
||||
/// A list of values to filter the column value against.
|
||||
/// The maximum number of filter values per request is 300.
|
||||
pub values: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
@@ -587,6 +597,7 @@ impl Part for ReportRequestFilters {}
|
||||
|
||||
|
||||
/// Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
|
||||
/// The maximum number of orderings per request is 300.
|
||||
///
|
||||
/// This type is not used in any activity, and only used as *part* of another schema.
|
||||
///
|
||||
@@ -689,6 +700,7 @@ impl Part for Availability {}
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
pub struct ReportRequest {
|
||||
/// Synchronous report only. A list of columns and directions defining sorting to be performed on the report rows.
|
||||
/// The maximum number of orderings per request is 300.
|
||||
#[serde(rename="orderBy")]
|
||||
pub order_by: Option<Vec<ReportRequestOrderBy>>,
|
||||
/// The reportScope is a set of IDs that are used to determine which subset of entities will be returned in the report. The full lineage of IDs from the lowest scoped level desired up through agency is required.
|
||||
@@ -713,8 +725,10 @@ pub struct ReportRequest {
|
||||
#[serde(rename="reportType")]
|
||||
pub report_type: Option<String>,
|
||||
/// The columns to include in the report. This includes both DoubleClick Search columns and saved columns. For DoubleClick Search columns, only the columnName parameter is required. For saved columns only the savedColumnName parameter is required. Both columnName and savedColumnName cannot be set in the same stanza.
|
||||
/// The maximum number of columns per request is 300.
|
||||
pub columns: Option<Vec<ReportApiColumnSpec>>,
|
||||
/// A list of filters to be applied to the report.
|
||||
/// The maximum number of filters per request is 300.
|
||||
pub filters: Option<Vec<ReportRequestFilters>>,
|
||||
/// Determines if removed entities should be included in the report. Defaults to false.
|
||||
#[serde(rename="includeRemovedEntities")]
|
||||
@@ -1307,7 +1321,7 @@ impl<'a, C, A> ConversionInsertCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.conversion.insert",
|
||||
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);
|
||||
@@ -1446,11 +1460,11 @@ impl<'a, C, A> ConversionInsertCall<'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) -> ConversionInsertCall<'a, C, A>
|
||||
@@ -1556,7 +1570,7 @@ impl<'a, C, A> ConversionGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.conversion.get",
|
||||
http_method: hyper::method::Method::Get });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((13 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(13 + self._additional_params.len());
|
||||
params.push(("agencyId", self._agency_id.to_string()));
|
||||
params.push(("advertiserId", self._advertiser_id.to_string()));
|
||||
params.push(("engineAccountId", self._engine_account_id.to_string()));
|
||||
@@ -1809,11 +1823,11 @@ impl<'a, C, A> ConversionGetCall<'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) -> ConversionGetCall<'a, C, A>
|
||||
@@ -1911,7 +1925,7 @@ impl<'a, C, A> ConversionUpdateAvailabilityCall<'a, C, A> where C: BorrowMut<hyp
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.conversion.updateAvailability",
|
||||
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);
|
||||
@@ -2050,11 +2064,11 @@ impl<'a, C, A> ConversionUpdateAvailabilityCall<'a, C, A> where C: BorrowMut<hyp
|
||||
///
|
||||
/// # 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) -> ConversionUpdateAvailabilityCall<'a, C, A>
|
||||
@@ -2159,7 +2173,7 @@ impl<'a, C, A> ConversionPatchCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.conversion.patch",
|
||||
http_method: hyper::method::Method::Patch });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((10 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(10 + self._additional_params.len());
|
||||
params.push(("advertiserId", self._advertiser_id.to_string()));
|
||||
params.push(("agencyId", self._agency_id.to_string()));
|
||||
params.push(("endDate", self._end_date.to_string()));
|
||||
@@ -2375,11 +2389,11 @@ impl<'a, C, A> ConversionPatchCall<'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) -> ConversionPatchCall<'a, C, A>
|
||||
@@ -2477,7 +2491,7 @@ impl<'a, C, A> ConversionUpdateCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.conversion.update",
|
||||
http_method: hyper::method::Method::Put });
|
||||
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);
|
||||
@@ -2616,11 +2630,11 @@ impl<'a, C, A> ConversionUpdateCall<'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) -> ConversionUpdateCall<'a, C, A>
|
||||
@@ -2713,7 +2727,7 @@ impl<'a, C, A> SavedColumnListCall<'a, C, A> where C: BorrowMut<hyper::Client>,
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.savedColumns.list",
|
||||
http_method: hyper::method::Method::Get });
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity((4 + self._additional_params.len()));
|
||||
let mut params: Vec<(&str, String)> = Vec::with_capacity(4 + self._additional_params.len());
|
||||
params.push(("agencyId", self._agency_id.to_string()));
|
||||
params.push(("advertiserId", self._advertiser_id.to_string()));
|
||||
for &field in ["alt", "agencyId", "advertiserId"].iter() {
|
||||
@@ -2871,11 +2885,11 @@ impl<'a, C, A> SavedColumnListCall<'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) -> SavedColumnListCall<'a, C, A>
|
||||
@@ -2971,7 +2985,7 @@ impl<'a, C, A> ReportGetFileCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.reports.getFile",
|
||||
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(("reportId", self._report_id.to_string()));
|
||||
params.push(("reportFragment", self._report_fragment.to_string()));
|
||||
for &field in ["reportId", "reportFragment"].iter() {
|
||||
@@ -3118,11 +3132,11 @@ impl<'a, C, A> ReportGetFileCall<'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) -> ReportGetFileCall<'a, C, A>
|
||||
@@ -3220,7 +3234,7 @@ impl<'a, C, A> ReportGenerateCall<'a, C, A> where C: BorrowMut<hyper::Client>, A
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.reports.generate",
|
||||
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);
|
||||
@@ -3359,11 +3373,11 @@ impl<'a, C, A> ReportGenerateCall<'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) -> ReportGenerateCall<'a, C, A>
|
||||
@@ -3455,7 +3469,7 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.reports.get",
|
||||
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(("reportId", self._report_id.to_string()));
|
||||
for &field in ["alt", "reportId"].iter() {
|
||||
if self._additional_params.contains_key(field) {
|
||||
@@ -3602,11 +3616,11 @@ impl<'a, C, A> ReportGetCall<'a, C, A> where C: BorrowMut<hyper::Client>, A: oau
|
||||
///
|
||||
/// # 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) -> ReportGetCall<'a, C, A>
|
||||
@@ -3704,7 +3718,7 @@ impl<'a, C, A> ReportRequestCall<'a, C, A> where C: BorrowMut<hyper::Client>, A:
|
||||
};
|
||||
dlg.begin(MethodInfo { id: "doubleclicksearch.reports.request",
|
||||
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);
|
||||
@@ -3843,11 +3857,11 @@ impl<'a, C, A> ReportRequestCall<'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) -> ReportRequestCall<'a, C, A>
|
||||
|
||||
Reference in New Issue
Block a user