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

@@ -11,6 +11,7 @@ repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlaten
documentation = "https://docs.rs/google-cloudlatencytest2/1.0.7+20160309"
license = "MIT"
keywords = ["cloudlatencytest", "google", "protocol", "web", "api"]
autobins = false
[dev-dependencies]

View File

@@ -61,6 +61,14 @@ To use this library, you would put the following lines into your `Cargo.toml` fi
```toml
[dependencies]
google-cloudlatencytest2 = "*"
# 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

View File

@@ -61,6 +61,14 @@
//! ```toml
//! [dependencies]
//! google-cloudlatencytest2 = "*"
//! # 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
@@ -637,7 +645,7 @@ impl<'a, C, A> StatscollectionUpdateaggregatedstatCall<'a, C, A> where C: Borrow
};
dlg.begin(MethodInfo { id: "cloudlatencytest.statscollection.updateaggregatedstats",
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);
@@ -878,7 +886,7 @@ impl<'a, C, A> StatscollectionUpdatestatCall<'a, C, A> where C: BorrowMut<hyper:
};
dlg.begin(MethodInfo { id: "cloudlatencytest.statscollection.updatestats",
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);