diff --git a/gen/adexchangebuyer1d3-cli/Cargo.toml b/gen/adexchangebuyer1d3-cli/Cargo.toml index c4d138040e..56ebabf4f3 100644 --- a/gen/adexchangebuyer1d3-cli/Cargo.toml +++ b/gen/adexchangebuyer1d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d3-cli" -version = "1.0.2+20161020" +version = "1.0.3+20161020" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer1d3-cli" @@ -17,14 +17,15 @@ keywords = ["adexchangebuyer", "google", "cli"] name = "adexchangebuyer1d3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-adexchangebuyer1d3] path = "../adexchangebuyer1d3" -version = "1.0.2+20161020" +version = "1.0.3+20161020" optional = true default-features = false diff --git a/gen/adexchangebuyer1d3-cli/README.md b/gen/adexchangebuyer1d3-cli/README.md index f58dd0aa50..77a9bc5771 100644 --- a/gen/adexchangebuyer1d3-cli/README.md +++ b/gen/adexchangebuyer1d3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Buyer* API at revision *20161020*. The CLI is at version *1.0.2*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20161020*. The CLI is at version *1.0.3*. ```bash adexchangebuyer1d3 [options] diff --git a/gen/adexchangebuyer1d3-cli/mkdocs.yml b/gen/adexchangebuyer1d3-cli/mkdocs.yml index ac82b23cf9..b5e8f1c055 100644 --- a/gen/adexchangebuyer1d3-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v1.0.2+20161020 +site_name: Ad Exchange Buyer v1.0.3+20161020 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d3-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.3) diff --git a/gen/adexchangebuyer1d3-cli/src/main.rs b/gen/adexchangebuyer1d3-cli/src/main.rs index 7b1c8c946b..9f46e63331 100644 --- a/gen/adexchangebuyer1d3-cli/src/main.rs +++ b/gen/adexchangebuyer1d3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1696,10 +1697,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "adexchangebuyer1d3", @@ -1709,10 +1710,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2303,7 +2304,7 @@ fn main() { let mut app = App::new("adexchangebuyer1d3") .author("Sebastian Thiel ") - .version("1.0.2+20161020") + .version("1.0.3+20161020") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d3_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d3/Cargo.toml b/gen/adexchangebuyer1d3/Cargo.toml index 25c8a2f224..c57ad914d8 100644 --- a/gen/adexchangebuyer1d3/Cargo.toml +++ b/gen/adexchangebuyer1d3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-adexchangebuyer1d3" -version = "1.0.2+20161020" +version = "1.0.3+20161020" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer1d3" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020" +documentation = "https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/adexchangebuyer1d3/README.md b/gen/adexchangebuyer1d3/README.md index 00e8792c8e..3efb536423 100644 --- a/gen/adexchangebuyer1d3/README.md +++ b/gen/adexchangebuyer1d3/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d3` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *1.0.2+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Ad Exchange Buyer* crate version *1.0.3+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.Account.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AccountUpdateCall.html) -* [billing info](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BillingInfo.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BillingInfoListCall.html) -* [budget](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.Budget.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.BudgetUpdateCall.html) -* [creatives](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.Creative.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.CreativeInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.CreativeListCall.html) -* [direct deals](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.DirectDeal.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.DirectDealGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.DirectDealListCall.html) -* [performance report](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PerformanceReport.html) - * [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PerformanceReportListCall.html) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfig.html) - * [*delete*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigUpdateCall.html) +* [accounts](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.Account.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AccountUpdateCall.html) +* [billing info](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BillingInfo.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BillingInfoListCall.html) +* [budget](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.Budget.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.BudgetUpdateCall.html) +* [creatives](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.Creative.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.CreativeInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.CreativeListCall.html) +* [direct deals](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.DirectDeal.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.DirectDealGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.DirectDealListCall.html) +* [performance report](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PerformanceReport.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PerformanceReportListCall.html) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfig.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.PretargetingConfigUpdateCall.html) @@ -35,17 +35,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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/struct.AdExchangeBuyer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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")`. @@ -156,29 +156,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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/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-adexchangebuyer1d3/1.0.2+20161020/google_adexchangebuyer1d3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d3/1.0.3+20161020/google_adexchangebuyer1d3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d3/src/cmn.rs b/gen/adexchangebuyer1d3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/adexchangebuyer1d3/src/cmn.rs +++ b/gen/adexchangebuyer1d3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/adexchangebuyer1d3/src/lib.rs b/gen/adexchangebuyer1d3/src/lib.rs index 89d41d6e6a..7c12d23547 100644 --- a/gen/adexchangebuyer1d3/src/lib.rs +++ b/gen/adexchangebuyer1d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.2+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.3+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Ad Exchange Buyer* *v1d3* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). diff --git a/gen/adexchangebuyer1d3/src/lib.rs.in b/gen/adexchangebuyer1d3/src/lib.rs.in index aae29efa6d..ed11d132c2 100644 --- a/gen/adexchangebuyer1d3/src/lib.rs.in +++ b/gen/adexchangebuyer1d3/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> AdExchangeBuyer AdExchangeBuyer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -164,7 +164,7 @@ impl<'a, C, A> AdExchangeBuyer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangebuyer1d4-cli/Cargo.toml b/gen/adexchangebuyer1d4-cli/Cargo.toml index 6fe5450565..ebb30fedc2 100644 --- a/gen/adexchangebuyer1d4-cli/Cargo.toml +++ b/gen/adexchangebuyer1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangebuyer1d4-cli" -version = "1.0.2+20161020" +version = "1.0.3+20161020" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer1d4-cli" @@ -17,14 +17,15 @@ keywords = ["adexchangebuyer", "google", "cli"] name = "adexchangebuyer1d4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-adexchangebuyer1d4] path = "../adexchangebuyer1d4" -version = "1.0.2+20161020" +version = "1.0.3+20161020" optional = true default-features = false diff --git a/gen/adexchangebuyer1d4-cli/README.md b/gen/adexchangebuyer1d4-cli/README.md index 1250b9432f..df699d1f71 100644 --- a/gen/adexchangebuyer1d4-cli/README.md +++ b/gen/adexchangebuyer1d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Buyer* API at revision *20161020*. The CLI is at version *1.0.2*. +This documentation was generated from the *Ad Exchange Buyer* API at revision *20161020*. The CLI is at version *1.0.3*. ```bash adexchangebuyer1d4 [options] diff --git a/gen/adexchangebuyer1d4-cli/mkdocs.yml b/gen/adexchangebuyer1d4-cli/mkdocs.yml index d131cdbc0d..58a724c0a3 100644 --- a/gen/adexchangebuyer1d4-cli/mkdocs.yml +++ b/gen/adexchangebuyer1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Buyer v1.0.2+20161020 +site_name: Ad Exchange Buyer v1.0.3+20161020 site_url: http://byron.github.io/google-apis-rs/google-adexchangebuyer1d4-cli site_description: A complete library to interact with Ad Exchange Buyer (protocol v1.4) diff --git a/gen/adexchangebuyer1d4-cli/src/main.rs b/gen/adexchangebuyer1d4-cli/src/main.rs index 6b62b4c408..b82b198c10 100644 --- a/gen/adexchangebuyer1d4-cli/src/main.rs +++ b/gen/adexchangebuyer1d4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3020,10 +3021,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "adexchangebuyer1d4", @@ -3033,10 +3034,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4082,7 +4083,7 @@ fn main() { let mut app = App::new("adexchangebuyer1d4") .author("Sebastian Thiel ") - .version("1.0.2+20161020") + .version("1.0.3+20161020") .about("Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangebuyer1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangebuyer1d4/Cargo.toml b/gen/adexchangebuyer1d4/Cargo.toml index ec3d733219..d60f0d39c8 100644 --- a/gen/adexchangebuyer1d4/Cargo.toml +++ b/gen/adexchangebuyer1d4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-adexchangebuyer1d4" -version = "1.0.2+20161020" +version = "1.0.3+20161020" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Buyer (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangebuyer1d4" homepage = "https://developers.google.com/ad-exchange/buyer-rest" -documentation = "https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020" +documentation = "https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020" license = "MIT" keywords = ["adexchangebuyer", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/adexchangebuyer1d4/README.md b/gen/adexchangebuyer1d4/README.md index edd0c5cd7d..b6769e6301 100644 --- a/gen/adexchangebuyer1d4/README.md +++ b/gen/adexchangebuyer1d4/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-adexchangebuyer1d4` library allows access to all features of the *Google Ad Exchange Buyer* service. -This documentation was generated from *Ad Exchange Buyer* crate version *1.0.2+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Ad Exchange Buyer* crate version *1.0.3+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html) ... -* [accounts](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.Account.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AccountUpdateCall.html) -* [billing info](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BillingInfo.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BillingInfoListCall.html) -* [budget](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.Budget.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.BudgetUpdateCall.html) -* [creatives](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.Creative.html) - * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeAddDealCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeListCall.html), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeListDealCall.html) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.CreativeRemoveDealCall.html) +* [accounts](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.Account.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AccountUpdateCall.html) +* [billing info](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BillingInfo.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BillingInfoGetCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BillingInfoListCall.html) +* [budget](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.Budget.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BudgetGetCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BudgetPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.BudgetUpdateCall.html) +* [creatives](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.Creative.html) + * [*add deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeAddDealCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeListCall.html), [*list deals*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeListDealCall.html) and [*remove deal*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.CreativeRemoveDealCall.html) * marketplacedeals - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacedealDeleteCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacedealInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacedealListCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacedealUpdateCall.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacedealDeleteCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacedealInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacedealListCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacedealUpdateCall.html) * marketplacenotes - * [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacenoteInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplacenoteListCall.html) + * [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacenoteInsertCall.html) and [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplacenoteListCall.html) * marketplaceprivateauction - * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.MarketplaceprivateauctionUpdateproposalCall.html) -* [performance report](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PerformanceReport.html) - * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PerformanceReportListCall.html) -* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfig.html) - * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigUpdateCall.html) -* [products](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.Product.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProductGetCall.html) and [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProductSearchCall.html) -* [proposals](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.Proposal.html) - * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalInsertCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalPatchCall.html), [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalSearchCall.html), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalSetupcompleteCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.ProposalUpdateCall.html) + * [*updateproposal*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.MarketplaceprivateauctionUpdateproposalCall.html) +* [performance report](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PerformanceReport.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PerformanceReportListCall.html) +* [pretargeting config](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfig.html) + * [*delete*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigDeleteCall.html), [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigInsertCall.html), [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigListCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigPatchCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PretargetingConfigUpdateCall.html) +* [products](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.Product.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProductGetCall.html) and [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProductSearchCall.html) +* [proposals](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.Proposal.html) + * [*get*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalGetCall.html), [*insert*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalInsertCall.html), [*patch*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalPatchCall.html), [*search*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalSearchCall.html), [*setupcomplete*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalSetupcompleteCall.html) and [*update*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.ProposalUpdateCall.html) * pubprofiles - * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.PubprofileListCall.html) + * [*list*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.PubprofileListCall.html) @@ -45,17 +45,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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html)** +* **[Hub](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/struct.AdExchangeBuyer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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")`. @@ -168,29 +168,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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/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-adexchangebuyer1d4/1.0.2+20161020/google_adexchangebuyer1d4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangebuyer1d4/1.0.3+20161020/google_adexchangebuyer1d4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangebuyer1d4/src/cmn.rs b/gen/adexchangebuyer1d4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/adexchangebuyer1d4/src/cmn.rs +++ b/gen/adexchangebuyer1d4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/adexchangebuyer1d4/src/lib.rs b/gen/adexchangebuyer1d4/src/lib.rs index 9dc23f6e83..86bdcbfbbf 100644 --- a/gen/adexchangebuyer1d4/src/lib.rs +++ b/gen/adexchangebuyer1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.2+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Ad Exchange Buyer* crate version *1.0.3+20161020*, where *20161020* is the exact revision of the *adexchangebuyer:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Ad Exchange Buyer* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/buyer-rest). diff --git a/gen/adexchangebuyer1d4/src/lib.rs.in b/gen/adexchangebuyer1d4/src/lib.rs.in index 06d7693ff9..b266438a74 100644 --- a/gen/adexchangebuyer1d4/src/lib.rs.in +++ b/gen/adexchangebuyer1d4/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> AdExchangeBuyer AdExchangeBuyer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -179,7 +179,7 @@ impl<'a, C, A> AdExchangeBuyer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adexchangeseller2-cli/Cargo.toml b/gen/adexchangeseller2-cli/Cargo.toml index 7231162294..bb8e8a5e38 100644 --- a/gen/adexchangeseller2-cli/Cargo.toml +++ b/gen/adexchangeseller2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adexchangeseller2-cli" -version = "1.0.2+20160805" +version = "1.0.3+20160805" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangeseller2-cli" @@ -17,14 +17,15 @@ keywords = ["adexchangeseller", "google", "cli"] name = "adexchangeseller2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-adexchangeseller2] path = "../adexchangeseller2" -version = "1.0.2+20160805" +version = "1.0.3+20160805" optional = true default-features = false diff --git a/gen/adexchangeseller2-cli/README.md b/gen/adexchangeseller2-cli/README.md index 752b0ad5a6..837e54d14d 100644 --- a/gen/adexchangeseller2-cli/README.md +++ b/gen/adexchangeseller2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Ad Exchange Seller* API at revision *20160805*. The CLI is at version *1.0.2*. +This documentation was generated from the *Ad Exchange Seller* API at revision *20160805*. The CLI is at version *1.0.3*. ```bash adexchangeseller2 [options] diff --git a/gen/adexchangeseller2-cli/mkdocs.yml b/gen/adexchangeseller2-cli/mkdocs.yml index c1d9a7855c..cd2a2e8536 100644 --- a/gen/adexchangeseller2-cli/mkdocs.yml +++ b/gen/adexchangeseller2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Ad Exchange Seller v1.0.2+20160805 +site_name: Ad Exchange Seller v1.0.3+20160805 site_url: http://byron.github.io/google-apis-rs/google-adexchangeseller2-cli site_description: A complete library to interact with Ad Exchange Seller (protocol v2.0) diff --git a/gen/adexchangeseller2-cli/src/main.rs b/gen/adexchangeseller2-cli/src/main.rs index 5123deefef..9925735cce 100644 --- a/gen/adexchangeseller2-cli/src/main.rs +++ b/gen/adexchangeseller2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -942,10 +943,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "adexchangeseller2", @@ -955,10 +956,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1347,7 +1348,7 @@ fn main() { let mut app = App::new("adexchangeseller2") .author("Sebastian Thiel ") - .version("1.0.2+20160805") + .version("1.0.3+20160805") .about("Accesses the inventory of Ad Exchange seller users and generates reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adexchangeseller2_cli") .arg(Arg::with_name("url") diff --git a/gen/adexchangeseller2/Cargo.toml b/gen/adexchangeseller2/Cargo.toml index b345032de5..e77c45b1af 100644 --- a/gen/adexchangeseller2/Cargo.toml +++ b/gen/adexchangeseller2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-adexchangeseller2" -version = "1.0.2+20160805" +version = "1.0.3+20160805" authors = ["Sebastian Thiel "] description = "A complete library to interact with Ad Exchange Seller (protocol v2.0)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adexchangeseller2" homepage = "https://developers.google.com/ad-exchange/seller-rest/" -documentation = "https://docs.rs/google-adexchangeseller2/1.0.2+20160805" +documentation = "https://docs.rs/google-adexchangeseller2/1.0.3+20160805" license = "MIT" keywords = ["adexchangeseller", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/adexchangeseller2/README.md b/gen/adexchangeseller2/README.md index 9945968075..6d4a6f415a 100644 --- a/gen/adexchangeseller2/README.md +++ b/gen/adexchangeseller2/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-adexchangeseller2` library allows access to all features of the *Google Ad Exchange Seller* service. -This documentation was generated from *Ad Exchange Seller* crate version *1.0.2+20160805*, where *20160805* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Ad Exchange Seller* crate version *1.0.3+20160805*, where *20160805* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Ad Exchange Seller* *v2* API can be found at the [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AdExchangeSeller.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AdExchangeSeller.html) ... -* [accounts](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.Account.html) - * [*adclients list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountAdclientListCall.html), [*alerts list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountAlertListCall.html), [*customchannels get*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountListCall.html), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountMetadataDimensionListCall.html), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountMetadataMetricListCall.html), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountPreferreddealGetCall.html), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountPreferreddealListCall.html), [*reports generate*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountReportSavedListCall.html) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountUrlchannelListCall.html) +* [accounts](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.Account.html) + * [*adclients list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountAdclientListCall.html), [*alerts list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountAlertListCall.html), [*customchannels get*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountListCall.html), [*metadata dimensions list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountMetadataDimensionListCall.html), [*metadata metrics list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountMetadataMetricListCall.html), [*preferreddeals get*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountPreferreddealGetCall.html), [*preferreddeals list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountPreferreddealListCall.html), [*reports generate*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountReportSavedListCall.html) and [*urlchannels list*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountUrlchannelListCall.html) Download supported by ... -* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AccountReportGenerateCall.html) +* [*reports generate accounts*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AccountReportGenerateCall.html) @@ -27,17 +27,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/struct.AdExchangeSeller.html)** +* **[Hub](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/struct.AdExchangeSeller.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Part.html)** + * **[Parts](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -139,17 +139,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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")`. @@ -159,29 +159,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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/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-adexchangeseller2/1.0.2+20160805/google_adexchangeseller2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adexchangeseller2/1.0.3+20160805/google_adexchangeseller2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adexchangeseller2/src/cmn.rs b/gen/adexchangeseller2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/adexchangeseller2/src/cmn.rs +++ b/gen/adexchangeseller2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/adexchangeseller2/src/lib.rs b/gen/adexchangeseller2/src/lib.rs index 4d055163b2..4f347ede30 100644 --- a/gen/adexchangeseller2/src/lib.rs +++ b/gen/adexchangeseller2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Ad Exchange Seller* crate version *1.0.2+20160805*, where *20160805* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Ad Exchange Seller* crate version *1.0.3+20160805*, where *20160805* is the exact revision of the *adexchangeseller:v2.0* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Ad Exchange Seller* *v2* API can be found at the //! [official documentation site](https://developers.google.com/ad-exchange/seller-rest/). diff --git a/gen/adexchangeseller2/src/lib.rs.in b/gen/adexchangeseller2/src/lib.rs.in index b7cf99906d..37323a4997 100644 --- a/gen/adexchangeseller2/src/lib.rs.in +++ b/gen/adexchangeseller2/src/lib.rs.in @@ -142,7 +142,7 @@ impl<'a, C, A> AdExchangeSeller AdExchangeSeller { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -151,7 +151,7 @@ impl<'a, C, A> AdExchangeSeller } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/admin1_directory-cli/Cargo.toml b/gen/admin1_directory-cli/Cargo.toml index d1e3f89d0b..41d863b33a 100644 --- a/gen/admin1_directory-cli/Cargo.toml +++ b/gen/admin1_directory-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admin1_directory-cli" -version = "1.0.2+20161124" +version = "1.0.3+20161124" authors = ["Sebastian Thiel "] description = "A complete library to interact with directory (protocol directory_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_directory-cli" @@ -17,14 +17,15 @@ keywords = ["admin", "google", "cli"] name = "admin1-directory" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-admin1_directory] path = "../admin1_directory" -version = "1.0.2+20161124" +version = "1.0.3+20161124" optional = true default-features = false diff --git a/gen/admin1_directory-cli/README.md b/gen/admin1_directory-cli/README.md index 52914fd988..5de37bcb5d 100644 --- a/gen/admin1_directory-cli/README.md +++ b/gen/admin1_directory-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *directory* API at revision *20161124*. The CLI is at version *1.0.2*. +This documentation was generated from the *directory* API at revision *20161124*. The CLI is at version *1.0.3*. ```bash admin1-directory [options] diff --git a/gen/admin1_directory-cli/mkdocs.yml b/gen/admin1_directory-cli/mkdocs.yml index 3975877e75..7842284f68 100644 --- a/gen/admin1_directory-cli/mkdocs.yml +++ b/gen/admin1_directory-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: directory v1.0.2+20161124 +site_name: directory v1.0.3+20161124 site_url: http://byron.github.io/google-apis-rs/google-admin1_directory-cli site_description: A complete library to interact with directory (protocol directory_v1) diff --git a/gen/admin1_directory-cli/src/main.rs b/gen/admin1_directory-cli/src/main.rs index 749d36a5b5..f8f9418478 100644 --- a/gen/admin1_directory-cli/src/main.rs +++ b/gen/admin1_directory-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -7247,10 +7248,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "admin1-directory", @@ -7260,10 +7261,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -9792,7 +9793,7 @@ fn main() { let mut app = App::new("admin1-directory") .author("Sebastian Thiel ") - .version("1.0.2+20161124") + .version("1.0.3+20161124") .about("The Admin SDK Directory API lets you view and manage enterprise resources such as users and groups, administrative notifications, security features, and more.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admin1_directory_cli") .arg(Arg::with_name("url") diff --git a/gen/admin1_directory/Cargo.toml b/gen/admin1_directory/Cargo.toml index 88d50ffdc7..89d9b3f018 100644 --- a/gen/admin1_directory/Cargo.toml +++ b/gen/admin1_directory/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-admin1_directory" -version = "1.0.2+20161124" +version = "1.0.3+20161124" authors = ["Sebastian Thiel "] description = "A complete library to interact with directory (protocol directory_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_directory" homepage = "https://developers.google.com/admin-sdk/directory/" -documentation = "https://docs.rs/google-admin1_directory/1.0.2+20161124" +documentation = "https://docs.rs/google-admin1_directory/1.0.3+20161124" license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/admin1_directory/README.md b/gen/admin1_directory/README.md index 41c2a91675..73fcffa3a2 100644 --- a/gen/admin1_directory/README.md +++ b/gen/admin1_directory/README.md @@ -5,61 +5,61 @@ DO NOT EDIT ! --> The `google-admin1_directory` library allows access to all features of the *Google directory* service. -This documentation was generated from *directory* crate version *1.0.2+20161124*, where *20161124* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *directory* crate version *1.0.3+20161124*, where *20161124* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *directory* *v1_directory* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/directory/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Directory.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Directory.html) ... -* [asps](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Asp.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.AspDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.AspGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.AspListCall.html) -* [channels](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Channel.html) - * [*stop*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChannelStopCall.html) +* [asps](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Asp.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.AspDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.AspGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.AspListCall.html) +* [channels](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Channel.html) + * [*stop*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChannelStopCall.html) * chromeosdevices - * [*action*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChromeosdeviceActionCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChromeosdeviceGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChromeosdeviceListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChromeosdevicePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ChromeosdeviceUpdateCall.html) -* [customers](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Customer.html) - * [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.CustomerGetCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.CustomerUpdateCall.html) + * [*action*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChromeosdeviceActionCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChromeosdeviceGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChromeosdeviceListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChromeosdevicePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ChromeosdeviceUpdateCall.html) +* [customers](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Customer.html) + * [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.CustomerGetCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.CustomerUpdateCall.html) * domain aliases - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainAliaseDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainAliaseGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainAliaseInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainAliaseListCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainAliaseDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainAliaseGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainAliaseInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainAliaseListCall.html) * domains - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.DomainListCall.html) -* [groups](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Group.html) - * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupAliaseListCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupUpdateCall.html) -* [members](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Member.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MemberUpdateCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.DomainListCall.html) +* [groups](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Group.html) + * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupAliaseListCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupUpdateCall.html) +* [members](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Member.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MemberUpdateCall.html) * mobiledevices - * [*action*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MobiledeviceActionCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MobiledeviceDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MobiledeviceGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.MobiledeviceListCall.html) -* [notifications](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Notification.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.NotificationDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.NotificationGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.NotificationListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.NotificationPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.NotificationUpdateCall.html) + * [*action*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MobiledeviceActionCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MobiledeviceDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MobiledeviceGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.MobiledeviceListCall.html) +* [notifications](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Notification.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.NotificationDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.NotificationGetCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.NotificationListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.NotificationPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.NotificationUpdateCall.html) * orgunits - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.OrgunitUpdateCall.html) -* [privileges](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Privilege.html) - * [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.PrivilegeListCall.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.OrgunitUpdateCall.html) +* [privileges](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Privilege.html) + * [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.PrivilegeListCall.html) * resources - * [*calendars delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarDeleteCall.html), [*calendars get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarGetCall.html), [*calendars insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarInsertCall.html), [*calendars list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarListCall.html), [*calendars patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarPatchCall.html) and [*calendars update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.ResourceCalendarUpdateCall.html) -* [role assignments](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleAssignment.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleAssignmentDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleAssignmentGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleAssignmentInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleAssignmentListCall.html) -* [roles](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Role.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RolePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.RoleUpdateCall.html) -* [schemas](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Schema.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.SchemaUpdateCall.html) -* [tokens](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Token.html) - * [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.TokenDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.TokenGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.TokenListCall.html) -* [users](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.User.html) - * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseListCall.html), [*aliases watch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseWatchCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserListCall.html), [*make admin*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserMakeAdminCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserPatchCall.html), [*photos delete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserPhotoDeleteCall.html), [*photos get*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserPhotoGetCall.html), [*photos patch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserPhotoPatchCall.html), [*photos update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserPhotoUpdateCall.html), [*undelete*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserUndeleteCall.html), [*update*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserUpdateCall.html) and [*watch*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserWatchCall.html) -* [verification codes](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.VerificationCode.html) - * [*generate*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.VerificationCodeGenerateCall.html), [*invalidate*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.VerificationCodeInvalidateCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.VerificationCodeListCall.html) + * [*calendars delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarDeleteCall.html), [*calendars get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarGetCall.html), [*calendars insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarInsertCall.html), [*calendars list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarListCall.html), [*calendars patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarPatchCall.html) and [*calendars update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.ResourceCalendarUpdateCall.html) +* [role assignments](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleAssignment.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleAssignmentDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleAssignmentGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleAssignmentInsertCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleAssignmentListCall.html) +* [roles](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Role.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RolePatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.RoleUpdateCall.html) +* [schemas](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Schema.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaListCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaPatchCall.html) and [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.SchemaUpdateCall.html) +* [tokens](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Token.html) + * [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.TokenDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.TokenGetCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.TokenListCall.html) +* [users](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.User.html) + * [*aliases delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseDeleteCall.html), [*aliases insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseInsertCall.html), [*aliases list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseListCall.html), [*aliases watch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseWatchCall.html), [*delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserGetCall.html), [*insert*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserInsertCall.html), [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserListCall.html), [*make admin*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserMakeAdminCall.html), [*patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserPatchCall.html), [*photos delete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserPhotoDeleteCall.html), [*photos get*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserPhotoGetCall.html), [*photos patch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserPhotoPatchCall.html), [*photos update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserPhotoUpdateCall.html), [*undelete*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserUndeleteCall.html), [*update*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserUpdateCall.html) and [*watch*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserWatchCall.html) +* [verification codes](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.VerificationCode.html) + * [*generate*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.VerificationCodeGenerateCall.html), [*invalidate*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.VerificationCodeInvalidateCall.html) and [*list*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.VerificationCodeListCall.html) Subscription supported by ... -* [*list users*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserListCall.html) -* [*watch users*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserWatchCall.html) -* [*aliases watch users*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseWatchCall.html) -* [*aliases list users*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.UserAliaseListCall.html) -* [*aliases list groups*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.GroupAliaseListCall.html) +* [*list users*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserListCall.html) +* [*watch users*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserWatchCall.html) +* [*aliases watch users*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseWatchCall.html) +* [*aliases list users*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.UserAliaseListCall.html) +* [*aliases list groups*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.GroupAliaseListCall.html) @@ -67,17 +67,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/struct.Directory.html)** +* **[Hub](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/struct.Directory.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Part.html)** + * **[Parts](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -193,17 +193,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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")`. @@ -213,29 +213,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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/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-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.RequestValue.html) and -[decodable](https://docs.rs/google-admin1_directory/1.0.2+20161124/google_admin1_directory/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-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.RequestValue.html) and +[decodable](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/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-admin1_directory/1.0.2+20161124/google_admin1_directory/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-admin1_directory/1.0.3+20161124/google_admin1_directory/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admin1_directory/src/cmn.rs b/gen/admin1_directory/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/admin1_directory/src/cmn.rs +++ b/gen/admin1_directory/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/admin1_directory/src/lib.rs b/gen/admin1_directory/src/lib.rs index efb3b55995..ea36fb8089 100644 --- a/gen/admin1_directory/src/lib.rs +++ b/gen/admin1_directory/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *directory* crate version *1.0.2+20161124*, where *20161124* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *directory* crate version *1.0.3+20161124*, where *20161124* is the exact revision of the *admin:directory_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *directory* *v1_directory* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/directory/). diff --git a/gen/admin1_directory/src/lib.rs.in b/gen/admin1_directory/src/lib.rs.in index d93c3b46bd..4659b82774 100644 --- a/gen/admin1_directory/src/lib.rs.in +++ b/gen/admin1_directory/src/lib.rs.in @@ -253,7 +253,7 @@ impl<'a, C, A> Directory Directory { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -316,7 +316,7 @@ impl<'a, C, A> Directory } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/admin1_reports-cli/Cargo.toml b/gen/admin1_reports-cli/Cargo.toml index 32eb63ff6d..5881c0b734 100644 --- a/gen/admin1_reports-cli/Cargo.toml +++ b/gen/admin1_reports-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-admin1_reports-cli" -version = "1.0.2+20160704" +version = "1.0.3+20160704" authors = ["Sebastian Thiel "] description = "A complete library to interact with reports (protocol reports_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_reports-cli" @@ -17,14 +17,15 @@ keywords = ["admin", "google", "cli"] name = "admin1-reports" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-admin1_reports] path = "../admin1_reports" -version = "1.0.2+20160704" +version = "1.0.3+20160704" optional = true default-features = false diff --git a/gen/admin1_reports-cli/README.md b/gen/admin1_reports-cli/README.md index a85842b7a9..2eba7bf74e 100644 --- a/gen/admin1_reports-cli/README.md +++ b/gen/admin1_reports-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *reports* API at revision *20160704*. The CLI is at version *1.0.2*. +This documentation was generated from the *reports* API at revision *20160704*. The CLI is at version *1.0.3*. ```bash admin1-reports [options] diff --git a/gen/admin1_reports-cli/mkdocs.yml b/gen/admin1_reports-cli/mkdocs.yml index 91d81cd73f..90c4869ebd 100644 --- a/gen/admin1_reports-cli/mkdocs.yml +++ b/gen/admin1_reports-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reports v1.0.2+20160704 +site_name: reports v1.0.3+20160704 site_url: http://byron.github.io/google-apis-rs/google-admin1_reports-cli site_description: A complete library to interact with reports (protocol reports_v1) diff --git a/gen/admin1_reports-cli/src/main.rs b/gen/admin1_reports-cli/src/main.rs index aa5937f6eb..e41bd5e887 100644 --- a/gen/admin1_reports-cli/src/main.rs +++ b/gen/admin1_reports-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -543,10 +544,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "admin1-reports", @@ -556,10 +557,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -735,7 +736,7 @@ fn main() { let mut app = App::new("admin1-reports") .author("Sebastian Thiel ") - .version("1.0.2+20160704") + .version("1.0.3+20160704") .about("Fetches reports for the administrators of Google Apps customers about the usage, collaboration, security, and risk for their users.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_admin1_reports_cli") .arg(Arg::with_name("url") diff --git a/gen/admin1_reports/Cargo.toml b/gen/admin1_reports/Cargo.toml index b9396acb09..d1d297b23e 100644 --- a/gen/admin1_reports/Cargo.toml +++ b/gen/admin1_reports/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-admin1_reports" -version = "1.0.2+20160704" +version = "1.0.3+20160704" authors = ["Sebastian Thiel "] description = "A complete library to interact with reports (protocol reports_v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/admin1_reports" homepage = "https://developers.google.com/admin-sdk/reports/" -documentation = "https://docs.rs/google-admin1_reports/1.0.2+20160704" +documentation = "https://docs.rs/google-admin1_reports/1.0.3+20160704" license = "MIT" keywords = ["admin", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/admin1_reports/README.md b/gen/admin1_reports/README.md index 7011706b60..4b3317162a 100644 --- a/gen/admin1_reports/README.md +++ b/gen/admin1_reports/README.md @@ -5,28 +5,28 @@ DO NOT EDIT ! --> The `google-admin1_reports` library allows access to all features of the *Google reports* service. -This documentation was generated from *reports* crate version *1.0.2+20160704*, where *20160704* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *reports* crate version *1.0.3+20160704*, where *20160704* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *reports* *v1_reports* API can be found at the [official documentation site](https://developers.google.com/admin-sdk/reports/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.Reports.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.Reports.html) ... -* [activities](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.Activity.html) - * [*list*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.ActivityListCall.html) and [*watch*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.ActivityWatchCall.html) -* [channels](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.Channel.html) - * [*stop*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.ChannelStopCall.html) +* [activities](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.Activity.html) + * [*list*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.ActivityListCall.html) and [*watch*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.ActivityWatchCall.html) +* [channels](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.Channel.html) + * [*stop*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.ChannelStopCall.html) * customer usage reports - * [*get*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.CustomerUsageReportGetCall.html) + * [*get*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.CustomerUsageReportGetCall.html) * user usage report - * [*get*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.UserUsageReportGetCall.html) + * [*get*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.UserUsageReportGetCall.html) Subscription supported by ... -* [*watch activities*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.ActivityWatchCall.html) -* [*list activities*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.ActivityListCall.html) +* [*watch activities*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.ActivityWatchCall.html) +* [*list activities*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.ActivityListCall.html) @@ -34,17 +34,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/struct.Reports.html)** +* **[Hub](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/struct.Reports.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Part.html)** + * **[Parts](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -141,17 +141,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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")`. @@ -161,29 +161,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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/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-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.RequestValue.html) and -[decodable](https://docs.rs/google-admin1_reports/1.0.2+20160704/google_admin1_reports/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-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.RequestValue.html) and +[decodable](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/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-admin1_reports/1.0.2+20160704/google_admin1_reports/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-admin1_reports/1.0.3+20160704/google_admin1_reports/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/admin1_reports/src/cmn.rs b/gen/admin1_reports/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/admin1_reports/src/cmn.rs +++ b/gen/admin1_reports/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/admin1_reports/src/lib.rs b/gen/admin1_reports/src/lib.rs index e06d33609b..974768eae2 100644 --- a/gen/admin1_reports/src/lib.rs +++ b/gen/admin1_reports/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *reports* crate version *1.0.2+20160704*, where *20160704* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *reports* crate version *1.0.3+20160704*, where *20160704* is the exact revision of the *admin:reports_v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *reports* *v1_reports* API can be found at the //! [official documentation site](https://developers.google.com/admin-sdk/reports/). diff --git a/gen/admin1_reports/src/lib.rs.in b/gen/admin1_reports/src/lib.rs.in index cd7cd931c1..ccb28667c4 100644 --- a/gen/admin1_reports/src/lib.rs.in +++ b/gen/admin1_reports/src/lib.rs.in @@ -149,7 +149,7 @@ impl<'a, C, A> Reports Reports { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -167,7 +167,7 @@ impl<'a, C, A> Reports } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsense1d4-cli/Cargo.toml b/gen/adsense1d4-cli/Cargo.toml index 9e71cd2c26..df70bfd1e5 100644 --- a/gen/adsense1d4-cli/Cargo.toml +++ b/gen/adsense1d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsense1d4-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsense1d4-cli" @@ -17,14 +17,15 @@ keywords = ["adsense", "google", "cli"] name = "adsense1d4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-adsense1d4] path = "../adsense1d4" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/adsense1d4-cli/README.md b/gen/adsense1d4-cli/README.md index 5eadf9e293..066b0e46f3 100644 --- a/gen/adsense1d4-cli/README.md +++ b/gen/adsense1d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdSense* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *AdSense* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash adsense1d4 [options] diff --git a/gen/adsense1d4-cli/mkdocs.yml b/gen/adsense1d4-cli/mkdocs.yml index 1d0357da86..298a4eec84 100644 --- a/gen/adsense1d4-cli/mkdocs.yml +++ b/gen/adsense1d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense v1.0.2+20161206 +site_name: AdSense v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-adsense1d4-cli site_description: A complete library to interact with AdSense (protocol v1.4) diff --git a/gen/adsense1d4-cli/src/main.rs b/gen/adsense1d4-cli/src/main.rs index 3fd390d60d..73d7d2ccc8 100644 --- a/gen/adsense1d4-cli/src/main.rs +++ b/gen/adsense1d4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -2478,10 +2479,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "adsense1d4", @@ -2491,10 +2492,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -3480,7 +3481,7 @@ fn main() { let mut app = App::new("adsense1d4") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Accesses AdSense publishers' inventory and generates performance reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsense1d4_cli") .arg(Arg::with_name("url") diff --git a/gen/adsense1d4/Cargo.toml b/gen/adsense1d4/Cargo.toml index 0a1438e823..9d98f2332d 100644 --- a/gen/adsense1d4/Cargo.toml +++ b/gen/adsense1d4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-adsense1d4" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense (protocol v1.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsense1d4" homepage = "https://developers.google.com/adsense/management/" -documentation = "https://docs.rs/google-adsense1d4/1.0.2+20161206" +documentation = "https://docs.rs/google-adsense1d4/1.0.3+20161206" license = "MIT" keywords = ["adsense", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/adsense1d4/README.md b/gen/adsense1d4/README.md index 0dfad785fc..17088638c6 100644 --- a/gen/adsense1d4/README.md +++ b/gen/adsense1d4/README.md @@ -5,40 +5,40 @@ DO NOT EDIT ! --> The `google-adsense1d4` library allows access to all features of the *Google AdSense* service. -This documentation was generated from *AdSense* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *AdSense* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *AdSense* *v1d4* API can be found at the [official documentation site](https://developers.google.com/adsense/management/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdSense.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdSense.html) ... -* [accounts](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.Account.html) - * [*adclients list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAdclientListCall.html), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAdunitCustomchannelListCall.html), [*adunits get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAdunitGetAdCodeCall.html), [*adunits list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAdunitListCall.html), [*alerts delete*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAlertDeleteCall.html), [*alerts list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountAlertListCall.html), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountCustomchannelAdunitListCall.html), [*customchannels get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountListCall.html), [*payments list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountPaymentListCall.html), [*reports generate*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountReportSavedListCall.html), [*savedadstyles get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountSavedadstyleGetCall.html), [*savedadstyles list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountSavedadstyleListCall.html) and [*urlchannels list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountUrlchannelListCall.html) +* [accounts](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.Account.html) + * [*adclients list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAdclientListCall.html), [*adunits customchannels list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAdunitCustomchannelListCall.html), [*adunits get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAdunitGetAdCodeCall.html), [*adunits list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAdunitListCall.html), [*alerts delete*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAlertDeleteCall.html), [*alerts list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountAlertListCall.html), [*customchannels adunits list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountCustomchannelAdunitListCall.html), [*customchannels get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountCustomchannelGetCall.html), [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountListCall.html), [*payments list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountPaymentListCall.html), [*reports generate*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountReportGenerateCall.html), [*reports saved generate*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountReportSavedGenerateCall.html), [*reports saved list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountReportSavedListCall.html), [*savedadstyles get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountSavedadstyleGetCall.html), [*savedadstyles list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountSavedadstyleListCall.html) and [*urlchannels list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountUrlchannelListCall.html) * adclients - * [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdclientListCall.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdclientListCall.html) * adunits - * [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdunitCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdunitGetCall.html), [*get ad code*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdunitGetAdCodeCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdunitListCall.html) -* [alerts](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.Alert.html) - * [*delete*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AlertDeleteCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AlertListCall.html) + * [*customchannels list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdunitCustomchannelListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdunitGetCall.html), [*get ad code*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdunitGetAdCodeCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdunitListCall.html) +* [alerts](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.Alert.html) + * [*delete*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AlertDeleteCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AlertListCall.html) * customchannels - * [*adunits list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.CustomchannelAdunitListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.CustomchannelGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.CustomchannelListCall.html) -* [metadata](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.Metadata.html) - * [*dimensions list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.MetadataDimensionListCall.html) and [*metrics list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.MetadataMetricListCall.html) -* [payments](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.Payment.html) - * [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.PaymentListCall.html) + * [*adunits list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.CustomchannelAdunitListCall.html), [*get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.CustomchannelGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.CustomchannelListCall.html) +* [metadata](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.Metadata.html) + * [*dimensions list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.MetadataDimensionListCall.html) and [*metrics list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.MetadataMetricListCall.html) +* [payments](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.Payment.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.PaymentListCall.html) * reports - * [*generate*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.ReportGenerateCall.html), [*saved generate*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.ReportSavedGenerateCall.html) and [*saved list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.ReportSavedListCall.html) + * [*generate*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.ReportGenerateCall.html), [*saved generate*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.ReportSavedGenerateCall.html) and [*saved list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.ReportSavedListCall.html) * savedadstyles - * [*get*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.SavedadstyleGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.SavedadstyleListCall.html) + * [*get*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.SavedadstyleGetCall.html) and [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.SavedadstyleListCall.html) * urlchannels - * [*list*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.UrlchannelListCall.html) + * [*list*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.UrlchannelListCall.html) Download supported by ... -* [*generate reports*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.ReportGenerateCall.html) -* [*reports generate accounts*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AccountReportGenerateCall.html) +* [*generate reports*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.ReportGenerateCall.html) +* [*reports generate accounts*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AccountReportGenerateCall.html) @@ -46,17 +46,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/struct.AdSense.html)** +* **[Hub](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/struct.AdSense.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Part.html)** + * **[Parts](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -165,17 +165,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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")`. @@ -185,29 +185,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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/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-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adsense1d4/1.0.2+20161206/google_adsense1d4/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-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/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-adsense1d4/1.0.2+20161206/google_adsense1d4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adsense1d4/1.0.3+20161206/google_adsense1d4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsense1d4/src/cmn.rs b/gen/adsense1d4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/adsense1d4/src/cmn.rs +++ b/gen/adsense1d4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/adsense1d4/src/lib.rs b/gen/adsense1d4/src/lib.rs index 48bb1f4238..0aa160b153 100644 --- a/gen/adsense1d4/src/lib.rs +++ b/gen/adsense1d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *AdSense* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *adsense:v1.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *AdSense* *v1d4* API can be found at the //! [official documentation site](https://developers.google.com/adsense/management/). diff --git a/gen/adsense1d4/src/lib.rs.in b/gen/adsense1d4/src/lib.rs.in index e3932b11c4..d350c9535b 100644 --- a/gen/adsense1d4/src/lib.rs.in +++ b/gen/adsense1d4/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> AdSense AdSense { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -180,7 +180,7 @@ impl<'a, C, A> AdSense } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/adsensehost4d1-cli/Cargo.toml b/gen/adsensehost4d1-cli/Cargo.toml index 56e9d3a7da..f28ff4b968 100644 --- a/gen/adsensehost4d1-cli/Cargo.toml +++ b/gen/adsensehost4d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-adsensehost4d1-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsensehost4d1-cli" @@ -17,14 +17,15 @@ keywords = ["adsensehost", "google", "cli"] name = "adsensehost4d1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-adsensehost4d1] path = "../adsensehost4d1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/adsensehost4d1-cli/README.md b/gen/adsensehost4d1-cli/README.md index 0624409a93..cff4709845 100644 --- a/gen/adsensehost4d1-cli/README.md +++ b/gen/adsensehost4d1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *AdSense Host* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *AdSense Host* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash adsensehost4d1 [options] diff --git a/gen/adsensehost4d1-cli/mkdocs.yml b/gen/adsensehost4d1-cli/mkdocs.yml index c6bdb78173..80bb977fe4 100644 --- a/gen/adsensehost4d1-cli/mkdocs.yml +++ b/gen/adsensehost4d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: AdSense Host v1.0.2+20161206 +site_name: AdSense Host v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-adsensehost4d1-cli site_description: A complete library to interact with AdSense Host (protocol v4.1) diff --git a/gen/adsensehost4d1-cli/src/main.rs b/gen/adsensehost4d1-cli/src/main.rs index 99a6179554..88e8601fc0 100644 --- a/gen/adsensehost4d1-cli/src/main.rs +++ b/gen/adsensehost4d1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1963,10 +1964,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "adsensehost4d1", @@ -1976,10 +1977,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2761,7 +2762,7 @@ fn main() { let mut app = App::new("adsensehost4d1") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_adsensehost4d1_cli") .arg(Arg::with_name("url") diff --git a/gen/adsensehost4d1/Cargo.toml b/gen/adsensehost4d1/Cargo.toml index 1756e47bca..d189814bc6 100644 --- a/gen/adsensehost4d1/Cargo.toml +++ b/gen/adsensehost4d1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-adsensehost4d1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with AdSense Host (protocol v4.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/adsensehost4d1" homepage = "https://developers.google.com/adsense/host/" -documentation = "https://docs.rs/google-adsensehost4d1/1.0.2+20161206" +documentation = "https://docs.rs/google-adsensehost4d1/1.0.3+20161206" license = "MIT" keywords = ["adsensehost", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/adsensehost4d1/README.md b/gen/adsensehost4d1/README.md index a8b84a80b2..9e7bb50d0d 100644 --- a/gen/adsensehost4d1/README.md +++ b/gen/adsensehost4d1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-adsensehost4d1` library allows access to all features of the *Google AdSense Host* service. -This documentation was generated from *AdSense Host* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *AdSense Host* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *AdSense Host* *v4d1* API can be found at the [official documentation site](https://developers.google.com/adsense/host/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AdSenseHost.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AdSenseHost.html) ... -* [accounts](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.Account.html) - * [*adclients get*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdclientGetCall.html), [*adclients list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdclientListCall.html), [*adunits delete*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitDeleteCall.html), [*adunits get*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitGetAdCodeCall.html), [*adunits insert*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitInsertCall.html), [*adunits list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitListCall.html), [*adunits patch*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitPatchCall.html), [*adunits update*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountAdunitUpdateCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountListCall.html) and [*reports generate*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AccountReportGenerateCall.html) +* [accounts](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.Account.html) + * [*adclients get*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdclientGetCall.html), [*adclients list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdclientListCall.html), [*adunits delete*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitDeleteCall.html), [*adunits get*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitGetCall.html), [*adunits get ad code*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitGetAdCodeCall.html), [*adunits insert*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitInsertCall.html), [*adunits list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitListCall.html), [*adunits patch*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitPatchCall.html), [*adunits update*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountAdunitUpdateCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountListCall.html) and [*reports generate*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AccountReportGenerateCall.html) * adclients - * [*get*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AdclientGetCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AdclientListCall.html) + * [*get*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AdclientGetCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AdclientListCall.html) * associationsessions - * [*start*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AssociationsessionStartCall.html) and [*verify*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AssociationsessionVerifyCall.html) + * [*start*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AssociationsessionStartCall.html) and [*verify*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AssociationsessionVerifyCall.html) * customchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelDeleteCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelGetCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelInsertCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelListCall.html), [*patch*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelPatchCall.html) and [*update*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.CustomchannelUpdateCall.html) -* [reports](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.Report.html) - * [*generate*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.ReportGenerateCall.html) + * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelDeleteCall.html), [*get*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelGetCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelInsertCall.html), [*list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelListCall.html), [*patch*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelPatchCall.html) and [*update*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.CustomchannelUpdateCall.html) +* [reports](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.Report.html) + * [*generate*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.ReportGenerateCall.html) * urlchannels - * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.UrlchannelDeleteCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.UrlchannelInsertCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.UrlchannelListCall.html) + * [*delete*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.UrlchannelDeleteCall.html), [*insert*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.UrlchannelInsertCall.html) and [*list*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.UrlchannelListCall.html) @@ -33,17 +33,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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/struct.AdSenseHost.html)** +* **[Hub](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/struct.AdSenseHost.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Part.html)** + * **[Parts](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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")`. @@ -163,29 +163,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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/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-adsensehost4d1/1.0.2+20161206/google_adsensehost4d1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-adsensehost4d1/1.0.3+20161206/google_adsensehost4d1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/adsensehost4d1/src/cmn.rs b/gen/adsensehost4d1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/adsensehost4d1/src/cmn.rs +++ b/gen/adsensehost4d1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/adsensehost4d1/src/lib.rs b/gen/adsensehost4d1/src/lib.rs index 4430f4fe13..a5c576132c 100644 --- a/gen/adsensehost4d1/src/lib.rs +++ b/gen/adsensehost4d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *AdSense Host* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *AdSense Host* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *adsensehost:v4.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *AdSense Host* *v4d1* API can be found at the //! [official documentation site](https://developers.google.com/adsense/host/). diff --git a/gen/adsensehost4d1/src/lib.rs.in b/gen/adsensehost4d1/src/lib.rs.in index c4f4af887f..a17c9f79de 100644 --- a/gen/adsensehost4d1/src/lib.rs.in +++ b/gen/adsensehost4d1/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> AdSenseHost AdSenseHost { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -162,7 +162,7 @@ impl<'a, C, A> AdSenseHost } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/analytics3-cli/Cargo.toml b/gen/analytics3-cli/Cargo.toml index 2a8b50928d..f6676e7e37 100644 --- a/gen/analytics3-cli/Cargo.toml +++ b/gen/analytics3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-analytics3-cli" -version = "1.0.2+20161004" +version = "1.0.3+20161004" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3-cli" @@ -17,14 +17,15 @@ keywords = ["analytics", "google", "cli"] name = "analytics3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-analytics3] path = "../analytics3" -version = "1.0.2+20161004" +version = "1.0.3+20161004" optional = true default-features = false diff --git a/gen/analytics3-cli/README.md b/gen/analytics3-cli/README.md index 7393f10b64..95ee6efee7 100644 --- a/gen/analytics3-cli/README.md +++ b/gen/analytics3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *analytics* API at revision *20161004*. The CLI is at version *1.0.2*. +This documentation was generated from the *analytics* API at revision *20161004*. The CLI is at version *1.0.3*. ```bash analytics3 [options] diff --git a/gen/analytics3-cli/mkdocs.yml b/gen/analytics3-cli/mkdocs.yml index 7f703fa9ec..5c71c9adda 100644 --- a/gen/analytics3-cli/mkdocs.yml +++ b/gen/analytics3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: analytics v1.0.2+20161004 +site_name: analytics v1.0.3+20161004 site_url: http://byron.github.io/google-apis-rs/google-analytics3-cli site_description: A complete library to interact with analytics (protocol v3) diff --git a/gen/analytics3-cli/src/main.rs b/gen/analytics3-cli/src/main.rs index bd0f095bdd..e369f1a6e1 100644 --- a/gen/analytics3-cli/src/main.rs +++ b/gen/analytics3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -7025,10 +7026,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "analytics3", @@ -7038,10 +7039,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -9946,7 +9947,7 @@ fn main() { let mut app = App::new("analytics3") .author("Sebastian Thiel ") - .version("1.0.2+20161004") + .version("1.0.3+20161004") .about("Views and manages your Google Analytics data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_analytics3_cli") .arg(Arg::with_name("url") diff --git a/gen/analytics3/Cargo.toml b/gen/analytics3/Cargo.toml index c2a503e72a..bd7103040b 100644 --- a/gen/analytics3/Cargo.toml +++ b/gen/analytics3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-analytics3" -version = "1.0.2+20161004" +version = "1.0.3+20161004" authors = ["Sebastian Thiel "] description = "A complete library to interact with analytics (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/analytics3" homepage = "https://developers.google.com/analytics/" -documentation = "https://docs.rs/google-analytics3/1.0.2+20161004" +documentation = "https://docs.rs/google-analytics3/1.0.3+20161004" license = "MIT" keywords = ["analytics", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/analytics3/README.md b/gen/analytics3/README.md index d4d1ddee8a..20b24bd8fb 100644 --- a/gen/analytics3/README.md +++ b/gen/analytics3/README.md @@ -5,27 +5,27 @@ DO NOT EDIT ! --> The `google-analytics3` library allows access to all features of the *Google analytics* service. -This documentation was generated from *analytics* crate version *1.0.2+20161004*, where *20161004* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *analytics* crate version *1.0.3+20161004*, where *20161004* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *analytics* *v3* API can be found at the [official documentation site](https://developers.google.com/analytics/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.Analytics.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.Analytics.html) ... * data - * [*ga get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.DataGaGetCall.html), [*mcf get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.DataMcfGetCall.html) and [*realtime get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.DataRealtimeGetCall.html) + * [*ga get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.DataGaGetCall.html), [*mcf get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.DataMcfGetCall.html) and [*realtime get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.DataRealtimeGetCall.html) * management - * [*account summaries list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountSummaryListCall.html), [*account user links delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountUserLinkDeleteCall.html), [*account user links insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountUserLinkInsertCall.html), [*account user links list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountUserLinkListCall.html), [*account user links update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountUserLinkUpdateCall.html), [*accounts list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementAccountListCall.html), [*custom data sources list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDataSourceListCall.html), [*custom dimensions get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDimensionGetCall.html), [*custom dimensions insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDimensionInsertCall.html), [*custom dimensions list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDimensionListCall.html), [*custom dimensions patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDimensionPatchCall.html), [*custom dimensions update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomDimensionUpdateCall.html), [*custom metrics get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomMetricGetCall.html), [*custom metrics insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomMetricInsertCall.html), [*custom metrics list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomMetricListCall.html), [*custom metrics patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomMetricPatchCall.html), [*custom metrics update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementCustomMetricUpdateCall.html), [*experiments delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentDeleteCall.html), [*experiments get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentGetCall.html), [*experiments insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentInsertCall.html), [*experiments list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentListCall.html), [*experiments patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentPatchCall.html), [*experiments update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementExperimentUpdateCall.html), [*filters delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterDeleteCall.html), [*filters get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterGetCall.html), [*filters insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterInsertCall.html), [*filters list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterListCall.html), [*filters patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterPatchCall.html), [*filters update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementFilterUpdateCall.html), [*goals get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementGoalGetCall.html), [*goals insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementGoalInsertCall.html), [*goals list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementGoalListCall.html), [*goals patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementGoalPatchCall.html), [*goals update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementGoalUpdateCall.html), [*profile filter links delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkDeleteCall.html), [*profile filter links get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkGetCall.html), [*profile filter links insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkInsertCall.html), [*profile filter links list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkListCall.html), [*profile filter links patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkPatchCall.html), [*profile filter links update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileFilterLinkUpdateCall.html), [*profile user links delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileUserLinkDeleteCall.html), [*profile user links insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileUserLinkInsertCall.html), [*profile user links list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileUserLinkListCall.html), [*profile user links update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileUserLinkUpdateCall.html), [*profiles delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileDeleteCall.html), [*profiles get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileGetCall.html), [*profiles insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileInsertCall.html), [*profiles list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileListCall.html), [*profiles patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfilePatchCall.html), [*profiles update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementProfileUpdateCall.html), [*remarketing audience get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementRemarketingAudienceGetCall.html), [*remarketing audience insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementRemarketingAudienceInsertCall.html), [*remarketing audience list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementRemarketingAudienceListCall.html), [*remarketing audience patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementRemarketingAudiencePatchCall.html), [*remarketing audience update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementRemarketingAudienceUpdateCall.html), [*segments list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementSegmentListCall.html), [*unsampled reports delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUnsampledReportDeleteCall.html), [*unsampled reports get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUnsampledReportGetCall.html), [*unsampled reports insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUnsampledReportInsertCall.html), [*unsampled reports list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUnsampledReportListCall.html), [*uploads delete upload data*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUploadDeleteUploadDataCall.html), [*uploads get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUploadGetCall.html), [*uploads list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUploadListCall.html), [*uploads upload data*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUploadUploadDataCall.html), [*web property ad words links delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkDeleteCall.html), [*web property ad words links get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkGetCall.html), [*web property ad words links insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkInsertCall.html), [*web property ad words links list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkListCall.html), [*web property ad words links patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkPatchCall.html), [*web property ad words links update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkUpdateCall.html), [*webproperties get*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyGetCall.html), [*webproperties insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyInsertCall.html), [*webproperties list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyListCall.html), [*webproperties patch*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyPatchCall.html), [*webproperties update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyUpdateCall.html), [*webproperty user links delete*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkDeleteCall.html), [*webproperty user links insert*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkInsertCall.html), [*webproperty user links list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkListCall.html) and [*webproperty user links update*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkUpdateCall.html) + * [*account summaries list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountSummaryListCall.html), [*account user links delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountUserLinkDeleteCall.html), [*account user links insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountUserLinkInsertCall.html), [*account user links list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountUserLinkListCall.html), [*account user links update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountUserLinkUpdateCall.html), [*accounts list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementAccountListCall.html), [*custom data sources list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDataSourceListCall.html), [*custom dimensions get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDimensionGetCall.html), [*custom dimensions insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDimensionInsertCall.html), [*custom dimensions list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDimensionListCall.html), [*custom dimensions patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDimensionPatchCall.html), [*custom dimensions update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomDimensionUpdateCall.html), [*custom metrics get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomMetricGetCall.html), [*custom metrics insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomMetricInsertCall.html), [*custom metrics list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomMetricListCall.html), [*custom metrics patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomMetricPatchCall.html), [*custom metrics update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementCustomMetricUpdateCall.html), [*experiments delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentDeleteCall.html), [*experiments get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentGetCall.html), [*experiments insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentInsertCall.html), [*experiments list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentListCall.html), [*experiments patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentPatchCall.html), [*experiments update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementExperimentUpdateCall.html), [*filters delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterDeleteCall.html), [*filters get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterGetCall.html), [*filters insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterInsertCall.html), [*filters list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterListCall.html), [*filters patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterPatchCall.html), [*filters update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementFilterUpdateCall.html), [*goals get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementGoalGetCall.html), [*goals insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementGoalInsertCall.html), [*goals list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementGoalListCall.html), [*goals patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementGoalPatchCall.html), [*goals update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementGoalUpdateCall.html), [*profile filter links delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkDeleteCall.html), [*profile filter links get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkGetCall.html), [*profile filter links insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkInsertCall.html), [*profile filter links list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkListCall.html), [*profile filter links patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkPatchCall.html), [*profile filter links update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileFilterLinkUpdateCall.html), [*profile user links delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileUserLinkDeleteCall.html), [*profile user links insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileUserLinkInsertCall.html), [*profile user links list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileUserLinkListCall.html), [*profile user links update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileUserLinkUpdateCall.html), [*profiles delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileDeleteCall.html), [*profiles get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileGetCall.html), [*profiles insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileInsertCall.html), [*profiles list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileListCall.html), [*profiles patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfilePatchCall.html), [*profiles update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementProfileUpdateCall.html), [*remarketing audience get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementRemarketingAudienceGetCall.html), [*remarketing audience insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementRemarketingAudienceInsertCall.html), [*remarketing audience list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementRemarketingAudienceListCall.html), [*remarketing audience patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementRemarketingAudiencePatchCall.html), [*remarketing audience update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementRemarketingAudienceUpdateCall.html), [*segments list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementSegmentListCall.html), [*unsampled reports delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUnsampledReportDeleteCall.html), [*unsampled reports get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUnsampledReportGetCall.html), [*unsampled reports insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUnsampledReportInsertCall.html), [*unsampled reports list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUnsampledReportListCall.html), [*uploads delete upload data*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUploadDeleteUploadDataCall.html), [*uploads get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUploadGetCall.html), [*uploads list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUploadListCall.html), [*uploads upload data*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUploadUploadDataCall.html), [*web property ad words links delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkDeleteCall.html), [*web property ad words links get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkGetCall.html), [*web property ad words links insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkInsertCall.html), [*web property ad words links list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkListCall.html), [*web property ad words links patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkPatchCall.html), [*web property ad words links update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebPropertyAdWordsLinkUpdateCall.html), [*webproperties get*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyGetCall.html), [*webproperties insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyInsertCall.html), [*webproperties list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyListCall.html), [*webproperties patch*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyPatchCall.html), [*webproperties update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyUpdateCall.html), [*webproperty user links delete*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkDeleteCall.html), [*webproperty user links insert*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkInsertCall.html), [*webproperty user links list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkListCall.html) and [*webproperty user links update*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementWebpropertyUserLinkUpdateCall.html) * metadata - * [*columns list*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.MetadataColumnListCall.html) + * [*columns list*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.MetadataColumnListCall.html) * provisioning - * [*create account ticket*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ProvisioningCreateAccountTicketCall.html) + * [*create account ticket*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ProvisioningCreateAccountTicketCall.html) Upload supported by ... -* [*uploads upload data management*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.ManagementUploadUploadDataCall.html) +* [*uploads upload data management*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.ManagementUploadUploadDataCall.html) @@ -33,17 +33,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/struct.Analytics.html)** +* **[Hub](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/struct.Analytics.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/trait.Part.html)** + * **[Parts](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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")`. @@ -156,29 +156,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-analytics3/1.0.2+20161004/google_analytics3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/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-analytics3/1.0.3+20161004/google_analytics3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-analytics3/1.0.2+20161004/google_analytics3/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-analytics3/1.0.3+20161004/google_analytics3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/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-analytics3/1.0.2+20161004/google_analytics3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-analytics3/1.0.3+20161004/google_analytics3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/analytics3/src/cmn.rs b/gen/analytics3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/analytics3/src/cmn.rs +++ b/gen/analytics3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/analytics3/src/lib.rs b/gen/analytics3/src/lib.rs index 171cab7d21..77bb3a5ca5 100644 --- a/gen/analytics3/src/lib.rs +++ b/gen/analytics3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *analytics* crate version *1.0.2+20161004*, where *20161004* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *analytics* crate version *1.0.3+20161004*, where *20161004* is the exact revision of the *analytics:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *analytics* *v3* API can be found at the //! [official documentation site](https://developers.google.com/analytics/). diff --git a/gen/analytics3/src/lib.rs.in b/gen/analytics3/src/lib.rs.in index 57d969b8b7..7c36b86cc1 100644 --- a/gen/analytics3/src/lib.rs.in +++ b/gen/analytics3/src/lib.rs.in @@ -157,7 +157,7 @@ impl<'a, C, A> Analytics Analytics { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -175,7 +175,7 @@ impl<'a, C, A> Analytics } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidenterprise1-cli/Cargo.toml b/gen/androidenterprise1-cli/Cargo.toml index ebe78f1baf..50c5f1e151 100644 --- a/gen/androidenterprise1-cli/Cargo.toml +++ b/gen/androidenterprise1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidenterprise1-cli" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1-cli" @@ -17,14 +17,15 @@ keywords = ["androidenterprise", "google", "cli"] name = "androidenterprise1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-androidenterprise1] path = "../androidenterprise1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" optional = true default-features = false diff --git a/gen/androidenterprise1-cli/README.md b/gen/androidenterprise1-cli/README.md index 8657e9ec5f..71eea89496 100644 --- a/gen/androidenterprise1-cli/README.md +++ b/gen/androidenterprise1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Enterprise* API at revision *20161207*. The CLI is at version *1.0.2*. +This documentation was generated from the *Android Enterprise* API at revision *20161207*. The CLI is at version *1.0.3*. ```bash androidenterprise1 [options] diff --git a/gen/androidenterprise1-cli/mkdocs.yml b/gen/androidenterprise1-cli/mkdocs.yml index 619731dceb..d10a437519 100644 --- a/gen/androidenterprise1-cli/mkdocs.yml +++ b/gen/androidenterprise1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Enterprise v1.0.2+20161207 +site_name: Android Enterprise v1.0.3+20161207 site_url: http://byron.github.io/google-apis-rs/google-androidenterprise1-cli site_description: A complete library to interact with Android Enterprise (protocol v1) diff --git a/gen/androidenterprise1-cli/src/main.rs b/gen/androidenterprise1-cli/src/main.rs index 73cc238aa9..7aff1da335 100644 --- a/gen/androidenterprise1-cli/src/main.rs +++ b/gen/androidenterprise1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -6189,10 +6190,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "androidenterprise1", @@ -6202,10 +6203,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -8948,7 +8949,7 @@ fn main() { let mut app = App::new("androidenterprise1") .author("Sebastian Thiel ") - .version("1.0.2+20161207") + .version("1.0.3+20161207") .about("Manages the deployment of apps to Android for Work users.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidenterprise1_cli") .arg(Arg::with_name("url") diff --git a/gen/androidenterprise1/Cargo.toml b/gen/androidenterprise1/Cargo.toml index 1206e422eb..cf946fcea4 100644 --- a/gen/androidenterprise1/Cargo.toml +++ b/gen/androidenterprise1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-androidenterprise1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Enterprise (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidenterprise1" homepage = "https://developers.google.com/android/work/play/emm-api" -documentation = "https://docs.rs/google-androidenterprise1/1.0.2+20161207" +documentation = "https://docs.rs/google-androidenterprise1/1.0.3+20161207" license = "MIT" keywords = ["androidenterprise", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/androidenterprise1/README.md b/gen/androidenterprise1/README.md index 8be14096db..f459f5a064 100644 --- a/gen/androidenterprise1/README.md +++ b/gen/androidenterprise1/README.md @@ -5,46 +5,46 @@ DO NOT EDIT ! --> The `google-androidenterprise1` library allows access to all features of the *Google Android Enterprise* service. -This documentation was generated from *Android Enterprise* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Android Enterprise* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Android Enterprise* *v1* API can be found at the [official documentation site](https://developers.google.com/android/work/play/emm-api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.AndroidEnterprise.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.AndroidEnterprise.html) ... -* [collections](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Collection.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionUpdateCall.html) +* [collections](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Collection.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionUpdateCall.html) * collectionviewers - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionviewerDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionviewerGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionviewerListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionviewerPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.CollectionviewerUpdateCall.html) -* [devices](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Device.html) - * [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.DeviceGetCall.html), [*get state*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.DeviceGetStateCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.DeviceListCall.html) and [*set state*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.DeviceSetStateCall.html) -* [enterprises](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Enterprise.html) - * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseAcknowledgeNotificationSetCall.html), [*complete signup*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseCompleteSignupCall.html), [*create web token*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseCreateWebTokenCall.html), [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseDeleteCall.html), [*enroll*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseEnrollCall.html), [*generate signup url*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseGenerateSignupUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseGetCall.html), [*get service account*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseGetServiceAccountCall.html), [*get store layout*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseGetStoreLayoutCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseListCall.html), [*pull notification set*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterprisePullNotificationSetCall.html), [*send test push notification*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseSendTestPushNotificationCall.html), [*set account*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseSetAccountCall.html), [*set store layout*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseSetStoreLayoutCall.html) and [*unenroll*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EnterpriseUnenrollCall.html) -* [entitlements](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Entitlement.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EntitlementDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EntitlementGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EntitlementListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EntitlementPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.EntitlementUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionviewerDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionviewerGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionviewerListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionviewerPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.CollectionviewerUpdateCall.html) +* [devices](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Device.html) + * [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.DeviceGetCall.html), [*get state*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.DeviceGetStateCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.DeviceListCall.html) and [*set state*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.DeviceSetStateCall.html) +* [enterprises](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Enterprise.html) + * [*acknowledge notification set*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseAcknowledgeNotificationSetCall.html), [*complete signup*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseCompleteSignupCall.html), [*create web token*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseCreateWebTokenCall.html), [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseDeleteCall.html), [*enroll*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseEnrollCall.html), [*generate signup url*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseGenerateSignupUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseGetCall.html), [*get service account*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseGetServiceAccountCall.html), [*get store layout*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseGetStoreLayoutCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseListCall.html), [*pull notification set*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterprisePullNotificationSetCall.html), [*send test push notification*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseSendTestPushNotificationCall.html), [*set account*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseSetAccountCall.html), [*set store layout*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseSetStoreLayoutCall.html) and [*unenroll*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EnterpriseUnenrollCall.html) +* [entitlements](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Entitlement.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EntitlementDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EntitlementGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EntitlementListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EntitlementPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.EntitlementUpdateCall.html) * grouplicenses - * [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.GrouplicenseGetCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.GrouplicenseListCall.html) + * [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.GrouplicenseGetCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.GrouplicenseListCall.html) * grouplicenseusers - * [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.GrouplicenseuserListCall.html) -* [installs](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Install.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.InstallDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.InstallGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.InstallListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.InstallPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.InstallUpdateCall.html) + * [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.GrouplicenseuserListCall.html) +* [installs](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Install.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.InstallDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.InstallGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.InstallListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.InstallPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.InstallUpdateCall.html) * managedconfigurationsfordevice - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordevicePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordevicePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsfordeviceUpdateCall.html) * managedconfigurationsforuser - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserUpdateCall.html) -* [permissions](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Permission.html) - * [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.PermissionGetCall.html) -* [products](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.Product.html) - * [*approve*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductApproveCall.html), [*generate approval url*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductGenerateApprovalUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductGetCall.html), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductGetAppRestrictionsSchemaCall.html), [*get permissions*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductGetPermissionCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductListCall.html), [*unapprove*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductUnapproveCall.html) and [*update permissions*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ProductUpdatePermissionCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserGetCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ManagedconfigurationsforuserUpdateCall.html) +* [permissions](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Permission.html) + * [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.PermissionGetCall.html) +* [products](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.Product.html) + * [*approve*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductApproveCall.html), [*generate approval url*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductGenerateApprovalUrlCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductGetCall.html), [*get app restrictions schema*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductGetAppRestrictionsSchemaCall.html), [*get permissions*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductGetPermissionCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductListCall.html), [*unapprove*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductUnapproveCall.html) and [*update permissions*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ProductUpdatePermissionCall.html) * serviceaccountkeys - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ServiceaccountkeyDeleteCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ServiceaccountkeyInsertCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.ServiceaccountkeyListCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ServiceaccountkeyDeleteCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ServiceaccountkeyInsertCall.html) and [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.ServiceaccountkeyListCall.html) * storelayoutclusters - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutclusterUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterPatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutclusterUpdateCall.html) * storelayoutpages - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpageDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpageGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpageInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpageListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpagePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.StorelayoutpageUpdateCall.html) -* [users](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.User.html) - * [*delete*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserDeleteCall.html), [*generate authentication token*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserGenerateAuthenticationTokenCall.html), [*generate token*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserGenerateTokenCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserGetCall.html), [*get available product set*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserGetAvailableProductSetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserPatchCall.html), [*revoke token*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserRevokeTokenCall.html), [*set available product set*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserSetAvailableProductSetCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.UserUpdateCall.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpageDeleteCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpageGetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpageInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpageListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpagePatchCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.StorelayoutpageUpdateCall.html) +* [users](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.User.html) + * [*delete*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserDeleteCall.html), [*generate authentication token*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserGenerateAuthenticationTokenCall.html), [*generate token*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserGenerateTokenCall.html), [*get*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserGetCall.html), [*get available product set*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserGetAvailableProductSetCall.html), [*insert*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserInsertCall.html), [*list*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserListCall.html), [*patch*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserPatchCall.html), [*revoke token*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserRevokeTokenCall.html), [*set available product set*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserSetAvailableProductSetCall.html) and [*update*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.UserUpdateCall.html) @@ -53,17 +53,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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/struct.AndroidEnterprise.html)** +* **[Hub](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/struct.AndroidEnterprise.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -161,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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")`. @@ -181,29 +181,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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/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-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidenterprise1/1.0.2+20161207/google_androidenterprise1/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-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/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-androidenterprise1/1.0.2+20161207/google_androidenterprise1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidenterprise1/1.0.3+20161207/google_androidenterprise1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidenterprise1/src/cmn.rs b/gen/androidenterprise1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/androidenterprise1/src/cmn.rs +++ b/gen/androidenterprise1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/androidenterprise1/src/lib.rs b/gen/androidenterprise1/src/lib.rs index cfdbfaefa0..8f98b88fe1 100644 --- a/gen/androidenterprise1/src/lib.rs +++ b/gen/androidenterprise1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Enterprise* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Android Enterprise* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *androidenterprise:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Android Enterprise* *v1* API can be found at the //! [official documentation site](https://developers.google.com/android/work/play/emm-api). diff --git a/gen/androidenterprise1/src/lib.rs.in b/gen/androidenterprise1/src/lib.rs.in index 2e6cd25c3f..44466cc0b2 100644 --- a/gen/androidenterprise1/src/lib.rs.in +++ b/gen/androidenterprise1/src/lib.rs.in @@ -132,7 +132,7 @@ impl<'a, C, A> AndroidEnterprise AndroidEnterprise { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -186,7 +186,7 @@ impl<'a, C, A> AndroidEnterprise } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/androidpublisher2-cli/Cargo.toml b/gen/androidpublisher2-cli/Cargo.toml index f89f52bb46..3fd5c20b15 100644 --- a/gen/androidpublisher2-cli/Cargo.toml +++ b/gen/androidpublisher2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-androidpublisher2-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher2-cli" @@ -17,14 +17,15 @@ keywords = ["androidpublisher", "google", "cli"] name = "androidpublisher2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-androidpublisher2] path = "../androidpublisher2" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/androidpublisher2-cli/README.md b/gen/androidpublisher2-cli/README.md index 03268ba0c6..4e266afbd6 100644 --- a/gen/androidpublisher2-cli/README.md +++ b/gen/androidpublisher2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Android Publisher* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *Android Publisher* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash androidpublisher2 [options] diff --git a/gen/androidpublisher2-cli/mkdocs.yml b/gen/androidpublisher2-cli/mkdocs.yml index 4645790cc3..16b27469ce 100644 --- a/gen/androidpublisher2-cli/mkdocs.yml +++ b/gen/androidpublisher2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Android Publisher v1.0.2+20161212 +site_name: Android Publisher v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-androidpublisher2-cli site_description: A complete library to interact with Android Publisher (protocol v2) diff --git a/gen/androidpublisher2-cli/src/main.rs b/gen/androidpublisher2-cli/src/main.rs index f39a77cee5..c693a0edca 100644 --- a/gen/androidpublisher2-cli/src/main.rs +++ b/gen/androidpublisher2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -4005,10 +4006,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "androidpublisher2", @@ -4018,10 +4019,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -5975,7 +5976,7 @@ fn main() { let mut app = App::new("androidpublisher2") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("Lets Android application developers access their Google Play accounts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_androidpublisher2_cli") .arg(Arg::with_name("url") diff --git a/gen/androidpublisher2/Cargo.toml b/gen/androidpublisher2/Cargo.toml index ab2d7af493..3ae293ce31 100644 --- a/gen/androidpublisher2/Cargo.toml +++ b/gen/androidpublisher2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-androidpublisher2" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Android Publisher (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/androidpublisher2" homepage = "https://developers.google.com/android-publisher" -documentation = "https://docs.rs/google-androidpublisher2/1.0.2+20161212" +documentation = "https://docs.rs/google-androidpublisher2/1.0.3+20161212" license = "MIT" keywords = ["androidpublisher", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/androidpublisher2/README.md b/gen/androidpublisher2/README.md index d2f07c4008..3f72a0433c 100644 --- a/gen/androidpublisher2/README.md +++ b/gen/androidpublisher2/README.md @@ -5,32 +5,32 @@ DO NOT EDIT ! --> The `google-androidpublisher2` library allows access to all features of the *Google Android Publisher* service. -This documentation was generated from *Android Publisher* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Android Publisher* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Android Publisher* *v2* API can be found at the [official documentation site](https://developers.google.com/android-publisher). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.AndroidPublisher.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.AndroidPublisher.html) ... * edits - * [*apklistings delete*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingDeleteCall.html), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingDeleteallCall.html), [*apklistings get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingGetCall.html), [*apklistings list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingListCall.html), [*apklistings patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingPatchCall.html), [*apklistings update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApklistingUpdateCall.html), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApkUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditValidateCall.html) -* [entitlements](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.Entitlement.html) - * [*list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EntitlementListCall.html) + * [*apklistings delete*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingDeleteCall.html), [*apklistings deleteall*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingDeleteallCall.html), [*apklistings get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingGetCall.html), [*apklistings list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingListCall.html), [*apklistings patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingPatchCall.html), [*apklistings update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApklistingUpdateCall.html), [*apks addexternallyhosted*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApkAddexternallyhostedCall.html), [*apks list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApkListCall.html), [*apks upload*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApkUploadCall.html), [*commit*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditCommitCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDeleteCall.html), [*deobfuscationfiles upload*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html), [*details get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDetailGetCall.html), [*details patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDetailPatchCall.html), [*details update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDetailUpdateCall.html), [*expansionfiles get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditExpansionfileGetCall.html), [*expansionfiles patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditExpansionfilePatchCall.html), [*expansionfiles update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditExpansionfileUpdateCall.html), [*expansionfiles upload*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditExpansionfileUploadCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditGetCall.html), [*images delete*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditImageDeleteCall.html), [*images deleteall*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditImageDeleteallCall.html), [*images list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditImageListCall.html), [*images upload*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditImageUploadCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditInsertCall.html), [*listings delete*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingDeleteCall.html), [*listings deleteall*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingDeleteallCall.html), [*listings get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingGetCall.html), [*listings list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingListCall.html), [*listings patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingPatchCall.html), [*listings update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditListingUpdateCall.html), [*testers get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTesterGetCall.html), [*testers patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTesterPatchCall.html), [*testers update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTesterUpdateCall.html), [*tracks get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTrackGetCall.html), [*tracks list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTrackListCall.html), [*tracks patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTrackPatchCall.html), [*tracks update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditTrackUpdateCall.html) and [*validate*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditValidateCall.html) +* [entitlements](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.Entitlement.html) + * [*list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EntitlementListCall.html) * inappproducts - * [*batch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductBatchCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.InappproductUpdateCall.html) + * [*batch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductBatchCall.html), [*delete*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductDeleteCall.html), [*get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductGetCall.html), [*insert*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductInsertCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductListCall.html), [*patch*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductPatchCall.html) and [*update*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.InappproductUpdateCall.html) * purchases - * [*products get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseProductGetCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.PurchaseVoidedpurchaseListCall.html) -* [reviews](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.Review.html) - * [*get*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.ReviewReplyCall.html) + * [*products get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseProductGetCall.html), [*subscriptions cancel*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseSubscriptionCancelCall.html), [*subscriptions defer*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseSubscriptionDeferCall.html), [*subscriptions get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseSubscriptionGetCall.html), [*subscriptions refund*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseSubscriptionRefundCall.html), [*subscriptions revoke*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseSubscriptionRevokeCall.html) and [*voidedpurchases list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.PurchaseVoidedpurchaseListCall.html) +* [reviews](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.Review.html) + * [*get*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.ReviewGetCall.html), [*list*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.ReviewListCall.html) and [*reply*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.ReviewReplyCall.html) Upload supported by ... -* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html) -* [*images upload edits*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditImageUploadCall.html) -* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditExpansionfileUploadCall.html) -* [*apks upload edits*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.EditApkUploadCall.html) +* [*deobfuscationfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditDeobfuscationfileUploadCall.html) +* [*images upload edits*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditImageUploadCall.html) +* [*expansionfiles upload edits*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditExpansionfileUploadCall.html) +* [*apks upload edits*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.EditApkUploadCall.html) @@ -38,17 +38,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/struct.AndroidPublisher.html)** +* **[Hub](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/struct.AndroidPublisher.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Part.html)** + * **[Parts](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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")`. @@ -160,29 +160,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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/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-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-androidpublisher2/1.0.2+20161212/google_androidpublisher2/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-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/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-androidpublisher2/1.0.2+20161212/google_androidpublisher2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-androidpublisher2/1.0.3+20161212/google_androidpublisher2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/androidpublisher2/src/cmn.rs b/gen/androidpublisher2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/androidpublisher2/src/cmn.rs +++ b/gen/androidpublisher2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/androidpublisher2/src/lib.rs b/gen/androidpublisher2/src/lib.rs index 9224e07592..fc386b9f5d 100644 --- a/gen/androidpublisher2/src/lib.rs +++ b/gen/androidpublisher2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Android Publisher* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Android Publisher* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *androidpublisher:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Android Publisher* *v2* API can be found at the //! [official documentation site](https://developers.google.com/android-publisher). diff --git a/gen/androidpublisher2/src/lib.rs.in b/gen/androidpublisher2/src/lib.rs.in index 1220a7534b..e89661c4f5 100644 --- a/gen/androidpublisher2/src/lib.rs.in +++ b/gen/androidpublisher2/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> AndroidPublisher AndroidPublisher { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -159,7 +159,7 @@ impl<'a, C, A> AndroidPublisher } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1-cli/Cargo.toml b/gen/appengine1-cli/Cargo.toml index 7220d3639c..250fbc5e3a 100644 --- a/gen/appengine1-cli/Cargo.toml +++ b/gen/appengine1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1-cli" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1-cli" @@ -17,14 +17,15 @@ keywords = ["appengine", "google", "cli"] name = "appengine1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-appengine1] path = "../appengine1" -version = "1.0.2+20161208" +version = "1.0.3+20161208" optional = true default-features = false diff --git a/gen/appengine1-cli/README.md b/gen/appengine1-cli/README.md index de8bf7e0ef..f69012bf6c 100644 --- a/gen/appengine1-cli/README.md +++ b/gen/appengine1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.2*. +This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.3*. ```bash appengine1 [options] diff --git a/gen/appengine1-cli/mkdocs.yml b/gen/appengine1-cli/mkdocs.yml index 14b55f2aa7..a8736d11da 100644 --- a/gen/appengine1-cli/mkdocs.yml +++ b/gen/appengine1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.2+20161208 +site_name: appengine v1.0.3+20161208 site_url: http://byron.github.io/google-apis-rs/google-appengine1-cli site_description: A complete library to interact with appengine (protocol v1) diff --git a/gen/appengine1-cli/src/main.rs b/gen/appengine1-cli/src/main.rs index f3c6423148..7680b3b147 100644 --- a/gen/appengine1-cli/src/main.rs +++ b/gen/appengine1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1683,10 +1684,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "appengine1", @@ -1696,10 +1697,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2384,7 +2385,7 @@ fn main() { let mut app = App::new("appengine1") .author("Sebastian Thiel ") - .version("1.0.2+20161208") + .version("1.0.3+20161208") .about("Provisions and manages App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1/Cargo.toml b/gen/appengine1/Cargo.toml index 8f5cb05ad8..d7fa1c839e 100644 --- a/gen/appengine1/Cargo.toml +++ b/gen/appengine1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-appengine1" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1/1.0.2+20161208" +documentation = "https://docs.rs/google-appengine1/1.0.3+20161208" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/appengine1/README.md b/gen/appengine1/README.md index cfd4a326f8..6751f906f1 100644 --- a/gen/appengine1/README.md +++ b/gen/appengine1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *appengine* *v1* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.Appengine.html) ... * apps - * [*create*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppPatchCall.html), [*repair*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppRepairCall.html), [*services delete*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/struct.AppServiceVersionPatchCall.html) + * [*create*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppPatchCall.html), [*repair*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppRepairCall.html), [*services delete*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.AppServiceVersionPatchCall.html) @@ -23,17 +23,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-appengine1/1.0.2+20161208/google_appengine1/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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")`. @@ -151,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-appengine1/1.0.2+20161208/google_appengine1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/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-appengine1/1.0.3+20161208/google_appengine1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1/1.0.2+20161208/google_appengine1/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-appengine1/1.0.3+20161208/google_appengine1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/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-appengine1/1.0.2+20161208/google_appengine1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1/1.0.3+20161208/google_appengine1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1/src/cmn.rs b/gen/appengine1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/appengine1/src/cmn.rs +++ b/gen/appengine1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/appengine1/src/lib.rs b/gen/appengine1/src/lib.rs index dd2539617d..accea25673 100644 --- a/gen/appengine1/src/lib.rs +++ b/gen/appengine1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *appengine* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appengine1/src/lib.rs.in b/gen/appengine1/src/lib.rs.in index e46358e7de..1ba0577d4a 100644 --- a/gen/appengine1/src/lib.rs.in +++ b/gen/appengine1/src/lib.rs.in @@ -145,7 +145,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -154,7 +154,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta4-cli/Cargo.toml b/gen/appengine1_beta4-cli/Cargo.toml index 43e3123dfe..79098fe25b 100644 --- a/gen/appengine1_beta4-cli/Cargo.toml +++ b/gen/appengine1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta4-cli" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta4-cli" @@ -17,14 +17,15 @@ keywords = ["appengine", "google", "cli"] name = "appengine1-beta4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-appengine1_beta4] path = "../appengine1_beta4" -version = "1.0.2+20161208" +version = "1.0.3+20161208" optional = true default-features = false diff --git a/gen/appengine1_beta4-cli/README.md b/gen/appengine1_beta4-cli/README.md index 47513552ce..21ab793261 100644 --- a/gen/appengine1_beta4-cli/README.md +++ b/gen/appengine1_beta4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.2*. +This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.3*. ```bash appengine1-beta4 [options] diff --git a/gen/appengine1_beta4-cli/mkdocs.yml b/gen/appengine1_beta4-cli/mkdocs.yml index 36a7c26966..5cd044a450 100644 --- a/gen/appengine1_beta4-cli/mkdocs.yml +++ b/gen/appengine1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.2+20161208 +site_name: appengine v1.0.3+20161208 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta4-cli site_description: A complete library to interact with appengine (protocol v1beta4) diff --git a/gen/appengine1_beta4-cli/src/main.rs b/gen/appengine1_beta4-cli/src/main.rs index 5d4578d3b2..e90fa0fd36 100644 --- a/gen/appengine1_beta4-cli/src/main.rs +++ b/gen/appengine1_beta4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1586,10 +1587,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "appengine1-beta4", @@ -1599,10 +1600,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2259,7 +2260,7 @@ fn main() { let mut app = App::new("appengine1-beta4") .author("Sebastian Thiel ") - .version("1.0.2+20161208") + .version("1.0.3+20161208") .about("Provisions and manages App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta4/Cargo.toml b/gen/appengine1_beta4/Cargo.toml index 7f1c0c6cc5..c313ca50cf 100644 --- a/gen/appengine1_beta4/Cargo.toml +++ b/gen/appengine1_beta4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-appengine1_beta4" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta4" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta4/1.0.2+20161208" +documentation = "https://docs.rs/google-appengine1_beta4/1.0.3+20161208" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/appengine1_beta4/README.md b/gen/appengine1_beta4/README.md index 9998bdabb4..78d7ec1998 100644 --- a/gen/appengine1_beta4/README.md +++ b/gen/appengine1_beta4/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta4` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *appengine* *v1_beta4* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.Appengine.html) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppLocationListCall.html), [*modules delete*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleDeleteCall.html), [*modules get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleGetCall.html), [*modules list*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleListCall.html), [*modules patch*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModulePatchCall.html), [*modules versions create*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionCreateCall.html), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionDeleteCall.html), [*modules versions get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionGetCall.html), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceDebugCall.html), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceDeleteCall.html), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceGetCall.html), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceListCall.html), [*modules versions list*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionListCall.html), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppModuleVersionPatchCall.html), [*operations get*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppOperationListCall.html) and [*patch*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.AppPatchCall.html) + * [*create*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppLocationListCall.html), [*modules delete*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleDeleteCall.html), [*modules get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleGetCall.html), [*modules list*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleListCall.html), [*modules patch*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModulePatchCall.html), [*modules versions create*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionCreateCall.html), [*modules versions delete*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionDeleteCall.html), [*modules versions get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionGetCall.html), [*modules versions instances debug*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceDebugCall.html), [*modules versions instances delete*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceDeleteCall.html), [*modules versions instances get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceGetCall.html), [*modules versions instances list*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionInstanceListCall.html), [*modules versions list*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionListCall.html), [*modules versions patch*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppModuleVersionPatchCall.html), [*operations get*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppOperationListCall.html) and [*patch*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.AppPatchCall.html) @@ -23,17 +23,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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -132,17 +132,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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")`. @@ -152,29 +152,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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/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-appengine1_beta4/1.0.2+20161208/google_appengine1_beta4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1_beta4/1.0.3+20161208/google_appengine1_beta4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta4/src/cmn.rs b/gen/appengine1_beta4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/appengine1_beta4/src/cmn.rs +++ b/gen/appengine1_beta4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/appengine1_beta4/src/lib.rs b/gen/appengine1_beta4/src/lib.rs index 9316ecc1eb..96d8e3f3af 100644 --- a/gen/appengine1_beta4/src/lib.rs +++ b/gen/appengine1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *appengine* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appengine1_beta4/src/lib.rs.in b/gen/appengine1_beta4/src/lib.rs.in index 35b44f52a8..beffa55f1b 100644 --- a/gen/appengine1_beta4/src/lib.rs.in +++ b/gen/appengine1_beta4/src/lib.rs.in @@ -147,7 +147,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -156,7 +156,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appengine1_beta5-cli/Cargo.toml b/gen/appengine1_beta5-cli/Cargo.toml index 757615f7bf..509769ce5b 100644 --- a/gen/appengine1_beta5-cli/Cargo.toml +++ b/gen/appengine1_beta5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appengine1_beta5-cli" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta5-cli" @@ -17,14 +17,15 @@ keywords = ["appengine", "google", "cli"] name = "appengine1-beta5" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-appengine1_beta5] path = "../appengine1_beta5" -version = "1.0.2+20161208" +version = "1.0.3+20161208" optional = true default-features = false diff --git a/gen/appengine1_beta5-cli/README.md b/gen/appengine1_beta5-cli/README.md index 905af9171a..1caeff3c4d 100644 --- a/gen/appengine1_beta5-cli/README.md +++ b/gen/appengine1_beta5-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.2*. +This documentation was generated from the *appengine* API at revision *20161208*. The CLI is at version *1.0.3*. ```bash appengine1-beta5 [options] diff --git a/gen/appengine1_beta5-cli/mkdocs.yml b/gen/appengine1_beta5-cli/mkdocs.yml index 41aa82c7ac..0a9811d306 100644 --- a/gen/appengine1_beta5-cli/mkdocs.yml +++ b/gen/appengine1_beta5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appengine v1.0.2+20161208 +site_name: appengine v1.0.3+20161208 site_url: http://byron.github.io/google-apis-rs/google-appengine1_beta5-cli site_description: A complete library to interact with appengine (protocol v1beta5) diff --git a/gen/appengine1_beta5-cli/src/main.rs b/gen/appengine1_beta5-cli/src/main.rs index 0d44b2395a..e8a47a6ea4 100644 --- a/gen/appengine1_beta5-cli/src/main.rs +++ b/gen/appengine1_beta5-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1594,10 +1595,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "appengine1-beta5", @@ -1607,10 +1608,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2267,7 +2268,7 @@ fn main() { let mut app = App::new("appengine1-beta5") .author("Sebastian Thiel ") - .version("1.0.2+20161208") + .version("1.0.3+20161208") .about("Provisions and manages App Engine applications.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appengine1_beta5_cli") .arg(Arg::with_name("url") diff --git a/gen/appengine1_beta5/Cargo.toml b/gen/appengine1_beta5/Cargo.toml index b3710756d2..90a07dd668 100644 --- a/gen/appengine1_beta5/Cargo.toml +++ b/gen/appengine1_beta5/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-appengine1_beta5" -version = "1.0.2+20161208" +version = "1.0.3+20161208" authors = ["Sebastian Thiel "] description = "A complete library to interact with appengine (protocol v1beta5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appengine1_beta5" homepage = "https://cloud.google.com/appengine/docs/admin-api/" -documentation = "https://docs.rs/google-appengine1_beta5/1.0.2+20161208" +documentation = "https://docs.rs/google-appengine1_beta5/1.0.3+20161208" license = "MIT" keywords = ["appengine", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/appengine1_beta5/README.md b/gen/appengine1_beta5/README.md index 1e131347d4..0c09f9c585 100644 --- a/gen/appengine1_beta5/README.md +++ b/gen/appengine1_beta5/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appengine1_beta5` library allows access to all features of the *Google appengine* service. -This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *appengine* *v1_beta5* API can be found at the [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.Appengine.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.Appengine.html) ... * apps - * [*create*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppPatchCall.html), [*services delete*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.AppServiceVersionPatchCall.html) + * [*create*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppCreateCall.html), [*get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppGetCall.html), [*locations get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppLocationGetCall.html), [*locations list*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppLocationListCall.html), [*operations get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppOperationGetCall.html), [*operations list*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppOperationListCall.html), [*patch*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppPatchCall.html), [*services delete*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceDeleteCall.html), [*services get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceGetCall.html), [*services list*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceListCall.html), [*services patch*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServicePatchCall.html), [*services versions create*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionCreateCall.html), [*services versions delete*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionDeleteCall.html), [*services versions get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionGetCall.html), [*services versions instances debug*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceDebugCall.html), [*services versions instances delete*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceDeleteCall.html), [*services versions instances get*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceGetCall.html), [*services versions instances list*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionInstanceListCall.html), [*services versions list*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionListCall.html) and [*services versions patch*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.AppServiceVersionPatchCall.html) @@ -23,17 +23,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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/struct.Appengine.html)** +* **[Hub](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/struct.Appengine.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Part.html)** + * **[Parts](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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")`. @@ -150,29 +150,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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/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-appengine1_beta5/1.0.2+20161208/google_appengine1_beta5/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appengine1_beta5/1.0.3+20161208/google_appengine1_beta5/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appengine1_beta5/src/cmn.rs b/gen/appengine1_beta5/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/appengine1_beta5/src/cmn.rs +++ b/gen/appengine1_beta5/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/appengine1_beta5/src/lib.rs b/gen/appengine1_beta5/src/lib.rs index 7b127f05ce..7c357371a8 100644 --- a/gen/appengine1_beta5/src/lib.rs +++ b/gen/appengine1_beta5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appengine* crate version *1.0.2+20161208*, where *20161208* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *appengine* crate version *1.0.3+20161208*, where *20161208* is the exact revision of the *appengine:v1beta5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *appengine* *v1_beta5* API can be found at the //! [official documentation site](https://cloud.google.com/appengine/docs/admin-api/). diff --git a/gen/appengine1_beta5/src/lib.rs.in b/gen/appengine1_beta5/src/lib.rs.in index de5d76ab9f..c57eef858a 100644 --- a/gen/appengine1_beta5/src/lib.rs.in +++ b/gen/appengine1_beta5/src/lib.rs.in @@ -145,7 +145,7 @@ impl<'a, C, A> Appengine Appengine { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -154,7 +154,7 @@ impl<'a, C, A> Appengine } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appsactivity1-cli/Cargo.toml b/gen/appsactivity1-cli/Cargo.toml index da65a8cce3..707b53ed88 100644 --- a/gen/appsactivity1-cli/Cargo.toml +++ b/gen/appsactivity1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appsactivity1-cli" -version = "1.0.2+20161202" +version = "1.0.3+20161202" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appsactivity1-cli" @@ -17,14 +17,15 @@ keywords = ["appsactivity", "google", "cli"] name = "appsactivity1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-appsactivity1] path = "../appsactivity1" -version = "1.0.2+20161202" +version = "1.0.3+20161202" optional = true default-features = false diff --git a/gen/appsactivity1-cli/README.md b/gen/appsactivity1-cli/README.md index 197c5e19e0..5456d456be 100644 --- a/gen/appsactivity1-cli/README.md +++ b/gen/appsactivity1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *appsactivity* API at revision *20161202*. The CLI is at version *1.0.2*. +This documentation was generated from the *appsactivity* API at revision *20161202*. The CLI is at version *1.0.3*. ```bash appsactivity1 [options] diff --git a/gen/appsactivity1-cli/mkdocs.yml b/gen/appsactivity1-cli/mkdocs.yml index 6a6dd016db..8cca831e95 100644 --- a/gen/appsactivity1-cli/mkdocs.yml +++ b/gen/appsactivity1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: appsactivity v1.0.2+20161202 +site_name: appsactivity v1.0.3+20161202 site_url: http://byron.github.io/google-apis-rs/google-appsactivity1-cli site_description: A complete library to interact with appsactivity (protocol v1) diff --git a/gen/appsactivity1-cli/src/main.rs b/gen/appsactivity1-cli/src/main.rs index 020a05c976..550505e27e 100644 --- a/gen/appsactivity1-cli/src/main.rs +++ b/gen/appsactivity1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -169,10 +170,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "appsactivity1", @@ -182,10 +183,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -240,7 +241,7 @@ fn main() { let mut app = App::new("appsactivity1") .author("Sebastian Thiel ") - .version("1.0.2+20161202") + .version("1.0.3+20161202") .about("Provides a historical view of activity.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appsactivity1_cli") .arg(Arg::with_name("url") diff --git a/gen/appsactivity1/Cargo.toml b/gen/appsactivity1/Cargo.toml index 770fd92ad4..3673c96d22 100644 --- a/gen/appsactivity1/Cargo.toml +++ b/gen/appsactivity1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-appsactivity1" -version = "1.0.2+20161202" +version = "1.0.3+20161202" authors = ["Sebastian Thiel "] description = "A complete library to interact with appsactivity (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appsactivity1" homepage = "https://developers.google.com/google-apps/activity/" -documentation = "https://docs.rs/google-appsactivity1/1.0.2+20161202" +documentation = "https://docs.rs/google-appsactivity1/1.0.3+20161202" license = "MIT" keywords = ["appsactivity", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/appsactivity1/README.md b/gen/appsactivity1/README.md index 6b5987c526..105ae7bd19 100644 --- a/gen/appsactivity1/README.md +++ b/gen/appsactivity1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appsactivity1` library allows access to all features of the *Google appsactivity* service. -This documentation was generated from *appsactivity* crate version *1.0.2+20161202*, where *20161202* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *appsactivity* crate version *1.0.3+20161202*, where *20161202* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *appsactivity* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/activity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/struct.Appsactivity.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/struct.Appsactivity.html) ... -* [activities](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/struct.Activity.html) - * [*list*](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/struct.ActivityListCall.html) +* [activities](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/struct.Activity.html) + * [*list*](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/struct.ActivityListCall.html) @@ -23,17 +23,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-appsactivity1/1.0.2+20161202/google_appsactivity1/struct.Appsactivity.html)** +* **[Hub](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/struct.Appsactivity.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -122,17 +122,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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")`. @@ -142,29 +142,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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/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-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appsactivity1/1.0.2+20161202/google_appsactivity1/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-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/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-appsactivity1/1.0.2+20161202/google_appsactivity1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appsactivity1/1.0.3+20161202/google_appsactivity1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appsactivity1/src/cmn.rs b/gen/appsactivity1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/appsactivity1/src/cmn.rs +++ b/gen/appsactivity1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/appsactivity1/src/lib.rs b/gen/appsactivity1/src/lib.rs index 135128ee18..9ed722b796 100644 --- a/gen/appsactivity1/src/lib.rs +++ b/gen/appsactivity1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *appsactivity* crate version *1.0.2+20161202*, where *20161202* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *appsactivity* crate version *1.0.3+20161202*, where *20161202* is the exact revision of the *appsactivity:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *appsactivity* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/activity/). diff --git a/gen/appsactivity1/src/lib.rs.in b/gen/appsactivity1/src/lib.rs.in index 14c302cf9c..9a16ad985d 100644 --- a/gen/appsactivity1/src/lib.rs.in +++ b/gen/appsactivity1/src/lib.rs.in @@ -154,7 +154,7 @@ impl<'a, C, A> Appsactivity Appsactivity { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -163,7 +163,7 @@ impl<'a, C, A> Appsactivity } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/appstate1-cli/Cargo.toml b/gen/appstate1-cli/Cargo.toml index 84c8053d36..7b5236222a 100644 --- a/gen/appstate1-cli/Cargo.toml +++ b/gen/appstate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-appstate1-cli" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appstate1-cli" @@ -17,14 +17,15 @@ keywords = ["appstate", "google", "cli"] name = "appstate1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-appstate1] path = "../appstate1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" optional = true default-features = false diff --git a/gen/appstate1-cli/README.md b/gen/appstate1-cli/README.md index c3558c9917..0917aa293d 100644 --- a/gen/appstate1-cli/README.md +++ b/gen/appstate1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *App State* API at revision *20161207*. The CLI is at version *1.0.2*. +This documentation was generated from the *App State* API at revision *20161207*. The CLI is at version *1.0.3*. ```bash appstate1 [options] diff --git a/gen/appstate1-cli/mkdocs.yml b/gen/appstate1-cli/mkdocs.yml index 2300e65d1a..be6104d473 100644 --- a/gen/appstate1-cli/mkdocs.yml +++ b/gen/appstate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: App State v1.0.2+20161207 +site_name: App State v1.0.3+20161207 site_url: http://byron.github.io/google-apis-rs/google-appstate1-cli site_description: A complete library to interact with App State (protocol v1) diff --git a/gen/appstate1-cli/src/main.rs b/gen/appstate1-cli/src/main.rs index 53268abc2b..ecf15e5350 100644 --- a/gen/appstate1-cli/src/main.rs +++ b/gen/appstate1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -409,10 +410,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "appstate1", @@ -422,10 +423,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -568,7 +569,7 @@ fn main() { let mut app = App::new("appstate1") .author("Sebastian Thiel ") - .version("1.0.2+20161207") + .version("1.0.3+20161207") .about("The Google App State API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_appstate1_cli") .arg(Arg::with_name("url") diff --git a/gen/appstate1/Cargo.toml b/gen/appstate1/Cargo.toml index a7912d419f..f430c7f8e5 100644 --- a/gen/appstate1/Cargo.toml +++ b/gen/appstate1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-appstate1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with App State (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/appstate1" homepage = "https://developers.google.com/games/services/web/api/states" -documentation = "https://docs.rs/google-appstate1/1.0.2+20161207" +documentation = "https://docs.rs/google-appstate1/1.0.3+20161207" license = "MIT" keywords = ["appstate", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/appstate1/README.md b/gen/appstate1/README.md index 2e3b28988f..b9b7fa8e5f 100644 --- a/gen/appstate1/README.md +++ b/gen/appstate1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-appstate1` library allows access to all features of the *Google App State* service. -This documentation was generated from *App State* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *App State* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *App State* *v1* API can be found at the [official documentation site](https://developers.google.com/games/services/web/api/states). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.AppState.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.AppState.html) ... * states - * [*clear*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.StateClearCall.html), [*delete*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.StateDeleteCall.html), [*get*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.StateGetCall.html), [*list*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.StateListCall.html) and [*update*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/struct.StateUpdateCall.html) + * [*clear*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.StateClearCall.html), [*delete*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.StateDeleteCall.html), [*get*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.StateGetCall.html), [*list*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.StateListCall.html) and [*update*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.StateUpdateCall.html) @@ -23,17 +23,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-appstate1/1.0.2+20161207/google_appstate1/struct.AppState.html)** +* **[Hub](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/struct.AppState.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/trait.Part.html)** + * **[Parts](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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 +143,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-appstate1/1.0.2+20161207/google_appstate1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/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-appstate1/1.0.3+20161207/google_appstate1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-appstate1/1.0.2+20161207/google_appstate1/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-appstate1/1.0.3+20161207/google_appstate1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/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-appstate1/1.0.2+20161207/google_appstate1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-appstate1/1.0.3+20161207/google_appstate1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/appstate1/src/cmn.rs b/gen/appstate1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/appstate1/src/cmn.rs +++ b/gen/appstate1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/appstate1/src/lib.rs b/gen/appstate1/src/lib.rs index 6414373da9..264dcee550 100644 --- a/gen/appstate1/src/lib.rs +++ b/gen/appstate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *App State* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *App State* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *appstate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *App State* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/web/api/states). diff --git a/gen/appstate1/src/lib.rs.in b/gen/appstate1/src/lib.rs.in index 6fda1eb054..58d4efb8bd 100644 --- a/gen/appstate1/src/lib.rs.in +++ b/gen/appstate1/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> AppState AppState { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -147,7 +147,7 @@ impl<'a, C, A> AppState } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/autoscaler1_beta2-cli/Cargo.toml b/gen/autoscaler1_beta2-cli/Cargo.toml index b627156916..63c2d32074 100644 --- a/gen/autoscaler1_beta2-cli/Cargo.toml +++ b/gen/autoscaler1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-autoscaler1_beta2-cli" -version = "1.0.2+20150629" +version = "1.0.3+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/autoscaler1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["autoscaler", "google", "cli"] name = "autoscaler1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-autoscaler1_beta2] path = "../autoscaler1_beta2" -version = "1.0.2+20150629" +version = "1.0.3+20150629" optional = true default-features = false diff --git a/gen/autoscaler1_beta2-cli/README.md b/gen/autoscaler1_beta2-cli/README.md index c26ab5203a..67d160ba2e 100644 --- a/gen/autoscaler1_beta2-cli/README.md +++ b/gen/autoscaler1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *1.0.2*. +This documentation was generated from the *autoscaler* API at revision *20150629*. The CLI is at version *1.0.3*. ```bash autoscaler1-beta2 [options] diff --git a/gen/autoscaler1_beta2-cli/mkdocs.yml b/gen/autoscaler1_beta2-cli/mkdocs.yml index 67668a0208..659ee8e306 100644 --- a/gen/autoscaler1_beta2-cli/mkdocs.yml +++ b/gen/autoscaler1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: autoscaler v1.0.2+20150629 +site_name: autoscaler v1.0.3+20150629 site_url: http://byron.github.io/google-apis-rs/google-autoscaler1_beta2-cli site_description: A complete library to interact with autoscaler (protocol v1beta2) diff --git a/gen/autoscaler1_beta2-cli/src/main.rs b/gen/autoscaler1_beta2-cli/src/main.rs index 0a0b9ce0d4..08e98bf9a9 100644 --- a/gen/autoscaler1_beta2-cli/src/main.rs +++ b/gen/autoscaler1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -812,10 +813,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "autoscaler1-beta2", @@ -825,10 +826,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1195,7 +1196,7 @@ fn main() { let mut app = App::new("autoscaler1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20150629") + .version("1.0.3+20150629") .about("The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_autoscaler1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/autoscaler1_beta2/Cargo.toml b/gen/autoscaler1_beta2/Cargo.toml index 7b2676e740..cd82ad10b0 100644 --- a/gen/autoscaler1_beta2/Cargo.toml +++ b/gen/autoscaler1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-autoscaler1_beta2" -version = "1.0.2+20150629" +version = "1.0.3+20150629" authors = ["Sebastian Thiel "] description = "A complete library to interact with autoscaler (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/autoscaler1_beta2" homepage = "http://developers.google.com/compute/docs/autoscaler" -documentation = "https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629" +documentation = "https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629" license = "MIT" keywords = ["autoscaler", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/autoscaler1_beta2/README.md b/gen/autoscaler1_beta2/README.md index b4d33a1dbf..310660bca9 100644 --- a/gen/autoscaler1_beta2/README.md +++ b/gen/autoscaler1_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-autoscaler1_beta2` library allows access to all features of the *Google autoscaler* service. -This documentation was generated from *autoscaler* crate version *1.0.2+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *autoscaler* crate version *1.0.3+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *autoscaler* *v1_beta2* API can be found at the [official documentation site](http://developers.google.com/compute/docs/autoscaler). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html) ... -* [autoscalers](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.Autoscaler.html) - * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerUpdateCall.html) +* [autoscalers](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.Autoscaler.html) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerGetCall.html), [*insert*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerInsertCall.html), [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerListCall.html), [*patch*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerPatchCall.html) and [*update*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerUpdateCall.html) * zone operations - * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.ZoneOperationListCall.html) -* [zones](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.Zone.html) - * [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.ZoneListCall.html) + * [*delete*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.ZoneOperationDeleteCall.html), [*get*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.ZoneOperationListCall.html) +* [zones](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.Zone.html) + * [*list*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.ZoneListCall.html) @@ -27,17 +27,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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html)** +* **[Hub](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/struct.AutoscalerHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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 +147,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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/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-autoscaler1_beta2/1.0.2+20150629/google_autoscaler1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-autoscaler1_beta2/1.0.3+20150629/google_autoscaler1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/autoscaler1_beta2/src/cmn.rs b/gen/autoscaler1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/autoscaler1_beta2/src/cmn.rs +++ b/gen/autoscaler1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/autoscaler1_beta2/src/lib.rs b/gen/autoscaler1_beta2/src/lib.rs index b77bfcd74c..d24dc452f2 100644 --- a/gen/autoscaler1_beta2/src/lib.rs +++ b/gen/autoscaler1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *autoscaler* crate version *1.0.2+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *autoscaler* crate version *1.0.3+20150629*, where *20150629* is the exact revision of the *autoscaler:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *autoscaler* *v1_beta2* API can be found at the //! [official documentation site](http://developers.google.com/compute/docs/autoscaler). diff --git a/gen/autoscaler1_beta2/src/lib.rs.in b/gen/autoscaler1_beta2/src/lib.rs.in index a7ae24780a..e717de28b9 100644 --- a/gen/autoscaler1_beta2/src/lib.rs.in +++ b/gen/autoscaler1_beta2/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> AutoscalerHub AutoscalerHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -153,7 +153,7 @@ impl<'a, C, A> AutoscalerHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/bigquery2-cli/Cargo.toml b/gen/bigquery2-cli/Cargo.toml index 1ec4430396..41c6906fa7 100644 --- a/gen/bigquery2-cli/Cargo.toml +++ b/gen/bigquery2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-bigquery2-cli" -version = "1.0.2+20161130" +version = "1.0.3+20161130" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquery2-cli" @@ -17,14 +17,15 @@ keywords = ["bigquery", "google", "cli"] name = "bigquery2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-bigquery2] path = "../bigquery2" -version = "1.0.2+20161130" +version = "1.0.3+20161130" optional = true default-features = false diff --git a/gen/bigquery2-cli/README.md b/gen/bigquery2-cli/README.md index 8e16777513..9844255ba8 100644 --- a/gen/bigquery2-cli/README.md +++ b/gen/bigquery2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *bigquery* API at revision *20161130*. The CLI is at version *1.0.2*. +This documentation was generated from the *bigquery* API at revision *20161130*. The CLI is at version *1.0.3*. ```bash bigquery2 [options] diff --git a/gen/bigquery2-cli/mkdocs.yml b/gen/bigquery2-cli/mkdocs.yml index 013966ca76..49a9294d45 100644 --- a/gen/bigquery2-cli/mkdocs.yml +++ b/gen/bigquery2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: bigquery v1.0.2+20161130 +site_name: bigquery v1.0.3+20161130 site_url: http://byron.github.io/google-apis-rs/google-bigquery2-cli site_description: A complete library to interact with bigquery (protocol v2) diff --git a/gen/bigquery2-cli/src/main.rs b/gen/bigquery2-cli/src/main.rs index 4ae7c3caaa..2d93b23c0f 100644 --- a/gen/bigquery2-cli/src/main.rs +++ b/gen/bigquery2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1884,10 +1885,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "bigquery2", @@ -1897,10 +1898,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2582,7 +2583,7 @@ fn main() { let mut app = App::new("bigquery2") .author("Sebastian Thiel ") - .version("1.0.2+20161130") + .version("1.0.3+20161130") .about("A data platform for customers to create, manage, share and query data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_bigquery2_cli") .arg(Arg::with_name("url") diff --git a/gen/bigquery2/Cargo.toml b/gen/bigquery2/Cargo.toml index 9afd2ec322..97d99286cc 100644 --- a/gen/bigquery2/Cargo.toml +++ b/gen/bigquery2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-bigquery2" -version = "1.0.2+20161130" +version = "1.0.3+20161130" authors = ["Sebastian Thiel "] description = "A complete library to interact with bigquery (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/bigquery2" homepage = "https://cloud.google.com/bigquery/" -documentation = "https://docs.rs/google-bigquery2/1.0.2+20161130" +documentation = "https://docs.rs/google-bigquery2/1.0.3+20161130" license = "MIT" keywords = ["bigquery", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/bigquery2/README.md b/gen/bigquery2/README.md index 01a689ee51..e00d64070d 100644 --- a/gen/bigquery2/README.md +++ b/gen/bigquery2/README.md @@ -5,29 +5,29 @@ DO NOT EDIT ! --> The `google-bigquery2` library allows access to all features of the *Google bigquery* service. -This documentation was generated from *bigquery* crate version *1.0.2+20161130*, where *20161130* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *bigquery* crate version *1.0.3+20161130*, where *20161130* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *bigquery* *v2* API can be found at the [official documentation site](https://cloud.google.com/bigquery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.Bigquery.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.Bigquery.html) ... -* [datasets](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.Dataset.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetPatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.DatasetUpdateCall.html) -* [jobs](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.Job.html) - * [*cancel*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobCancelCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobGetCall.html), [*get query results*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobGetQueryResultCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobListCall.html) and [*query*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobQueryCall.html) +* [datasets](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.Dataset.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetPatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.DatasetUpdateCall.html) +* [jobs](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.Job.html) + * [*cancel*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobCancelCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobGetCall.html), [*get query results*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobGetQueryResultCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobListCall.html) and [*query*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobQueryCall.html) * projects - * [*list*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.ProjectListCall.html) + * [*list*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.ProjectListCall.html) * tabledata - * [*insert all*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TabledataInsertAllCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TabledataListCall.html) -* [tables](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.Table.html) - * [*delete*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TableGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TableListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TablePatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.TableUpdateCall.html) + * [*insert all*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TabledataInsertAllCall.html) and [*list*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TabledataListCall.html) +* [tables](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.Table.html) + * [*delete*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TableGetCall.html), [*insert*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TableListCall.html), [*patch*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TablePatchCall.html) and [*update*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.TableUpdateCall.html) Upload supported by ... -* [*insert jobs*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.JobInsertCall.html) +* [*insert jobs*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.JobInsertCall.html) @@ -35,17 +35,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/struct.Bigquery.html)** +* **[Hub](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/struct.Bigquery.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/trait.Part.html)** + * **[Parts](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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")`. @@ -158,29 +158,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-bigquery2/1.0.2+20161130/google_bigquery2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/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-bigquery2/1.0.3+20161130/google_bigquery2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-bigquery2/1.0.2+20161130/google_bigquery2/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-bigquery2/1.0.3+20161130/google_bigquery2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/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-bigquery2/1.0.2+20161130/google_bigquery2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-bigquery2/1.0.3+20161130/google_bigquery2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/bigquery2/src/cmn.rs b/gen/bigquery2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/bigquery2/src/cmn.rs +++ b/gen/bigquery2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/bigquery2/src/lib.rs b/gen/bigquery2/src/lib.rs index d042cfefc2..95f9d70090 100644 --- a/gen/bigquery2/src/lib.rs +++ b/gen/bigquery2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *bigquery* crate version *1.0.2+20161130*, where *20161130* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *bigquery* crate version *1.0.3+20161130*, where *20161130* is the exact revision of the *bigquery:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *bigquery* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/bigquery/). diff --git a/gen/bigquery2/src/lib.rs.in b/gen/bigquery2/src/lib.rs.in index a5dc2b70ce..c86ac07b2a 100644 --- a/gen/bigquery2/src/lib.rs.in +++ b/gen/bigquery2/src/lib.rs.in @@ -161,7 +161,7 @@ impl<'a, C, A> Bigquery Bigquery { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -182,7 +182,7 @@ impl<'a, C, A> Bigquery } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/blogger3-cli/Cargo.toml b/gen/blogger3-cli/Cargo.toml index 675bff339e..7fdb6b7335 100644 --- a/gen/blogger3-cli/Cargo.toml +++ b/gen/blogger3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-blogger3-cli" -version = "1.0.2+20150422" +version = "1.0.3+20150422" authors = ["Sebastian Thiel "] description = "A complete library to interact with blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/blogger3-cli" @@ -17,14 +17,15 @@ keywords = ["blogger", "google", "cli"] name = "blogger3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-blogger3] path = "../blogger3" -version = "1.0.2+20150422" +version = "1.0.3+20150422" optional = true default-features = false diff --git a/gen/blogger3-cli/README.md b/gen/blogger3-cli/README.md index 795a8f9c8a..63d3ccf298 100644 --- a/gen/blogger3-cli/README.md +++ b/gen/blogger3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *blogger* API at revision *20150422*. The CLI is at version *1.0.2*. +This documentation was generated from the *blogger* API at revision *20150422*. The CLI is at version *1.0.3*. ```bash blogger3 [options] diff --git a/gen/blogger3-cli/mkdocs.yml b/gen/blogger3-cli/mkdocs.yml index e9985311c7..451a373e5f 100644 --- a/gen/blogger3-cli/mkdocs.yml +++ b/gen/blogger3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: blogger v1.0.2+20150422 +site_name: blogger v1.0.3+20150422 site_url: http://byron.github.io/google-apis-rs/google-blogger3-cli site_description: A complete library to interact with blogger (protocol v3) diff --git a/gen/blogger3-cli/src/main.rs b/gen/blogger3-cli/src/main.rs index f8df06954a..12f69ef730 100644 --- a/gen/blogger3-cli/src/main.rs +++ b/gen/blogger3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -2502,10 +2503,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "blogger3", @@ -2515,10 +2516,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -3496,7 +3497,7 @@ fn main() { let mut app = App::new("blogger3") .author("Sebastian Thiel ") - .version("1.0.2+20150422") + .version("1.0.3+20150422") .about("API for access to the data within Blogger.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_blogger3_cli") .arg(Arg::with_name("url") diff --git a/gen/blogger3/Cargo.toml b/gen/blogger3/Cargo.toml index 549f430540..8c8fe4586b 100644 --- a/gen/blogger3/Cargo.toml +++ b/gen/blogger3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-blogger3" -version = "1.0.2+20150422" +version = "1.0.3+20150422" authors = ["Sebastian Thiel "] description = "A complete library to interact with blogger (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/blogger3" homepage = "https://developers.google.com/blogger/docs/3.0/getting_started" -documentation = "https://docs.rs/google-blogger3/1.0.2+20150422" +documentation = "https://docs.rs/google-blogger3/1.0.3+20150422" license = "MIT" keywords = ["blogger", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/blogger3/README.md b/gen/blogger3/README.md index 79fda2c8f9..960ec060b8 100644 --- a/gen/blogger3/README.md +++ b/gen/blogger3/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-blogger3` library allows access to all features of the *Google blogger* service. -This documentation was generated from *blogger* crate version *1.0.2+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *blogger* crate version *1.0.3+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *blogger* *v3* API can be found at the [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.Blogger.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Blogger.html) ... -* [blog user infos](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.BlogUserInfo.html) - * [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.BlogUserInfoGetCall.html) -* [blogs](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.Blog.html) - * [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.BlogGetCall.html), [*get by url*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.BlogGetByUrlCall.html) and [*list by user*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.BlogListByUserCall.html) -* [comments](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.Comment.html) - * [*approve*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentApproveCall.html), [*delete*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentListCall.html), [*list by blog*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentListByBlogCall.html), [*mark as spam*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentMarkAsSpamCall.html) and [*remove content*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.CommentRemoveContentCall.html) +* [blog user infos](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.BlogUserInfo.html) + * [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.BlogUserInfoGetCall.html) +* [blogs](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Blog.html) + * [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.BlogGetCall.html), [*get by url*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.BlogGetByUrlCall.html) and [*list by user*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.BlogListByUserCall.html) +* [comments](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Comment.html) + * [*approve*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentApproveCall.html), [*delete*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentListCall.html), [*list by blog*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentListByBlogCall.html), [*mark as spam*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentMarkAsSpamCall.html) and [*remove content*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.CommentRemoveContentCall.html) * page views - * [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageViewGetCall.html) -* [pages](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.Page.html) - * [*delete*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageGetCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PagePatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PagePublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageRevertCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PageUpdateCall.html) -* [post user infos](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostUserInfo.html) - * [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostUserInfoGetCall.html) and [*list*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostUserInfoListCall.html) -* [posts](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.Post.html) - * [*delete*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostGetCall.html), [*get by path*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostGetByPathCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostPatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostPublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostRevertCall.html), [*search*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostSearchCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.PostUpdateCall.html) -* [users](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.User.html) - * [*get*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/struct.UserGetCall.html) + * [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageViewGetCall.html) +* [pages](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Page.html) + * [*delete*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageGetCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PagePatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PagePublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageRevertCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PageUpdateCall.html) +* [post user infos](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostUserInfo.html) + * [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostUserInfoGetCall.html) and [*list*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostUserInfoListCall.html) +* [posts](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Post.html) + * [*delete*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostDeleteCall.html), [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostGetCall.html), [*get by path*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostGetByPathCall.html), [*insert*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostInsertCall.html), [*list*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostListCall.html), [*patch*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostPatchCall.html), [*publish*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostPublishCall.html), [*revert*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostRevertCall.html), [*search*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostSearchCall.html) and [*update*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.PostUpdateCall.html) +* [users](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.User.html) + * [*get*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.UserGetCall.html) @@ -37,17 +37,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-blogger3/1.0.2+20150422/google_blogger3/struct.Blogger.html)** +* **[Hub](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/struct.Blogger.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/trait.Part.html)** + * **[Parts](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -148,17 +148,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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")`. @@ -168,29 +168,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-blogger3/1.0.2+20150422/google_blogger3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/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-blogger3/1.0.3+20150422/google_blogger3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-blogger3/1.0.2+20150422/google_blogger3/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-blogger3/1.0.3+20150422/google_blogger3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/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-blogger3/1.0.2+20150422/google_blogger3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-blogger3/1.0.3+20150422/google_blogger3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/blogger3/src/cmn.rs b/gen/blogger3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/blogger3/src/cmn.rs +++ b/gen/blogger3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/blogger3/src/lib.rs b/gen/blogger3/src/lib.rs index 297e6699a4..65e06007d7 100644 --- a/gen/blogger3/src/lib.rs +++ b/gen/blogger3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *blogger* crate version *1.0.2+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *blogger* crate version *1.0.3+20150422*, where *20150422* is the exact revision of the *blogger:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *blogger* *v3* API can be found at the //! [official documentation site](https://developers.google.com/blogger/docs/3.0/getting_started). diff --git a/gen/blogger3/src/lib.rs.in b/gen/blogger3/src/lib.rs.in index 5f6770f957..c6e35a81ec 100644 --- a/gen/blogger3/src/lib.rs.in +++ b/gen/blogger3/src/lib.rs.in @@ -145,7 +145,7 @@ impl<'a, C, A> Blogger Blogger { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -175,7 +175,7 @@ impl<'a, C, A> Blogger } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/books1-cli/Cargo.toml b/gen/books1-cli/Cargo.toml index 5010b58614..696a9ef3f1 100644 --- a/gen/books1-cli/Cargo.toml +++ b/gen/books1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-books1-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/books1-cli" @@ -17,14 +17,15 @@ keywords = ["books", "google", "cli"] name = "books1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-books1] path = "../books1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/books1-cli/README.md b/gen/books1-cli/README.md index 7d555b82c7..0a67b9d970 100644 --- a/gen/books1-cli/README.md +++ b/gen/books1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *books* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *books* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash books1 [options] diff --git a/gen/books1-cli/mkdocs.yml b/gen/books1-cli/mkdocs.yml index c31c475593..01498eb258 100644 --- a/gen/books1-cli/mkdocs.yml +++ b/gen/books1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: books v1.0.2+20161206 +site_name: books v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-books1-cli site_description: A complete library to interact with books (protocol v1) diff --git a/gen/books1-cli/src/main.rs b/gen/books1-cli/src/main.rs index cc6337ca69..4df0f5eea5 100644 --- a/gen/books1-cli/src/main.rs +++ b/gen/books1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3527,10 +3528,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "books1", @@ -3540,10 +3541,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4701,7 +4702,7 @@ fn main() { let mut app = App::new("books1") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Searches for books and manages your Google Books library.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_books1_cli") .arg(Arg::with_name("url") diff --git a/gen/books1/Cargo.toml b/gen/books1/Cargo.toml index 85dfca0729..ce7b931b61 100644 --- a/gen/books1/Cargo.toml +++ b/gen/books1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-books1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with books (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/books1" homepage = "https://developers.google.com/books/docs/v1/getting_started" -documentation = "https://docs.rs/google-books1/1.0.2+20161206" +documentation = "https://docs.rs/google-books1/1.0.3+20161206" license = "MIT" keywords = ["books", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/books1/README.md b/gen/books1/README.md index 016b306baf..bd3faec991 100644 --- a/gen/books1/README.md +++ b/gen/books1/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-books1` library allows access to all features of the *Google books* service. -This documentation was generated from *books* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *books* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *books* *v1* API can be found at the [official documentation site](https://developers.google.com/books/docs/v1/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.Books.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.Books.html) ... * bookshelves - * [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.BookshelveGetCall.html), [*list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.BookshelveListCall.html) and [*volumes list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.BookshelveVolumeListCall.html) + * [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.BookshelveGetCall.html), [*list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.BookshelveListCall.html) and [*volumes list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.BookshelveVolumeListCall.html) * cloudloading - * [*add book*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.CloudloadingAddBookCall.html), [*delete book*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.CloudloadingDeleteBookCall.html) and [*update book*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.CloudloadingUpdateBookCall.html) + * [*add book*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.CloudloadingAddBookCall.html), [*delete book*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.CloudloadingDeleteBookCall.html) and [*update book*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.CloudloadingUpdateBookCall.html) * dictionary - * [*list offline metadata*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.DictionaryListOfflineMetadataCall.html) + * [*list offline metadata*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.DictionaryListOfflineMetadataCall.html) * layers - * [*annotation data get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerAnnotationDataGetCall.html), [*annotation data list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerAnnotationDataListCall.html), [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerGetCall.html), [*list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerListCall.html), [*volume annotations get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerVolumeAnnotationGetCall.html) and [*volume annotations list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.LayerVolumeAnnotationListCall.html) + * [*annotation data get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerAnnotationDataGetCall.html), [*annotation data list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerAnnotationDataListCall.html), [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerGetCall.html), [*list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerListCall.html), [*volume annotations get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerVolumeAnnotationGetCall.html) and [*volume annotations list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.LayerVolumeAnnotationListCall.html) * myconfig - * [*get user settings*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MyconfigGetUserSettingCall.html), [*release download access*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MyconfigReleaseDownloadAccesCall.html), [*request access*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MyconfigRequestAccesCall.html), [*sync volume licenses*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MyconfigSyncVolumeLicenseCall.html) and [*update user settings*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MyconfigUpdateUserSettingCall.html) + * [*get user settings*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MyconfigGetUserSettingCall.html), [*release download access*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MyconfigReleaseDownloadAccesCall.html), [*request access*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MyconfigRequestAccesCall.html), [*sync volume licenses*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MyconfigSyncVolumeLicenseCall.html) and [*update user settings*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MyconfigUpdateUserSettingCall.html) * mylibrary - * [*annotations delete*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryAnnotationDeleteCall.html), [*annotations insert*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryAnnotationInsertCall.html), [*annotations list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryAnnotationListCall.html), [*annotations summary*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryAnnotationSummaryCall.html), [*annotations update*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryAnnotationUpdateCall.html), [*bookshelves add volume*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveAddVolumeCall.html), [*bookshelves clear volumes*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveClearVolumeCall.html), [*bookshelves get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveGetCall.html), [*bookshelves list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveListCall.html), [*bookshelves move volume*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveMoveVolumeCall.html), [*bookshelves remove volume*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveRemoveVolumeCall.html), [*bookshelves volumes list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryBookshelveVolumeListCall.html), [*readingpositions get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryReadingpositionGetCall.html) and [*readingpositions set position*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.MylibraryReadingpositionSetPositionCall.html) -* [notification](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.Notification.html) - * [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.NotificationGetCall.html) + * [*annotations delete*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryAnnotationDeleteCall.html), [*annotations insert*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryAnnotationInsertCall.html), [*annotations list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryAnnotationListCall.html), [*annotations summary*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryAnnotationSummaryCall.html), [*annotations update*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryAnnotationUpdateCall.html), [*bookshelves add volume*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveAddVolumeCall.html), [*bookshelves clear volumes*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveClearVolumeCall.html), [*bookshelves get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveGetCall.html), [*bookshelves list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveListCall.html), [*bookshelves move volume*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveMoveVolumeCall.html), [*bookshelves remove volume*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveRemoveVolumeCall.html), [*bookshelves volumes list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryBookshelveVolumeListCall.html), [*readingpositions get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryReadingpositionGetCall.html) and [*readingpositions set position*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.MylibraryReadingpositionSetPositionCall.html) +* [notification](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.Notification.html) + * [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.NotificationGetCall.html) * onboarding - * [*list categories*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.OnboardingListCategoryCall.html) and [*list category volumes*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.OnboardingListCategoryVolumeCall.html) + * [*list categories*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.OnboardingListCategoryCall.html) and [*list category volumes*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.OnboardingListCategoryVolumeCall.html) * personalizedstream - * [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.PersonalizedstreamGetCall.html) + * [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.PersonalizedstreamGetCall.html) * promooffer - * [*accept*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.PromoofferAcceptCall.html), [*dismiss*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.PromoofferDismisCall.html) and [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.PromoofferGetCall.html) + * [*accept*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.PromoofferAcceptCall.html), [*dismiss*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.PromoofferDismisCall.html) and [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.PromoofferGetCall.html) * series - * [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.SeryGetCall.html) and [*membership get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.SeryMembershipGetCall.html) -* [volumes](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.Volume.html) - * [*associated list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeAssociatedListCall.html), [*get*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeGetCall.html), [*list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeListCall.html), [*mybooks list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeMybookListCall.html), [*recommended list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeRecommendedListCall.html), [*recommended rate*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeRecommendedRateCall.html) and [*useruploaded list*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/struct.VolumeUseruploadedListCall.html) + * [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.SeryGetCall.html) and [*membership get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.SeryMembershipGetCall.html) +* [volumes](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.Volume.html) + * [*associated list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeAssociatedListCall.html), [*get*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeGetCall.html), [*list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeListCall.html), [*mybooks list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeMybookListCall.html), [*recommended list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeRecommendedListCall.html), [*recommended rate*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeRecommendedRateCall.html) and [*useruploaded list*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.VolumeUseruploadedListCall.html) @@ -45,17 +45,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-books1/1.0.2+20161206/google_books1/struct.Books.html)** +* **[Hub](https://docs.rs/google-books1/1.0.3+20161206/google_books1/struct.Books.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-books1/1.0.2+20161206/google_books1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-books1/1.0.2+20161206/google_books1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-books1/1.0.2+20161206/google_books1/trait.Part.html)** + * **[Parts](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-books1/1.0.2+20161206/google_books1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -157,17 +157,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/1.0.2+20161206/google_books1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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")`. @@ -177,29 +177,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-books1/1.0.2+20161206/google_books1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-books1/1.0.2+20161206/google_books1/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-books1/1.0.3+20161206/google_books1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-books1/1.0.2+20161206/google_books1/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-books1/1.0.3+20161206/google_books1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-books1/1.0.3+20161206/google_books1/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-books1/1.0.2+20161206/google_books1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-books1/1.0.3+20161206/google_books1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/books1/src/cmn.rs b/gen/books1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/books1/src/cmn.rs +++ b/gen/books1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/books1/src/lib.rs b/gen/books1/src/lib.rs index 87cd3b828a..1218aba14f 100644 --- a/gen/books1/src/lib.rs +++ b/gen/books1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *books* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *books* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *books:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *books* *v1* API can be found at the //! [official documentation site](https://developers.google.com/books/docs/v1/getting_started). diff --git a/gen/books1/src/lib.rs.in b/gen/books1/src/lib.rs.in index 9818b22057..a0eb205dab 100644 --- a/gen/books1/src/lib.rs.in +++ b/gen/books1/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> Books Books { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -186,7 +186,7 @@ impl<'a, C, A> Books } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/calendar3-cli/Cargo.toml b/gen/calendar3-cli/Cargo.toml index bb3feab831..c9fc348869 100644 --- a/gen/calendar3-cli/Cargo.toml +++ b/gen/calendar3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-calendar3-cli" -version = "1.0.2+20161211" +version = "1.0.3+20161211" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/calendar3-cli" @@ -17,14 +17,15 @@ keywords = ["calendar", "google", "cli"] name = "calendar3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-calendar3] path = "../calendar3" -version = "1.0.2+20161211" +version = "1.0.3+20161211" optional = true default-features = false diff --git a/gen/calendar3-cli/README.md b/gen/calendar3-cli/README.md index 9d0b051307..c2173452ce 100644 --- a/gen/calendar3-cli/README.md +++ b/gen/calendar3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *calendar* API at revision *20161211*. The CLI is at version *1.0.2*. +This documentation was generated from the *calendar* API at revision *20161211*. The CLI is at version *1.0.3*. ```bash calendar3 [options] diff --git a/gen/calendar3-cli/mkdocs.yml b/gen/calendar3-cli/mkdocs.yml index 4bf4822a99..ee700274bf 100644 --- a/gen/calendar3-cli/mkdocs.yml +++ b/gen/calendar3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: calendar v1.0.2+20161211 +site_name: calendar v1.0.3+20161211 site_url: http://byron.github.io/google-apis-rs/google-calendar3-cli site_description: A complete library to interact with calendar (protocol v3) diff --git a/gen/calendar3-cli/src/main.rs b/gen/calendar3-cli/src/main.rs index f71a19bfb4..caea5c544c 100644 --- a/gen/calendar3-cli/src/main.rs +++ b/gen/calendar3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3399,10 +3400,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "calendar3", @@ -3412,10 +3413,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4385,7 +4386,7 @@ fn main() { let mut app = App::new("calendar3") .author("Sebastian Thiel ") - .version("1.0.2+20161211") + .version("1.0.3+20161211") .about("Manipulates events and other calendar data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_calendar3_cli") .arg(Arg::with_name("url") diff --git a/gen/calendar3/Cargo.toml b/gen/calendar3/Cargo.toml index 1c7dc2f09b..ae0462f790 100644 --- a/gen/calendar3/Cargo.toml +++ b/gen/calendar3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-calendar3" -version = "1.0.2+20161211" +version = "1.0.3+20161211" authors = ["Sebastian Thiel "] description = "A complete library to interact with calendar (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/calendar3" homepage = "https://developers.google.com/google-apps/calendar/firstapp" -documentation = "https://docs.rs/google-calendar3/1.0.2+20161211" +documentation = "https://docs.rs/google-calendar3/1.0.3+20161211" license = "MIT" keywords = ["calendar", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/calendar3/README.md b/gen/calendar3/README.md index fcf4ec3979..740f39dea6 100644 --- a/gen/calendar3/README.md +++ b/gen/calendar3/README.md @@ -5,43 +5,43 @@ DO NOT EDIT ! --> The `google-calendar3` library allows access to all features of the *Google calendar* service. -This documentation was generated from *calendar* crate version *1.0.2+20161211*, where *20161211* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *calendar* crate version *1.0.3+20161211*, where *20161211* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *calendar* *v3* API can be found at the [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarHub.html) ... -* [acl](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.Acl.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclWatchCall.html) -* [calendar list](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarList.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListWatchCall.html) -* [calendars](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.Calendar.html) - * [*clear*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarClearCall.html), [*delete*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarInsertCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarPatchCall.html) and [*update*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarUpdateCall.html) -* [channels](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.Channel.html) - * [*stop*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.ChannelStopCall.html) +* [acl](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.Acl.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclWatchCall.html) +* [calendar list](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarList.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListInsertCall.html), [*list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListListCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListPatchCall.html), [*update*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListWatchCall.html) +* [calendars](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.Calendar.html) + * [*clear*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarClearCall.html), [*delete*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarGetCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarInsertCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarPatchCall.html) and [*update*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarUpdateCall.html) +* [channels](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.Channel.html) + * [*stop*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.ChannelStopCall.html) * colors - * [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.ColorGetCall.html) -* [events](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.Event.html) - * [*delete*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventGetCall.html), [*import*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventImportCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventInsertCall.html), [*instances*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventInstanceCall.html), [*list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventListCall.html), [*move*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventMoveCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventPatchCall.html), [*quick add*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventQuickAddCall.html), [*update*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventWatchCall.html) + * [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.ColorGetCall.html) +* [events](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.Event.html) + * [*delete*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventDeleteCall.html), [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventGetCall.html), [*import*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventImportCall.html), [*insert*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventInsertCall.html), [*instances*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventInstanceCall.html), [*list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventListCall.html), [*move*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventMoveCall.html), [*patch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventPatchCall.html), [*quick add*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventQuickAddCall.html), [*update*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventUpdateCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventWatchCall.html) * freebusy - * [*query*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.FreebusyQueryCall.html) -* [settings](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.Setting.html) - * [*get*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.SettingGetCall.html), [*list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.SettingListCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.SettingWatchCall.html) + * [*query*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.FreebusyQueryCall.html) +* [settings](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.Setting.html) + * [*get*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.SettingGetCall.html), [*list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.SettingListCall.html) and [*watch*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.SettingWatchCall.html) Subscription supported by ... -* [*list settings*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.SettingListCall.html) -* [*list events*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventListCall.html) -* [*list calendar list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListListCall.html) -* [*watch events*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventWatchCall.html) -* [*instances events*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.EventInstanceCall.html) -* [*watch settings*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.SettingWatchCall.html) -* [*watch acl*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclWatchCall.html) -* [*list acl*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.AclListCall.html) -* [*watch calendar list*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarListWatchCall.html) +* [*list settings*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.SettingListCall.html) +* [*list events*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventListCall.html) +* [*list calendar list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListListCall.html) +* [*watch events*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventWatchCall.html) +* [*instances events*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.EventInstanceCall.html) +* [*watch settings*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.SettingWatchCall.html) +* [*watch acl*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclWatchCall.html) +* [*list acl*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.AclListCall.html) +* [*watch calendar list*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarListWatchCall.html) @@ -49,17 +49,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/struct.CalendarHub.html)** +* **[Hub](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/struct.CalendarHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/trait.Part.html)** + * **[Parts](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -174,17 +174,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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")`. @@ -194,29 +194,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-calendar3/1.0.2+20161211/google_calendar3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/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-calendar3/1.0.3+20161211/google_calendar3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-calendar3/1.0.2+20161211/google_calendar3/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-calendar3/1.0.3+20161211/google_calendar3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/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-calendar3/1.0.2+20161211/google_calendar3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-calendar3/1.0.3+20161211/google_calendar3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/calendar3/src/cmn.rs b/gen/calendar3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/calendar3/src/cmn.rs +++ b/gen/calendar3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/calendar3/src/lib.rs b/gen/calendar3/src/lib.rs index 5ced553d4e..85e1eaf316 100644 --- a/gen/calendar3/src/lib.rs +++ b/gen/calendar3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *calendar* crate version *1.0.2+20161211*, where *20161211* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *calendar* crate version *1.0.3+20161211*, where *20161211* is the exact revision of the *calendar:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *calendar* *v3* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/calendar/firstapp). diff --git a/gen/calendar3/src/lib.rs.in b/gen/calendar3/src/lib.rs.in index c048180888..e5779ea64c 100644 --- a/gen/calendar3/src/lib.rs.in +++ b/gen/calendar3/src/lib.rs.in @@ -158,7 +158,7 @@ impl<'a, C, A> CalendarHub CalendarHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -188,7 +188,7 @@ impl<'a, C, A> CalendarHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/classroom1-cli/Cargo.toml b/gen/classroom1-cli/Cargo.toml index 9e4d6e2fd7..c08cc0bdd4 100644 --- a/gen/classroom1-cli/Cargo.toml +++ b/gen/classroom1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-classroom1-cli" -version = "1.0.2+20161006" +version = "1.0.3+20161006" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/classroom1-cli" @@ -17,14 +17,15 @@ keywords = ["classroom", "google", "cli"] name = "classroom1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-classroom1] path = "../classroom1" -version = "1.0.2+20161006" +version = "1.0.3+20161006" optional = true default-features = false diff --git a/gen/classroom1-cli/README.md b/gen/classroom1-cli/README.md index 8a476a7eae..667b772a67 100644 --- a/gen/classroom1-cli/README.md +++ b/gen/classroom1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *classroom* API at revision *20161006*. The CLI is at version *1.0.2*. +This documentation was generated from the *classroom* API at revision *20161006*. The CLI is at version *1.0.3*. ```bash classroom1 [options] diff --git a/gen/classroom1-cli/mkdocs.yml b/gen/classroom1-cli/mkdocs.yml index be0ee4e32b..a9bdb1bc7e 100644 --- a/gen/classroom1-cli/mkdocs.yml +++ b/gen/classroom1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: classroom v1.0.2+20161006 +site_name: classroom v1.0.3+20161006 site_url: http://byron.github.io/google-apis-rs/google-classroom1-cli site_description: A complete library to interact with classroom (protocol v1) diff --git a/gen/classroom1-cli/src/main.rs b/gen/classroom1-cli/src/main.rs index ea38c58c92..586fb1a625 100644 --- a/gen/classroom1-cli/src/main.rs +++ b/gen/classroom1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3011,10 +3012,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "classroom1", @@ -3024,10 +3025,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4160,7 +4161,7 @@ fn main() { let mut app = App::new("classroom1") .author("Sebastian Thiel ") - .version("1.0.2+20161006") + .version("1.0.3+20161006") .about("Manages classes, rosters, and invitations in Google Classroom.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_classroom1_cli") .arg(Arg::with_name("url") diff --git a/gen/classroom1/Cargo.toml b/gen/classroom1/Cargo.toml index 4760978f97..2dce313f03 100644 --- a/gen/classroom1/Cargo.toml +++ b/gen/classroom1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-classroom1" -version = "1.0.2+20161006" +version = "1.0.3+20161006" authors = ["Sebastian Thiel "] description = "A complete library to interact with classroom (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/classroom1" homepage = "https://developers.google.com/classroom/" -documentation = "https://docs.rs/google-classroom1/1.0.2+20161006" +documentation = "https://docs.rs/google-classroom1/1.0.3+20161006" license = "MIT" keywords = ["classroom", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/classroom1/README.md b/gen/classroom1/README.md index f57e25a25e..df66d6a016 100644 --- a/gen/classroom1/README.md +++ b/gen/classroom1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-classroom1` library allows access to all features of the *Google classroom* service. -This documentation was generated from *classroom* crate version *1.0.2+20161006*, where *20161006* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *classroom* crate version *1.0.3+20161006*, where *20161006* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *classroom* *v1* API can be found at the [official documentation site](https://developers.google.com/classroom/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.Classroom.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.Classroom.html) ... -* [courses](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.Course.html) - * [*aliases create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseAliaseCreateCall.html), [*aliases delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseAliaseDeleteCall.html), [*aliases list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseAliaseListCall.html), [*course work create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkCreateCall.html), [*course work get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkGetCall.html), [*course work list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkListCall.html), [*course work student submissions get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionGetCall.html), [*course work student submissions list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionListCall.html), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionModifyAttachmentCall.html), [*course work student submissions patch*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionPatchCall.html), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionReclaimCall.html), [*course work student submissions return*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionReturnCall.html), [*course work student submissions turn in*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionTurnInCall.html), [*create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseGetCall.html), [*list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseListCall.html), [*patch*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CoursePatchCall.html), [*students create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseStudentCreateCall.html), [*students delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseStudentDeleteCall.html), [*students get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseStudentGetCall.html), [*students list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseStudentListCall.html), [*teachers create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseTeacherCreateCall.html), [*teachers delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseTeacherDeleteCall.html), [*teachers get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseTeacherGetCall.html), [*teachers list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseTeacherListCall.html) and [*update*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.CourseUpdateCall.html) -* [invitations](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.Invitation.html) - * [*accept*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.InvitationAcceptCall.html), [*create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.InvitationCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.InvitationDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.InvitationGetCall.html) and [*list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.InvitationListCall.html) -* [user profiles](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfile.html) - * [*get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGetCall.html), [*guardian invitations create*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianInvitationCreateCall.html), [*guardian invitations get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianInvitationGetCall.html), [*guardian invitations list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianInvitationListCall.html), [*guardian invitations patch*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianInvitationPatchCall.html), [*guardians delete*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianDeleteCall.html), [*guardians get*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianGetCall.html) and [*guardians list*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/struct.UserProfileGuardianListCall.html) +* [courses](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.Course.html) + * [*aliases create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseAliaseCreateCall.html), [*aliases delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseAliaseDeleteCall.html), [*aliases list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseAliaseListCall.html), [*course work create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkCreateCall.html), [*course work get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkGetCall.html), [*course work list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkListCall.html), [*course work student submissions get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionGetCall.html), [*course work student submissions list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionListCall.html), [*course work student submissions modify attachments*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionModifyAttachmentCall.html), [*course work student submissions patch*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionPatchCall.html), [*course work student submissions reclaim*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionReclaimCall.html), [*course work student submissions return*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionReturnCall.html), [*course work student submissions turn in*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCourseWorkStudentSubmissionTurnInCall.html), [*create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseGetCall.html), [*list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseListCall.html), [*patch*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CoursePatchCall.html), [*students create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseStudentCreateCall.html), [*students delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseStudentDeleteCall.html), [*students get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseStudentGetCall.html), [*students list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseStudentListCall.html), [*teachers create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseTeacherCreateCall.html), [*teachers delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseTeacherDeleteCall.html), [*teachers get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseTeacherGetCall.html), [*teachers list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseTeacherListCall.html) and [*update*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.CourseUpdateCall.html) +* [invitations](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.Invitation.html) + * [*accept*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.InvitationAcceptCall.html), [*create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.InvitationCreateCall.html), [*delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.InvitationDeleteCall.html), [*get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.InvitationGetCall.html) and [*list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.InvitationListCall.html) +* [user profiles](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfile.html) + * [*get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGetCall.html), [*guardian invitations create*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianInvitationCreateCall.html), [*guardian invitations get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianInvitationGetCall.html), [*guardian invitations list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianInvitationListCall.html), [*guardian invitations patch*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianInvitationPatchCall.html), [*guardians delete*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianDeleteCall.html), [*guardians get*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianGetCall.html) and [*guardians list*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.UserProfileGuardianListCall.html) @@ -27,17 +27,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-classroom1/1.0.2+20161006/google_classroom1/struct.Classroom.html)** +* **[Hub](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/struct.Classroom.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/trait.Part.html)** + * **[Parts](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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")`. @@ -170,29 +170,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-classroom1/1.0.2+20161006/google_classroom1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/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-classroom1/1.0.3+20161006/google_classroom1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-classroom1/1.0.2+20161006/google_classroom1/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-classroom1/1.0.3+20161006/google_classroom1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/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-classroom1/1.0.2+20161006/google_classroom1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-classroom1/1.0.3+20161006/google_classroom1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/classroom1/src/cmn.rs b/gen/classroom1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/classroom1/src/cmn.rs +++ b/gen/classroom1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/classroom1/src/lib.rs b/gen/classroom1/src/lib.rs index 72d31359f2..67a184edb2 100644 --- a/gen/classroom1/src/lib.rs +++ b/gen/classroom1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *classroom* crate version *1.0.2+20161006*, where *20161006* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *classroom* crate version *1.0.3+20161006*, where *20161006* is the exact revision of the *classroom:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *classroom* *v1* API can be found at the //! [official documentation site](https://developers.google.com/classroom/). diff --git a/gen/classroom1/src/lib.rs.in b/gen/classroom1/src/lib.rs.in index 48a26cd51f..6c122fce2c 100644 --- a/gen/classroom1/src/lib.rs.in +++ b/gen/classroom1/src/lib.rs.in @@ -184,7 +184,7 @@ impl<'a, C, A> Classroom Classroom { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -199,7 +199,7 @@ impl<'a, C, A> Classroom } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudbilling1-cli/Cargo.toml b/gen/cloudbilling1-cli/Cargo.toml index 8ab72124bb..c800e61fbd 100644 --- a/gen/cloudbilling1-cli/Cargo.toml +++ b/gen/cloudbilling1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudbilling1-cli" -version = "1.0.2+20151222" +version = "1.0.3+20151222" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbilling1-cli" @@ -17,14 +17,15 @@ keywords = ["cloudbilling", "google", "cli"] name = "cloudbilling1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-cloudbilling1] path = "../cloudbilling1" -version = "1.0.2+20151222" +version = "1.0.3+20151222" optional = true default-features = false diff --git a/gen/cloudbilling1-cli/README.md b/gen/cloudbilling1-cli/README.md index 2ac825f16b..7775325ef4 100644 --- a/gen/cloudbilling1-cli/README.md +++ b/gen/cloudbilling1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *cloudbilling* API at revision *20151222*. The CLI is at version *1.0.2*. +This documentation was generated from the *cloudbilling* API at revision *20151222*. The CLI is at version *1.0.3*. ```bash cloudbilling1 [options] diff --git a/gen/cloudbilling1-cli/mkdocs.yml b/gen/cloudbilling1-cli/mkdocs.yml index a47cfbfacb..260b4ca0d7 100644 --- a/gen/cloudbilling1-cli/mkdocs.yml +++ b/gen/cloudbilling1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudbilling v1.0.2+20151222 +site_name: cloudbilling v1.0.3+20151222 site_url: http://byron.github.io/google-apis-rs/google-cloudbilling1-cli site_description: A complete library to interact with cloudbilling (protocol v1) diff --git a/gen/cloudbilling1-cli/src/main.rs b/gen/cloudbilling1-cli/src/main.rs index caca1240ff..0483edb853 100644 --- a/gen/cloudbilling1-cli/src/main.rs +++ b/gen/cloudbilling1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -425,10 +426,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "cloudbilling1", @@ -438,10 +439,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -597,7 +598,7 @@ fn main() { let mut app = App::new("cloudbilling1") .author("Sebastian Thiel ") - .version("1.0.2+20151222") + .version("1.0.3+20151222") .about("Retrieves Google Developers Console billing accounts and associates them with projects.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudbilling1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudbilling1/Cargo.toml b/gen/cloudbilling1/Cargo.toml index dc497ef71f..13bb1705d5 100644 --- a/gen/cloudbilling1/Cargo.toml +++ b/gen/cloudbilling1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-cloudbilling1" -version = "1.0.2+20151222" +version = "1.0.3+20151222" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudbilling (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudbilling1" homepage = "https://cloud.google.com/billing/" -documentation = "https://docs.rs/google-cloudbilling1/1.0.2+20151222" +documentation = "https://docs.rs/google-cloudbilling1/1.0.3+20151222" license = "MIT" keywords = ["cloudbilling", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/cloudbilling1/README.md b/gen/cloudbilling1/README.md index 2a40341344..b5d72dde2b 100644 --- a/gen/cloudbilling1/README.md +++ b/gen/cloudbilling1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudbilling1` library allows access to all features of the *Google cloudbilling* service. -This documentation was generated from *cloudbilling* crate version *1.0.2+20151222*, where *20151222* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *cloudbilling* crate version *1.0.3+20151222*, where *20151222* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *cloudbilling* *v1* API can be found at the [official documentation site](https://cloud.google.com/billing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.Cloudbilling.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.Cloudbilling.html) ... -* [billing accounts](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.BillingAccount.html) - * [*get*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.BillingAccountGetCall.html), [*list*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.BillingAccountListCall.html) and [*projects list*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.BillingAccountProjectListCall.html) +* [billing accounts](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.BillingAccount.html) + * [*get*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.BillingAccountGetCall.html), [*list*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.BillingAccountListCall.html) and [*projects list*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.BillingAccountProjectListCall.html) * projects - * [*get billing info*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.ProjectGetBillingInfoCall.html) and [*update billing info*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.ProjectUpdateBillingInfoCall.html) + * [*get billing info*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.ProjectGetBillingInfoCall.html) and [*update billing info*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.ProjectUpdateBillingInfoCall.html) @@ -25,17 +25,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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/struct.Cloudbilling.html)** +* **[Hub](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/struct.Cloudbilling.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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")`. @@ -141,29 +141,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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/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-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudbilling1/1.0.2+20151222/google_cloudbilling1/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-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/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-cloudbilling1/1.0.2+20151222/google_cloudbilling1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudbilling1/1.0.3+20151222/google_cloudbilling1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudbilling1/src/cmn.rs b/gen/cloudbilling1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/cloudbilling1/src/cmn.rs +++ b/gen/cloudbilling1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/cloudbilling1/src/lib.rs b/gen/cloudbilling1/src/lib.rs index 10ff90eb2b..0a341c4881 100644 --- a/gen/cloudbilling1/src/lib.rs +++ b/gen/cloudbilling1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *cloudbilling* crate version *1.0.2+20151222*, where *20151222* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *cloudbilling* crate version *1.0.3+20151222*, where *20151222* is the exact revision of the *cloudbilling:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *cloudbilling* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/billing/). diff --git a/gen/cloudbilling1/src/lib.rs.in b/gen/cloudbilling1/src/lib.rs.in index e28d9fb501..c48520aa51 100644 --- a/gen/cloudbilling1/src/lib.rs.in +++ b/gen/cloudbilling1/src/lib.rs.in @@ -133,7 +133,7 @@ impl<'a, C, A> Cloudbilling Cloudbilling { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -145,7 +145,7 @@ impl<'a, C, A> Cloudbilling } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouddebugger2-cli/Cargo.toml b/gen/clouddebugger2-cli/Cargo.toml index d8b6a30f08..aefac91b37 100644 --- a/gen/clouddebugger2-cli/Cargo.toml +++ b/gen/clouddebugger2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouddebugger2-cli" -version = "1.0.2+20160810" +version = "1.0.3+20160810" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouddebugger2-cli" @@ -17,14 +17,15 @@ keywords = ["clouddebugger", "google", "cli"] name = "clouddebugger2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-clouddebugger2] path = "../clouddebugger2" -version = "1.0.2+20160810" +version = "1.0.3+20160810" optional = true default-features = false diff --git a/gen/clouddebugger2-cli/README.md b/gen/clouddebugger2-cli/README.md index 6edf11ec53..d1c8a0b7e0 100644 --- a/gen/clouddebugger2-cli/README.md +++ b/gen/clouddebugger2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Debugger* API at revision *20160810*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud Debugger* API at revision *20160810*. The CLI is at version *1.0.3*. ```bash clouddebugger2 [options] diff --git a/gen/clouddebugger2-cli/mkdocs.yml b/gen/clouddebugger2-cli/mkdocs.yml index a4f6897874..6f14f05025 100644 --- a/gen/clouddebugger2-cli/mkdocs.yml +++ b/gen/clouddebugger2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Debugger v1.0.2+20160810 +site_name: Cloud Debugger v1.0.3+20160810 site_url: http://byron.github.io/google-apis-rs/google-clouddebugger2-cli site_description: A complete library to interact with Cloud Debugger (protocol v2) diff --git a/gen/clouddebugger2-cli/src/main.rs b/gen/clouddebugger2-cli/src/main.rs index b872dd67fa..e2c62bd15f 100644 --- a/gen/clouddebugger2-cli/src/main.rs +++ b/gen/clouddebugger2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -730,10 +731,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "clouddebugger2", @@ -743,10 +744,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -992,7 +993,7 @@ fn main() { let mut app = App::new("clouddebugger2") .author("Sebastian Thiel ") - .version("1.0.2+20160810") + .version("1.0.3+20160810") .about("Examines the call stack and variables of a running application without stopping or slowing it down.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouddebugger2_cli") .arg(Arg::with_name("url") diff --git a/gen/clouddebugger2/Cargo.toml b/gen/clouddebugger2/Cargo.toml index b1c53f4931..9cd203d0b2 100644 --- a/gen/clouddebugger2/Cargo.toml +++ b/gen/clouddebugger2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-clouddebugger2" -version = "1.0.2+20160810" +version = "1.0.3+20160810" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Debugger (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouddebugger2" homepage = "http://cloud.google.com/debugger" -documentation = "https://docs.rs/google-clouddebugger2/1.0.2+20160810" +documentation = "https://docs.rs/google-clouddebugger2/1.0.3+20160810" license = "MIT" keywords = ["clouddebugger", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/clouddebugger2/README.md b/gen/clouddebugger2/README.md index 55a6f96391..e91351289d 100644 --- a/gen/clouddebugger2/README.md +++ b/gen/clouddebugger2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-clouddebugger2` library allows access to all features of the *Google Cloud Debugger* service. -This documentation was generated from *Cloud Debugger* crate version *1.0.2+20160810*, where *20160810* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud Debugger* crate version *1.0.3+20160810*, where *20160810* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud Debugger* *v2* API can be found at the [official documentation site](http://cloud.google.com/debugger). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.CloudDebugger.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.CloudDebugger.html) ... * controller - * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html) + * [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.ControllerDebuggeeBreakpointListCall.html), [*debuggees breakpoints update*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.ControllerDebuggeeBreakpointUpdateCall.html) and [*debuggees register*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.ControllerDebuggeeRegisterCall.html) * debugger - * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html) + * [*debuggees breakpoints delete*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointDeleteCall.html), [*debuggees breakpoints get*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointGetCall.html), [*debuggees breakpoints list*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointListCall.html), [*debuggees breakpoints set*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.DebuggerDebuggeeBreakpointSetCall.html) and [*debuggees list*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.DebuggerDebuggeeListCall.html) @@ -25,17 +25,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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/struct.CloudDebugger.html)** +* **[Hub](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/struct.CloudDebugger.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Part.html)** + * **[Parts](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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")`. @@ -144,29 +144,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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/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-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-clouddebugger2/1.0.2+20160810/google_clouddebugger2/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-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/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-clouddebugger2/1.0.2+20160810/google_clouddebugger2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-clouddebugger2/1.0.3+20160810/google_clouddebugger2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouddebugger2/src/cmn.rs b/gen/clouddebugger2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/clouddebugger2/src/cmn.rs +++ b/gen/clouddebugger2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/clouddebugger2/src/lib.rs b/gen/clouddebugger2/src/lib.rs index 075f87024f..c1826ed32c 100644 --- a/gen/clouddebugger2/src/lib.rs +++ b/gen/clouddebugger2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Debugger* crate version *1.0.2+20160810*, where *20160810* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud Debugger* crate version *1.0.3+20160810*, where *20160810* is the exact revision of the *clouddebugger:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud Debugger* *v2* API can be found at the //! [official documentation site](http://cloud.google.com/debugger). diff --git a/gen/clouddebugger2/src/lib.rs.in b/gen/clouddebugger2/src/lib.rs.in index 58a9173fd2..579f310169 100644 --- a/gen/clouddebugger2/src/lib.rs.in +++ b/gen/clouddebugger2/src/lib.rs.in @@ -142,7 +142,7 @@ impl<'a, C, A> CloudDebugger CloudDebugger { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -154,7 +154,7 @@ impl<'a, C, A> CloudDebugger } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudlatencytest2-cli/Cargo.toml b/gen/cloudlatencytest2-cli/Cargo.toml index 6bd3d9b569..9accb1003a 100644 --- a/gen/cloudlatencytest2-cli/Cargo.toml +++ b/gen/cloudlatencytest2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudlatencytest2-cli" -version = "1.0.2+20160309" +version = "1.0.3+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2-cli" @@ -16,14 +16,15 @@ keywords = ["cloudlatencytest", "google", "cli"] name = "cloudlatencytest2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -37,6 +38,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-cloudlatencytest2] path = "../cloudlatencytest2" -version = "1.0.2+20160309" +version = "1.0.3+20160309" optional = true default-features = false diff --git a/gen/cloudlatencytest2-cli/README.md b/gen/cloudlatencytest2-cli/README.md index 7ea2e6b13c..e60472201f 100644 --- a/gen/cloudlatencytest2-cli/README.md +++ b/gen/cloudlatencytest2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *1.0.2*. +This documentation was generated from the *cloudlatencytest* API at revision *20160309*. The CLI is at version *1.0.3*. ```bash cloudlatencytest2 [options] diff --git a/gen/cloudlatencytest2-cli/mkdocs.yml b/gen/cloudlatencytest2-cli/mkdocs.yml index c669307c7e..5f24efd2d6 100644 --- a/gen/cloudlatencytest2-cli/mkdocs.yml +++ b/gen/cloudlatencytest2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: cloudlatencytest v1.0.2+20160309 +site_name: cloudlatencytest v1.0.3+20160309 site_url: http://byron.github.io/google-apis-rs/google-cloudlatencytest2-cli site_description: A complete library to interact with cloudlatencytest (protocol v2) diff --git a/gen/cloudlatencytest2-cli/src/main.rs b/gen/cloudlatencytest2-cli/src/main.rs index ed050f7842..6707e0b23a 100644 --- a/gen/cloudlatencytest2-cli/src/main.rs +++ b/gen/cloudlatencytest2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -267,10 +268,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "cloudlatencytest2", @@ -280,10 +281,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -366,7 +367,7 @@ fn main() { let mut app = App::new("cloudlatencytest2") .author("Sebastian Thiel ") - .version("1.0.2+20160309") + .version("1.0.3+20160309") .about("Reports latency data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudlatencytest2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudlatencytest2/Cargo.toml b/gen/cloudlatencytest2/Cargo.toml index f0187d959c..7be27da380 100644 --- a/gen/cloudlatencytest2/Cargo.toml +++ b/gen/cloudlatencytest2/Cargo.toml @@ -4,18 +4,18 @@ [package] name = "google-cloudlatencytest2" -version = "1.0.2+20160309" +version = "1.0.3+20160309" authors = ["Sebastian Thiel "] description = "A complete library to interact with cloudlatencytest (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2" -documentation = "https://docs.rs/google-cloudlatencytest2/1.0.2+20160309" +documentation = "https://docs.rs/google-cloudlatencytest2/1.0.3+20160309" license = "MIT" keywords = ["cloudlatencytest", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/cloudlatencytest2/README.md b/gen/cloudlatencytest2/README.md index 2c13a10a99..1ff9079438 100644 --- a/gen/cloudlatencytest2/README.md +++ b/gen/cloudlatencytest2/README.md @@ -5,13 +5,13 @@ DO NOT EDIT ! --> The `google-cloudlatencytest2` library allows access to all features of the *Google cloudlatencytest* service. -This documentation was generated from *cloudlatencytest* crate version *1.0.2+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *cloudlatencytest* crate version *1.0.3+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html) ... * statscollection - * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/struct.StatscollectionUpdateaggregatedstatCall.html) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/struct.StatscollectionUpdatestatCall.html) + * [*updateaggregatedstats*](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/struct.StatscollectionUpdateaggregatedstatCall.html) and [*updatestats*](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/struct.StatscollectionUpdatestatCall.html) @@ -20,17 +20,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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html)** +* **[Hub](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/struct.Cloudlatencytest.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -118,17 +118,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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")`. @@ -138,29 +138,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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/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-cloudlatencytest2/1.0.2+20160309/google_cloudlatencytest2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudlatencytest2/1.0.3+20160309/google_cloudlatencytest2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudlatencytest2/src/cmn.rs b/gen/cloudlatencytest2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/cloudlatencytest2/src/cmn.rs +++ b/gen/cloudlatencytest2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/cloudlatencytest2/src/lib.rs b/gen/cloudlatencytest2/src/lib.rs index 0fb99bbc7a..6e54a60c86 100644 --- a/gen/cloudlatencytest2/src/lib.rs +++ b/gen/cloudlatencytest2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *cloudlatencytest* crate version *1.0.2+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *cloudlatencytest* crate version *1.0.3+20160309*, where *20160309* is the exact revision of the *cloudlatencytest:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/cloudlatencytest2). //! # Features //! diff --git a/gen/cloudlatencytest2/src/lib.rs.in b/gen/cloudlatencytest2/src/lib.rs.in index b0ed6b9908..2660f10c21 100644 --- a/gen/cloudlatencytest2/src/lib.rs.in +++ b/gen/cloudlatencytest2/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> Cloudlatencytest Cloudlatencytest { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> Cloudlatencytest } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudmonitoring2_beta2-cli/Cargo.toml b/gen/cloudmonitoring2_beta2-cli/Cargo.toml index aaea0d6344..aef0f4297c 100644 --- a/gen/cloudmonitoring2_beta2-cli/Cargo.toml +++ b/gen/cloudmonitoring2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudmonitoring2_beta2-cli" -version = "1.0.2+20161031" +version = "1.0.3+20161031" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudmonitoring2_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["cloudmonitoring", "google", "cli"] name = "cloudmonitoring2-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-cloudmonitoring2_beta2] path = "../cloudmonitoring2_beta2" -version = "1.0.2+20161031" +version = "1.0.3+20161031" optional = true default-features = false diff --git a/gen/cloudmonitoring2_beta2-cli/README.md b/gen/cloudmonitoring2_beta2-cli/README.md index e489cf5a5a..08f95ee3b0 100644 --- a/gen/cloudmonitoring2_beta2-cli/README.md +++ b/gen/cloudmonitoring2_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Monitoring* API at revision *20161031*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud Monitoring* API at revision *20161031*. The CLI is at version *1.0.3*. ```bash cloudmonitoring2-beta2 [options] diff --git a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml index 907efcd067..e76cd104e6 100644 --- a/gen/cloudmonitoring2_beta2-cli/mkdocs.yml +++ b/gen/cloudmonitoring2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Monitoring v1.0.2+20161031 +site_name: Cloud Monitoring v1.0.3+20161031 site_url: http://byron.github.io/google-apis-rs/google-cloudmonitoring2_beta2-cli site_description: A complete library to interact with Cloud Monitoring (protocol v2beta2) diff --git a/gen/cloudmonitoring2_beta2-cli/src/main.rs b/gen/cloudmonitoring2_beta2-cli/src/main.rs index caa99d6bcb..c19c2f96ab 100644 --- a/gen/cloudmonitoring2_beta2-cli/src/main.rs +++ b/gen/cloudmonitoring2_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -661,10 +662,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "cloudmonitoring2-beta2", @@ -674,10 +675,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -914,7 +915,7 @@ fn main() { let mut app = App::new("cloudmonitoring2-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20161031") + .version("1.0.3+20161031") .about("Accesses Google Cloud Monitoring data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudmonitoring2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudmonitoring2_beta2/Cargo.toml b/gen/cloudmonitoring2_beta2/Cargo.toml index 3c9e2570db..263734c0e8 100644 --- a/gen/cloudmonitoring2_beta2/Cargo.toml +++ b/gen/cloudmonitoring2_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-cloudmonitoring2_beta2" -version = "1.0.2+20161031" +version = "1.0.3+20161031" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Monitoring (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudmonitoring2_beta2" homepage = "https://cloud.google.com/monitoring/v2beta2/" -documentation = "https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031" +documentation = "https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031" license = "MIT" keywords = ["cloudmonitoring", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/cloudmonitoring2_beta2/README.md b/gen/cloudmonitoring2_beta2/README.md index 9c463cbfe3..fc68efd400 100644 --- a/gen/cloudmonitoring2_beta2/README.md +++ b/gen/cloudmonitoring2_beta2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudmonitoring2_beta2` library allows access to all features of the *Google Cloud Monitoring* service. -This documentation was generated from *Cloud Monitoring* crate version *1.0.2+20161031*, where *20161031* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud Monitoring* crate version *1.0.3+20161031*, where *20161031* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the [official documentation site](https://cloud.google.com/monitoring/v2beta2/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html) ... -* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptor.html) - * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorCreateCall.html), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorDeleteCall.html) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorListCall.html) +* [metric descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptor.html) + * [*create*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorCreateCall.html), [*delete*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorDeleteCall.html) and [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.MetricDescriptorListCall.html) * timeseries - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.TimeseryListCall.html) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.TimeseryWriteCall.html) -* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptor.html) - * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptorListCall.html) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.TimeseryListCall.html) and [*write*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.TimeseryWriteCall.html) +* [timeseries descriptors](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptor.html) + * [*list*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.TimeseriesDescriptorListCall.html) @@ -27,17 +27,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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html)** +* **[Hub](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/struct.CloudMonitoring.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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")`. @@ -150,29 +150,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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/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-cloudmonitoring2_beta2/1.0.2+20161031/google_cloudmonitoring2_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudmonitoring2_beta2/1.0.3+20161031/google_cloudmonitoring2_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudmonitoring2_beta2/src/cmn.rs b/gen/cloudmonitoring2_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/cloudmonitoring2_beta2/src/cmn.rs +++ b/gen/cloudmonitoring2_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs b/gen/cloudmonitoring2_beta2/src/lib.rs index f221a70c69..7d932998ae 100644 --- a/gen/cloudmonitoring2_beta2/src/lib.rs +++ b/gen/cloudmonitoring2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Monitoring* crate version *1.0.2+20161031*, where *20161031* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud Monitoring* crate version *1.0.3+20161031*, where *20161031* is the exact revision of the *cloudmonitoring:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud Monitoring* *v2_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/v2beta2/). diff --git a/gen/cloudmonitoring2_beta2/src/lib.rs.in b/gen/cloudmonitoring2_beta2/src/lib.rs.in index 1ca72e8bb1..9a417d601a 100644 --- a/gen/cloudmonitoring2_beta2/src/lib.rs.in +++ b/gen/cloudmonitoring2_beta2/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> CloudMonitoring CloudMonitoring { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -159,7 +159,7 @@ impl<'a, C, A> CloudMonitoring } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1-cli/Cargo.toml b/gen/cloudresourcemanager1-cli/Cargo.toml index 21eaf0d9fb..0e15c68cd8 100644 --- a/gen/cloudresourcemanager1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1-cli" @@ -17,14 +17,15 @@ keywords = ["cloudresourcemanager", "google", "cli"] name = "cloudresourcemanager1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-cloudresourcemanager1] path = "../cloudresourcemanager1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/cloudresourcemanager1-cli/README.md b/gen/cloudresourcemanager1-cli/README.md index 10a5ee8b19..b3579d1193 100644 --- a/gen/cloudresourcemanager1-cli/README.md +++ b/gen/cloudresourcemanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash cloudresourcemanager1 [options] diff --git a/gen/cloudresourcemanager1-cli/mkdocs.yml b/gen/cloudresourcemanager1-cli/mkdocs.yml index 7c69b43b1d..df91180f12 100644 --- a/gen/cloudresourcemanager1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v1.0.2+20161212 +site_name: Cloud Resource Manager v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1) diff --git a/gen/cloudresourcemanager1-cli/src/main.rs b/gen/cloudresourcemanager1-cli/src/main.rs index b865ce0943..dcb3ae0f30 100644 --- a/gen/cloudresourcemanager1-cli/src/main.rs +++ b/gen/cloudresourcemanager1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1375,10 +1376,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "cloudresourcemanager1", @@ -1388,10 +1389,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1958,7 +1959,7 @@ fn main() { let mut app = App::new("cloudresourcemanager1") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1/Cargo.toml b/gen/cloudresourcemanager1/Cargo.toml index 27d6f32b60..9a959f2d3c 100644 --- a/gen/cloudresourcemanager1/Cargo.toml +++ b/gen/cloudresourcemanager1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-cloudresourcemanager1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212" +documentation = "https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/cloudresourcemanager1/README.md b/gen/cloudresourcemanager1/README.md index 930e89a5e6..480e5ed74b 100644 --- a/gen/cloudresourcemanager1/README.md +++ b/gen/cloudresourcemanager1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud Resource Manager* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud Resource Manager* *v1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.CloudResourceManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.CloudResourceManager.html) ... -* [operations](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.Operation.html) - * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OperationGetCall.html) -* [organizations](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.Organization.html) - * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OrganizationGetIamPolicyCall.html), [*search*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OrganizationSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OrganizationSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.OrganizationTestIamPermissionCall.html) -* [projects](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.Project.html) - * [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.ProjectUpdateCall.html) +* [operations](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.Operation.html) + * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OperationGetCall.html) +* [organizations](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.Organization.html) + * [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OrganizationGetIamPolicyCall.html), [*search*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OrganizationSearchCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OrganizationSetIamPolicyCall.html) and [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.OrganizationTestIamPermissionCall.html) +* [projects](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.Project.html) + * [*create*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.ProjectUpdateCall.html) @@ -27,17 +27,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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/struct.CloudResourceManager.html)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/struct.CloudResourceManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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")`. @@ -151,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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/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-cloudresourcemanager1/1.0.2+20161212/google_cloudresourcemanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1/1.0.3+20161212/google_cloudresourcemanager1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1/src/cmn.rs b/gen/cloudresourcemanager1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/cloudresourcemanager1/src/cmn.rs +++ b/gen/cloudresourcemanager1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/cloudresourcemanager1/src/lib.rs b/gen/cloudresourcemanager1/src/lib.rs index 4ff01a8b7a..d4da3d2709 100644 --- a/gen/cloudresourcemanager1/src/lib.rs +++ b/gen/cloudresourcemanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud Resource Manager* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudresourcemanager1/src/lib.rs.in b/gen/cloudresourcemanager1/src/lib.rs.in index 0463b535ab..9c59fdf4a3 100644 --- a/gen/cloudresourcemanager1/src/lib.rs.in +++ b/gen/cloudresourcemanager1/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> CloudResourceManager CloudResourceManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -153,7 +153,7 @@ impl<'a, C, A> CloudResourceManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml index f10c7a90ca..308458c36e 100644 --- a/gen/cloudresourcemanager1_beta1-cli/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-cloudresourcemanager1_beta1-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["cloudresourcemanager", "google", "cli"] name = "cloudresourcemanager1-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-cloudresourcemanager1_beta1] path = "../cloudresourcemanager1_beta1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/cloudresourcemanager1_beta1-cli/README.md b/gen/cloudresourcemanager1_beta1-cli/README.md index 26486a999b..ff4c639f2b 100644 --- a/gen/cloudresourcemanager1_beta1-cli/README.md +++ b/gen/cloudresourcemanager1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Resource Manager* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud Resource Manager* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash cloudresourcemanager1-beta1 [options] diff --git a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml index 060aebed2c..6570f5598d 100644 --- a/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml +++ b/gen/cloudresourcemanager1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Resource Manager v1.0.2+20161212 +site_name: Cloud Resource Manager v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-cloudresourcemanager1_beta1-cli site_description: A complete library to interact with Cloud Resource Manager (protocol v1beta1) diff --git a/gen/cloudresourcemanager1_beta1-cli/src/main.rs b/gen/cloudresourcemanager1_beta1-cli/src/main.rs index 8d0c421ed1..8c82c99c2c 100644 --- a/gen/cloudresourcemanager1_beta1-cli/src/main.rs +++ b/gen/cloudresourcemanager1_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1388,10 +1389,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "cloudresourcemanager1-beta1", @@ -1401,10 +1402,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1965,7 +1966,7 @@ fn main() { let mut app = App::new("cloudresourcemanager1-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_cloudresourcemanager1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/cloudresourcemanager1_beta1/Cargo.toml b/gen/cloudresourcemanager1_beta1/Cargo.toml index 750c8c8aca..59b031a604 100644 --- a/gen/cloudresourcemanager1_beta1/Cargo.toml +++ b/gen/cloudresourcemanager1_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-cloudresourcemanager1_beta1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Resource Manager (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/cloudresourcemanager1_beta1" homepage = "https://cloud.google.com/resource-manager" -documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212" +documentation = "https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212" license = "MIT" keywords = ["cloudresourcemanager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/cloudresourcemanager1_beta1/README.md b/gen/cloudresourcemanager1_beta1/README.md index 1931cda945..986ef0ced7 100644 --- a/gen/cloudresourcemanager1_beta1/README.md +++ b/gen/cloudresourcemanager1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-cloudresourcemanager1_beta1` library allows access to all features of the *Google Cloud Resource Manager* service. -This documentation was generated from *Cloud Resource Manager* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud Resource Manager* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/resource-manager). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html) ... -* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.Organization.html) - * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationTestIamPermissionCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationUpdateCall.html) -* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.Project.html) - * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.ProjectUpdateCall.html) +* [organizations](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.Organization.html) + * [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationGetCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationTestIamPermissionCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.OrganizationUpdateCall.html) +* [projects](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.Project.html) + * [*create*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectCreateCall.html), [*delete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectDeleteCall.html), [*get*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetCall.html), [*get ancestry*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetAncestryCall.html), [*get iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectGetIamPolicyCall.html), [*list*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectListCall.html), [*set iam policy*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectTestIamPermissionCall.html), [*undelete*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectUndeleteCall.html) and [*update*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.ProjectUpdateCall.html) @@ -25,17 +25,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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html)** +* **[Hub](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/struct.CloudResourceManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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")`. @@ -149,29 +149,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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/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-cloudresourcemanager1_beta1/1.0.2+20161212/google_cloudresourcemanager1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-cloudresourcemanager1_beta1/1.0.3+20161212/google_cloudresourcemanager1_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/cloudresourcemanager1_beta1/src/cmn.rs b/gen/cloudresourcemanager1_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/cloudresourcemanager1_beta1/src/cmn.rs +++ b/gen/cloudresourcemanager1_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs b/gen/cloudresourcemanager1_beta1/src/lib.rs index 860ab995a7..67b4e0f720 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud Resource Manager* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *cloudresourcemanager:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud Resource Manager* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/resource-manager). diff --git a/gen/cloudresourcemanager1_beta1/src/lib.rs.in b/gen/cloudresourcemanager1_beta1/src/lib.rs.in index 130f57e409..0f3ff3e969 100644 --- a/gen/cloudresourcemanager1_beta1/src/lib.rs.in +++ b/gen/cloudresourcemanager1_beta1/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> CloudResourceManager CloudResourceManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -150,7 +150,7 @@ impl<'a, C, A> CloudResourceManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/clouduseraccountsvm_beta-cli/Cargo.toml b/gen/clouduseraccountsvm_beta-cli/Cargo.toml index fb3f30ea04..48ba4ed3eb 100644 --- a/gen/clouduseraccountsvm_beta-cli/Cargo.toml +++ b/gen/clouduseraccountsvm_beta-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-clouduseraccountsvm_beta-cli" -version = "1.0.2+20160316" +version = "1.0.3+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouduseraccountsvm_beta-cli" @@ -17,14 +17,15 @@ keywords = ["clouduseraccounts", "google", "cli"] name = "clouduseraccountsvm-beta" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-clouduseraccountsvm_beta] path = "../clouduseraccountsvm_beta" -version = "1.0.2+20160316" +version = "1.0.3+20160316" optional = true default-features = false diff --git a/gen/clouduseraccountsvm_beta-cli/README.md b/gen/clouduseraccountsvm_beta-cli/README.md index 24e0019546..e88a549a6d 100644 --- a/gen/clouduseraccountsvm_beta-cli/README.md +++ b/gen/clouduseraccountsvm_beta-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud User Accounts* API at revision *20160316*. The CLI is at version *1.0.3*. ```bash clouduseraccountsvm-beta [options] diff --git a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml index 8610877378..338ae9a46f 100644 --- a/gen/clouduseraccountsvm_beta-cli/mkdocs.yml +++ b/gen/clouduseraccountsvm_beta-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud User Accounts v1.0.2+20160316 +site_name: Cloud User Accounts v1.0.3+20160316 site_url: http://byron.github.io/google-apis-rs/google-clouduseraccountsvm_beta-cli site_description: A complete library to interact with Cloud User Accounts (protocol vm_beta) diff --git a/gen/clouduseraccountsvm_beta-cli/src/main.rs b/gen/clouduseraccountsvm_beta-cli/src/main.rs index 1681ab8b23..9a2fcf9834 100644 --- a/gen/clouduseraccountsvm_beta-cli/src/main.rs +++ b/gen/clouduseraccountsvm_beta-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1281,10 +1282,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "clouduseraccountsvm-beta", @@ -1294,10 +1295,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1839,7 +1840,7 @@ fn main() { let mut app = App::new("clouduseraccountsvm-beta") .author("Sebastian Thiel ") - .version("1.0.2+20160316") + .version("1.0.3+20160316") .about("Creates and manages users and groups for accessing Google Compute Engine virtual machines.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_clouduseraccountsvm_beta_cli") .arg(Arg::with_name("url") diff --git a/gen/clouduseraccountsvm_beta/Cargo.toml b/gen/clouduseraccountsvm_beta/Cargo.toml index c62864cdee..bd64674946 100644 --- a/gen/clouduseraccountsvm_beta/Cargo.toml +++ b/gen/clouduseraccountsvm_beta/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-clouduseraccountsvm_beta" -version = "1.0.2+20160316" +version = "1.0.3+20160316" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud User Accounts (protocol vm_beta)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/clouduseraccountsvm_beta" homepage = "https://cloud.google.com/compute/docs/access/user-accounts/api/latest/" -documentation = "https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316" +documentation = "https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316" license = "MIT" keywords = ["clouduseraccounts", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/clouduseraccountsvm_beta/README.md b/gen/clouduseraccountsvm_beta/README.md index 2b67246ff7..21fa955f82 100644 --- a/gen/clouduseraccountsvm_beta/README.md +++ b/gen/clouduseraccountsvm_beta/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-clouduseraccountsvm_beta` library allows access to all features of the *Google Cloud User Accounts* service. -This documentation was generated from *Cloud User Accounts* crate version *1.0.2+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud User Accounts* crate version *1.0.3+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html) ... * global accounts operations - * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationGetCall.html) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationListCall.html) -* [groups](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.Group.html) - * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupAddMemberCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupListCall.html) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.GroupRemoveMemberCall.html) + * [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationGetCall.html) and [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GlobalAccountsOperationListCall.html) +* [groups](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.Group.html) + * [*add member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupAddMemberCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupListCall.html) and [*remove member*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.GroupRemoveMemberCall.html) * linux - * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetAuthorizedKeysViewCall.html) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetLinuxAccountViewCall.html) -* [users](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.User.html) - * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserAddPublicKeyCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserListCall.html) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.UserRemovePublicKeyCall.html) + * [*get authorized keys view*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetAuthorizedKeysViewCall.html) and [*get linux account views*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.LinuxGetLinuxAccountViewCall.html) +* [users](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.User.html) + * [*add public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserAddPublicKeyCall.html), [*delete*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserDeleteCall.html), [*get*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserGetCall.html), [*insert*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserInsertCall.html), [*list*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserListCall.html) and [*remove public key*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.UserRemovePublicKeyCall.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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html)** +* **[Hub](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/struct.CloudUserAccounts.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Part.html)** + * **[Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -135,17 +135,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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")`. @@ -155,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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) and -[decodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) and +[decodable](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/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-clouduseraccountsvm_beta/1.0.2+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-clouduseraccountsvm_beta/1.0.3+20160316/google_clouduseraccountsvm_beta/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/clouduseraccountsvm_beta/src/cmn.rs b/gen/clouduseraccountsvm_beta/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/clouduseraccountsvm_beta/src/cmn.rs +++ b/gen/clouduseraccountsvm_beta/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs b/gen/clouduseraccountsvm_beta/src/lib.rs index 144938a749..30ea32b115 100644 --- a/gen/clouduseraccountsvm_beta/src/lib.rs +++ b/gen/clouduseraccountsvm_beta/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud User Accounts* crate version *1.0.2+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud User Accounts* crate version *1.0.3+20160316*, where *20160316* is the exact revision of the *clouduseraccounts:vm_beta* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud User Accounts* *vm_beta* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/access/user-accounts/api/latest/). diff --git a/gen/clouduseraccountsvm_beta/src/lib.rs.in b/gen/clouduseraccountsvm_beta/src/lib.rs.in index dad16c9af5..d348ea8222 100644 --- a/gen/clouduseraccountsvm_beta/src/lib.rs.in +++ b/gen/clouduseraccountsvm_beta/src/lib.rs.in @@ -149,7 +149,7 @@ impl<'a, C, A> CloudUserAccounts CloudUserAccounts { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -167,7 +167,7 @@ impl<'a, C, A> CloudUserAccounts } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/container1-cli/Cargo.toml b/gen/container1-cli/Cargo.toml index d7a6320f52..f27381c618 100644 --- a/gen/container1-cli/Cargo.toml +++ b/gen/container1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-container1-cli" -version = "1.0.2+20160421" +version = "1.0.3+20160421" authors = ["Sebastian Thiel "] description = "A complete library to interact with container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/container1-cli" @@ -17,14 +17,15 @@ keywords = ["container", "google", "cli"] name = "container1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-container1] path = "../container1" -version = "1.0.2+20160421" +version = "1.0.3+20160421" optional = true default-features = false diff --git a/gen/container1-cli/README.md b/gen/container1-cli/README.md index 70b3e574f9..4bab3b4f0f 100644 --- a/gen/container1-cli/README.md +++ b/gen/container1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *container* API at revision *20160421*. The CLI is at version *1.0.2*. +This documentation was generated from the *container* API at revision *20160421*. The CLI is at version *1.0.3*. ```bash container1 [options] diff --git a/gen/container1-cli/mkdocs.yml b/gen/container1-cli/mkdocs.yml index 3e6b145c37..3ab199493e 100644 --- a/gen/container1-cli/mkdocs.yml +++ b/gen/container1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: container v1.0.2+20160421 +site_name: container v1.0.3+20160421 site_url: http://byron.github.io/google-apis-rs/google-container1-cli site_description: A complete library to interact with container (protocol v1) diff --git a/gen/container1-cli/src/main.rs b/gen/container1-cli/src/main.rs index 08b64d76a9..3834672632 100644 --- a/gen/container1-cli/src/main.rs +++ b/gen/container1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -898,10 +899,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "container1", @@ -911,10 +912,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1371,7 +1372,7 @@ fn main() { let mut app = App::new("container1") .author("Sebastian Thiel ") - .version("1.0.2+20160421") + .version("1.0.3+20160421") .about("Builds and manages clusters that run container-based applications, powered by open source Kubernetes technology.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_container1_cli") .arg(Arg::with_name("url") diff --git a/gen/container1/Cargo.toml b/gen/container1/Cargo.toml index 6523c8c778..0aade19bb8 100644 --- a/gen/container1/Cargo.toml +++ b/gen/container1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-container1" -version = "1.0.2+20160421" +version = "1.0.3+20160421" authors = ["Sebastian Thiel "] description = "A complete library to interact with container (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/container1" homepage = "https://cloud.google.com/container-engine/" -documentation = "https://docs.rs/google-container1/1.0.2+20160421" +documentation = "https://docs.rs/google-container1/1.0.3+20160421" license = "MIT" keywords = ["container", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/container1/README.md b/gen/container1/README.md index c49e37c0f6..c6bd9c1e04 100644 --- a/gen/container1/README.md +++ b/gen/container1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-container1` library allows access to all features of the *Google container* service. -This documentation was generated from *container* crate version *1.0.2+20160421*, where *20160421* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *container* crate version *1.0.3+20160421*, where *20160421* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *container* *v1* API can be found at the [official documentation site](https://cloud.google.com/container-engine/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.Container.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.Container.html) ... * projects - * [*zones clusters create*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters list*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters node pools create*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterNodePoolCreateCall.html), [*zones clusters node pools delete*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterNodePoolDeleteCall.html), [*zones clusters node pools get*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterNodePoolGetCall.html), [*zones clusters node pools list*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterNodePoolListCall.html), [*zones clusters update*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations get*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/struct.ProjectZoneOperationListCall.html) + * [*zones clusters create*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterCreateCall.html), [*zones clusters delete*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterDeleteCall.html), [*zones clusters get*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterGetCall.html), [*zones clusters list*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterListCall.html), [*zones clusters node pools create*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterNodePoolCreateCall.html), [*zones clusters node pools delete*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterNodePoolDeleteCall.html), [*zones clusters node pools get*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterNodePoolGetCall.html), [*zones clusters node pools list*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterNodePoolListCall.html), [*zones clusters update*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneClusterUpdateCall.html), [*zones get serverconfig*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneGetServerconfigCall.html), [*zones operations get*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneOperationGetCall.html) and [*zones operations list*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.ProjectZoneOperationListCall.html) @@ -23,17 +23,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-container1/1.0.2+20160421/google_container1/struct.Container.html)** +* **[Hub](https://docs.rs/google-container1/1.0.3+20160421/google_container1/struct.Container.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-container1/1.0.2+20160421/google_container1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-container1/1.0.2+20160421/google_container1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-container1/1.0.2+20160421/google_container1/trait.Part.html)** + * **[Parts](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-container1/1.0.2+20160421/google_container1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/1.0.2+20160421/google_container1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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")`. @@ -146,29 +146,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-container1/1.0.2+20160421/google_container1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-container1/1.0.2+20160421/google_container1/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-container1/1.0.3+20160421/google_container1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-container1/1.0.2+20160421/google_container1/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-container1/1.0.3+20160421/google_container1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-container1/1.0.3+20160421/google_container1/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-container1/1.0.2+20160421/google_container1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-container1/1.0.3+20160421/google_container1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/container1/src/cmn.rs b/gen/container1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/container1/src/cmn.rs +++ b/gen/container1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/container1/src/lib.rs b/gen/container1/src/lib.rs index e6654ab5d1..44d2d19f10 100644 --- a/gen/container1/src/lib.rs +++ b/gen/container1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *container* crate version *1.0.2+20160421*, where *20160421* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *container* crate version *1.0.3+20160421*, where *20160421* is the exact revision of the *container:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *container* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/container-engine/). diff --git a/gen/container1/src/lib.rs.in b/gen/container1/src/lib.rs.in index abfd7467f3..bfb4d301e9 100644 --- a/gen/container1/src/lib.rs.in +++ b/gen/container1/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> Container Container { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> Container } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2-cli/Cargo.toml b/gen/content2-cli/Cargo.toml index 4d52fb8d06..3b1f96594a 100644 --- a/gen/content2-cli/Cargo.toml +++ b/gen/content2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2-cli" -version = "1.0.2+20161205" +version = "1.0.3+20161205" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2-cli" @@ -17,14 +17,15 @@ keywords = ["content", "google", "cli"] name = "content2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-content2] path = "../content2" -version = "1.0.2+20161205" +version = "1.0.3+20161205" optional = true default-features = false diff --git a/gen/content2-cli/README.md b/gen/content2-cli/README.md index b115d0ca9e..2eb31f4e75 100644 --- a/gen/content2-cli/README.md +++ b/gen/content2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Shopping Content* API at revision *20161205*. The CLI is at version *1.0.2*. +This documentation was generated from the *Shopping Content* API at revision *20161205*. The CLI is at version *1.0.3*. ```bash content2 [options] diff --git a/gen/content2-cli/mkdocs.yml b/gen/content2-cli/mkdocs.yml index d7ed08e113..43581e49f9 100644 --- a/gen/content2-cli/mkdocs.yml +++ b/gen/content2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v1.0.2+20161205 +site_name: Shopping Content v1.0.3+20161205 site_url: http://byron.github.io/google-apis-rs/google-content2-cli site_description: A complete library to interact with Shopping Content (protocol v2) diff --git a/gen/content2-cli/src/main.rs b/gen/content2-cli/src/main.rs index 85e1f3843b..3e704a743c 100644 --- a/gen/content2-cli/src/main.rs +++ b/gen/content2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -5065,10 +5066,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "content2", @@ -5078,10 +5079,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -6844,7 +6845,7 @@ fn main() { let mut app = App::new("content2") .author("Sebastian Thiel ") - .version("1.0.2+20161205") + .version("1.0.3+20161205") .about("Manages product items, inventory, and Merchant Center accounts for Google Shopping.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_cli") .arg(Arg::with_name("url") diff --git a/gen/content2/Cargo.toml b/gen/content2/Cargo.toml index cd6b55de99..768aa12c35 100644 --- a/gen/content2/Cargo.toml +++ b/gen/content2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-content2" -version = "1.0.2+20161205" +version = "1.0.3+20161205" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2/1.0.2+20161205" +documentation = "https://docs.rs/google-content2/1.0.3+20161205" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/content2/README.md b/gen/content2/README.md index babfe4daa8..5b8b420077 100644 --- a/gen/content2/README.md +++ b/gen/content2/README.md @@ -5,36 +5,36 @@ DO NOT EDIT ! --> The `google-content2` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *1.0.2+20161205*, where *20161205* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Shopping Content* crate version *1.0.3+20161205*, where *20161205* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Shopping Content* *v2* API can be found at the [official documentation site](https://developers.google.com/shopping-content). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShoppingContent.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShoppingContent.html) ... -* [accounts](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.Account.html) - * [*authinfo*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountAuthinfoCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountUpdateCall.html) +* [accounts](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.Account.html) + * [*authinfo*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountAuthinfoCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountUpdateCall.html) * accountshipping - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountshippingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountshippingGetCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountshippingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountshippingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountshippingUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountshippingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountshippingGetCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountshippingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountshippingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountshippingUpdateCall.html) * accountstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccountstatuseListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccountstatuseListCall.html) * accounttax - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.AccounttaxUpdateCall.html) -* [datafeeds](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.Datafeed.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccounttaxCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccounttaxGetCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccounttaxListCall.html), [*patch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccounttaxPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.AccounttaxUpdateCall.html) +* [datafeeds](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.Datafeed.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedInsertCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedListCall.html), [*patch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedUpdateCall.html) * datafeedstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.DatafeedstatuseListCall.html) -* [inventory](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.Inventory.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.InventorySetCall.html) -* [orders](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.Order.html) - * [*acknowledge*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderCancellineitemCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderCreatetestorderCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderGettestordertemplateCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderRefundCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderReturnlineitemCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderShiplineitemCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.OrderUpdateshipmentCall.html) -* [products](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.Product.html) - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.DatafeedstatuseListCall.html) +* [inventory](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.Inventory.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.InventoryCustombatchCall.html) and [*set*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.InventorySetCall.html) +* [orders](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.Order.html) + * [*acknowledge*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderCancellineitemCall.html), [*createtestorder*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderCreatetestorderCall.html), [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderGettestordertemplateCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderRefundCall.html), [*returnlineitem*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderReturnlineitemCall.html), [*shiplineitems*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderShiplineitemCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.OrderUpdateshipmentCall.html) +* [products](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.Product.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductCustombatchCall.html), [*delete*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductDeleteCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductGetCall.html), [*insert*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductInsertCall.html) and [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductListCall.html) * productstatuses - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ProductstatuseListCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductstatuseCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductstatuseGetCall.html) and [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ProductstatuseListCall.html) * shippingsettings - * [*custombatch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*list*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/struct.ShippingsettingUpdateCall.html) + * [*custombatch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingCustombatchCall.html), [*get*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingGetCall.html), [*getsupportedcarriers*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingGetsupportedcarrierCall.html), [*list*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingListCall.html), [*patch*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingPatchCall.html) and [*update*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShippingsettingUpdateCall.html) @@ -43,17 +43,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-content2/1.0.2+20161205/google_content2/struct.ShoppingContent.html)** +* **[Hub](https://docs.rs/google-content2/1.0.3+20161205/google_content2/struct.ShoppingContent.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.2+20161205/google_content2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-content2/1.0.2+20161205/google_content2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2/1.0.2+20161205/google_content2/trait.Part.html)** + * **[Parts](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2/1.0.2+20161205/google_content2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -156,17 +156,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.2+20161205/google_content2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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")`. @@ -176,29 +176,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-content2/1.0.2+20161205/google_content2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-content2/1.0.2+20161205/google_content2/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-content2/1.0.3+20161205/google_content2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-content2/1.0.2+20161205/google_content2/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-content2/1.0.3+20161205/google_content2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2/1.0.3+20161205/google_content2/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-content2/1.0.2+20161205/google_content2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-content2/1.0.3+20161205/google_content2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2/src/cmn.rs b/gen/content2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/content2/src/cmn.rs +++ b/gen/content2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/content2/src/lib.rs b/gen/content2/src/lib.rs index 01c4239ca0..8a487072d6 100644 --- a/gen/content2/src/lib.rs +++ b/gen/content2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *1.0.2+20161205*, where *20161205* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Shopping Content* crate version *1.0.3+20161205*, where *20161205* is the exact revision of the *content:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Shopping Content* *v2* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). diff --git a/gen/content2/src/lib.rs.in b/gen/content2/src/lib.rs.in index dc0409d509..0f37c6cef5 100644 --- a/gen/content2/src/lib.rs.in +++ b/gen/content2/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> ShoppingContent ShoppingContent { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -177,7 +177,7 @@ impl<'a, C, A> ShoppingContent } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/content2_sandbox-cli/Cargo.toml b/gen/content2_sandbox-cli/Cargo.toml index 2963fea336..8d4af1691d 100644 --- a/gen/content2_sandbox-cli/Cargo.toml +++ b/gen/content2_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-content2_sandbox-cli" -version = "1.0.2+20161205" +version = "1.0.3+20161205" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2_sandbox-cli" @@ -17,14 +17,15 @@ keywords = ["content", "google", "cli"] name = "content2-sandbox" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-content2_sandbox] path = "../content2_sandbox" -version = "1.0.2+20161205" +version = "1.0.3+20161205" optional = true default-features = false diff --git a/gen/content2_sandbox-cli/README.md b/gen/content2_sandbox-cli/README.md index c30bf27e66..7b9df16c4d 100644 --- a/gen/content2_sandbox-cli/README.md +++ b/gen/content2_sandbox-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Shopping Content* API at revision *20161205*. The CLI is at version *1.0.2*. +This documentation was generated from the *Shopping Content* API at revision *20161205*. The CLI is at version *1.0.3*. ```bash content2-sandbox [options] diff --git a/gen/content2_sandbox-cli/mkdocs.yml b/gen/content2_sandbox-cli/mkdocs.yml index d67a291c88..2a53c85eb9 100644 --- a/gen/content2_sandbox-cli/mkdocs.yml +++ b/gen/content2_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Shopping Content v1.0.2+20161205 +site_name: Shopping Content v1.0.3+20161205 site_url: http://byron.github.io/google-apis-rs/google-content2_sandbox-cli site_description: A complete library to interact with Shopping Content (protocol v2sandbox) diff --git a/gen/content2_sandbox-cli/src/main.rs b/gen/content2_sandbox-cli/src/main.rs index bf4391ea64..335adba3ae 100644 --- a/gen/content2_sandbox-cli/src/main.rs +++ b/gen/content2_sandbox-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1307,10 +1308,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "content2-sandbox", @@ -1320,10 +1321,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1818,7 +1819,7 @@ fn main() { let mut app = App::new("content2-sandbox") .author("Sebastian Thiel ") - .version("1.0.2+20161205") + .version("1.0.3+20161205") .about("Manages product items, inventory, and Merchant Center accounts for Google Shopping.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_content2_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/content2_sandbox/Cargo.toml b/gen/content2_sandbox/Cargo.toml index bd6dca5eb1..59d7fead79 100644 --- a/gen/content2_sandbox/Cargo.toml +++ b/gen/content2_sandbox/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-content2_sandbox" -version = "1.0.2+20161205" +version = "1.0.3+20161205" authors = ["Sebastian Thiel "] description = "A complete library to interact with Shopping Content (protocol v2sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/content2_sandbox" homepage = "https://developers.google.com/shopping-content" -documentation = "https://docs.rs/google-content2_sandbox/1.0.2+20161205" +documentation = "https://docs.rs/google-content2_sandbox/1.0.3+20161205" license = "MIT" keywords = ["content", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/content2_sandbox/README.md b/gen/content2_sandbox/README.md index 841952562b..113a7815bd 100644 --- a/gen/content2_sandbox/README.md +++ b/gen/content2_sandbox/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-content2_sandbox` library allows access to all features of the *Google Shopping Content* service. -This documentation was generated from *Shopping Content* crate version *1.0.2+20161205*, where *20161205* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Shopping Content* crate version *1.0.3+20161205*, where *20161205* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Shopping Content* *v2_sandbox* API can be found at the [official documentation site](https://developers.google.com/shopping-content). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.ShoppingContent.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.ShoppingContent.html) ... -* [orders](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.Order.html) - * [*acknowledge*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderCancellineitemCall.html), [*createtestorder*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderCreatetestorderCall.html), [*custombatch*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderGettestordertemplateCall.html), [*list*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderRefundCall.html), [*returnlineitem*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderReturnlineitemCall.html), [*shiplineitems*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderShiplineitemCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.OrderUpdateshipmentCall.html) +* [orders](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.Order.html) + * [*acknowledge*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderAcknowledgeCall.html), [*advancetestorder*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderAdvancetestorderCall.html), [*cancel*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderCancelCall.html), [*cancellineitem*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderCancellineitemCall.html), [*createtestorder*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderCreatetestorderCall.html), [*custombatch*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderCustombatchCall.html), [*get*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderGetCall.html), [*getbymerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderGetbymerchantorderidCall.html), [*gettestordertemplate*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderGettestordertemplateCall.html), [*list*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderListCall.html), [*refund*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderRefundCall.html), [*returnlineitem*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderReturnlineitemCall.html), [*shiplineitems*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderShiplineitemCall.html), [*updatemerchantorderid*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderUpdatemerchantorderidCall.html) and [*updateshipment*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.OrderUpdateshipmentCall.html) @@ -23,17 +23,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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/struct.ShoppingContent.html)** +* **[Hub](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/struct.ShoppingContent.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Part.html)** + * **[Parts](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -136,17 +136,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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")`. @@ -156,29 +156,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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/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-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.RequestValue.html) and -[decodable](https://docs.rs/google-content2_sandbox/1.0.2+20161205/google_content2_sandbox/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-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.RequestValue.html) and +[decodable](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/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-content2_sandbox/1.0.2+20161205/google_content2_sandbox/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-content2_sandbox/1.0.3+20161205/google_content2_sandbox/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/content2_sandbox/src/cmn.rs b/gen/content2_sandbox/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/content2_sandbox/src/cmn.rs +++ b/gen/content2_sandbox/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/content2_sandbox/src/lib.rs b/gen/content2_sandbox/src/lib.rs index 8d89b4d59e..73ae387569 100644 --- a/gen/content2_sandbox/src/lib.rs +++ b/gen/content2_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Shopping Content* crate version *1.0.2+20161205*, where *20161205* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Shopping Content* crate version *1.0.3+20161205*, where *20161205* is the exact revision of the *content:v2sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Shopping Content* *v2_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/shopping-content). diff --git a/gen/content2_sandbox/src/lib.rs.in b/gen/content2_sandbox/src/lib.rs.in index 2f080ec34f..fc65284d3e 100644 --- a/gen/content2_sandbox/src/lib.rs.in +++ b/gen/content2_sandbox/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> ShoppingContent ShoppingContent { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -147,7 +147,7 @@ impl<'a, C, A> ShoppingContent } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/coordinate1-cli/Cargo.toml b/gen/coordinate1-cli/Cargo.toml index 8209835e12..64f10e7b7e 100644 --- a/gen/coordinate1-cli/Cargo.toml +++ b/gen/coordinate1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-coordinate1-cli" -version = "1.0.2+20150811" +version = "1.0.3+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/coordinate1-cli" @@ -17,14 +17,15 @@ keywords = ["coordinate", "google", "cli"] name = "coordinate1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-coordinate1] path = "../coordinate1" -version = "1.0.2+20150811" +version = "1.0.3+20150811" optional = true default-features = false diff --git a/gen/coordinate1-cli/README.md b/gen/coordinate1-cli/README.md index 534c28c1ce..a263a835cb 100644 --- a/gen/coordinate1-cli/README.md +++ b/gen/coordinate1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *1.0.2*. +This documentation was generated from the *coordinate* API at revision *20150811*. The CLI is at version *1.0.3*. ```bash coordinate1 [options] diff --git a/gen/coordinate1-cli/mkdocs.yml b/gen/coordinate1-cli/mkdocs.yml index dc3facb6e9..7116b014c7 100644 --- a/gen/coordinate1-cli/mkdocs.yml +++ b/gen/coordinate1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: coordinate v1.0.2+20150811 +site_name: coordinate v1.0.3+20150811 site_url: http://byron.github.io/google-apis-rs/google-coordinate1-cli site_description: A complete library to interact with coordinate (protocol v1) diff --git a/gen/coordinate1-cli/src/main.rs b/gen/coordinate1-cli/src/main.rs index f3c63404f6..1436a66021 100644 --- a/gen/coordinate1-cli/src/main.rs +++ b/gen/coordinate1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1140,10 +1141,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "coordinate1", @@ -1153,10 +1154,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1570,7 +1571,7 @@ fn main() { let mut app = App::new("coordinate1") .author("Sebastian Thiel ") - .version("1.0.2+20150811") + .version("1.0.3+20150811") .about("Lets you view and manage jobs in a Coordinate team.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_coordinate1_cli") .arg(Arg::with_name("url") diff --git a/gen/coordinate1/Cargo.toml b/gen/coordinate1/Cargo.toml index 670c85962b..059eb22adb 100644 --- a/gen/coordinate1/Cargo.toml +++ b/gen/coordinate1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-coordinate1" -version = "1.0.2+20150811" +version = "1.0.3+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with coordinate (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/coordinate1" homepage = "https://developers.google.com/coordinate/" -documentation = "https://docs.rs/google-coordinate1/1.0.2+20150811" +documentation = "https://docs.rs/google-coordinate1/1.0.3+20150811" license = "MIT" keywords = ["coordinate", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/coordinate1/README.md b/gen/coordinate1/README.md index 65174f802d..0aa9d63824 100644 --- a/gen/coordinate1/README.md +++ b/gen/coordinate1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-coordinate1` library allows access to all features of the *Google coordinate* service. -This documentation was generated from *coordinate* crate version *1.0.2+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *coordinate* crate version *1.0.3+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *coordinate* *v1* API can be found at the [official documentation site](https://developers.google.com/coordinate/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Coordinate.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Coordinate.html) ... -* [custom field def](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.CustomFieldDef.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.CustomFieldDefListCall.html) -* [jobs](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Job.html) - * [*get*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.JobGetCall.html), [*insert*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.JobInsertCall.html), [*list*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.JobListCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.JobPatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.JobUpdateCall.html) -* [location](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Location.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.LocationListCall.html) -* [schedule](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Schedule.html) - * [*get*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.ScheduleGetCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.SchedulePatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.ScheduleUpdateCall.html) -* [team](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Team.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.TeamListCall.html) -* [worker](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.Worker.html) - * [*list*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/struct.WorkerListCall.html) +* [custom field def](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.CustomFieldDef.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.CustomFieldDefListCall.html) +* [jobs](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Job.html) + * [*get*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.JobGetCall.html), [*insert*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.JobInsertCall.html), [*list*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.JobListCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.JobPatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.JobUpdateCall.html) +* [location](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Location.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.LocationListCall.html) +* [schedule](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Schedule.html) + * [*get*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.ScheduleGetCall.html), [*patch*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.SchedulePatchCall.html) and [*update*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.ScheduleUpdateCall.html) +* [team](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Team.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.TeamListCall.html) +* [worker](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Worker.html) + * [*list*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.WorkerListCall.html) @@ -33,17 +33,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-coordinate1/1.0.2+20150811/google_coordinate1/struct.Coordinate.html)** +* **[Hub](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/struct.Coordinate.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/trait.Part.html)** + * **[Parts](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -145,17 +145,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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")`. @@ -165,29 +165,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-coordinate1/1.0.2+20150811/google_coordinate1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/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-coordinate1/1.0.3+20150811/google_coordinate1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-coordinate1/1.0.2+20150811/google_coordinate1/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-coordinate1/1.0.3+20150811/google_coordinate1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/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-coordinate1/1.0.2+20150811/google_coordinate1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-coordinate1/1.0.3+20150811/google_coordinate1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/coordinate1/src/cmn.rs b/gen/coordinate1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/coordinate1/src/cmn.rs +++ b/gen/coordinate1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/coordinate1/src/lib.rs b/gen/coordinate1/src/lib.rs index 4fdcbb6173..1007d20ad8 100644 --- a/gen/coordinate1/src/lib.rs +++ b/gen/coordinate1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *coordinate* crate version *1.0.2+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *coordinate* crate version *1.0.3+20150811*, where *20150811* is the exact revision of the *coordinate:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *coordinate* *v1* API can be found at the //! [official documentation site](https://developers.google.com/coordinate/). diff --git a/gen/coordinate1/src/lib.rs.in b/gen/coordinate1/src/lib.rs.in index 6590d8d54e..506e712a9a 100644 --- a/gen/coordinate1/src/lib.rs.in +++ b/gen/coordinate1/src/lib.rs.in @@ -151,7 +151,7 @@ impl<'a, C, A> Coordinate Coordinate { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -175,7 +175,7 @@ impl<'a, C, A> Coordinate } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/customsearch1-cli/Cargo.toml b/gen/customsearch1-cli/Cargo.toml index 038464bfdc..a78d437215 100644 --- a/gen/customsearch1-cli/Cargo.toml +++ b/gen/customsearch1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-customsearch1-cli" -version = "1.0.2+20160411" +version = "1.0.3+20160411" authors = ["Sebastian Thiel "] description = "A complete library to interact with customsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/customsearch1-cli" @@ -17,14 +17,15 @@ keywords = ["customsearch", "google", "cli"] name = "customsearch1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-customsearch1] path = "../customsearch1" -version = "1.0.2+20160411" +version = "1.0.3+20160411" optional = true default-features = false diff --git a/gen/customsearch1-cli/README.md b/gen/customsearch1-cli/README.md index 7d11dd93b8..b2ee785fe2 100644 --- a/gen/customsearch1-cli/README.md +++ b/gen/customsearch1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *customsearch* API at revision *20160411*. The CLI is at version *1.0.2*. +This documentation was generated from the *customsearch* API at revision *20160411*. The CLI is at version *1.0.3*. ```bash customsearch1 [options] diff --git a/gen/customsearch1-cli/mkdocs.yml b/gen/customsearch1-cli/mkdocs.yml index c9d20d8da0..e52edc0bda 100644 --- a/gen/customsearch1-cli/mkdocs.yml +++ b/gen/customsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: customsearch v1.0.2+20160411 +site_name: customsearch v1.0.3+20160411 site_url: http://byron.github.io/google-apis-rs/google-customsearch1-cli site_description: A complete library to interact with customsearch (protocol v1) diff --git a/gen/customsearch1-cli/src/main.rs b/gen/customsearch1-cli/src/main.rs index e3b8d14876..cde2023ee5 100644 --- a/gen/customsearch1-cli/src/main.rs +++ b/gen/customsearch1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -238,10 +239,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "customsearch1", @@ -251,10 +252,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -315,7 +316,7 @@ fn main() { let mut app = App::new("customsearch1") .author("Sebastian Thiel ") - .version("1.0.2+20160411") + .version("1.0.3+20160411") .about("Lets you search over a website or collection of websites") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_customsearch1_cli") .arg(Arg::with_name("folder") diff --git a/gen/customsearch1/Cargo.toml b/gen/customsearch1/Cargo.toml index 4f83a5aab5..e68d442d92 100644 --- a/gen/customsearch1/Cargo.toml +++ b/gen/customsearch1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-customsearch1" -version = "1.0.2+20160411" +version = "1.0.3+20160411" authors = ["Sebastian Thiel "] description = "A complete library to interact with customsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/customsearch1" homepage = "https://developers.google.com/custom-search/v1/using_rest" -documentation = "https://docs.rs/google-customsearch1/1.0.2+20160411" +documentation = "https://docs.rs/google-customsearch1/1.0.3+20160411" license = "MIT" keywords = ["customsearch", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/customsearch1/README.md b/gen/customsearch1/README.md index 36095bb803..41e0cb2e49 100644 --- a/gen/customsearch1/README.md +++ b/gen/customsearch1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-customsearch1` library allows access to all features of the *Google customsearch* service. -This documentation was generated from *customsearch* crate version *1.0.2+20160411*, where *20160411* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *customsearch* crate version *1.0.3+20160411*, where *20160411* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *customsearch* *v1* API can be found at the [official documentation site](https://developers.google.com/custom-search/v1/using_rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/struct.Customsearch.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/struct.Customsearch.html) ... * cse - * [*list*](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/struct.CseListCall.html) + * [*list*](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/struct.CseListCall.html) @@ -23,17 +23,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-customsearch1/1.0.2+20160411/google_customsearch1/struct.Customsearch.html)** +* **[Hub](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/struct.Customsearch.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/trait.Part.html)** + * **[Parts](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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")`. @@ -166,29 +166,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-customsearch1/1.0.2+20160411/google_customsearch1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/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-customsearch1/1.0.3+20160411/google_customsearch1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-customsearch1/1.0.2+20160411/google_customsearch1/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-customsearch1/1.0.3+20160411/google_customsearch1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/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-customsearch1/1.0.2+20160411/google_customsearch1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-customsearch1/1.0.3+20160411/google_customsearch1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/customsearch1/src/cmn.rs b/gen/customsearch1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/customsearch1/src/cmn.rs +++ b/gen/customsearch1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/customsearch1/src/lib.rs b/gen/customsearch1/src/lib.rs index 3a6fc0d3c5..2823588772 100644 --- a/gen/customsearch1/src/lib.rs +++ b/gen/customsearch1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *customsearch* crate version *1.0.2+20160411*, where *20160411* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *customsearch* crate version *1.0.3+20160411*, where *20160411* is the exact revision of the *customsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *customsearch* *v1* API can be found at the //! [official documentation site](https://developers.google.com/custom-search/v1/using_rest). diff --git a/gen/customsearch1/src/lib.rs.in b/gen/customsearch1/src/lib.rs.in index ad1f3320df..8541160023 100644 --- a/gen/customsearch1/src/lib.rs.in +++ b/gen/customsearch1/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Customsearch Customsearch { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -149,7 +149,7 @@ impl<'a, C, A> Customsearch } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dataproc1-cli/Cargo.toml b/gen/dataproc1-cli/Cargo.toml index d785e80565..e6d5c313e2 100644 --- a/gen/dataproc1-cli/Cargo.toml +++ b/gen/dataproc1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dataproc1-cli" -version = "1.0.2+20161102" +version = "1.0.3+20161102" authors = ["Sebastian Thiel "] description = "A complete library to interact with dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dataproc1-cli" @@ -17,14 +17,15 @@ keywords = ["dataproc", "google", "cli"] name = "dataproc1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dataproc1] path = "../dataproc1" -version = "1.0.2+20161102" +version = "1.0.3+20161102" optional = true default-features = false diff --git a/gen/dataproc1-cli/README.md b/gen/dataproc1-cli/README.md index 5dfc1893a4..04dc1ae475 100644 --- a/gen/dataproc1-cli/README.md +++ b/gen/dataproc1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dataproc* API at revision *20161102*. The CLI is at version *1.0.2*. +This documentation was generated from the *dataproc* API at revision *20161102*. The CLI is at version *1.0.3*. ```bash dataproc1 [options] diff --git a/gen/dataproc1-cli/mkdocs.yml b/gen/dataproc1-cli/mkdocs.yml index ed68c9ad7f..f191e4bebe 100644 --- a/gen/dataproc1-cli/mkdocs.yml +++ b/gen/dataproc1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dataproc v1.0.2+20161102 +site_name: dataproc v1.0.3+20161102 site_url: http://byron.github.io/google-apis-rs/google-dataproc1-cli site_description: A complete library to interact with dataproc (protocol v1) diff --git a/gen/dataproc1-cli/src/main.rs b/gen/dataproc1-cli/src/main.rs index 40e74ba99a..a3dadd9be2 100644 --- a/gen/dataproc1-cli/src/main.rs +++ b/gen/dataproc1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1262,10 +1263,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dataproc1", @@ -1275,10 +1276,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1789,7 +1790,7 @@ fn main() { let mut app = App::new("dataproc1") .author("Sebastian Thiel ") - .version("1.0.2+20161102") + .version("1.0.3+20161102") .about("An API for managing Hadoop-based clusters and jobs on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dataproc1_cli") .arg(Arg::with_name("url") diff --git a/gen/dataproc1/Cargo.toml b/gen/dataproc1/Cargo.toml index 636ba15632..e7c0d4fdac 100644 --- a/gen/dataproc1/Cargo.toml +++ b/gen/dataproc1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dataproc1" -version = "1.0.2+20161102" +version = "1.0.3+20161102" authors = ["Sebastian Thiel "] description = "A complete library to interact with dataproc (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dataproc1" homepage = "https://cloud.google.com/dataproc/" -documentation = "https://docs.rs/google-dataproc1/1.0.2+20161102" +documentation = "https://docs.rs/google-dataproc1/1.0.3+20161102" license = "MIT" keywords = ["dataproc", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dataproc1/README.md b/gen/dataproc1/README.md index efe40c7df6..b53fa83615 100644 --- a/gen/dataproc1/README.md +++ b/gen/dataproc1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-dataproc1` library allows access to all features of the *Google dataproc* service. -This documentation was generated from *dataproc* crate version *1.0.2+20161102*, where *20161102* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dataproc* crate version *1.0.3+20161102*, where *20161102* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dataproc* *v1* API can be found at the [official documentation site](https://cloud.google.com/dataproc/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.Dataproc.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.Dataproc.html) ... * projects - * [*regions clusters create*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterCreateCall.html), [*regions clusters delete*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterDeleteCall.html), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterDiagnoseCall.html), [*regions clusters get*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterGetCall.html), [*regions clusters list*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterListCall.html), [*regions clusters patch*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionClusterPatchCall.html), [*regions jobs cancel*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionJobCancelCall.html), [*regions jobs delete*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionJobDeleteCall.html), [*regions jobs get*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionJobGetCall.html), [*regions jobs list*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionJobListCall.html), [*regions jobs submit*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionJobSubmitCall.html), [*regions operations cancel*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionOperationCancelCall.html), [*regions operations delete*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionOperationDeleteCall.html), [*regions operations get*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionOperationGetCall.html) and [*regions operations list*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/struct.ProjectRegionOperationListCall.html) + * [*regions clusters create*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterCreateCall.html), [*regions clusters delete*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterDeleteCall.html), [*regions clusters diagnose*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterDiagnoseCall.html), [*regions clusters get*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterGetCall.html), [*regions clusters list*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterListCall.html), [*regions clusters patch*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionClusterPatchCall.html), [*regions jobs cancel*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionJobCancelCall.html), [*regions jobs delete*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionJobDeleteCall.html), [*regions jobs get*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionJobGetCall.html), [*regions jobs list*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionJobListCall.html), [*regions jobs submit*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionJobSubmitCall.html), [*regions operations cancel*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionOperationCancelCall.html), [*regions operations delete*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionOperationDeleteCall.html), [*regions operations get*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionOperationGetCall.html) and [*regions operations list*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.ProjectRegionOperationListCall.html) @@ -23,17 +23,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-dataproc1/1.0.2+20161102/google_dataproc1/struct.Dataproc.html)** +* **[Hub](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/struct.Dataproc.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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")`. @@ -146,29 +146,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-dataproc1/1.0.2+20161102/google_dataproc1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/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-dataproc1/1.0.3+20161102/google_dataproc1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dataproc1/1.0.2+20161102/google_dataproc1/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-dataproc1/1.0.3+20161102/google_dataproc1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/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-dataproc1/1.0.2+20161102/google_dataproc1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dataproc1/1.0.3+20161102/google_dataproc1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dataproc1/src/cmn.rs b/gen/dataproc1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dataproc1/src/cmn.rs +++ b/gen/dataproc1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dataproc1/src/lib.rs b/gen/dataproc1/src/lib.rs index 51ddef75b9..ee320021bb 100644 --- a/gen/dataproc1/src/lib.rs +++ b/gen/dataproc1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dataproc* crate version *1.0.2+20161102*, where *20161102* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dataproc* crate version *1.0.3+20161102*, where *20161102* is the exact revision of the *dataproc:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dataproc* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/dataproc/). diff --git a/gen/dataproc1/src/lib.rs.in b/gen/dataproc1/src/lib.rs.in index de6887fffd..e01cb7185b 100644 --- a/gen/dataproc1/src/lib.rs.in +++ b/gen/dataproc1/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> Dataproc Dataproc { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -147,7 +147,7 @@ impl<'a, C, A> Dataproc } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2-cli/Cargo.toml b/gen/deploymentmanager2-cli/Cargo.toml index ada2b196ee..d90c8a67c0 100644 --- a/gen/deploymentmanager2-cli/Cargo.toml +++ b/gen/deploymentmanager2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2-cli" -version = "1.0.2+20161209" +version = "1.0.3+20161209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2-cli" @@ -17,14 +17,15 @@ keywords = ["deploymentmanager", "google", "cli"] name = "deploymentmanager2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-deploymentmanager2] path = "../deploymentmanager2" -version = "1.0.2+20161209" +version = "1.0.3+20161209" optional = true default-features = false diff --git a/gen/deploymentmanager2-cli/README.md b/gen/deploymentmanager2-cli/README.md index 87cd038b9e..5d8ed7cf31 100644 --- a/gen/deploymentmanager2-cli/README.md +++ b/gen/deploymentmanager2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Deployment Manager* API at revision *20161209*. The CLI is at version *1.0.2*. +This documentation was generated from the *Deployment Manager* API at revision *20161209*. The CLI is at version *1.0.3*. ```bash deploymentmanager2 [options] diff --git a/gen/deploymentmanager2-cli/mkdocs.yml b/gen/deploymentmanager2-cli/mkdocs.yml index 34d553eb9c..58f758dfcf 100644 --- a/gen/deploymentmanager2-cli/mkdocs.yml +++ b/gen/deploymentmanager2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v1.0.2+20161209 +site_name: Deployment Manager v1.0.3+20161209 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2-cli site_description: A complete library to interact with Deployment Manager (protocol v2) diff --git a/gen/deploymentmanager2-cli/src/main.rs b/gen/deploymentmanager2-cli/src/main.rs index e4ecfa7d7e..a6c220a486 100644 --- a/gen/deploymentmanager2-cli/src/main.rs +++ b/gen/deploymentmanager2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1527,10 +1528,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "deploymentmanager2", @@ -1540,10 +1541,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2128,7 +2129,7 @@ fn main() { let mut app = App::new("deploymentmanager2") .author("Sebastian Thiel ") - .version("1.0.2+20161209") + .version("1.0.3+20161209") .about("Declares, configures, and deploys complex solutions on Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2/Cargo.toml b/gen/deploymentmanager2/Cargo.toml index da0b66f208..06cfd23cc5 100644 --- a/gen/deploymentmanager2/Cargo.toml +++ b/gen/deploymentmanager2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-deploymentmanager2" -version = "1.0.2+20161209" +version = "1.0.3+20161209" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2" homepage = "https://cloud.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2/1.0.2+20161209" +documentation = "https://docs.rs/google-deploymentmanager2/1.0.3+20161209" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/deploymentmanager2/README.md b/gen/deploymentmanager2/README.md index 89670b729b..9d0a9aa139 100644 --- a/gen/deploymentmanager2/README.md +++ b/gen/deploymentmanager2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *1.0.2+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Deployment Manager* crate version *1.0.3+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Deployment Manager* *v2* API can be found at the [official documentation site](https://cloud.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentManager.html) ... -* [deployments](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.Deployment.html) - * [*cancel preview*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentCancelPreviewCall.html), [*delete*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentGetCall.html), [*get iam policy*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentGetIamPolicyCall.html), [*insert*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentPatchCall.html), [*set iam policy*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentSetIamPolicyCall.html), [*stop*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentStopCall.html), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentTestIamPermissionCall.html) and [*update*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentUpdateCall.html) -* [manifests](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.Manifest.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.ManifestListCall.html) -* [operations](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.Operation.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.OperationListCall.html) -* [resources](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.ResourceType.html) - * [*get*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.ResourceListCall.html) -* [types](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.Type.html) - * [*list*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.TypeListCall.html) +* [deployments](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.Deployment.html) + * [*cancel preview*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentCancelPreviewCall.html), [*delete*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentGetCall.html), [*get iam policy*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentGetIamPolicyCall.html), [*insert*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentPatchCall.html), [*set iam policy*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentSetIamPolicyCall.html), [*stop*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentStopCall.html), [*test iam permissions*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentTestIamPermissionCall.html) and [*update*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentUpdateCall.html) +* [manifests](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.Manifest.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.ManifestListCall.html) +* [operations](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.Operation.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.OperationListCall.html) +* [resources](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.ResourceType.html) + * [*get*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.ResourceListCall.html) +* [types](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.Type.html) + * [*list*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.TypeListCall.html) @@ -31,17 +31,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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/struct.DeploymentManager.html)** +* **[Hub](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/struct.DeploymentManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Part.html)** + * **[Parts](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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")`. @@ -162,29 +162,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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/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-deploymentmanager2/1.0.2+20161209/google_deploymentmanager2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-deploymentmanager2/1.0.3+20161209/google_deploymentmanager2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2/src/cmn.rs b/gen/deploymentmanager2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/deploymentmanager2/src/cmn.rs +++ b/gen/deploymentmanager2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/deploymentmanager2/src/lib.rs b/gen/deploymentmanager2/src/lib.rs index fb612ca1ab..30e4d56f45 100644 --- a/gen/deploymentmanager2/src/lib.rs +++ b/gen/deploymentmanager2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *1.0.2+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Deployment Manager* crate version *1.0.3+20161209*, where *20161209* is the exact revision of the *deploymentmanager:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Deployment Manager* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/deployment-manager/). diff --git a/gen/deploymentmanager2/src/lib.rs.in b/gen/deploymentmanager2/src/lib.rs.in index 9c28904c91..793f313196 100644 --- a/gen/deploymentmanager2/src/lib.rs.in +++ b/gen/deploymentmanager2/src/lib.rs.in @@ -152,7 +152,7 @@ impl<'a, C, A> DeploymentManager DeploymentManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -173,7 +173,7 @@ impl<'a, C, A> DeploymentManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/deploymentmanager2_beta2-cli/Cargo.toml b/gen/deploymentmanager2_beta2-cli/Cargo.toml index a3752caf25..89f9bd5e6d 100644 --- a/gen/deploymentmanager2_beta2-cli/Cargo.toml +++ b/gen/deploymentmanager2_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-deploymentmanager2_beta2-cli" -version = "1.0.2+20160201" +version = "1.0.3+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["deploymentmanager", "google", "cli"] name = "deploymentmanager2-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-deploymentmanager2_beta2] path = "../deploymentmanager2_beta2" -version = "1.0.2+20160201" +version = "1.0.3+20160201" optional = true default-features = false diff --git a/gen/deploymentmanager2_beta2-cli/README.md b/gen/deploymentmanager2_beta2-cli/README.md index 2bb92935fe..74badbe8b5 100644 --- a/gen/deploymentmanager2_beta2-cli/README.md +++ b/gen/deploymentmanager2_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *1.0.2*. +This documentation was generated from the *Deployment Manager* API at revision *20160201*. The CLI is at version *1.0.3*. ```bash deploymentmanager2-beta2 [options] diff --git a/gen/deploymentmanager2_beta2-cli/mkdocs.yml b/gen/deploymentmanager2_beta2-cli/mkdocs.yml index 1ccd0d1017..15b7d8036f 100644 --- a/gen/deploymentmanager2_beta2-cli/mkdocs.yml +++ b/gen/deploymentmanager2_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Deployment Manager v1.0.2+20160201 +site_name: Deployment Manager v1.0.3+20160201 site_url: http://byron.github.io/google-apis-rs/google-deploymentmanager2_beta2-cli site_description: A complete library to interact with Deployment Manager (protocol v2beta2) diff --git a/gen/deploymentmanager2_beta2-cli/src/main.rs b/gen/deploymentmanager2_beta2-cli/src/main.rs index 90a1990be9..4eb1fe0836 100644 --- a/gen/deploymentmanager2_beta2-cli/src/main.rs +++ b/gen/deploymentmanager2_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1041,10 +1042,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "deploymentmanager2-beta2", @@ -1054,10 +1055,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1478,7 +1479,7 @@ fn main() { let mut app = App::new("deploymentmanager2-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20160201") + .version("1.0.3+20160201") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_deploymentmanager2_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/deploymentmanager2_beta2/Cargo.toml b/gen/deploymentmanager2_beta2/Cargo.toml index 28ba7800b2..c6fd44953f 100644 --- a/gen/deploymentmanager2_beta2/Cargo.toml +++ b/gen/deploymentmanager2_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-deploymentmanager2_beta2" -version = "1.0.2+20160201" +version = "1.0.3+20160201" authors = ["Sebastian Thiel "] description = "A complete library to interact with Deployment Manager (protocol v2beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/deploymentmanager2_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201" +documentation = "https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201" license = "MIT" keywords = ["deploymentmanager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/deploymentmanager2_beta2/README.md b/gen/deploymentmanager2_beta2/README.md index 096a6f46b8..7e537631fb 100644 --- a/gen/deploymentmanager2_beta2/README.md +++ b/gen/deploymentmanager2_beta2/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-deploymentmanager2_beta2` library allows access to all features of the *Google Deployment Manager* service. -This documentation was generated from *Deployment Manager* crate version *1.0.2+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Deployment Manager* crate version *1.0.3+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Deployment Manager* *v2_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html) ... -* [deployments](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.Deployment.html) - * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentPatchCall.html) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentUpdateCall.html) -* [manifests](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.Manifest.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.ManifestListCall.html) -* [operations](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.Operation.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.OperationListCall.html) -* [resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.ResourceType.html) - * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.ResourceListCall.html) -* [types](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.Type.html) - * [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.TypeListCall.html) +* [deployments](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.Deployment.html) + * [*delete*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentInsertCall.html), [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentListCall.html), [*patch*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentPatchCall.html) and [*update*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentUpdateCall.html) +* [manifests](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.Manifest.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.ManifestGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.ManifestListCall.html) +* [operations](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.Operation.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.OperationListCall.html) +* [resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.ResourceType.html) + * [*get*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.ResourceGetCall.html) and [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.ResourceListCall.html) +* [types](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.Type.html) + * [*list*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.TypeListCall.html) @@ -31,17 +31,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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html)** +* **[Hub](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/struct.DeploymentManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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")`. @@ -157,29 +157,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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/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-deploymentmanager2_beta2/1.0.2+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-deploymentmanager2_beta2/1.0.3+20160201/google_deploymentmanager2_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/deploymentmanager2_beta2/src/cmn.rs b/gen/deploymentmanager2_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/deploymentmanager2_beta2/src/cmn.rs +++ b/gen/deploymentmanager2_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/deploymentmanager2_beta2/src/lib.rs b/gen/deploymentmanager2_beta2/src/lib.rs index f61bbf485b..02fd7f424b 100644 --- a/gen/deploymentmanager2_beta2/src/lib.rs +++ b/gen/deploymentmanager2_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Deployment Manager* crate version *1.0.2+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Deployment Manager* crate version *1.0.3+20160201*, where *20160201* is the exact revision of the *deploymentmanager:v2beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Deployment Manager* *v2_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). diff --git a/gen/deploymentmanager2_beta2/src/lib.rs.in b/gen/deploymentmanager2_beta2/src/lib.rs.in index 800f807bf3..0053ea1c78 100644 --- a/gen/deploymentmanager2_beta2/src/lib.rs.in +++ b/gen/deploymentmanager2_beta2/src/lib.rs.in @@ -152,7 +152,7 @@ impl<'a, C, A> DeploymentManager DeploymentManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -173,7 +173,7 @@ impl<'a, C, A> DeploymentManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d1-cli/Cargo.toml b/gen/dfareporting2d1-cli/Cargo.toml index fd6ae9c8b8..c207d18da1 100644 --- a/gen/dfareporting2d1-cli/Cargo.toml +++ b/gen/dfareporting2d1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d1-cli" -version = "1.0.2+20160323" +version = "1.0.3+20160323" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d1-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d1] path = "../dfareporting2d1" -version = "1.0.2+20160323" +version = "1.0.3+20160323" optional = true default-features = false diff --git a/gen/dfareporting2d1-cli/README.md b/gen/dfareporting2d1-cli/README.md index af001b0d50..e64391ddcd 100644 --- a/gen/dfareporting2d1-cli/README.md +++ b/gen/dfareporting2d1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20160323*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20160323*. The CLI is at version *1.0.3*. ```bash dfareporting2d1 [options] diff --git a/gen/dfareporting2d1-cli/mkdocs.yml b/gen/dfareporting2d1-cli/mkdocs.yml index 89b06d8df4..f1bcdd4e0b 100644 --- a/gen/dfareporting2d1-cli/mkdocs.yml +++ b/gen/dfareporting2d1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20160323 +site_name: dfareporting v1.0.3+20160323 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d1-cli site_description: A complete library to interact with dfareporting (protocol v2.1) diff --git a/gen/dfareporting2d1-cli/src/main.rs b/gen/dfareporting2d1-cli/src/main.rs index 5de76e347d..bbbb5479c1 100644 --- a/gen/dfareporting2d1-cli/src/main.rs +++ b/gen/dfareporting2d1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -16770,10 +16771,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d1", @@ -16783,10 +16784,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -22314,7 +22315,7 @@ fn main() { let mut app = App::new("dfareporting2d1") .author("Sebastian Thiel ") - .version("1.0.2+20160323") + .version("1.0.3+20160323") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d1_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d1/Cargo.toml b/gen/dfareporting2d1/Cargo.toml index 3c5db28c81..3c4a139011 100644 --- a/gen/dfareporting2d1/Cargo.toml +++ b/gen/dfareporting2d1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d1" -version = "1.0.2+20160323" +version = "1.0.3+20160323" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d1" homepage = "https://developers.google.com/doubleclick-advertisers/reporting/" -documentation = "https://docs.rs/google-dfareporting2d1/1.0.2+20160323" +documentation = "https://docs.rs/google-dfareporting2d1/1.0.3+20160323" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d1/README.md b/gen/dfareporting2d1/README.md index 8bb9d8a179..0fe8def65c 100644 --- a/gen/dfareporting2d1/README.md +++ b/gen/dfareporting2d1/README.md @@ -5,134 +5,134 @@ DO NOT EDIT ! --> The `google-dfareporting2d1` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d1* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ContentCategoryUpdateCall.html) -* [countries](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.DirectorySiteListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.LandingPageUpdateCall.html) -* [metros](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.TargetableRemarketingListListCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ContentCategoryUpdateCall.html) +* [countries](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.DirectorySiteListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.LandingPageUpdateCall.html) +* [metros](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.TargetableRemarketingListListCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.ReportFileGetCall.html) @@ -140,17 +140,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -246,17 +246,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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")`. @@ -266,29 +266,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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/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-dfareporting2d1/1.0.2+20160323/google_dfareporting2d1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d1/1.0.3+20160323/google_dfareporting2d1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d1/src/cmn.rs b/gen/dfareporting2d1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d1/src/cmn.rs +++ b/gen/dfareporting2d1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d1/src/lib.rs b/gen/dfareporting2d1/src/lib.rs index 0ca53a4980..6071c836bc 100644 --- a/gen/dfareporting2d1/src/lib.rs +++ b/gen/dfareporting2d1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20160323*, where *20160323* is the exact revision of the *dfareporting:v2.1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d1* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). diff --git a/gen/dfareporting2d1/src/lib.rs.in b/gen/dfareporting2d1/src/lib.rs.in index 27b038dbd7..c24f8b3656 100644 --- a/gen/dfareporting2d1/src/lib.rs.in +++ b/gen/dfareporting2d1/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -311,7 +311,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d2-cli/Cargo.toml b/gen/dfareporting2d2-cli/Cargo.toml index fe3dc1ee6a..7a366b613f 100644 --- a/gen/dfareporting2d2-cli/Cargo.toml +++ b/gen/dfareporting2d2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d2-cli" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d2-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d2] path = "../dfareporting2d2" -version = "1.0.2+20160803" +version = "1.0.3+20160803" optional = true default-features = false diff --git a/gen/dfareporting2d2-cli/README.md b/gen/dfareporting2d2-cli/README.md index 0b70029cf6..0737cc527c 100644 --- a/gen/dfareporting2d2-cli/README.md +++ b/gen/dfareporting2d2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.3*. ```bash dfareporting2d2 [options] diff --git a/gen/dfareporting2d2-cli/mkdocs.yml b/gen/dfareporting2d2-cli/mkdocs.yml index ce95edb3fd..b835d3ca6a 100644 --- a/gen/dfareporting2d2-cli/mkdocs.yml +++ b/gen/dfareporting2d2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20160803 +site_name: dfareporting v1.0.3+20160803 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d2-cli site_description: A complete library to interact with dfareporting (protocol v2.2) diff --git a/gen/dfareporting2d2-cli/src/main.rs b/gen/dfareporting2d2-cli/src/main.rs index f999c5acbb..122b778835 100644 --- a/gen/dfareporting2d2-cli/src/main.rs +++ b/gen/dfareporting2d2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -16790,10 +16791,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d2", @@ -16803,10 +16804,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -22334,7 +22335,7 @@ fn main() { let mut app = App::new("dfareporting2d2") .author("Sebastian Thiel ") - .version("1.0.2+20160803") + .version("1.0.3+20160803") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d2_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d2/Cargo.toml b/gen/dfareporting2d2/Cargo.toml index 233a35c9f1..479bce79aa 100644 --- a/gen/dfareporting2d2/Cargo.toml +++ b/gen/dfareporting2d2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d2" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d2" homepage = "https://developers.google.com/doubleclick-advertisers/reporting/" -documentation = "https://docs.rs/google-dfareporting2d2/1.0.2+20160803" +documentation = "https://docs.rs/google-dfareporting2d2/1.0.3+20160803" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d2/README.md b/gen/dfareporting2d2/README.md index 599efa66a0..5e9fe62d9e 100644 --- a/gen/dfareporting2d2/README.md +++ b/gen/dfareporting2d2/README.md @@ -5,134 +5,134 @@ DO NOT EDIT ! --> The `google-dfareporting2d2` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d2* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ContentCategoryUpdateCall.html) -* [countries](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.DirectorySiteListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.LandingPageUpdateCall.html) -* [metros](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.TargetableRemarketingListListCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ContentCategoryUpdateCall.html) +* [countries](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.DirectorySiteListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.LandingPageUpdateCall.html) +* [metros](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.TargetableRemarketingListListCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.ReportFileGetCall.html) @@ -140,17 +140,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -246,17 +246,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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")`. @@ -266,29 +266,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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/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-dfareporting2d2/1.0.2+20160803/google_dfareporting2d2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d2/1.0.3+20160803/google_dfareporting2d2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d2/src/cmn.rs b/gen/dfareporting2d2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d2/src/cmn.rs +++ b/gen/dfareporting2d2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d2/src/lib.rs b/gen/dfareporting2d2/src/lib.rs index 32b2d06e19..fa5aea4817 100644 --- a/gen/dfareporting2d2/src/lib.rs +++ b/gen/dfareporting2d2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). diff --git a/gen/dfareporting2d2/src/lib.rs.in b/gen/dfareporting2d2/src/lib.rs.in index 7c34df5c43..45bb6ddf07 100644 --- a/gen/dfareporting2d2/src/lib.rs.in +++ b/gen/dfareporting2d2/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -311,7 +311,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d3-cli/Cargo.toml b/gen/dfareporting2d3-cli/Cargo.toml index b69cc4e26e..0bd7b0d28e 100644 --- a/gen/dfareporting2d3-cli/Cargo.toml +++ b/gen/dfareporting2d3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d3-cli" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d3-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d3] path = "../dfareporting2d3" -version = "1.0.2+20160803" +version = "1.0.3+20160803" optional = true default-features = false diff --git a/gen/dfareporting2d3-cli/README.md b/gen/dfareporting2d3-cli/README.md index 29c8be29ee..929622da2d 100644 --- a/gen/dfareporting2d3-cli/README.md +++ b/gen/dfareporting2d3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.3*. ```bash dfareporting2d3 [options] diff --git a/gen/dfareporting2d3-cli/mkdocs.yml b/gen/dfareporting2d3-cli/mkdocs.yml index 08c1a1a8e9..67ed3c5b61 100644 --- a/gen/dfareporting2d3-cli/mkdocs.yml +++ b/gen/dfareporting2d3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20160803 +site_name: dfareporting v1.0.3+20160803 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d3-cli site_description: A complete library to interact with dfareporting (protocol v2.3) diff --git a/gen/dfareporting2d3-cli/src/main.rs b/gen/dfareporting2d3-cli/src/main.rs index 6f790ce989..58349b742d 100644 --- a/gen/dfareporting2d3-cli/src/main.rs +++ b/gen/dfareporting2d3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -16747,10 +16748,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d3", @@ -16760,10 +16761,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -22269,7 +22270,7 @@ fn main() { let mut app = App::new("dfareporting2d3") .author("Sebastian Thiel ") - .version("1.0.2+20160803") + .version("1.0.3+20160803") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d3_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d3/Cargo.toml b/gen/dfareporting2d3/Cargo.toml index 75a922db29..f007ae4f3a 100644 --- a/gen/dfareporting2d3/Cargo.toml +++ b/gen/dfareporting2d3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d3" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d3" homepage = "https://developers.google.com/doubleclick-advertisers/reporting/" -documentation = "https://docs.rs/google-dfareporting2d3/1.0.2+20160803" +documentation = "https://docs.rs/google-dfareporting2d3/1.0.3+20160803" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d3/README.md b/gen/dfareporting2d3/README.md index 14f696730e..1677004c3f 100644 --- a/gen/dfareporting2d3/README.md +++ b/gen/dfareporting2d3/README.md @@ -5,134 +5,134 @@ DO NOT EDIT ! --> The `google-dfareporting2d3` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d3* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ContentCategoryUpdateCall.html) -* [countries](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.DirectorySiteListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.LandingPageUpdateCall.html) -* [metros](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.TargetableRemarketingListListCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ContentCategoryUpdateCall.html) +* [countries](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.DirectorySiteListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.LandingPageUpdateCall.html) +* [metros](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.TargetableRemarketingListListCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.ReportFileGetCall.html) @@ -140,17 +140,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -246,17 +246,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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")`. @@ -266,29 +266,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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/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-dfareporting2d3/1.0.2+20160803/google_dfareporting2d3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d3/1.0.3+20160803/google_dfareporting2d3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d3/src/cmn.rs b/gen/dfareporting2d3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d3/src/cmn.rs +++ b/gen/dfareporting2d3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d3/src/lib.rs b/gen/dfareporting2d3/src/lib.rs index d83df34be9..38bb604925 100644 --- a/gen/dfareporting2d3/src/lib.rs +++ b/gen/dfareporting2d3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d3* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). diff --git a/gen/dfareporting2d3/src/lib.rs.in b/gen/dfareporting2d3/src/lib.rs.in index 0006419ddf..0c229ee333 100644 --- a/gen/dfareporting2d3/src/lib.rs.in +++ b/gen/dfareporting2d3/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -311,7 +311,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d4-cli/Cargo.toml b/gen/dfareporting2d4-cli/Cargo.toml index 08f937f683..a7adde0bc0 100644 --- a/gen/dfareporting2d4-cli/Cargo.toml +++ b/gen/dfareporting2d4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d4-cli" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d4-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d4] path = "../dfareporting2d4" -version = "1.0.2+20160803" +version = "1.0.3+20160803" optional = true default-features = false diff --git a/gen/dfareporting2d4-cli/README.md b/gen/dfareporting2d4-cli/README.md index 09df36a3a2..ea83d2c8b3 100644 --- a/gen/dfareporting2d4-cli/README.md +++ b/gen/dfareporting2d4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20160803*. The CLI is at version *1.0.3*. ```bash dfareporting2d4 [options] diff --git a/gen/dfareporting2d4-cli/mkdocs.yml b/gen/dfareporting2d4-cli/mkdocs.yml index c415f1cc8f..f48a5d4d62 100644 --- a/gen/dfareporting2d4-cli/mkdocs.yml +++ b/gen/dfareporting2d4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20160803 +site_name: dfareporting v1.0.3+20160803 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d4-cli site_description: A complete library to interact with dfareporting (protocol v2.4) diff --git a/gen/dfareporting2d4-cli/src/main.rs b/gen/dfareporting2d4-cli/src/main.rs index 4f8f31716b..21dd936ae6 100644 --- a/gen/dfareporting2d4-cli/src/main.rs +++ b/gen/dfareporting2d4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -16750,10 +16751,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d4", @@ -16763,10 +16764,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -22272,7 +22273,7 @@ fn main() { let mut app = App::new("dfareporting2d4") .author("Sebastian Thiel ") - .version("1.0.2+20160803") + .version("1.0.3+20160803") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d4_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d4/Cargo.toml b/gen/dfareporting2d4/Cargo.toml index ffca3dd0aa..dff282d25b 100644 --- a/gen/dfareporting2d4/Cargo.toml +++ b/gen/dfareporting2d4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d4" -version = "1.0.2+20160803" +version = "1.0.3+20160803" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d4" homepage = "https://developers.google.com/doubleclick-advertisers/reporting/" -documentation = "https://docs.rs/google-dfareporting2d4/1.0.2+20160803" +documentation = "https://docs.rs/google-dfareporting2d4/1.0.3+20160803" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d4/README.md b/gen/dfareporting2d4/README.md index 128513ded5..5dd4d42351 100644 --- a/gen/dfareporting2d4/README.md +++ b/gen/dfareporting2d4/README.md @@ -5,134 +5,134 @@ DO NOT EDIT ! --> The `google-dfareporting2d4` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d4* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ContentCategoryUpdateCall.html) -* [countries](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.DirectorySiteListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.LandingPageUpdateCall.html) -* [metros](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.TargetableRemarketingListListCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ContentCategoryUpdateCall.html) +* [countries](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.DirectorySiteListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.LandingPageUpdateCall.html) +* [metros](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.TargetableRemarketingListListCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.ReportFileGetCall.html) @@ -140,17 +140,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -246,17 +246,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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")`. @@ -266,29 +266,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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/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-dfareporting2d4/1.0.2+20160803/google_dfareporting2d4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d4/1.0.3+20160803/google_dfareporting2d4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d4/src/cmn.rs b/gen/dfareporting2d4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d4/src/cmn.rs +++ b/gen/dfareporting2d4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d4/src/lib.rs b/gen/dfareporting2d4/src/lib.rs index b6bec1ad9c..6f9e40e5ad 100644 --- a/gen/dfareporting2d4/src/lib.rs +++ b/gen/dfareporting2d4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20160803*, where *20160803* is the exact revision of the *dfareporting:v2.4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d4* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). diff --git a/gen/dfareporting2d4/src/lib.rs.in b/gen/dfareporting2d4/src/lib.rs.in index 2688cceba5..96dad0a202 100644 --- a/gen/dfareporting2d4/src/lib.rs.in +++ b/gen/dfareporting2d4/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -311,7 +311,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d5-cli/Cargo.toml b/gen/dfareporting2d5-cli/Cargo.toml index 889f008393..6af81b7142 100644 --- a/gen/dfareporting2d5-cli/Cargo.toml +++ b/gen/dfareporting2d5-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d5-cli" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d5-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d5" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d5] path = "../dfareporting2d5" -version = "1.0.2+20161027" +version = "1.0.3+20161027" optional = true default-features = false diff --git a/gen/dfareporting2d5-cli/README.md b/gen/dfareporting2d5-cli/README.md index 866a7bf8ba..766d7d05fc 100644 --- a/gen/dfareporting2d5-cli/README.md +++ b/gen/dfareporting2d5-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.3*. ```bash dfareporting2d5 [options] diff --git a/gen/dfareporting2d5-cli/mkdocs.yml b/gen/dfareporting2d5-cli/mkdocs.yml index af784b9ff8..a9aa2afd87 100644 --- a/gen/dfareporting2d5-cli/mkdocs.yml +++ b/gen/dfareporting2d5-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20161027 +site_name: dfareporting v1.0.3+20161027 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d5-cli site_description: A complete library to interact with dfareporting (protocol v2.5) diff --git a/gen/dfareporting2d5-cli/src/main.rs b/gen/dfareporting2d5-cli/src/main.rs index 895df01f9d..bd2af236f9 100644 --- a/gen/dfareporting2d5-cli/src/main.rs +++ b/gen/dfareporting2d5-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -17064,10 +17065,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d5", @@ -17077,10 +17078,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -22704,7 +22705,7 @@ fn main() { let mut app = App::new("dfareporting2d5") .author("Sebastian Thiel ") - .version("1.0.2+20161027") + .version("1.0.3+20161027") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d5_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d5/Cargo.toml b/gen/dfareporting2d5/Cargo.toml index c129df3428..2095a0bc11 100644 --- a/gen/dfareporting2d5/Cargo.toml +++ b/gen/dfareporting2d5/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d5" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.5)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d5" homepage = "https://developers.google.com/doubleclick-advertisers/reporting/" -documentation = "https://docs.rs/google-dfareporting2d5/1.0.2+20161027" +documentation = "https://docs.rs/google-dfareporting2d5/1.0.3+20161027" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d5/README.md b/gen/dfareporting2d5/README.md index db3be2ce48..93f7620373 100644 --- a/gen/dfareporting2d5/README.md +++ b/gen/dfareporting2d5/README.md @@ -5,138 +5,138 @@ DO NOT EDIT ! --> The `google-dfareporting2d5` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d5* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ConversionBatchinsertCall.html) -* [countries](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.LandingPageUpdateCall.html) -* [metros](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.TargetableRemarketingListListCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ConversionBatchinsertCall.html) +* [countries](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.LandingPageUpdateCall.html) +* [metros](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.TargetableRemarketingListListCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.ReportFileGetCall.html) @@ -144,17 +144,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -250,17 +250,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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")`. @@ -270,29 +270,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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/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-dfareporting2d5/1.0.2+20161027/google_dfareporting2d5/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d5/1.0.3+20161027/google_dfareporting2d5/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d5/src/cmn.rs b/gen/dfareporting2d5/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d5/src/cmn.rs +++ b/gen/dfareporting2d5/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d5/src/lib.rs b/gen/dfareporting2d5/src/lib.rs index 2dde9d5e9a..3407241455 100644 --- a/gen/dfareporting2d5/src/lib.rs +++ b/gen/dfareporting2d5/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.5* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d5* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/reporting/). diff --git a/gen/dfareporting2d5/src/lib.rs.in b/gen/dfareporting2d5/src/lib.rs.in index 231e07058f..bc67b86dd1 100644 --- a/gen/dfareporting2d5/src/lib.rs.in +++ b/gen/dfareporting2d5/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -321,7 +321,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d6-cli/Cargo.toml b/gen/dfareporting2d6-cli/Cargo.toml index 573ae78e11..ae391520b3 100644 --- a/gen/dfareporting2d6-cli/Cargo.toml +++ b/gen/dfareporting2d6-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d6-cli" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d6-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d6" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d6] path = "../dfareporting2d6" -version = "1.0.2+20161027" +version = "1.0.3+20161027" optional = true default-features = false diff --git a/gen/dfareporting2d6-cli/README.md b/gen/dfareporting2d6-cli/README.md index eaa310b5ba..9f9d6174d5 100644 --- a/gen/dfareporting2d6-cli/README.md +++ b/gen/dfareporting2d6-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.3*. ```bash dfareporting2d6 [options] diff --git a/gen/dfareporting2d6-cli/mkdocs.yml b/gen/dfareporting2d6-cli/mkdocs.yml index e7757fc697..eb8673303e 100644 --- a/gen/dfareporting2d6-cli/mkdocs.yml +++ b/gen/dfareporting2d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20161027 +site_name: dfareporting v1.0.3+20161027 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d6-cli site_description: A complete library to interact with dfareporting (protocol v2.6) diff --git a/gen/dfareporting2d6-cli/src/main.rs b/gen/dfareporting2d6-cli/src/main.rs index 47c0cc548a..3aa39a178b 100644 --- a/gen/dfareporting2d6-cli/src/main.rs +++ b/gen/dfareporting2d6-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -17595,10 +17596,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d6", @@ -17608,10 +17609,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -23403,7 +23404,7 @@ fn main() { let mut app = App::new("dfareporting2d6") .author("Sebastian Thiel ") - .version("1.0.2+20161027") + .version("1.0.3+20161027") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d6_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d6/Cargo.toml b/gen/dfareporting2d6/Cargo.toml index f7389f309d..88871bfe4f 100644 --- a/gen/dfareporting2d6/Cargo.toml +++ b/gen/dfareporting2d6/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d6" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d6" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting2d6/1.0.2+20161027" +documentation = "https://docs.rs/google-dfareporting2d6/1.0.3+20161027" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d6/README.md b/gen/dfareporting2d6/README.md index 9f426865b6..0ae4142eb3 100644 --- a/gen/dfareporting2d6/README.md +++ b/gen/dfareporting2d6/README.md @@ -5,142 +5,142 @@ DO NOT EDIT ! --> The `google-dfareporting2d6` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d6* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ConversionBatchinsertCall.html) -* [countries](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LandingPageUpdateCall.html) -* [languages](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.UserRoleUpdateCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ConversionBatchinsertCall.html) +* [countries](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LandingPageUpdateCall.html) +* [languages](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.UserRoleUpdateCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.ReportFileGetCall.html) @@ -148,17 +148,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -254,17 +254,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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")`. @@ -274,29 +274,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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/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-dfareporting2d6/1.0.2+20161027/google_dfareporting2d6/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d6/1.0.3+20161027/google_dfareporting2d6/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d6/src/cmn.rs b/gen/dfareporting2d6/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d6/src/cmn.rs +++ b/gen/dfareporting2d6/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d6/src/lib.rs b/gen/dfareporting2d6/src/lib.rs index d87c015b07..5f72e94643 100644 --- a/gen/dfareporting2d6/src/lib.rs +++ b/gen/dfareporting2d6/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d6* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting2d6/src/lib.rs.in b/gen/dfareporting2d6/src/lib.rs.in index 9001c73f57..cbe3ca74e2 100644 --- a/gen/dfareporting2d6/src/lib.rs.in +++ b/gen/dfareporting2d6/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -327,7 +327,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dfareporting2d7-cli/Cargo.toml b/gen/dfareporting2d7-cli/Cargo.toml index 442e7ea500..ef9866fc1d 100644 --- a/gen/dfareporting2d7-cli/Cargo.toml +++ b/gen/dfareporting2d7-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dfareporting2d7-cli" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.7)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d7-cli" @@ -17,14 +17,15 @@ keywords = ["dfareporting", "google", "cli"] name = "dfareporting2d7" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dfareporting2d7] path = "../dfareporting2d7" -version = "1.0.2+20161027" +version = "1.0.3+20161027" optional = true default-features = false diff --git a/gen/dfareporting2d7-cli/README.md b/gen/dfareporting2d7-cli/README.md index 803beb3871..1359a15a1c 100644 --- a/gen/dfareporting2d7-cli/README.md +++ b/gen/dfareporting2d7-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.2*. +This documentation was generated from the *dfareporting* API at revision *20161027*. The CLI is at version *1.0.3*. ```bash dfareporting2d7 [options] diff --git a/gen/dfareporting2d7-cli/mkdocs.yml b/gen/dfareporting2d7-cli/mkdocs.yml index ee3a991c8f..e8326fe4ab 100644 --- a/gen/dfareporting2d7-cli/mkdocs.yml +++ b/gen/dfareporting2d7-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dfareporting v1.0.2+20161027 +site_name: dfareporting v1.0.3+20161027 site_url: http://byron.github.io/google-apis-rs/google-dfareporting2d7-cli site_description: A complete library to interact with dfareporting (protocol v2.7) diff --git a/gen/dfareporting2d7-cli/src/main.rs b/gen/dfareporting2d7-cli/src/main.rs index 19ee61ccd9..5804d8287b 100644 --- a/gen/dfareporting2d7-cli/src/main.rs +++ b/gen/dfareporting2d7-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -17768,10 +17769,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dfareporting2d7", @@ -17781,10 +17782,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -23629,7 +23630,7 @@ fn main() { let mut app = App::new("dfareporting2d7") .author("Sebastian Thiel ") - .version("1.0.2+20161027") + .version("1.0.3+20161027") .about("Manages your DoubleClick Campaign Manager ad campaigns and reports.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dfareporting2d7_cli") .arg(Arg::with_name("url") diff --git a/gen/dfareporting2d7/Cargo.toml b/gen/dfareporting2d7/Cargo.toml index aa07b947b9..9b1c9c983f 100644 --- a/gen/dfareporting2d7/Cargo.toml +++ b/gen/dfareporting2d7/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dfareporting2d7" -version = "1.0.2+20161027" +version = "1.0.3+20161027" authors = ["Sebastian Thiel "] description = "A complete library to interact with dfareporting (protocol v2.7)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dfareporting2d7" homepage = "https://developers.google.com/doubleclick-advertisers/" -documentation = "https://docs.rs/google-dfareporting2d7/1.0.2+20161027" +documentation = "https://docs.rs/google-dfareporting2d7/1.0.3+20161027" license = "MIT" keywords = ["dfareporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dfareporting2d7/README.md b/gen/dfareporting2d7/README.md index 772f88f90b..9a4d9785e3 100644 --- a/gen/dfareporting2d7/README.md +++ b/gen/dfareporting2d7/README.md @@ -5,144 +5,144 @@ DO NOT EDIT ! --> The `google-dfareporting2d7` library allows access to all features of the *Google dfareporting* service. -This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.7* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.7* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dfareporting* *v2d7* API can be found at the [official documentation site](https://developers.google.com/doubleclick-advertisers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Dfareporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Dfareporting.html) ... -* [account active ad summaries](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountActiveAdSummary.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountActiveAdSummaryGetCall.html) -* [account permission groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermissionGroupListCall.html) -* [account permissions](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermission.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPermissionListCall.html) -* [account user profiles](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUserProfileUpdateCall.html) -* [accounts](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Account.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AccountUpdateCall.html) -* [ads](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Ad.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdUpdateCall.html) -* [advertiser groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroup.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGroupUpdateCall.html) -* [advertisers](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Advertiser.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.AdvertiserUpdateCall.html) -* [browsers](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Browser.html) - * [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.BrowserListCall.html) -* [campaign creative associations](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociation.html) - * [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociationListCall.html) -* [campaigns](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Campaign.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CampaignUpdateCall.html) -* [change logs](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ChangeLog.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ChangeLogListCall.html) -* [cities](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.City.html) - * [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CityListCall.html) -* [connection types](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ConnectionType.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ConnectionTypeListCall.html) -* [content categories](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategory.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ContentCategoryUpdateCall.html) -* [conversions](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Conversion.html) - * [*batchinsert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ConversionBatchinsertCall.html) -* [countries](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Country.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CountryListCall.html) -* [creative assets](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeAsset.html) - * [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeAssetInsertCall.html) -* [creative field values](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValue.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldValueUpdateCall.html) -* [creative fields](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeField.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeFieldUpdateCall.html) -* [creative groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGroupUpdateCall.html) -* [creatives](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Creative.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeUpdateCall.html) -* [dimension values](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DimensionValue.html) - * [*query*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DimensionValueQueryCall.html) -* [directory site contacts](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteContact.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteContactListCall.html) -* [directory sites](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySite.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DirectorySiteListCall.html) -* [dynamic targeting keys](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DynamicTargetingKey.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyListCall.html) -* [event tags](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTag.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.EventTagUpdateCall.html) -* [files](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.File.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FileListCall.html) -* [floodlight activities](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivity.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityUpdateCall.html) -* [floodlight activity groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupUpdateCall.html) -* [floodlight configurations](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightConfiguration.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FloodlightConfigurationUpdateCall.html) -* [inventory items](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.InventoryItem.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.InventoryItemListCall.html) -* [landing pages](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPage.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LandingPageUpdateCall.html) -* [languages](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Language.html) - * [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.LanguageListCall.html) -* [metros](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Metro.html) - * [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.MetroListCall.html) -* [mobile carriers](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.MobileCarrier.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.MobileCarrierListCall.html) -* [operating system versions](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystemVersion.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystemVersionListCall.html) -* [operating systems](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystem.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OperatingSystemListCall.html) -* [order documents](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OrderDocument.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OrderDocumentListCall.html) -* [orders](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Order.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.OrderListCall.html) -* [placement groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGroupUpdateCall.html) -* [placement strategies](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategy.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementStrategyUpdateCall.html) -* [placements](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Placement.html) - * [*generatetags*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlacementUpdateCall.html) -* [platform types](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlatformType.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PlatformTypeListCall.html) -* [postal codes](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PostalCode.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.PostalCodeListCall.html) -* [projects](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Project.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ProjectListCall.html) -* [regions](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Region.html) - * [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RegionListCall.html) -* [remarketing list shares](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListShare.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListShareUpdateCall.html) -* [remarketing lists](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.RemarketingListUpdateCall.html) -* [reports](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Report.html) - * [*compatible fields query*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportUpdateCall.html) -* [sites](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Site.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SiteUpdateCall.html) -* [sizes](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Size.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SizeListCall.html) -* [subaccounts](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Subaccount.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.SubaccountUpdateCall.html) -* [targetable remarketing lists](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetableRemarketingList.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetableRemarketingListListCall.html) -* [targeting templates](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplate.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.TargetingTemplateUpdateCall.html) -* [user profiles](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserProfile.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserProfileListCall.html) -* [user role permission groups](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermissionGroup.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermissionGroupListCall.html) -* [user role permissions](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermission.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePermissionListCall.html) -* [user roles](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRole.html) - * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.UserRoleUpdateCall.html) -* [video formats](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.VideoFormat.html) - * [*get*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.VideoFormatListCall.html) +* [account active ad summaries](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountActiveAdSummary.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountActiveAdSummaryGetCall.html) +* [account permission groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermissionGroupListCall.html) +* [account permissions](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermission.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPermissionListCall.html) +* [account user profiles](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfileGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfileInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfileListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfilePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUserProfileUpdateCall.html) +* [accounts](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Account.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountGetCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AccountUpdateCall.html) +* [ads](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Ad.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdUpdateCall.html) +* [advertiser groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroup.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGroupUpdateCall.html) +* [advertisers](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Advertiser.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.AdvertiserUpdateCall.html) +* [browsers](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Browser.html) + * [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.BrowserListCall.html) +* [campaign creative associations](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociation.html) + * [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociationInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignCreativeAssociationListCall.html) +* [campaigns](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Campaign.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CampaignUpdateCall.html) +* [change logs](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ChangeLog.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ChangeLogGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ChangeLogListCall.html) +* [cities](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.City.html) + * [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CityListCall.html) +* [connection types](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ConnectionType.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ConnectionTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ConnectionTypeListCall.html) +* [content categories](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategory.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ContentCategoryUpdateCall.html) +* [conversions](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Conversion.html) + * [*batchinsert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ConversionBatchinsertCall.html) +* [countries](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Country.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CountryGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CountryListCall.html) +* [creative assets](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeAsset.html) + * [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeAssetInsertCall.html) +* [creative field values](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValue.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValueDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValueGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValueInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValueListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValuePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldValueUpdateCall.html) +* [creative fields](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeField.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeFieldUpdateCall.html) +* [creative groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGroupUpdateCall.html) +* [creatives](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Creative.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeUpdateCall.html) +* [dimension values](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DimensionValue.html) + * [*query*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DimensionValueQueryCall.html) +* [directory site contacts](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteContact.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteContactGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteContactListCall.html) +* [directory sites](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySite.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DirectorySiteListCall.html) +* [dynamic targeting keys](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DynamicTargetingKey.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyDeleteCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.DynamicTargetingKeyListCall.html) +* [event tags](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTag.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.EventTagUpdateCall.html) +* [files](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.File.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FileListCall.html) +* [floodlight activities](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivity.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityDeleteCall.html), [*generatetag*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityUpdateCall.html) +* [floodlight activity groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightActivityGroupUpdateCall.html) +* [floodlight configurations](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightConfiguration.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightConfigurationGetCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightConfigurationListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightConfigurationPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FloodlightConfigurationUpdateCall.html) +* [inventory items](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.InventoryItem.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.InventoryItemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.InventoryItemListCall.html) +* [landing pages](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPage.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPageDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPageGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPageInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPageListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPagePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LandingPageUpdateCall.html) +* [languages](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Language.html) + * [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.LanguageListCall.html) +* [metros](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Metro.html) + * [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.MetroListCall.html) +* [mobile carriers](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.MobileCarrier.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.MobileCarrierGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.MobileCarrierListCall.html) +* [operating system versions](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystemVersion.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystemVersionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystemVersionListCall.html) +* [operating systems](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystem.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystemGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OperatingSystemListCall.html) +* [order documents](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OrderDocument.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OrderDocumentGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OrderDocumentListCall.html) +* [orders](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Order.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OrderGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.OrderListCall.html) +* [placement groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroupGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroupInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroupListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroupPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGroupUpdateCall.html) +* [placement strategies](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategy.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementStrategyUpdateCall.html) +* [placements](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Placement.html) + * [*generatetags*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGeneratetagCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlacementUpdateCall.html) +* [platform types](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlatformType.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlatformTypeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PlatformTypeListCall.html) +* [postal codes](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PostalCode.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PostalCodeGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.PostalCodeListCall.html) +* [projects](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Project.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ProjectGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ProjectListCall.html) +* [regions](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Region.html) + * [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RegionListCall.html) +* [remarketing list shares](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListShare.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListShareGetCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListSharePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListShareUpdateCall.html) +* [remarketing lists](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.RemarketingListUpdateCall.html) +* [reports](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Report.html) + * [*compatible fields query*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportCompatibleFieldQueryCall.html), [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportDeleteCall.html), [*files get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportFileGetCall.html), [*files list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportFileListCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportPatchCall.html), [*run*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportRunCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportUpdateCall.html) +* [sites](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Site.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SiteGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SiteInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SiteListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SitePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SiteUpdateCall.html) +* [sizes](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Size.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SizeGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SizeInsertCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SizeListCall.html) +* [subaccounts](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Subaccount.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SubaccountGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SubaccountInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SubaccountListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SubaccountPatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.SubaccountUpdateCall.html) +* [targetable remarketing lists](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetableRemarketingList.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetableRemarketingListGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetableRemarketingListListCall.html) +* [targeting templates](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplate.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplateGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplateInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplateListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplatePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.TargetingTemplateUpdateCall.html) +* [user profiles](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserProfile.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserProfileGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserProfileListCall.html) +* [user role permission groups](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermissionGroup.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermissionGroupGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermissionGroupListCall.html) +* [user role permissions](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermission.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermissionGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePermissionListCall.html) +* [user roles](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRole.html) + * [*delete*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRoleDeleteCall.html), [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRoleGetCall.html), [*insert*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRoleInsertCall.html), [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRoleListCall.html), [*patch*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRolePatchCall.html) and [*update*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.UserRoleUpdateCall.html) +* [video formats](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.VideoFormat.html) + * [*get*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.VideoFormatGetCall.html) and [*list*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.VideoFormatListCall.html) Upload supported by ... -* [*insert creative assets*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.CreativeAssetInsertCall.html) +* [*insert creative assets*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.CreativeAssetInsertCall.html) Download supported by ... -* [*get files*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.FileGetCall.html) -* [*files get reports*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.ReportFileGetCall.html) +* [*get files*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.FileGetCall.html) +* [*files get reports*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.ReportFileGetCall.html) @@ -150,17 +150,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/struct.Dfareporting.html)** +* **[Hub](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/struct.Dfareporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Part.html)** + * **[Parts](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -256,17 +256,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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")`. @@ -276,29 +276,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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/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-dfareporting2d7/1.0.2+20161027/google_dfareporting2d7/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dfareporting2d7/1.0.3+20161027/google_dfareporting2d7/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dfareporting2d7/src/cmn.rs b/gen/dfareporting2d7/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dfareporting2d7/src/cmn.rs +++ b/gen/dfareporting2d7/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dfareporting2d7/src/lib.rs b/gen/dfareporting2d7/src/lib.rs index 5176cfc3c8..4ab9c39e90 100644 --- a/gen/dfareporting2d7/src/lib.rs +++ b/gen/dfareporting2d7/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dfareporting* crate version *1.0.2+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.7* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dfareporting* crate version *1.0.3+20161027*, where *20161027* is the exact revision of the *dfareporting:v2.7* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dfareporting* *v2d7* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-advertisers/). diff --git a/gen/dfareporting2d7/src/lib.rs.in b/gen/dfareporting2d7/src/lib.rs.in index 5253f9ffa9..0aaebf15d8 100644 --- a/gen/dfareporting2d7/src/lib.rs.in +++ b/gen/dfareporting2d7/src/lib.rs.in @@ -144,7 +144,7 @@ impl<'a, C, A> Dfareporting Dfareporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -330,7 +330,7 @@ impl<'a, C, A> Dfareporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/discovery1-cli/Cargo.toml b/gen/discovery1-cli/Cargo.toml index f4a42d4252..457e44952d 100644 --- a/gen/discovery1-cli/Cargo.toml +++ b/gen/discovery1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-discovery1-cli" -version = "1.0.2+00000000" +version = "1.0.3+00000000" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/discovery1-cli" @@ -17,14 +17,15 @@ keywords = ["discovery", "google", "cli"] name = "discovery1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-discovery1] path = "../discovery1" -version = "1.0.2+00000000" +version = "1.0.3+00000000" optional = true default-features = false diff --git a/gen/discovery1-cli/README.md b/gen/discovery1-cli/README.md index 9ff59dd2c8..82938d362b 100644 --- a/gen/discovery1-cli/README.md +++ b/gen/discovery1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *discovery* API at revision *00000000*. The CLI is at version *1.0.2*. +This documentation was generated from the *discovery* API at revision *00000000*. The CLI is at version *1.0.3*. ```bash discovery1 [options] diff --git a/gen/discovery1-cli/mkdocs.yml b/gen/discovery1-cli/mkdocs.yml index 913df860d0..ded68744b2 100644 --- a/gen/discovery1-cli/mkdocs.yml +++ b/gen/discovery1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: discovery v1.0.2+00000000 +site_name: discovery v1.0.3+00000000 site_url: http://byron.github.io/google-apis-rs/google-discovery1-cli site_description: A complete library to interact with discovery (protocol v1) diff --git a/gen/discovery1-cli/src/main.rs b/gen/discovery1-cli/src/main.rs index 7c96f65476..bdaac01849 100644 --- a/gen/discovery1-cli/src/main.rs +++ b/gen/discovery1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -203,10 +204,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "discovery1", @@ -216,10 +217,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -302,7 +303,7 @@ fn main() { let mut app = App::new("discovery1") .author("Sebastian Thiel ") - .version("1.0.2+00000000") + .version("1.0.3+00000000") .about("Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_discovery1_cli") .arg(Arg::with_name("folder") diff --git a/gen/discovery1/Cargo.toml b/gen/discovery1/Cargo.toml index 73be17134e..12233026dd 100644 --- a/gen/discovery1/Cargo.toml +++ b/gen/discovery1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-discovery1" -version = "1.0.2+00000000" +version = "1.0.3+00000000" authors = ["Sebastian Thiel "] description = "A complete library to interact with discovery (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/discovery1" homepage = "https://developers.google.com/discovery/" -documentation = "https://docs.rs/google-discovery1/1.0.2+00000000" +documentation = "https://docs.rs/google-discovery1/1.0.3+00000000" license = "MIT" keywords = ["discovery", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/discovery1/README.md b/gen/discovery1/README.md index 19d5495fc6..22b49286ee 100644 --- a/gen/discovery1/README.md +++ b/gen/discovery1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-discovery1` library allows access to all features of the *Google discovery* service. -This documentation was generated from *discovery* crate version *1.0.2+00000000*, where *00000000* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *discovery* crate version *1.0.3+00000000*, where *00000000* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *discovery* *v1* API can be found at the [official documentation site](https://developers.google.com/discovery/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/struct.Discovery.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/struct.Discovery.html) ... * apis - * [*get rest*](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/struct.ApiGetRestCall.html) and [*list*](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/struct.ApiListCall.html) + * [*get rest*](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/struct.ApiGetRestCall.html) and [*list*](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/struct.ApiListCall.html) @@ -23,17 +23,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-discovery1/1.0.2+00000000/google_discovery1/struct.Discovery.html)** +* **[Hub](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/struct.Discovery.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/trait.Part.html)** + * **[Parts](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -115,17 +115,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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")`. @@ -135,29 +135,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-discovery1/1.0.2+00000000/google_discovery1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/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-discovery1/1.0.3+00000000/google_discovery1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-discovery1/1.0.2+00000000/google_discovery1/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-discovery1/1.0.3+00000000/google_discovery1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/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-discovery1/1.0.2+00000000/google_discovery1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-discovery1/1.0.3+00000000/google_discovery1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/discovery1/src/cmn.rs b/gen/discovery1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/discovery1/src/cmn.rs +++ b/gen/discovery1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/discovery1/src/lib.rs b/gen/discovery1/src/lib.rs index 52f57446e1..7c357f1d65 100644 --- a/gen/discovery1/src/lib.rs +++ b/gen/discovery1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *discovery* crate version *1.0.2+00000000*, where *00000000* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *discovery* crate version *1.0.3+00000000*, where *00000000* is the exact revision of the *discovery:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *discovery* *v1* API can be found at the //! [official documentation site](https://developers.google.com/discovery/). diff --git a/gen/discovery1/src/lib.rs.in b/gen/discovery1/src/lib.rs.in index 2ee09e6861..57ccedf5c8 100644 --- a/gen/discovery1/src/lib.rs.in +++ b/gen/discovery1/src/lib.rs.in @@ -109,7 +109,7 @@ impl<'a, C, A> Discovery Discovery { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -118,7 +118,7 @@ impl<'a, C, A> Discovery } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/dns1-cli/Cargo.toml b/gen/dns1-cli/Cargo.toml index dd1593c2cf..57b559a018 100644 --- a/gen/dns1-cli/Cargo.toml +++ b/gen/dns1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-dns1-cli" -version = "1.0.2+20161130" +version = "1.0.3+20161130" authors = ["Sebastian Thiel "] description = "A complete library to interact with dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dns1-cli" @@ -17,14 +17,15 @@ keywords = ["dns", "google", "cli"] name = "dns1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-dns1] path = "../dns1" -version = "1.0.2+20161130" +version = "1.0.3+20161130" optional = true default-features = false diff --git a/gen/dns1-cli/README.md b/gen/dns1-cli/README.md index 29aac54fd3..c159a702af 100644 --- a/gen/dns1-cli/README.md +++ b/gen/dns1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *dns* API at revision *20161130*. The CLI is at version *1.0.2*. +This documentation was generated from the *dns* API at revision *20161130*. The CLI is at version *1.0.3*. ```bash dns1 [options] diff --git a/gen/dns1-cli/mkdocs.yml b/gen/dns1-cli/mkdocs.yml index cb15e35b63..15e064cc4e 100644 --- a/gen/dns1-cli/mkdocs.yml +++ b/gen/dns1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: dns v1.0.2+20161130 +site_name: dns v1.0.3+20161130 site_url: http://byron.github.io/google-apis-rs/google-dns1-cli site_description: A complete library to interact with dns (protocol v1) diff --git a/gen/dns1-cli/src/main.rs b/gen/dns1-cli/src/main.rs index f5f6581c8a..31023c3930 100644 --- a/gen/dns1-cli/src/main.rs +++ b/gen/dns1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -715,10 +716,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "dns1", @@ -728,10 +729,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1025,7 +1026,7 @@ fn main() { let mut app = App::new("dns1") .author("Sebastian Thiel ") - .version("1.0.2+20161130") + .version("1.0.3+20161130") .about("Configures and serves authoritative DNS records.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_dns1_cli") .arg(Arg::with_name("url") diff --git a/gen/dns1/Cargo.toml b/gen/dns1/Cargo.toml index 3b77beca23..73dc1670a8 100644 --- a/gen/dns1/Cargo.toml +++ b/gen/dns1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-dns1" -version = "1.0.2+20161130" +version = "1.0.3+20161130" authors = ["Sebastian Thiel "] description = "A complete library to interact with dns (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/dns1" homepage = "https://developers.google.com/cloud-dns" -documentation = "https://docs.rs/google-dns1/1.0.2+20161130" +documentation = "https://docs.rs/google-dns1/1.0.3+20161130" license = "MIT" keywords = ["dns", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/dns1/README.md b/gen/dns1/README.md index ba38e5875d..25f67f6fdc 100644 --- a/gen/dns1/README.md +++ b/gen/dns1/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-dns1` library allows access to all features of the *Google dns* service. -This documentation was generated from *dns* crate version *1.0.2+20161130*, where *20161130* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *dns* crate version *1.0.3+20161130*, where *20161130* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *dns* *v1* API can be found at the [official documentation site](https://developers.google.com/cloud-dns). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.Dns.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.Dns.html) ... -* [changes](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.Change.html) - * [*create*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ChangeCreateCall.html), [*get*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ChangeGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ChangeListCall.html) -* [managed zones](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ManagedZone.html) - * [*create*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ManagedZoneCreateCall.html), [*delete*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ManagedZoneDeleteCall.html), [*get*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ManagedZoneGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ManagedZoneListCall.html) -* [projects](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.Project.html) - * [*get*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ProjectGetCall.html) -* [resource record sets](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ResourceRecordSet.html) - * [*list*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/struct.ResourceRecordSetListCall.html) +* [changes](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.Change.html) + * [*create*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ChangeCreateCall.html), [*get*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ChangeGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ChangeListCall.html) +* [managed zones](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ManagedZone.html) + * [*create*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ManagedZoneCreateCall.html), [*delete*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ManagedZoneDeleteCall.html), [*get*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ManagedZoneGetCall.html) and [*list*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ManagedZoneListCall.html) +* [projects](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.Project.html) + * [*get*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ProjectGetCall.html) +* [resource record sets](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ResourceRecordSet.html) + * [*list*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.ResourceRecordSetListCall.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-dns1/1.0.2+20161130/google_dns1/struct.Dns.html)** +* **[Hub](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/struct.Dns.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/trait.Part.html)** + * **[Parts](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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 +147,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-dns1/1.0.2+20161130/google_dns1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/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-dns1/1.0.3+20161130/google_dns1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-dns1/1.0.2+20161130/google_dns1/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-dns1/1.0.3+20161130/google_dns1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/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-dns1/1.0.2+20161130/google_dns1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-dns1/1.0.3+20161130/google_dns1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/dns1/src/cmn.rs b/gen/dns1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/dns1/src/cmn.rs +++ b/gen/dns1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/dns1/src/lib.rs b/gen/dns1/src/lib.rs index ec0d0c2b7a..16137a1537 100644 --- a/gen/dns1/src/lib.rs +++ b/gen/dns1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *dns* crate version *1.0.2+20161130*, where *20161130* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *dns* crate version *1.0.3+20161130*, where *20161130* is the exact revision of the *dns:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *dns* *v1* API can be found at the //! [official documentation site](https://developers.google.com/cloud-dns). diff --git a/gen/dns1/src/lib.rs.in b/gen/dns1/src/lib.rs.in index 8b542cb3f9..4d04c4e31b 100644 --- a/gen/dns1/src/lib.rs.in +++ b/gen/dns1/src/lib.rs.in @@ -146,7 +146,7 @@ impl<'a, C, A> Dns Dns { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -164,7 +164,7 @@ impl<'a, C, A> Dns } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclickbidmanager1-cli/Cargo.toml b/gen/doubleclickbidmanager1-cli/Cargo.toml index eda848f78d..65f00eb229 100644 --- a/gen/doubleclickbidmanager1-cli/Cargo.toml +++ b/gen/doubleclickbidmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclickbidmanager1-cli" -version = "1.0.2+20161010" +version = "1.0.3+20161010" authors = ["Sebastian Thiel "] description = "A complete library to interact with DoubleClick Bid Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclickbidmanager1-cli" @@ -17,14 +17,15 @@ keywords = ["doubleclickbidmanage", "google", "cli"] name = "doubleclickbidmanager1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-doubleclickbidmanager1] path = "../doubleclickbidmanager1" -version = "1.0.2+20161010" +version = "1.0.3+20161010" optional = true default-features = false diff --git a/gen/doubleclickbidmanager1-cli/README.md b/gen/doubleclickbidmanager1-cli/README.md index 193da2b264..eac7138a93 100644 --- a/gen/doubleclickbidmanager1-cli/README.md +++ b/gen/doubleclickbidmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *DoubleClick Bid Manager* API at revision *20161010*. The CLI is at version *1.0.2*. +This documentation was generated from the *DoubleClick Bid Manager* API at revision *20161010*. The CLI is at version *1.0.3*. ```bash doubleclickbidmanager1 [options] diff --git a/gen/doubleclickbidmanager1-cli/mkdocs.yml b/gen/doubleclickbidmanager1-cli/mkdocs.yml index 812b36ca03..9468e7e769 100644 --- a/gen/doubleclickbidmanager1-cli/mkdocs.yml +++ b/gen/doubleclickbidmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: DoubleClick Bid Manager v1.0.2+20161010 +site_name: DoubleClick Bid Manager v1.0.3+20161010 site_url: http://byron.github.io/google-apis-rs/google-doubleclickbidmanager1-cli site_description: A complete library to interact with DoubleClick Bid Manager (protocol v1) diff --git a/gen/doubleclickbidmanager1-cli/src/main.rs b/gen/doubleclickbidmanager1-cli/src/main.rs index 091148d610..8783a11bef 100644 --- a/gen/doubleclickbidmanager1-cli/src/main.rs +++ b/gen/doubleclickbidmanager1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -767,10 +768,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "doubleclickbidmanager1", @@ -780,10 +781,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1017,7 +1018,7 @@ fn main() { let mut app = App::new("doubleclickbidmanager1") .author("Sebastian Thiel ") - .version("1.0.2+20161010") + .version("1.0.3+20161010") .about("API for viewing and managing your reports in DoubleClick Bid Manager.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclickbidmanager1_cli") .arg(Arg::with_name("folder") diff --git a/gen/doubleclickbidmanager1/Cargo.toml b/gen/doubleclickbidmanager1/Cargo.toml index 5928fe03b5..db9341a989 100644 --- a/gen/doubleclickbidmanager1/Cargo.toml +++ b/gen/doubleclickbidmanager1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-doubleclickbidmanager1" -version = "1.0.2+20161010" +version = "1.0.3+20161010" authors = ["Sebastian Thiel "] 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.2+20161010" +documentation = "https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010" license = "MIT" keywords = ["doubleclickbidmanage", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/doubleclickbidmanager1/README.md b/gen/doubleclickbidmanager1/README.md index 3d0c1d367e..b0aa7518a2 100644 --- a/gen/doubleclickbidmanager1/README.md +++ b/gen/doubleclickbidmanager1/README.md @@ -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.2+20161010*, where *20161010* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.3+20161010*, where *20161010* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. 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.2+20161010/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html) ... * lineitems - * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html) -* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.Query.html) - * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html) -* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.Report.html) - * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.ReportListreportCall.html) + * [*downloadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.LineitemDownloadlineitemCall.html) and [*uploadlineitems*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.LineitemUploadlineitemCall.html) +* [queries](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.Query.html) + * [*createquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.QueryCreatequeryCall.html), [*deletequery*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.QueryDeletequeryCall.html), [*getquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.QueryGetqueryCall.html), [*listqueries*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.QueryListqueryCall.html) and [*runquery*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.QueryRunqueryCall.html) +* [reports](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.Report.html) + * [*listreports*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/struct.ReportListreportCall.html) * sdf - * [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/struct.SdfDownloadCall.html) + * [*download*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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.2+20161010/google_doubleclickbidmanager1/struct.DoubleClickBidManager.html)** +* **[Hub](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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.2+20161010/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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.2+20161010/google_doubleclickbidmanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/google_doubleclickbidmanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/google_doubleclickbidmanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -122,17 +122,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/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.3+20161010/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.2+20161010/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.3+20161010/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.2+20161010/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.3+20161010/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.2+20161010/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.3+20161010/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")`. @@ -142,29 +142,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.2+20161010/google_doubleclickbidmanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/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.3+20161010/google_doubleclickbidmanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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.2+20161010/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.3+20161010/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.2+20161010/google_doubleclickbidmanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.2+20161010/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.3+20161010/google_doubleclickbidmanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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.2+20161010/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.3+20161010/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.2+20161010/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.3+20161010/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.2+20161010/google_doubleclickbidmanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-doubleclickbidmanager1/1.0.3+20161010/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. diff --git a/gen/doubleclickbidmanager1/src/cmn.rs b/gen/doubleclickbidmanager1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/doubleclickbidmanager1/src/cmn.rs +++ b/gen/doubleclickbidmanager1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/doubleclickbidmanager1/src/lib.rs b/gen/doubleclickbidmanager1/src/lib.rs index 00c50a90a0..db21decd64 100644 --- a/gen/doubleclickbidmanager1/src/lib.rs +++ b/gen/doubleclickbidmanager1/src/lib.rs @@ -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.2+20161010*, where *20161010* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *DoubleClick Bid Manager* crate version *1.0.3+20161010*, where *20161010* is the exact revision of the *doubleclickbidmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *DoubleClick Bid Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/bid-manager/). diff --git a/gen/doubleclickbidmanager1/src/lib.rs.in b/gen/doubleclickbidmanager1/src/lib.rs.in index a90c6b9e84..b03cdf4388 100644 --- a/gen/doubleclickbidmanager1/src/lib.rs.in +++ b/gen/doubleclickbidmanager1/src/lib.rs.in @@ -109,7 +109,7 @@ impl<'a, C, A> DoubleClickBidManager DoubleClickBidManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -127,7 +127,7 @@ impl<'a, C, A> DoubleClickBidManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/doubleclicksearch2-cli/Cargo.toml b/gen/doubleclicksearch2-cli/Cargo.toml index b915b5a307..d135611957 100644 --- a/gen/doubleclicksearch2-cli/Cargo.toml +++ b/gen/doubleclicksearch2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-doubleclicksearch2-cli" -version = "1.0.2+20161108" +version = "1.0.3+20161108" authors = ["Sebastian Thiel "] description = "A complete library to interact with doubleclicksearch (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/doubleclicksearch2-cli" @@ -17,14 +17,15 @@ keywords = ["doubleclicksearch", "google", "cli"] name = "doubleclicksearch2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-doubleclicksearch2] path = "../doubleclicksearch2" -version = "1.0.2+20161108" +version = "1.0.3+20161108" optional = true default-features = false diff --git a/gen/doubleclicksearch2-cli/README.md b/gen/doubleclicksearch2-cli/README.md index 65dae37f96..8d3c20570a 100644 --- a/gen/doubleclicksearch2-cli/README.md +++ b/gen/doubleclicksearch2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *doubleclicksearch* API at revision *20161108*. The CLI is at version *1.0.2*. +This documentation was generated from the *doubleclicksearch* API at revision *20161108*. The CLI is at version *1.0.3*. ```bash doubleclicksearch2 [options] diff --git a/gen/doubleclicksearch2-cli/mkdocs.yml b/gen/doubleclicksearch2-cli/mkdocs.yml index e59f779a85..061c5427b8 100644 --- a/gen/doubleclicksearch2-cli/mkdocs.yml +++ b/gen/doubleclicksearch2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: doubleclicksearch v1.0.2+20161108 +site_name: doubleclicksearch v1.0.3+20161108 site_url: http://byron.github.io/google-apis-rs/google-doubleclicksearch2-cli site_description: A complete library to interact with doubleclicksearch (protocol v2) diff --git a/gen/doubleclicksearch2-cli/src/main.rs b/gen/doubleclicksearch2-cli/src/main.rs index 9bccff56d3..53329b25ed 100644 --- a/gen/doubleclicksearch2-cli/src/main.rs +++ b/gen/doubleclicksearch2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -920,10 +921,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "doubleclicksearch2", @@ -933,10 +934,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1291,7 +1292,7 @@ fn main() { let mut app = App::new("doubleclicksearch2") .author("Sebastian Thiel ") - .version("1.0.2+20161108") + .version("1.0.3+20161108") .about("Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_doubleclicksearch2_cli") .arg(Arg::with_name("url") diff --git a/gen/doubleclicksearch2/Cargo.toml b/gen/doubleclicksearch2/Cargo.toml index 3a7e3f2d20..e608690a4d 100644 --- a/gen/doubleclicksearch2/Cargo.toml +++ b/gen/doubleclicksearch2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-doubleclicksearch2" -version = "1.0.2+20161108" +version = "1.0.3+20161108" authors = ["Sebastian Thiel "] 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.2+20161108" +documentation = "https://docs.rs/google-doubleclicksearch2/1.0.3+20161108" license = "MIT" keywords = ["doubleclicksearch", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/doubleclicksearch2/README.md b/gen/doubleclicksearch2/README.md index 120b41aad0..c352bf667b 100644 --- a/gen/doubleclicksearch2/README.md +++ b/gen/doubleclicksearch2/README.md @@ -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.2+20161108*, where *20161108* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *doubleclicksearch* crate version *1.0.3+20161108*, where *20161108* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. 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.2+20161108/google_doubleclicksearch2/struct.Doubleclicksearch.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.Doubleclicksearch.html) ... -* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.Conversion.html) - * [*get*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html) -* [reports](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.Report.html) - * [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ReportRequestCall.html) -* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.SavedColumn.html) - * [*list*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.SavedColumnListCall.html) +* [conversion](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.Conversion.html) + * [*get*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ConversionGetCall.html), [*insert*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ConversionInsertCall.html), [*patch*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ConversionPatchCall.html), [*update*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ConversionUpdateCall.html) and [*update availability*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ConversionUpdateAvailabilityCall.html) +* [reports](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.Report.html) + * [*generate*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ReportGenerateCall.html), [*get*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ReportGetCall.html), [*get file*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ReportGetFileCall.html) and [*request*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.ReportRequestCall.html) +* [saved columns](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.SavedColumn.html) + * [*list*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/struct.SavedColumnListCall.html) Download supported by ... -* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/struct.ReportGetFileCall.html) +* [*get file reports*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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.2+20161108/google_doubleclicksearch2/struct.Doubleclicksearch.html)** +* **[Hub](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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.2+20161108/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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.2+20161108/google_doubleclicksearch2/trait.Part.html)** + * **[Parts](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/google_doubleclicksearch2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/google_doubleclicksearch2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/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.3+20161108/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.2+20161108/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.3+20161108/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.2+20161108/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.3+20161108/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.2+20161108/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.3+20161108/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")`. @@ -146,29 +146,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.2+20161108/google_doubleclicksearch2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/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.3+20161108/google_doubleclicksearch2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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.2+20161108/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.3+20161108/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.2+20161108/google_doubleclicksearch2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-doubleclicksearch2/1.0.2+20161108/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.3+20161108/google_doubleclicksearch2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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.2+20161108/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.3+20161108/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.2+20161108/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.3+20161108/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.2+20161108/google_doubleclicksearch2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-doubleclicksearch2/1.0.3+20161108/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. diff --git a/gen/doubleclicksearch2/src/cmn.rs b/gen/doubleclicksearch2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/doubleclicksearch2/src/cmn.rs +++ b/gen/doubleclicksearch2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/doubleclicksearch2/src/lib.rs b/gen/doubleclicksearch2/src/lib.rs index 86c5746971..b1b4c69ab2 100644 --- a/gen/doubleclicksearch2/src/lib.rs +++ b/gen/doubleclicksearch2/src/lib.rs @@ -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.2+20161108*, where *20161108* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *doubleclicksearch* crate version *1.0.3+20161108*, where *20161108* is the exact revision of the *doubleclicksearch:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *doubleclicksearch* *v2* API can be found at the //! [official documentation site](https://developers.google.com/doubleclick-search/). diff --git a/gen/doubleclicksearch2/src/lib.rs.in b/gen/doubleclicksearch2/src/lib.rs.in index 9de8c0d991..b2326e644a 100644 --- a/gen/doubleclicksearch2/src/lib.rs.in +++ b/gen/doubleclicksearch2/src/lib.rs.in @@ -131,7 +131,7 @@ impl<'a, C, A> Doubleclicksearch Doubleclicksearch { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> Doubleclicksearch } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/drive2-cli/Cargo.toml b/gen/drive2-cli/Cargo.toml index 4f506a0abd..2b87a27061 100644 --- a/gen/drive2-cli/Cargo.toml +++ b/gen/drive2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive2-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive2-cli" @@ -17,14 +17,15 @@ keywords = ["drive", "google", "cli"] name = "drive2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-drive2] path = "../drive2" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/drive2-cli/README.md b/gen/drive2-cli/README.md index c6b0b32516..51ddea22f1 100644 --- a/gen/drive2-cli/README.md +++ b/gen/drive2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *drive* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *drive* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash drive2 [options] diff --git a/gen/drive2-cli/mkdocs.yml b/gen/drive2-cli/mkdocs.yml index fb78c896ae..8d0832c9a0 100644 --- a/gen/drive2-cli/mkdocs.yml +++ b/gen/drive2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v1.0.2+20161212 +site_name: drive v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-drive2-cli site_description: A complete library to interact with drive (protocol v2) diff --git a/gen/drive2-cli/src/main.rs b/gen/drive2-cli/src/main.rs index 1585b62493..653c263221 100644 --- a/gen/drive2-cli/src/main.rs +++ b/gen/drive2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -5257,10 +5258,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "drive2", @@ -5270,10 +5271,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -6913,7 +6914,7 @@ fn main() { let mut app = App::new("drive2") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive2_cli") .arg(Arg::with_name("url") diff --git a/gen/drive2/Cargo.toml b/gen/drive2/Cargo.toml index b23b10713f..4cb9516fae 100644 --- a/gen/drive2/Cargo.toml +++ b/gen/drive2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-drive2" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive2" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive2/1.0.2+20161212" +documentation = "https://docs.rs/google-drive2/1.0.3+20161212" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/drive2/README.md b/gen/drive2/README.md index 1001d0076c..ef5d6dfa60 100644 --- a/gen/drive2/README.md +++ b/gen/drive2/README.md @@ -5,62 +5,62 @@ DO NOT EDIT ! --> The `google-drive2` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *drive* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *drive* *v2* API can be found at the [official documentation site](https://developers.google.com/drive/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Drive.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Drive.html) ... -* [about](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.About.html) - * [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.AboutGetCall.html) -* [apps](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.App.html) - * [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.AppGetCall.html) and [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.AppListCall.html) -* [changes](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Change.html) - * [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChangeGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChangeWatchCall.html) -* [channels](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Channel.html) - * [*stop*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChannelStopCall.html) +* [about](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.About.html) + * [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.AboutGetCall.html) +* [apps](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.App.html) + * [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.AppGetCall.html) and [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.AppListCall.html) +* [changes](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Change.html) + * [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChangeGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChangeWatchCall.html) +* [channels](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Channel.html) + * [*stop*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChannelStopCall.html) * children - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChildrenDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChildrenGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChildrenInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChildrenListCall.html) -* [comments](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Comment.html) - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.CommentUpdateCall.html) -* [files](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.File.html) - * [*copy*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileCopyCall.html), [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FilePatchCall.html), [*touch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileTouchCall.html), [*trash*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileTrashCall.html), [*untrash*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileUntrashCall.html), [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileWatchCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChildrenDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChildrenGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChildrenInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChildrenListCall.html) +* [comments](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Comment.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.CommentUpdateCall.html) +* [files](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.File.html) + * [*copy*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileCopyCall.html), [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FilePatchCall.html), [*touch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileTouchCall.html), [*trash*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileTrashCall.html), [*untrash*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileUntrashCall.html), [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileWatchCall.html) * parents - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ParentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ParentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ParentInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ParentListCall.html) -* [permissions](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Permission.html) - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionGetCall.html), [*get id for email*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionGetIdForEmailCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PermissionUpdateCall.html) -* [properties](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Property.html) - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.PropertyUpdateCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ParentDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ParentGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ParentInsertCall.html) and [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ParentListCall.html) +* [permissions](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Permission.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionGetCall.html), [*get id for email*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionGetIdForEmailCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PermissionUpdateCall.html) +* [properties](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Property.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.PropertyUpdateCall.html) * realtime - * [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RealtimeGetCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RealtimeUpdateCall.html) + * [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RealtimeGetCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RealtimeUpdateCall.html) * replies - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ReplyUpdateCall.html) -* [revisions](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Revision.html) - * [*delete*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RevisionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RevisionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RevisionUpdateCall.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyGetCall.html), [*insert*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyInsertCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ReplyUpdateCall.html) +* [revisions](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Revision.html) + * [*delete*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RevisionListCall.html), [*patch*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RevisionPatchCall.html) and [*update*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RevisionUpdateCall.html) Upload supported by ... -* [*insert files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileInsertCall.html) -* [*update realtime*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RealtimeUpdateCall.html) -* [*update files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileUpdateCall.html) +* [*insert files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileInsertCall.html) +* [*update realtime*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RealtimeUpdateCall.html) +* [*update files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileUpdateCall.html) Download supported by ... -* [*watch files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileWatchCall.html) -* [*get realtime*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.RealtimeGetCall.html) -* [*export files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileExportCall.html) -* [*get files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileGetCall.html) +* [*watch files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileWatchCall.html) +* [*get realtime*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.RealtimeGetCall.html) +* [*export files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileExportCall.html) +* [*get files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileGetCall.html) Subscription supported by ... -* [*watch files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileWatchCall.html) -* [*watch changes*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChangeWatchCall.html) -* [*insert files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileInsertCall.html) -* [*list changes*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.ChangeListCall.html) -* [*get files*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.FileGetCall.html) +* [*watch files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileWatchCall.html) +* [*watch changes*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChangeWatchCall.html) +* [*insert files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileInsertCall.html) +* [*list changes*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.ChangeListCall.html) +* [*get files*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.FileGetCall.html) @@ -68,17 +68,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/struct.Drive.html)** +* **[Hub](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/struct.Drive.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/trait.Part.html)** + * **[Parts](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -192,17 +192,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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")`. @@ -212,29 +212,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-drive2/1.0.2+20161212/google_drive2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/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-drive2/1.0.3+20161212/google_drive2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-drive2/1.0.2+20161212/google_drive2/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-drive2/1.0.3+20161212/google_drive2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/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-drive2/1.0.2+20161212/google_drive2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-drive2/1.0.3+20161212/google_drive2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive2/src/cmn.rs b/gen/drive2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/drive2/src/cmn.rs +++ b/gen/drive2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/drive2/src/lib.rs b/gen/drive2/src/lib.rs index ddf312b138..fece8d0f62 100644 --- a/gen/drive2/src/lib.rs +++ b/gen/drive2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *drive* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *drive* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *drive:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *drive* *v2* API can be found at the //! [official documentation site](https://developers.google.com/drive/). diff --git a/gen/drive2/src/lib.rs.in b/gen/drive2/src/lib.rs.in index 67a9e1d063..2d047c0e7f 100644 --- a/gen/drive2/src/lib.rs.in +++ b/gen/drive2/src/lib.rs.in @@ -182,7 +182,7 @@ impl<'a, C, A> Drive Drive { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -227,7 +227,7 @@ impl<'a, C, A> Drive } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/drive3-cli/Cargo.toml b/gen/drive3-cli/Cargo.toml index e6c8ba6bcb..fde158515a 100644 --- a/gen/drive3-cli/Cargo.toml +++ b/gen/drive3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-drive3-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive3-cli" @@ -17,14 +17,15 @@ keywords = ["drive", "google", "cli"] name = "drive3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-drive3] path = "../drive3" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/drive3-cli/README.md b/gen/drive3-cli/README.md index a0dbb89f6b..d296d3700d 100644 --- a/gen/drive3-cli/README.md +++ b/gen/drive3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *drive* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *drive* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash drive3 [options] diff --git a/gen/drive3-cli/mkdocs.yml b/gen/drive3-cli/mkdocs.yml index 51c6e31ae3..205b9c17cd 100644 --- a/gen/drive3-cli/mkdocs.yml +++ b/gen/drive3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: drive v1.0.2+20161212 +site_name: drive v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-drive3-cli site_description: A complete library to interact with drive (protocol v3) diff --git a/gen/drive3-cli/src/main.rs b/gen/drive3-cli/src/main.rs index 3251f41f8f..ec5d3f0469 100644 --- a/gen/drive3-cli/src/main.rs +++ b/gen/drive3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -2960,10 +2961,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "drive3", @@ -2973,10 +2974,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -3899,7 +3900,7 @@ fn main() { let mut app = App::new("drive3") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_drive3_cli") .arg(Arg::with_name("url") diff --git a/gen/drive3/Cargo.toml b/gen/drive3/Cargo.toml index fb52cfbf28..8f537521fb 100644 --- a/gen/drive3/Cargo.toml +++ b/gen/drive3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-drive3" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with drive (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/drive3" homepage = "https://developers.google.com/drive/" -documentation = "https://docs.rs/google-drive3/1.0.2+20161212" +documentation = "https://docs.rs/google-drive3/1.0.3+20161212" license = "MIT" keywords = ["drive", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/drive3/README.md b/gen/drive3/README.md index 736e6254d5..91dc9a1007 100644 --- a/gen/drive3/README.md +++ b/gen/drive3/README.md @@ -5,51 +5,51 @@ DO NOT EDIT ! --> The `google-drive3` library allows access to all features of the *Google drive* service. -This documentation was generated from *drive* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *drive* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *drive* *v3* API can be found at the [official documentation site](https://developers.google.com/drive/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Drive.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Drive.html) ... -* [about](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.About.html) - * [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.AboutGetCall.html) -* [changes](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Change.html) - * [*get start page token*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChangeWatchCall.html) -* [channels](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Channel.html) - * [*stop*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChannelStopCall.html) -* [comments](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Comment.html) - * [*create*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.CommentCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.CommentListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.CommentUpdateCall.html) -* [files](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.File.html) - * [*copy*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileCopyCall.html), [*create*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileListCall.html), [*update*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileWatchCall.html) -* [permissions](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Permission.html) - * [*create*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.PermissionCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.PermissionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.PermissionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.PermissionUpdateCall.html) -* [replies](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Reply.html) - * [*create*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ReplyCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ReplyGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ReplyListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ReplyUpdateCall.html) -* [revisions](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Revision.html) - * [*delete*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.RevisionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.RevisionUpdateCall.html) +* [about](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.About.html) + * [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.AboutGetCall.html) +* [changes](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Change.html) + * [*get start page token*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChangeGetStartPageTokenCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChangeListCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChangeWatchCall.html) +* [channels](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Channel.html) + * [*stop*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChannelStopCall.html) +* [comments](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Comment.html) + * [*create*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.CommentCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.CommentDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.CommentGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.CommentListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.CommentUpdateCall.html) +* [files](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.File.html) + * [*copy*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileCopyCall.html), [*create*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileDeleteCall.html), [*empty trash*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileEmptyTrashCall.html), [*export*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileExportCall.html), [*generate ids*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileGenerateIdCall.html), [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileListCall.html), [*update*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileUpdateCall.html) and [*watch*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileWatchCall.html) +* [permissions](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Permission.html) + * [*create*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.PermissionCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.PermissionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.PermissionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.PermissionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.PermissionUpdateCall.html) +* [replies](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Reply.html) + * [*create*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ReplyCreateCall.html), [*delete*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ReplyDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ReplyGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ReplyListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ReplyUpdateCall.html) +* [revisions](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Revision.html) + * [*delete*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.RevisionDeleteCall.html), [*get*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.RevisionGetCall.html), [*list*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.RevisionListCall.html) and [*update*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.RevisionUpdateCall.html) Upload supported by ... -* [*update files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileUpdateCall.html) -* [*create files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileCreateCall.html) +* [*update files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileUpdateCall.html) +* [*create files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileCreateCall.html) Download supported by ... -* [*watch files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileWatchCall.html) -* [*export files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileExportCall.html) -* [*get revisions*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.RevisionGetCall.html) -* [*get files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileGetCall.html) +* [*watch files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileWatchCall.html) +* [*export files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileExportCall.html) +* [*get revisions*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.RevisionGetCall.html) +* [*get files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileGetCall.html) Subscription supported by ... -* [*watch changes*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChangeWatchCall.html) -* [*watch files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileWatchCall.html) -* [*list changes*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.ChangeListCall.html) -* [*create files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileCreateCall.html) -* [*get files*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.FileGetCall.html) +* [*watch changes*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChangeWatchCall.html) +* [*watch files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileWatchCall.html) +* [*list changes*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.ChangeListCall.html) +* [*create files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileCreateCall.html) +* [*get files*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.FileGetCall.html) @@ -57,17 +57,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/struct.Drive.html)** +* **[Hub](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/struct.Drive.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/trait.Part.html)** + * **[Parts](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -170,17 +170,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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")`. @@ -190,29 +190,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-drive3/1.0.2+20161212/google_drive3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/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-drive3/1.0.3+20161212/google_drive3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-drive3/1.0.2+20161212/google_drive3/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-drive3/1.0.3+20161212/google_drive3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/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-drive3/1.0.2+20161212/google_drive3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-drive3/1.0.3+20161212/google_drive3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/drive3/src/cmn.rs b/gen/drive3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/drive3/src/cmn.rs +++ b/gen/drive3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/drive3/src/lib.rs b/gen/drive3/src/lib.rs index 4513ad8640..91d96361a4 100644 --- a/gen/drive3/src/lib.rs +++ b/gen/drive3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *drive* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *drive* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *drive:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *drive* *v3* API can be found at the //! [official documentation site](https://developers.google.com/drive/). diff --git a/gen/drive3/src/lib.rs.in b/gen/drive3/src/lib.rs.in index c9ab16981e..1c7b596a2b 100644 --- a/gen/drive3/src/lib.rs.in +++ b/gen/drive3/src/lib.rs.in @@ -171,7 +171,7 @@ impl<'a, C, A> Drive Drive { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -201,7 +201,7 @@ impl<'a, C, A> Drive } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/firebasedynamiclinks1-cli/Cargo.toml b/gen/firebasedynamiclinks1-cli/Cargo.toml index 4d5631184b..ad9246fe03 100644 --- a/gen/firebasedynamiclinks1-cli/Cargo.toml +++ b/gen/firebasedynamiclinks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-firebasedynamiclinks1-cli" -version = "1.0.2+20161118" +version = "1.0.3+20161118" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasedynamiclinks1-cli" @@ -17,14 +17,15 @@ keywords = ["firebasedynamiclinks", "google", "cli"] name = "firebasedynamiclinks1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-firebasedynamiclinks1] path = "../firebasedynamiclinks1" -version = "1.0.2+20161118" +version = "1.0.3+20161118" optional = true default-features = false diff --git a/gen/firebasedynamiclinks1-cli/README.md b/gen/firebasedynamiclinks1-cli/README.md index 14db193ced..597d48be69 100644 --- a/gen/firebasedynamiclinks1-cli/README.md +++ b/gen/firebasedynamiclinks1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Firebase Dynamic Links* API at revision *20161118*. The CLI is at version *1.0.2*. +This documentation was generated from the *Firebase Dynamic Links* API at revision *20161118*. The CLI is at version *1.0.3*. ```bash firebasedynamiclinks1 [options] diff --git a/gen/firebasedynamiclinks1-cli/mkdocs.yml b/gen/firebasedynamiclinks1-cli/mkdocs.yml index 6823c73b0d..435ef6ddd4 100644 --- a/gen/firebasedynamiclinks1-cli/mkdocs.yml +++ b/gen/firebasedynamiclinks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Firebase Dynamic Links v1.0.2+20161118 +site_name: Firebase Dynamic Links v1.0.3+20161118 site_url: http://byron.github.io/google-apis-rs/google-firebasedynamiclinks1-cli site_description: A complete library to interact with Firebase Dynamic Links (protocol v1) diff --git a/gen/firebasedynamiclinks1-cli/src/main.rs b/gen/firebasedynamiclinks1-cli/src/main.rs index 07f49f71e2..18e3a2e93a 100644 --- a/gen/firebasedynamiclinks1-cli/src/main.rs +++ b/gen/firebasedynamiclinks1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -206,10 +207,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "firebasedynamiclinks1", @@ -219,10 +220,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -295,7 +296,7 @@ fn main() { let mut app = App::new("firebasedynamiclinks1") .author("Sebastian Thiel ") - .version("1.0.2+20161118") + .version("1.0.3+20161118") .about("Firebase Dynamic Links API enables third party developers to programmatically create and manage Dynamic Links.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_firebasedynamiclinks1_cli") .arg(Arg::with_name("url") diff --git a/gen/firebasedynamiclinks1/Cargo.toml b/gen/firebasedynamiclinks1/Cargo.toml index 62aa85ea7c..4eddb726a3 100644 --- a/gen/firebasedynamiclinks1/Cargo.toml +++ b/gen/firebasedynamiclinks1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-firebasedynamiclinks1" -version = "1.0.2+20161118" +version = "1.0.3+20161118" authors = ["Sebastian Thiel "] description = "A complete library to interact with Firebase Dynamic Links (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/firebasedynamiclinks1" homepage = "https://firebase.google.com/docs/dynamic-links/" -documentation = "https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118" +documentation = "https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118" license = "MIT" keywords = ["firebasedynamiclinks", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/firebasedynamiclinks1/README.md b/gen/firebasedynamiclinks1/README.md index 9aaf64221e..7851936b50 100644 --- a/gen/firebasedynamiclinks1/README.md +++ b/gen/firebasedynamiclinks1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-firebasedynamiclinks1` library allows access to all features of the *Google Firebase Dynamic Links* service. -This documentation was generated from *Firebase Dynamic Links* crate version *1.0.2+20161118*, where *20161118* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Firebase Dynamic Links* crate version *1.0.3+20161118*, where *20161118* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Firebase Dynamic Links* *v1* API can be found at the [official documentation site](https://firebase.google.com/docs/dynamic-links/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html) ... * short links - * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/struct.ShortLinkCreateCall.html) + * [*create*](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/struct.ShortLinkCreateCall.html) @@ -23,17 +23,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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html)** +* **[Hub](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/struct.FirebaseDynamicLinks.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Part.html)** + * **[Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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")`. @@ -141,29 +141,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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/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-firebasedynamiclinks1/1.0.2+20161118/google_firebasedynamiclinks1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-firebasedynamiclinks1/1.0.3+20161118/google_firebasedynamiclinks1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/firebasedynamiclinks1/src/cmn.rs b/gen/firebasedynamiclinks1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/firebasedynamiclinks1/src/cmn.rs +++ b/gen/firebasedynamiclinks1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/firebasedynamiclinks1/src/lib.rs b/gen/firebasedynamiclinks1/src/lib.rs index 25b007e53c..879de45c8a 100644 --- a/gen/firebasedynamiclinks1/src/lib.rs +++ b/gen/firebasedynamiclinks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Firebase Dynamic Links* crate version *1.0.2+20161118*, where *20161118* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Firebase Dynamic Links* crate version *1.0.3+20161118*, where *20161118* is the exact revision of the *firebasedynamiclinks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Firebase Dynamic Links* *v1* API can be found at the //! [official documentation site](https://firebase.google.com/docs/dynamic-links/). diff --git a/gen/firebasedynamiclinks1/src/lib.rs.in b/gen/firebasedynamiclinks1/src/lib.rs.in index 8cbaeb056f..3f0094012c 100644 --- a/gen/firebasedynamiclinks1/src/lib.rs.in +++ b/gen/firebasedynamiclinks1/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> FirebaseDynamicLinks FirebaseDynamicLinks { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> FirebaseDynamicLinks } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fitness1-cli/Cargo.toml b/gen/fitness1-cli/Cargo.toml index 9a50cb0eea..c5a1f5b5e5 100644 --- a/gen/fitness1-cli/Cargo.toml +++ b/gen/fitness1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fitness1-cli" -version = "1.0.2+20161128" +version = "1.0.3+20161128" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fitness1-cli" @@ -17,14 +17,15 @@ keywords = ["fitness", "google", "cli"] name = "fitness1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-fitness1] path = "../fitness1" -version = "1.0.2+20161128" +version = "1.0.3+20161128" optional = true default-features = false diff --git a/gen/fitness1-cli/README.md b/gen/fitness1-cli/README.md index 0ee307dcca..0648195e0d 100644 --- a/gen/fitness1-cli/README.md +++ b/gen/fitness1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *fitness* API at revision *20161128*. The CLI is at version *1.0.2*. +This documentation was generated from the *fitness* API at revision *20161128*. The CLI is at version *1.0.3*. ```bash fitness1 [options] diff --git a/gen/fitness1-cli/mkdocs.yml b/gen/fitness1-cli/mkdocs.yml index 13fa009a96..2b59fff080 100644 --- a/gen/fitness1-cli/mkdocs.yml +++ b/gen/fitness1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fitness v1.0.2+20161128 +site_name: fitness v1.0.3+20161128 site_url: http://byron.github.io/google-apis-rs/google-fitness1-cli site_description: A complete library to interact with fitness (protocol v1) diff --git a/gen/fitness1-cli/src/main.rs b/gen/fitness1-cli/src/main.rs index d60fb067db..0fe44d6990 100644 --- a/gen/fitness1-cli/src/main.rs +++ b/gen/fitness1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1099,10 +1100,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "fitness1", @@ -1112,10 +1113,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1540,7 +1541,7 @@ fn main() { let mut app = App::new("fitness1") .author("Sebastian Thiel ") - .version("1.0.2+20161128") + .version("1.0.3+20161128") .about("Stores and accesses user data in the fitness store from apps on any platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fitness1_cli") .arg(Arg::with_name("url") diff --git a/gen/fitness1/Cargo.toml b/gen/fitness1/Cargo.toml index 5b6737a841..5079b81f9d 100644 --- a/gen/fitness1/Cargo.toml +++ b/gen/fitness1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-fitness1" -version = "1.0.2+20161128" +version = "1.0.3+20161128" authors = ["Sebastian Thiel "] description = "A complete library to interact with fitness (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fitness1" homepage = "https://developers.google.com/fit/rest/" -documentation = "https://docs.rs/google-fitness1/1.0.2+20161128" +documentation = "https://docs.rs/google-fitness1/1.0.3+20161128" license = "MIT" keywords = ["fitness", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/fitness1/README.md b/gen/fitness1/README.md index 451ba3cc77..8ed7505394 100644 --- a/gen/fitness1/README.md +++ b/gen/fitness1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-fitness1` library allows access to all features of the *Google fitness* service. -This documentation was generated from *fitness* crate version *1.0.2+20161128*, where *20161128* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *fitness* crate version *1.0.3+20161128*, where *20161128* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *fitness* *v1* API can be found at the [official documentation site](https://developers.google.com/fit/rest/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.Fitness.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.Fitness.html) ... * users - * [*data sources create*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceCreateCall.html), [*data sources datasets delete*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceDatasetDeleteCall.html), [*data sources datasets get*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceDatasetGetCall.html), [*data sources datasets patch*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceDatasetPatchCall.html), [*data sources delete*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceDeleteCall.html), [*data sources get*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceListCall.html), [*data sources patch*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourcePatchCall.html), [*data sources update*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDataSourceUpdateCall.html), [*dataset aggregate*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserDatasetAggregateCall.html), [*sessions delete*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserSessionDeleteCall.html), [*sessions list*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserSessionListCall.html) and [*sessions update*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/struct.UserSessionUpdateCall.html) + * [*data sources create*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceCreateCall.html), [*data sources datasets delete*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceDatasetDeleteCall.html), [*data sources datasets get*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceDatasetGetCall.html), [*data sources datasets patch*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceDatasetPatchCall.html), [*data sources delete*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceDeleteCall.html), [*data sources get*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceGetCall.html), [*data sources list*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceListCall.html), [*data sources patch*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourcePatchCall.html), [*data sources update*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDataSourceUpdateCall.html), [*dataset aggregate*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserDatasetAggregateCall.html), [*sessions delete*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserSessionDeleteCall.html), [*sessions list*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserSessionListCall.html) and [*sessions update*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.UserSessionUpdateCall.html) @@ -23,17 +23,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-fitness1/1.0.2+20161128/google_fitness1/struct.Fitness.html)** +* **[Hub](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/struct.Fitness.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/trait.Part.html)** + * **[Parts](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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")`. @@ -145,29 +145,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-fitness1/1.0.2+20161128/google_fitness1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/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-fitness1/1.0.3+20161128/google_fitness1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-fitness1/1.0.2+20161128/google_fitness1/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-fitness1/1.0.3+20161128/google_fitness1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/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-fitness1/1.0.2+20161128/google_fitness1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-fitness1/1.0.3+20161128/google_fitness1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fitness1/src/cmn.rs b/gen/fitness1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/fitness1/src/cmn.rs +++ b/gen/fitness1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/fitness1/src/lib.rs b/gen/fitness1/src/lib.rs index 92647df669..0ad426607a 100644 --- a/gen/fitness1/src/lib.rs +++ b/gen/fitness1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fitness* crate version *1.0.2+20161128*, where *20161128* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *fitness* crate version *1.0.3+20161128*, where *20161128* is the exact revision of the *fitness:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *fitness* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fit/rest/). diff --git a/gen/fitness1/src/lib.rs.in b/gen/fitness1/src/lib.rs.in index fe0bd24065..0f871764ec 100644 --- a/gen/fitness1/src/lib.rs.in +++ b/gen/fitness1/src/lib.rs.in @@ -205,7 +205,7 @@ impl<'a, C, A> Fitness Fitness { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -214,7 +214,7 @@ impl<'a, C, A> Fitness } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/fusiontables2-cli/Cargo.toml b/gen/fusiontables2-cli/Cargo.toml index 77ee6b4128..9828fe52d1 100644 --- a/gen/fusiontables2-cli/Cargo.toml +++ b/gen/fusiontables2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-fusiontables2-cli" -version = "1.0.2+20160526" +version = "1.0.3+20160526" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fusiontables2-cli" @@ -17,14 +17,15 @@ keywords = ["fusiontables", "google", "cli"] name = "fusiontables2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-fusiontables2] path = "../fusiontables2" -version = "1.0.2+20160526" +version = "1.0.3+20160526" optional = true default-features = false diff --git a/gen/fusiontables2-cli/README.md b/gen/fusiontables2-cli/README.md index 0f3e316e40..7ba1dc91c5 100644 --- a/gen/fusiontables2-cli/README.md +++ b/gen/fusiontables2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *fusiontables* API at revision *20160526*. The CLI is at version *1.0.2*. +This documentation was generated from the *fusiontables* API at revision *20160526*. The CLI is at version *1.0.3*. ```bash fusiontables2 [options] diff --git a/gen/fusiontables2-cli/mkdocs.yml b/gen/fusiontables2-cli/mkdocs.yml index 2486e44ff3..5798b854b7 100644 --- a/gen/fusiontables2-cli/mkdocs.yml +++ b/gen/fusiontables2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: fusiontables v1.0.2+20160526 +site_name: fusiontables v1.0.3+20160526 site_url: http://byron.github.io/google-apis-rs/google-fusiontables2-cli site_description: A complete library to interact with fusiontables (protocol v2) diff --git a/gen/fusiontables2-cli/src/main.rs b/gen/fusiontables2-cli/src/main.rs index 380044449e..3b847a556f 100644 --- a/gen/fusiontables2-cli/src/main.rs +++ b/gen/fusiontables2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -2636,10 +2637,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "fusiontables2", @@ -2649,10 +2650,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -3585,7 +3586,7 @@ fn main() { let mut app = App::new("fusiontables2") .author("Sebastian Thiel ") - .version("1.0.2+20160526") + .version("1.0.3+20160526") .about("API for working with Fusion Tables data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_fusiontables2_cli") .arg(Arg::with_name("url") diff --git a/gen/fusiontables2/Cargo.toml b/gen/fusiontables2/Cargo.toml index 5abe8c0c45..12be5c0a36 100644 --- a/gen/fusiontables2/Cargo.toml +++ b/gen/fusiontables2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-fusiontables2" -version = "1.0.2+20160526" +version = "1.0.3+20160526" authors = ["Sebastian Thiel "] description = "A complete library to interact with fusiontables (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/fusiontables2" homepage = "https://developers.google.com/fusiontables" -documentation = "https://docs.rs/google-fusiontables2/1.0.2+20160526" +documentation = "https://docs.rs/google-fusiontables2/1.0.3+20160526" license = "MIT" keywords = ["fusiontables", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/fusiontables2/README.md b/gen/fusiontables2/README.md index 83ab73f299..38d3079eec 100644 --- a/gen/fusiontables2/README.md +++ b/gen/fusiontables2/README.md @@ -5,38 +5,38 @@ DO NOT EDIT ! --> The `google-fusiontables2` library allows access to all features of the *Google fusiontables* service. -This documentation was generated from *fusiontables* crate version *1.0.2+20160526*, where *20160526* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *fusiontables* crate version *1.0.3+20160526*, where *20160526* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *fusiontables* *v2* API can be found at the [official documentation site](https://developers.google.com/fusiontables). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Fusiontables.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Fusiontables.html) ... -* [column](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Column.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnPatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.ColumnUpdateCall.html) +* [column](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Column.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnPatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.ColumnUpdateCall.html) * query - * [*sql*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.QuerySqlCall.html) and [*sql get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.QuerySqlGetCall.html) + * [*sql*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.QuerySqlCall.html) and [*sql get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.QuerySqlGetCall.html) * style - * [*delete*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StyleDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StyleGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StyleInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StyleListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StylePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.StyleUpdateCall.html) -* [table](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Table.html) - * [*copy*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableCopyCall.html), [*delete*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableGetCall.html), [*import rows*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableImportRowCall.html), [*import table*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableImportTableCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TablePatchCall.html), [*replace rows*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableReplaceRowCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableUpdateCall.html) -* [task](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Task.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TaskGetCall.html) and [*list*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TaskListCall.html) -* [template](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Template.html) - * [*delete*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplateInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplateListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplatePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TemplateUpdateCall.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StyleDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StyleGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StyleInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StyleListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StylePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.StyleUpdateCall.html) +* [table](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Table.html) + * [*copy*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableCopyCall.html), [*delete*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableGetCall.html), [*import rows*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableImportRowCall.html), [*import table*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableImportTableCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TablePatchCall.html), [*replace rows*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableReplaceRowCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableUpdateCall.html) +* [task](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Task.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TaskGetCall.html) and [*list*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TaskListCall.html) +* [template](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Template.html) + * [*delete*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplateInsertCall.html), [*list*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplateListCall.html), [*patch*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplatePatchCall.html) and [*update*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TemplateUpdateCall.html) Upload supported by ... -* [*replace rows table*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableReplaceRowCall.html) -* [*import rows table*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableImportRowCall.html) -* [*import table table*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.TableImportTableCall.html) +* [*replace rows table*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableReplaceRowCall.html) +* [*import rows table*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableImportRowCall.html) +* [*import table table*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.TableImportTableCall.html) Download supported by ... -* [*sql get query*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.QuerySqlGetCall.html) -* [*sql query*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.QuerySqlCall.html) +* [*sql get query*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.QuerySqlGetCall.html) +* [*sql query*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.QuerySqlCall.html) @@ -44,17 +44,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/struct.Fusiontables.html)** +* **[Hub](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/struct.Fusiontables.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Part.html)** + * **[Parts](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -144,17 +144,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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")`. @@ -164,29 +164,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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/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-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-fusiontables2/1.0.2+20160526/google_fusiontables2/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-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/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-fusiontables2/1.0.2+20160526/google_fusiontables2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-fusiontables2/1.0.3+20160526/google_fusiontables2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/fusiontables2/src/cmn.rs b/gen/fusiontables2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/fusiontables2/src/cmn.rs +++ b/gen/fusiontables2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/fusiontables2/src/lib.rs b/gen/fusiontables2/src/lib.rs index e8fc5be914..9e29f504e4 100644 --- a/gen/fusiontables2/src/lib.rs +++ b/gen/fusiontables2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *fusiontables* crate version *1.0.2+20160526*, where *20160526* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *fusiontables* crate version *1.0.3+20160526*, where *20160526* is the exact revision of the *fusiontables:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *fusiontables* *v2* API can be found at the //! [official documentation site](https://developers.google.com/fusiontables). diff --git a/gen/fusiontables2/src/lib.rs.in b/gen/fusiontables2/src/lib.rs.in index a8ded14f50..d4c577cd52 100644 --- a/gen/fusiontables2/src/lib.rs.in +++ b/gen/fusiontables2/src/lib.rs.in @@ -138,7 +138,7 @@ impl<'a, C, A> Fusiontables Fusiontables { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -162,7 +162,7 @@ impl<'a, C, A> Fusiontables } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/games1-cli/Cargo.toml b/gen/games1-cli/Cargo.toml index ba85b7ea6a..47c1a34240 100644 --- a/gen/games1-cli/Cargo.toml +++ b/gen/games1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-games1-cli" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/games1-cli" @@ -17,14 +17,15 @@ keywords = ["games", "google", "cli"] name = "games1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-games1] path = "../games1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" optional = true default-features = false diff --git a/gen/games1-cli/README.md b/gen/games1-cli/README.md index d63a3ae5fd..cc7fcea173 100644 --- a/gen/games1-cli/README.md +++ b/gen/games1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games* API at revision *20161207*. The CLI is at version *1.0.2*. +This documentation was generated from the *Games* API at revision *20161207*. The CLI is at version *1.0.3*. ```bash games1 [options] diff --git a/gen/games1-cli/mkdocs.yml b/gen/games1-cli/mkdocs.yml index c6a8ce28ad..062fdae1cf 100644 --- a/gen/games1-cli/mkdocs.yml +++ b/gen/games1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games v1.0.2+20161207 +site_name: Games v1.0.3+20161207 site_url: http://byron.github.io/google-apis-rs/google-games1-cli site_description: A complete library to interact with Games (protocol v1) diff --git a/gen/games1-cli/src/main.rs b/gen/games1-cli/src/main.rs index ca1d21d969..e193e6fbb7 100644 --- a/gen/games1-cli/src/main.rs +++ b/gen/games1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3978,10 +3979,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "games1", @@ -3991,10 +3992,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -5259,7 +5260,7 @@ fn main() { let mut app = App::new("games1") .author("Sebastian Thiel ") - .version("1.0.2+20161207") + .version("1.0.3+20161207") .about("The API for Google Play Game Services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_games1_cli") .arg(Arg::with_name("url") diff --git a/gen/games1/Cargo.toml b/gen/games1/Cargo.toml index 77eb2ebafc..91fe28b1d0 100644 --- a/gen/games1/Cargo.toml +++ b/gen/games1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-games1" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/games1" homepage = "https://developers.google.com/games/services/" -documentation = "https://docs.rs/google-games1/1.0.2+20161207" +documentation = "https://docs.rs/google-games1/1.0.3+20161207" license = "MIT" keywords = ["games", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/games1/README.md b/gen/games1/README.md index 8053df4fe2..c7ea362c83 100644 --- a/gen/games1/README.md +++ b/gen/games1/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-games1` library allows access to all features of the *Google Games* service. -This documentation was generated from *Games* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Games* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Games* *v1* API can be found at the [official documentation site](https://developers.google.com/games/services/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Games.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Games.html) ... -* [achievement definitions](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementDefinition.html) - * [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementDefinitionListCall.html) +* [achievement definitions](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementDefinition.html) + * [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementDefinitionListCall.html) * achievements - * [*increment*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementIncrementCall.html), [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementListCall.html), [*reveal*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementRevealCall.html), [*set steps at least*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementSetStepsAtLeastCall.html), [*unlock*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementUnlockCall.html) and [*update multiple*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.AchievementUpdateMultipleCall.html) -* [applications](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Application.html) - * [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ApplicationGetCall.html), [*played*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ApplicationPlayedCall.html) and [*verify*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ApplicationVerifyCall.html) + * [*increment*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementIncrementCall.html), [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementListCall.html), [*reveal*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementRevealCall.html), [*set steps at least*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementSetStepsAtLeastCall.html), [*unlock*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementUnlockCall.html) and [*update multiple*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.AchievementUpdateMultipleCall.html) +* [applications](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Application.html) + * [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ApplicationGetCall.html), [*played*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ApplicationPlayedCall.html) and [*verify*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ApplicationVerifyCall.html) * events - * [*list by player*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.EventListByPlayerCall.html), [*list definitions*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.EventListDefinitionCall.html) and [*record*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.EventRecordCall.html) -* [leaderboards](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Leaderboard.html) - * [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.LeaderboardGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.LeaderboardListCall.html) + * [*list by player*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.EventListByPlayerCall.html), [*list definitions*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.EventListDefinitionCall.html) and [*record*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.EventRecordCall.html) +* [leaderboards](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Leaderboard.html) + * [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.LeaderboardGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.LeaderboardListCall.html) * metagame - * [*get metagame config*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.MetagameGetMetagameConfigCall.html) and [*list categories by player*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.MetagameListCategoriesByPlayerCall.html) -* [players](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Player.html) - * [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.PlayerGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.PlayerListCall.html) + * [*get metagame config*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.MetagameGetMetagameConfigCall.html) and [*list categories by player*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.MetagameListCategoriesByPlayerCall.html) +* [players](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Player.html) + * [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.PlayerGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.PlayerListCall.html) * pushtokens - * [*remove*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.PushtokenRemoveCall.html) and [*update*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.PushtokenUpdateCall.html) -* [quest milestones](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.QuestMilestone.html) - * [*claim*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.QuestMilestoneClaimCall.html) -* [quests](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Quest.html) - * [*accept*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.QuestAcceptCall.html) and [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.QuestListCall.html) + * [*remove*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.PushtokenRemoveCall.html) and [*update*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.PushtokenUpdateCall.html) +* [quest milestones](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.QuestMilestone.html) + * [*claim*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.QuestMilestoneClaimCall.html) +* [quests](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Quest.html) + * [*accept*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.QuestAcceptCall.html) and [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.QuestListCall.html) * revisions - * [*check*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RevisionCheckCall.html) -* [rooms](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Room.html) - * [*create*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomDismisCall.html), [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomGetCall.html), [*join*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomLeaveCall.html), [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomListCall.html) and [*report status*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.RoomReportStatuCall.html) + * [*check*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RevisionCheckCall.html) +* [rooms](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Room.html) + * [*create*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomDismisCall.html), [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomGetCall.html), [*join*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomLeaveCall.html), [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomListCall.html) and [*report status*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.RoomReportStatuCall.html) * scores - * [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ScoreGetCall.html), [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ScoreListCall.html), [*list window*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ScoreListWindowCall.html), [*submit*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ScoreSubmitCall.html) and [*submit multiple*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.ScoreSubmitMultipleCall.html) -* [snapshots](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.Snapshot.html) - * [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.SnapshotGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.SnapshotListCall.html) + * [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ScoreGetCall.html), [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ScoreListCall.html), [*list window*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ScoreListWindowCall.html), [*submit*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ScoreSubmitCall.html) and [*submit multiple*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.ScoreSubmitMultipleCall.html) +* [snapshots](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Snapshot.html) + * [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.SnapshotGetCall.html) and [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.SnapshotListCall.html) * turn based matches - * [*cancel*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheCancelCall.html), [*create*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheDismisCall.html), [*finish*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheFinishCall.html), [*get*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheGetCall.html), [*join*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheLeaveCall.html), [*leave turn*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheLeaveTurnCall.html), [*list*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheListCall.html), [*rematch*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheRematchCall.html), [*sync*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheSyncCall.html) and [*take turn*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/struct.TurnBasedMatcheTakeTurnCall.html) + * [*cancel*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheCancelCall.html), [*create*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheCreateCall.html), [*decline*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheDeclineCall.html), [*dismiss*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheDismisCall.html), [*finish*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheFinishCall.html), [*get*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheGetCall.html), [*join*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheJoinCall.html), [*leave*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheLeaveCall.html), [*leave turn*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheLeaveTurnCall.html), [*list*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheListCall.html), [*rematch*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheRematchCall.html), [*sync*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheSyncCall.html) and [*take turn*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.TurnBasedMatcheTakeTurnCall.html) @@ -51,17 +51,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-games1/1.0.2+20161207/google_games1/struct.Games.html)** +* **[Hub](https://docs.rs/google-games1/1.0.3+20161207/google_games1/struct.Games.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-games1/1.0.2+20161207/google_games1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-games1/1.0.2+20161207/google_games1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-games1/1.0.2+20161207/google_games1/trait.Part.html)** + * **[Parts](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-games1/1.0.2+20161207/google_games1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -153,17 +153,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/1.0.2+20161207/google_games1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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")`. @@ -173,29 +173,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-games1/1.0.2+20161207/google_games1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-games1/1.0.2+20161207/google_games1/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-games1/1.0.3+20161207/google_games1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-games1/1.0.2+20161207/google_games1/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-games1/1.0.3+20161207/google_games1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-games1/1.0.3+20161207/google_games1/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-games1/1.0.2+20161207/google_games1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-games1/1.0.3+20161207/google_games1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/games1/src/cmn.rs b/gen/games1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/games1/src/cmn.rs +++ b/gen/games1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/games1/src/lib.rs b/gen/games1/src/lib.rs index ad7e5eabf8..b04a097cfa 100644 --- a/gen/games1/src/lib.rs +++ b/gen/games1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Games* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *games:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Games* *v1* API can be found at the //! [official documentation site](https://developers.google.com/games/services/). diff --git a/gen/games1/src/lib.rs.in b/gen/games1/src/lib.rs.in index ad9e1b20ce..4a958d42e7 100644 --- a/gen/games1/src/lib.rs.in +++ b/gen/games1/src/lib.rs.in @@ -142,7 +142,7 @@ impl<'a, C, A> Games Games { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -193,7 +193,7 @@ impl<'a, C, A> Games } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesconfiguration1_configuration-cli/Cargo.toml b/gen/gamesconfiguration1_configuration-cli/Cargo.toml index 1d1b4f3f42..35095e8c18 100644 --- a/gen/gamesconfiguration1_configuration-cli/Cargo.toml +++ b/gen/gamesconfiguration1_configuration-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesconfiguration1_configuration-cli" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesconfiguration1_configuration-cli" @@ -17,14 +17,15 @@ keywords = ["gamesConfiguration", "google", "cli"] name = "gamesconfiguration1-configuration" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-gamesconfiguration1_configuration] path = "../gamesconfiguration1_configuration" -version = "1.0.2+20161207" +version = "1.0.3+20161207" optional = true default-features = false diff --git a/gen/gamesconfiguration1_configuration-cli/README.md b/gen/gamesconfiguration1_configuration-cli/README.md index ac77755350..8bffdb5445 100644 --- a/gen/gamesconfiguration1_configuration-cli/README.md +++ b/gen/gamesconfiguration1_configuration-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games Configuration* API at revision *20161207*. The CLI is at version *1.0.2*. +This documentation was generated from the *Games Configuration* API at revision *20161207*. The CLI is at version *1.0.3*. ```bash gamesconfiguration1-configuration [options] diff --git a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml index ed43d2f673..67e8da053e 100644 --- a/gen/gamesconfiguration1_configuration-cli/mkdocs.yml +++ b/gen/gamesconfiguration1_configuration-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Configuration v1.0.2+20161207 +site_name: Games Configuration v1.0.3+20161207 site_url: http://byron.github.io/google-apis-rs/google-gamesconfiguration1_configuration-cli site_description: A complete library to interact with Games Configuration (protocol v1configuration) diff --git a/gen/gamesconfiguration1_configuration-cli/src/main.rs b/gen/gamesconfiguration1_configuration-cli/src/main.rs index 9d47a661e5..6964255f84 100644 --- a/gen/gamesconfiguration1_configuration-cli/src/main.rs +++ b/gen/gamesconfiguration1_configuration-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1167,10 +1168,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "gamesconfiguration1-configuration", @@ -1180,10 +1181,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1551,7 +1552,7 @@ fn main() { let mut app = App::new("gamesconfiguration1-configuration") .author("Sebastian Thiel ") - .version("1.0.2+20161207") + .version("1.0.3+20161207") .about("The Publishing API for Google Play Game Services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesconfiguration1_configuration_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesconfiguration1_configuration/Cargo.toml b/gen/gamesconfiguration1_configuration/Cargo.toml index bb160e60af..f3ebd43975 100644 --- a/gen/gamesconfiguration1_configuration/Cargo.toml +++ b/gen/gamesconfiguration1_configuration/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-gamesconfiguration1_configuration" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Configuration (protocol v1configuration)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesconfiguration1_configuration" homepage = "https://developers.google.com/games/services" -documentation = "https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207" +documentation = "https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207" license = "MIT" keywords = ["gamesConfiguration", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/gamesconfiguration1_configuration/README.md b/gen/gamesconfiguration1_configuration/README.md index dfae21239d..1fb46c5942 100644 --- a/gen/gamesconfiguration1_configuration/README.md +++ b/gen/gamesconfiguration1_configuration/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-gamesconfiguration1_configuration` library allows access to all features of the *Google Games Configuration* service. -This documentation was generated from *Games Configuration* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Games Configuration* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Games Configuration* *v1_configuration* API can be found at the [official documentation site](https://developers.google.com/games/services). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html) ... -* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfiguration.html) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationUpdateCall.html) -* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.ImageConfiguration.html) - * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) -* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfiguration.html) - * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationUpdateCall.html) +* [achievement configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfiguration.html) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.AchievementConfigurationUpdateCall.html) +* [image configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.ImageConfiguration.html) + * [*upload*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) +* [leaderboard configurations](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfiguration.html) + * [*delete*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationDeleteCall.html), [*get*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationGetCall.html), [*insert*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationInsertCall.html), [*list*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationListCall.html), [*patch*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationPatchCall.html) and [*update*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.LeaderboardConfigurationUpdateCall.html) Upload supported by ... -* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) +* [*upload image configurations*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.ImageConfigurationUploadCall.html) @@ -31,17 +31,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html)** +* **[Hub](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/struct.GamesConfiguration.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Part.html)** + * **[Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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")`. @@ -150,29 +150,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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/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-gamesconfiguration1_configuration/1.0.2+20161207/google_gamesconfiguration1_configuration/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gamesconfiguration1_configuration/1.0.3+20161207/google_gamesconfiguration1_configuration/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesconfiguration1_configuration/src/cmn.rs b/gen/gamesconfiguration1_configuration/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/gamesconfiguration1_configuration/src/cmn.rs +++ b/gen/gamesconfiguration1_configuration/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs b/gen/gamesconfiguration1_configuration/src/lib.rs index 6c71c97962..2419fe7aaf 100644 --- a/gen/gamesconfiguration1_configuration/src/lib.rs +++ b/gen/gamesconfiguration1_configuration/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Configuration* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Games Configuration* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *gamesConfiguration:v1configuration* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Games Configuration* *v1_configuration* API can be found at the //! [official documentation site](https://developers.google.com/games/services). diff --git a/gen/gamesconfiguration1_configuration/src/lib.rs.in b/gen/gamesconfiguration1_configuration/src/lib.rs.in index 3f027f4259..d8ed77f854 100644 --- a/gen/gamesconfiguration1_configuration/src/lib.rs.in +++ b/gen/gamesconfiguration1_configuration/src/lib.rs.in @@ -133,7 +133,7 @@ impl<'a, C, A> GamesConfiguration GamesConfiguration { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -148,7 +148,7 @@ impl<'a, C, A> GamesConfiguration } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gamesmanagement1_management-cli/Cargo.toml b/gen/gamesmanagement1_management-cli/Cargo.toml index 13f5aa7135..222c92915e 100644 --- a/gen/gamesmanagement1_management-cli/Cargo.toml +++ b/gen/gamesmanagement1_management-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gamesmanagement1_management-cli" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesmanagement1_management-cli" @@ -17,14 +17,15 @@ keywords = ["gamesManagement", "google", "cli"] name = "gamesmanagement1-management" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-gamesmanagement1_management] path = "../gamesmanagement1_management" -version = "1.0.2+20161207" +version = "1.0.3+20161207" optional = true default-features = false diff --git a/gen/gamesmanagement1_management-cli/README.md b/gen/gamesmanagement1_management-cli/README.md index 4768bf4529..fda3852f60 100644 --- a/gen/gamesmanagement1_management-cli/README.md +++ b/gen/gamesmanagement1_management-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Games Management* API at revision *20161207*. The CLI is at version *1.0.2*. +This documentation was generated from the *Games Management* API at revision *20161207*. The CLI is at version *1.0.3*. ```bash gamesmanagement1-management [options] diff --git a/gen/gamesmanagement1_management-cli/mkdocs.yml b/gen/gamesmanagement1_management-cli/mkdocs.yml index f1f57b1b1d..b234220e6a 100644 --- a/gen/gamesmanagement1_management-cli/mkdocs.yml +++ b/gen/gamesmanagement1_management-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Games Management v1.0.2+20161207 +site_name: Games Management v1.0.3+20161207 site_url: http://byron.github.io/google-apis-rs/google-gamesmanagement1_management-cli site_description: A complete library to interact with Games Management (protocol v1management) diff --git a/gen/gamesmanagement1_management-cli/src/main.rs b/gen/gamesmanagement1_management-cli/src/main.rs index 425164e6d4..119387889f 100644 --- a/gen/gamesmanagement1_management-cli/src/main.rs +++ b/gen/gamesmanagement1_management-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1600,10 +1601,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "gamesmanagement1-management", @@ -1613,10 +1614,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2078,7 +2079,7 @@ fn main() { let mut app = App::new("gamesmanagement1-management") .author("Sebastian Thiel ") - .version("1.0.2+20161207") + .version("1.0.3+20161207") .about("The Management API for Google Play Game Services.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gamesmanagement1_management_cli") .arg(Arg::with_name("url") diff --git a/gen/gamesmanagement1_management/Cargo.toml b/gen/gamesmanagement1_management/Cargo.toml index 041d7fb62c..48cbd3c90e 100644 --- a/gen/gamesmanagement1_management/Cargo.toml +++ b/gen/gamesmanagement1_management/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-gamesmanagement1_management" -version = "1.0.2+20161207" +version = "1.0.3+20161207" authors = ["Sebastian Thiel "] description = "A complete library to interact with Games Management (protocol v1management)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gamesmanagement1_management" homepage = "https://developers.google.com/games/services" -documentation = "https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207" +documentation = "https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207" license = "MIT" keywords = ["gamesManagement", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/gamesmanagement1_management/README.md b/gen/gamesmanagement1_management/README.md index a816091faa..69fe3ba303 100644 --- a/gen/gamesmanagement1_management/README.md +++ b/gen/gamesmanagement1_management/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-gamesmanagement1_management` library allows access to all features of the *Google Games Management* service. -This documentation was generated from *Games Management* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Games Management* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Games Management* *v1_management* API can be found at the [official documentation site](https://developers.google.com/games/services). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.GamesManagement.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.GamesManagement.html) ... * achievements - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.AchievementResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.AchievementResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.AchievementResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.AchievementResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.AchievementResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.AchievementResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.AchievementResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.AchievementResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.AchievementResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.AchievementResetMultipleForAllPlayerCall.html) * applications - * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ApplicationListHiddenCall.html) + * [*list hidden*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ApplicationListHiddenCall.html) * events - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.EventResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.EventResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.EventResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.EventResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.EventResetMultipleForAllPlayerCall.html) -* [players](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.Player.html) - * [*hide*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.PlayerHideCall.html) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.PlayerUnhideCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.EventResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.EventResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.EventResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.EventResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.EventResetMultipleForAllPlayerCall.html) +* [players](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.Player.html) + * [*hide*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.PlayerHideCall.html) and [*unhide*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.PlayerUnhideCall.html) * quests - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.QuestResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.QuestResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.QuestResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.QuestResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.QuestResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.QuestResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.QuestResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.QuestResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.QuestResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.QuestResetMultipleForAllPlayerCall.html) * rooms - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.RoomResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.RoomResetForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.RoomResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.RoomResetForAllPlayerCall.html) * scores - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ScoreResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ScoreResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ScoreResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ScoreResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.ScoreResetMultipleForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ScoreResetCall.html), [*reset all*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ScoreResetAllCall.html), [*reset all for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ScoreResetAllForAllPlayerCall.html), [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ScoreResetForAllPlayerCall.html) and [*reset multiple for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.ScoreResetMultipleForAllPlayerCall.html) * turn based matches - * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.TurnBasedMatcheResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.TurnBasedMatcheResetForAllPlayerCall.html) + * [*reset*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.TurnBasedMatcheResetCall.html) and [*reset for all players*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.TurnBasedMatcheResetForAllPlayerCall.html) @@ -37,17 +37,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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/struct.GamesManagement.html)** +* **[Hub](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/struct.GamesManagement.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Part.html)** + * **[Parts](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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")`. @@ -150,29 +150,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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/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-gamesmanagement1_management/1.0.2+20161207/google_gamesmanagement1_management/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gamesmanagement1_management/1.0.3+20161207/google_gamesmanagement1_management/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gamesmanagement1_management/src/cmn.rs b/gen/gamesmanagement1_management/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/gamesmanagement1_management/src/cmn.rs +++ b/gen/gamesmanagement1_management/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/gamesmanagement1_management/src/lib.rs b/gen/gamesmanagement1_management/src/lib.rs index 8dc991ca40..493c2b15ec 100644 --- a/gen/gamesmanagement1_management/src/lib.rs +++ b/gen/gamesmanagement1_management/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Games Management* crate version *1.0.2+20161207*, where *20161207* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Games Management* crate version *1.0.3+20161207*, where *20161207* is the exact revision of the *gamesManagement:v1management* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Games Management* *v1_management* API can be found at the //! [official documentation site](https://developers.google.com/games/services). diff --git a/gen/gamesmanagement1_management/src/lib.rs.in b/gen/gamesmanagement1_management/src/lib.rs.in index c123ee1f04..400429ccc5 100644 --- a/gen/gamesmanagement1_management/src/lib.rs.in +++ b/gen/gamesmanagement1_management/src/lib.rs.in @@ -135,7 +135,7 @@ impl<'a, C, A> GamesManagement GamesManagement { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -165,7 +165,7 @@ impl<'a, C, A> GamesManagement } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gan1_beta1-cli/Cargo.toml b/gen/gan1_beta1-cli/Cargo.toml index a177387841..18e7daeda4 100644 --- a/gen/gan1_beta1-cli/Cargo.toml +++ b/gen/gan1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gan1_beta1-cli" -version = "1.0.2+20130205" +version = "1.0.3+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gan1_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["gan", "google", "cli"] name = "gan1-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-gan1_beta1] path = "../gan1_beta1" -version = "1.0.2+20130205" +version = "1.0.3+20130205" optional = true default-features = false diff --git a/gen/gan1_beta1-cli/README.md b/gen/gan1_beta1-cli/README.md index 5904d27ab1..e5785bbeb7 100644 --- a/gen/gan1_beta1-cli/README.md +++ b/gen/gan1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *1.0.2*. +This documentation was generated from the *gan* API at revision *20130205*. The CLI is at version *1.0.3*. ```bash gan1-beta1 [options] diff --git a/gen/gan1_beta1-cli/mkdocs.yml b/gen/gan1_beta1-cli/mkdocs.yml index 1b71ce04b8..2fa90ec9cc 100644 --- a/gen/gan1_beta1-cli/mkdocs.yml +++ b/gen/gan1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gan v1.0.2+20130205 +site_name: gan v1.0.3+20130205 site_url: http://byron.github.io/google-apis-rs/google-gan1_beta1-cli site_description: A complete library to interact with gan (protocol v1beta1) diff --git a/gen/gan1_beta1-cli/src/main.rs b/gen/gan1_beta1-cli/src/main.rs index 06c1ec880d..92819d3d09 100644 --- a/gen/gan1_beta1-cli/src/main.rs +++ b/gen/gan1_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -900,10 +901,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "gan1-beta1", @@ -913,10 +914,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1262,7 +1263,7 @@ fn main() { let mut app = App::new("gan1-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20130205") + .version("1.0.3+20130205") .about("Lets you have programmatic access to your Google Affiliate Network data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gan1_beta1_cli") .arg(Arg::with_name("folder") diff --git a/gen/gan1_beta1/Cargo.toml b/gen/gan1_beta1/Cargo.toml index 7414ec0d27..5688b1a2b7 100644 --- a/gen/gan1_beta1/Cargo.toml +++ b/gen/gan1_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-gan1_beta1" -version = "1.0.2+20130205" +version = "1.0.3+20130205" authors = ["Sebastian Thiel "] description = "A complete library to interact with gan (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gan1_beta1" homepage = "https://developers.google.com/affiliate-network/" -documentation = "https://docs.rs/google-gan1_beta1/1.0.2+20130205" +documentation = "https://docs.rs/google-gan1_beta1/1.0.3+20130205" license = "MIT" keywords = ["gan", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/gan1_beta1/README.md b/gen/gan1_beta1/README.md index 50ccd34d3b..098d512985 100644 --- a/gen/gan1_beta1/README.md +++ b/gen/gan1_beta1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gan1_beta1` library allows access to all features of the *Google gan* service. -This documentation was generated from *gan* crate version *1.0.2+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *gan* crate version *1.0.3+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *gan* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/affiliate-network/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Gan.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Gan.html) ... -* [advertisers](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Advertiser.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.AdvertiserGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.AdvertiserListCall.html) -* [cc offers](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.CcOffer.html) - * [*list*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.CcOfferListCall.html) -* [events](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Event.html) - * [*list*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.EventListCall.html) -* [links](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Link.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.LinkGetCall.html), [*insert*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.LinkInsertCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.LinkListCall.html) -* [publishers](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Publisher.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.PublisherGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.PublisherListCall.html) -* [reports](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Report.html) - * [*get*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.ReportGetCall.html) +* [advertisers](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Advertiser.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.AdvertiserGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.AdvertiserListCall.html) +* [cc offers](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.CcOffer.html) + * [*list*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.CcOfferListCall.html) +* [events](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Event.html) + * [*list*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.EventListCall.html) +* [links](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Link.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.LinkGetCall.html), [*insert*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.LinkInsertCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.LinkListCall.html) +* [publishers](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Publisher.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.PublisherGetCall.html) and [*list*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.PublisherListCall.html) +* [reports](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Report.html) + * [*get*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.ReportGetCall.html) @@ -33,17 +33,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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/struct.Gan.html)** +* **[Hub](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/struct.Gan.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -140,17 +140,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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")`. @@ -160,29 +160,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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/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-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gan1_beta1/1.0.2+20130205/google_gan1_beta1/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-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/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-gan1_beta1/1.0.2+20130205/google_gan1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gan1_beta1/1.0.3+20130205/google_gan1_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gan1_beta1/src/cmn.rs b/gen/gan1_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/gan1_beta1/src/cmn.rs +++ b/gen/gan1_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/gan1_beta1/src/lib.rs b/gen/gan1_beta1/src/lib.rs index 5abed11344..e818e1952d 100644 --- a/gen/gan1_beta1/src/lib.rs +++ b/gen/gan1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *gan* crate version *1.0.2+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *gan* crate version *1.0.3+20130205*, where *20130205* is the exact revision of the *gan:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *gan* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/affiliate-network/). diff --git a/gen/gan1_beta1/src/lib.rs.in b/gen/gan1_beta1/src/lib.rs.in index 9fb595ba10..155fde4b11 100644 --- a/gen/gan1_beta1/src/lib.rs.in +++ b/gen/gan1_beta1/src/lib.rs.in @@ -122,7 +122,7 @@ impl<'a, C, A> Gan Gan { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> Gan } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/genomics1-cli/Cargo.toml b/gen/genomics1-cli/Cargo.toml index 1edebe5ad1..bbb4458cdc 100644 --- a/gen/genomics1-cli/Cargo.toml +++ b/gen/genomics1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-genomics1-cli" -version = "1.0.2+20160928" +version = "1.0.3+20160928" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/genomics1-cli" @@ -17,14 +17,15 @@ keywords = ["genomics", "google", "cli"] name = "genomics1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-genomics1] path = "../genomics1" -version = "1.0.2+20160928" +version = "1.0.3+20160928" optional = true default-features = false diff --git a/gen/genomics1-cli/README.md b/gen/genomics1-cli/README.md index 950a7c9a73..fb003d748a 100644 --- a/gen/genomics1-cli/README.md +++ b/gen/genomics1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *genomics* API at revision *20160928*. The CLI is at version *1.0.2*. +This documentation was generated from the *genomics* API at revision *20160928*. The CLI is at version *1.0.3*. ```bash genomics1 [options] diff --git a/gen/genomics1-cli/mkdocs.yml b/gen/genomics1-cli/mkdocs.yml index 18a13b21e7..5330c2edfb 100644 --- a/gen/genomics1-cli/mkdocs.yml +++ b/gen/genomics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: genomics v1.0.2+20160928 +site_name: genomics v1.0.3+20160928 site_url: http://byron.github.io/google-apis-rs/google-genomics1-cli site_description: A complete library to interact with genomics (protocol v1) diff --git a/gen/genomics1-cli/src/main.rs b/gen/genomics1-cli/src/main.rs index a8f7883aa3..a7e2b147b9 100644 --- a/gen/genomics1-cli/src/main.rs +++ b/gen/genomics1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -4641,10 +4642,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "genomics1", @@ -4654,10 +4655,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -6040,7 +6041,7 @@ fn main() { let mut app = App::new("genomics1") .author("Sebastian Thiel ") - .version("1.0.2+20160928") + .version("1.0.3+20160928") .about("Stores, processes, explores and shares genomic data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_genomics1_cli") .arg(Arg::with_name("url") diff --git a/gen/genomics1/Cargo.toml b/gen/genomics1/Cargo.toml index f8af6730d5..c9755d68b6 100644 --- a/gen/genomics1/Cargo.toml +++ b/gen/genomics1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-genomics1" -version = "1.0.2+20160928" +version = "1.0.3+20160928" authors = ["Sebastian Thiel "] description = "A complete library to interact with genomics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/genomics1" homepage = "https://cloud.google.com/genomics/" -documentation = "https://docs.rs/google-genomics1/1.0.2+20160928" +documentation = "https://docs.rs/google-genomics1/1.0.3+20160928" license = "MIT" keywords = ["genomics", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/genomics1/README.md b/gen/genomics1/README.md index de657394cf..822117a3d1 100644 --- a/gen/genomics1/README.md +++ b/gen/genomics1/README.md @@ -5,36 +5,36 @@ DO NOT EDIT ! --> The `google-genomics1` library allows access to all features of the *Google genomics* service. -This documentation was generated from *genomics* crate version *1.0.2+20160928*, where *20160928* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *genomics* crate version *1.0.3+20160928*, where *20160928* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *genomics* *v1* API can be found at the [official documentation site](https://cloud.google.com/genomics/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Genomics.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Genomics.html) ... -* [annotations](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Annotation.html) - * [*batch create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationBatchCreateCall.html), [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationGetCall.html), [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationSearchCall.html) and [*update*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationUpdateCall.html) +* [annotations](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Annotation.html) + * [*batch create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationBatchCreateCall.html), [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationGetCall.html), [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationSearchCall.html) and [*update*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationUpdateCall.html) * annotationsets - * [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationsetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationsetGetCall.html), [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationsetSearchCall.html) and [*update*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.AnnotationsetUpdateCall.html) + * [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationsetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationsetGetCall.html), [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationsetSearchCall.html) and [*update*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.AnnotationsetUpdateCall.html) * callsets - * [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.CallsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.CallsetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.CallsetGetCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.CallsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.CallsetSearchCall.html) -* [datasets](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Dataset.html) - * [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetGetCall.html), [*get iam policy*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetGetIamPolicyCall.html), [*list*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetPatchCall.html), [*set iam policy*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.DatasetUndeleteCall.html) -* [operations](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Operation.html) - * [*cancel*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.OperationListCall.html) + * [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.CallsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.CallsetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.CallsetGetCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.CallsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.CallsetSearchCall.html) +* [datasets](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Dataset.html) + * [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetGetCall.html), [*get iam policy*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetGetIamPolicyCall.html), [*list*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetListCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetPatchCall.html), [*set iam policy*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetSetIamPolicyCall.html), [*test iam permissions*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetTestIamPermissionCall.html) and [*undelete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.DatasetUndeleteCall.html) +* [operations](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Operation.html) + * [*cancel*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.OperationCancelCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.OperationListCall.html) * readgroupsets - * [*coveragebuckets list*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetCoveragebucketListCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetDeleteCall.html), [*export*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetExportCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetGetCall.html), [*import*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetImportCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadgroupsetSearchCall.html) -* [reads](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Read.html) - * [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadSearchCall.html) and [*stream*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReadStreamCall.html) -* [references](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Reference.html) - * [*bases list*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReferenceBaseListCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReferenceGetCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReferenceSearchCall.html) + * [*coveragebuckets list*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetCoveragebucketListCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetDeleteCall.html), [*export*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetExportCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetGetCall.html), [*import*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetImportCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadgroupsetSearchCall.html) +* [reads](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Read.html) + * [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadSearchCall.html) and [*stream*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReadStreamCall.html) +* [references](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Reference.html) + * [*bases list*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReferenceBaseListCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReferenceGetCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReferenceSearchCall.html) * referencesets - * [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReferencesetGetCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.ReferencesetSearchCall.html) -* [variants](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.Variant.html) - * [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantGetCall.html), [*import*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantImportCall.html), [*merge*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantMergeCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantPatchCall.html), [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantSearchCall.html) and [*stream*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantStreamCall.html) + * [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReferencesetGetCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.ReferencesetSearchCall.html) +* [variants](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Variant.html) + * [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantDeleteCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantGetCall.html), [*import*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantImportCall.html), [*merge*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantMergeCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantPatchCall.html), [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantSearchCall.html) and [*stream*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantStreamCall.html) * variantsets - * [*create*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetDeleteCall.html), [*export*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetExportCall.html), [*get*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetGetCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/struct.VariantsetSearchCall.html) + * [*create*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetCreateCall.html), [*delete*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetDeleteCall.html), [*export*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetExportCall.html), [*get*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetGetCall.html), [*patch*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetPatchCall.html) and [*search*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.VariantsetSearchCall.html) @@ -43,17 +43,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-genomics1/1.0.2+20160928/google_genomics1/struct.Genomics.html)** +* **[Hub](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/struct.Genomics.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/trait.Part.html)** + * **[Parts](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -150,17 +150,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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")`. @@ -170,29 +170,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-genomics1/1.0.2+20160928/google_genomics1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/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-genomics1/1.0.3+20160928/google_genomics1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-genomics1/1.0.2+20160928/google_genomics1/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-genomics1/1.0.3+20160928/google_genomics1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/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-genomics1/1.0.2+20160928/google_genomics1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-genomics1/1.0.3+20160928/google_genomics1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/genomics1/src/cmn.rs b/gen/genomics1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/genomics1/src/cmn.rs +++ b/gen/genomics1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/genomics1/src/lib.rs b/gen/genomics1/src/lib.rs index 0823ae80be..931136cbe7 100644 --- a/gen/genomics1/src/lib.rs +++ b/gen/genomics1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *genomics* crate version *1.0.2+20160928*, where *20160928* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *genomics* crate version *1.0.3+20160928*, where *20160928* is the exact revision of the *genomics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *genomics* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/genomics/). diff --git a/gen/genomics1/src/lib.rs.in b/gen/genomics1/src/lib.rs.in index 72d9fe3df7..a970b11d53 100644 --- a/gen/genomics1/src/lib.rs.in +++ b/gen/genomics1/src/lib.rs.in @@ -154,7 +154,7 @@ impl<'a, C, A> Genomics Genomics { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -193,7 +193,7 @@ impl<'a, C, A> Genomics } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/gmail1-cli/Cargo.toml b/gen/gmail1-cli/Cargo.toml index a0375d12e1..7889cef8f1 100644 --- a/gen/gmail1-cli/Cargo.toml +++ b/gen/gmail1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-gmail1-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gmail1-cli" @@ -17,14 +17,15 @@ keywords = ["gmail", "google", "cli"] name = "gmail1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-gmail1] path = "../gmail1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/gmail1-cli/README.md b/gen/gmail1-cli/README.md index d7480dbeda..04fa35b3d5 100644 --- a/gen/gmail1-cli/README.md +++ b/gen/gmail1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *gmail* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *gmail* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash gmail1 [options] diff --git a/gen/gmail1-cli/mkdocs.yml b/gen/gmail1-cli/mkdocs.yml index 60dfccf1cb..e7b919c0a2 100644 --- a/gen/gmail1-cli/mkdocs.yml +++ b/gen/gmail1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: gmail v1.0.2+20161206 +site_name: gmail v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-gmail1-cli site_description: A complete library to interact with gmail (protocol v1) diff --git a/gen/gmail1-cli/src/main.rs b/gen/gmail1-cli/src/main.rs index 1fc20d7701..ba479ea7cf 100644 --- a/gen/gmail1-cli/src/main.rs +++ b/gen/gmail1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -4191,10 +4192,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "gmail1", @@ -4204,10 +4205,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -5777,7 +5778,7 @@ fn main() { let mut app = App::new("gmail1") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Access Gmail mailboxes including sending user email.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_gmail1_cli") .arg(Arg::with_name("url") diff --git a/gen/gmail1/Cargo.toml b/gen/gmail1/Cargo.toml index 6023fe03b8..1d8eaf00c4 100644 --- a/gen/gmail1/Cargo.toml +++ b/gen/gmail1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-gmail1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with gmail (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/gmail1" homepage = "https://developers.google.com/gmail/api/" -documentation = "https://docs.rs/google-gmail1/1.0.2+20161206" +documentation = "https://docs.rs/google-gmail1/1.0.3+20161206" license = "MIT" keywords = ["gmail", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/gmail1/README.md b/gen/gmail1/README.md index 20e74ddb0b..c2142006f1 100644 --- a/gen/gmail1/README.md +++ b/gen/gmail1/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-gmail1` library allows access to all features of the *Google gmail* service. -This documentation was generated from *gmail* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *gmail* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *gmail* *v1* API can be found at the [official documentation site](https://developers.google.com/gmail/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.Gmail.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.Gmail.html) ... * users - * [*drafts create*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftCreateCall.html), [*drafts delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftDeleteCall.html), [*drafts get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftGetCall.html), [*drafts list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftListCall.html), [*drafts send*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftSendCall.html), [*drafts update*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftUpdateCall.html), [*get profile*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserGetProfileCall.html), [*history list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserHistoryListCall.html), [*labels create*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelCreateCall.html), [*labels delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelDeleteCall.html), [*labels get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelGetCall.html), [*labels list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelListCall.html), [*labels patch*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelPatchCall.html), [*labels update*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserLabelUpdateCall.html), [*messages attachments get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageAttachmentGetCall.html), [*messages batch delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageBatchDeleteCall.html), [*messages batch modify*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageBatchModifyCall.html), [*messages delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageDeleteCall.html), [*messages get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageGetCall.html), [*messages import*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageImportCall.html), [*messages insert*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageInsertCall.html), [*messages list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageListCall.html), [*messages modify*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageModifyCall.html), [*messages send*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageSendCall.html), [*messages trash*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageTrashCall.html), [*messages untrash*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageUntrashCall.html), [*settings filters create*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingFilterCreateCall.html), [*settings filters delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingFilterDeleteCall.html), [*settings filters get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingFilterGetCall.html), [*settings filters list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingFilterListCall.html), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingForwardingAddresseCreateCall.html), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingForwardingAddresseDeleteCall.html), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingForwardingAddresseGetCall.html), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingForwardingAddresseListCall.html), [*settings get auto forwarding*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingGetAutoForwardingCall.html), [*settings get imap*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingGetImapCall.html), [*settings get pop*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingGetPopCall.html), [*settings get vacation*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingGetVacationCall.html), [*settings send as create*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendACreateCall.html), [*settings send as delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendADeleteCall.html), [*settings send as get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendAGetCall.html), [*settings send as list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendAListCall.html), [*settings send as patch*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendAPatchCall.html), [*settings send as update*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendAUpdateCall.html), [*settings send as verify*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingSendAVerifyCall.html), [*settings update auto forwarding*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingUpdateAutoForwardingCall.html), [*settings update imap*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingUpdateImapCall.html), [*settings update pop*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingUpdatePopCall.html), [*settings update vacation*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserSettingUpdateVacationCall.html), [*stop*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserStopCall.html), [*threads delete*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadDeleteCall.html), [*threads get*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadGetCall.html), [*threads list*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadListCall.html), [*threads modify*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadModifyCall.html), [*threads trash*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadTrashCall.html), [*threads untrash*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserThreadUntrashCall.html) and [*watch*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserWatchCall.html) + * [*drafts create*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftCreateCall.html), [*drafts delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftDeleteCall.html), [*drafts get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftGetCall.html), [*drafts list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftListCall.html), [*drafts send*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftSendCall.html), [*drafts update*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftUpdateCall.html), [*get profile*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserGetProfileCall.html), [*history list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserHistoryListCall.html), [*labels create*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelCreateCall.html), [*labels delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelDeleteCall.html), [*labels get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelGetCall.html), [*labels list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelListCall.html), [*labels patch*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelPatchCall.html), [*labels update*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserLabelUpdateCall.html), [*messages attachments get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageAttachmentGetCall.html), [*messages batch delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageBatchDeleteCall.html), [*messages batch modify*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageBatchModifyCall.html), [*messages delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageDeleteCall.html), [*messages get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageGetCall.html), [*messages import*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageImportCall.html), [*messages insert*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageInsertCall.html), [*messages list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageListCall.html), [*messages modify*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageModifyCall.html), [*messages send*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageSendCall.html), [*messages trash*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageTrashCall.html), [*messages untrash*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageUntrashCall.html), [*settings filters create*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingFilterCreateCall.html), [*settings filters delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingFilterDeleteCall.html), [*settings filters get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingFilterGetCall.html), [*settings filters list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingFilterListCall.html), [*settings forwarding addresses create*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingForwardingAddresseCreateCall.html), [*settings forwarding addresses delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingForwardingAddresseDeleteCall.html), [*settings forwarding addresses get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingForwardingAddresseGetCall.html), [*settings forwarding addresses list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingForwardingAddresseListCall.html), [*settings get auto forwarding*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingGetAutoForwardingCall.html), [*settings get imap*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingGetImapCall.html), [*settings get pop*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingGetPopCall.html), [*settings get vacation*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingGetVacationCall.html), [*settings send as create*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendACreateCall.html), [*settings send as delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendADeleteCall.html), [*settings send as get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendAGetCall.html), [*settings send as list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendAListCall.html), [*settings send as patch*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendAPatchCall.html), [*settings send as update*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendAUpdateCall.html), [*settings send as verify*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingSendAVerifyCall.html), [*settings update auto forwarding*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingUpdateAutoForwardingCall.html), [*settings update imap*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingUpdateImapCall.html), [*settings update pop*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingUpdatePopCall.html), [*settings update vacation*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserSettingUpdateVacationCall.html), [*stop*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserStopCall.html), [*threads delete*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadDeleteCall.html), [*threads get*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadGetCall.html), [*threads list*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadListCall.html), [*threads modify*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadModifyCall.html), [*threads trash*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadTrashCall.html), [*threads untrash*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserThreadUntrashCall.html) and [*watch*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserWatchCall.html) Upload supported by ... -* [*messages import users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageImportCall.html) -* [*drafts create users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftCreateCall.html) -* [*drafts send users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftSendCall.html) -* [*messages send users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageSendCall.html) -* [*drafts update users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserDraftUpdateCall.html) -* [*messages insert users*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.UserMessageInsertCall.html) +* [*messages import users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageImportCall.html) +* [*drafts create users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftCreateCall.html) +* [*drafts send users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftSendCall.html) +* [*messages send users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageSendCall.html) +* [*drafts update users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserDraftUpdateCall.html) +* [*messages insert users*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.UserMessageInsertCall.html) @@ -32,17 +32,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/struct.Gmail.html)** +* **[Hub](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/struct.Gmail.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/trait.Part.html)** + * **[Parts](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -142,17 +142,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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")`. @@ -162,29 +162,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-gmail1/1.0.2+20161206/google_gmail1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/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-gmail1/1.0.3+20161206/google_gmail1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-gmail1/1.0.2+20161206/google_gmail1/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-gmail1/1.0.3+20161206/google_gmail1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/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-gmail1/1.0.2+20161206/google_gmail1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-gmail1/1.0.3+20161206/google_gmail1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/gmail1/src/cmn.rs b/gen/gmail1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/gmail1/src/cmn.rs +++ b/gen/gmail1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/gmail1/src/lib.rs b/gen/gmail1/src/lib.rs index f1a0f2aec4..535d2cdac7 100644 --- a/gen/gmail1/src/lib.rs +++ b/gen/gmail1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *gmail* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *gmail* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *gmail:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *gmail* *v1* API can be found at the //! [official documentation site](https://developers.google.com/gmail/api/). diff --git a/gen/gmail1/src/lib.rs.in b/gen/gmail1/src/lib.rs.in index b50ad3fada..d96f6e82dc 100644 --- a/gen/gmail1/src/lib.rs.in +++ b/gen/gmail1/src/lib.rs.in @@ -178,7 +178,7 @@ impl<'a, C, A> Gmail Gmail { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -187,7 +187,7 @@ impl<'a, C, A> Gmail } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupsmigration1-cli/Cargo.toml b/gen/groupsmigration1-cli/Cargo.toml index bdb2ab4e53..e27ee4928e 100644 --- a/gen/groupsmigration1-cli/Cargo.toml +++ b/gen/groupsmigration1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupsmigration1-cli" -version = "1.0.2+20140416" +version = "1.0.3+20140416" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupsmigration1-cli" @@ -17,14 +17,15 @@ keywords = ["groupsmigration", "google", "cli"] name = "groupsmigration1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-groupsmigration1] path = "../groupsmigration1" -version = "1.0.2+20140416" +version = "1.0.3+20140416" optional = true default-features = false diff --git a/gen/groupsmigration1-cli/README.md b/gen/groupsmigration1-cli/README.md index ac9a9b64b7..46a652bbc3 100644 --- a/gen/groupsmigration1-cli/README.md +++ b/gen/groupsmigration1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Groups Migration* API at revision *20140416*. The CLI is at version *1.0.2*. +This documentation was generated from the *Groups Migration* API at revision *20140416*. The CLI is at version *1.0.3*. ```bash groupsmigration1 [options] diff --git a/gen/groupsmigration1-cli/mkdocs.yml b/gen/groupsmigration1-cli/mkdocs.yml index 0d1a039bf9..62b2ed84b9 100644 --- a/gen/groupsmigration1-cli/mkdocs.yml +++ b/gen/groupsmigration1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Groups Migration v1.0.2+20140416 +site_name: Groups Migration v1.0.3+20140416 site_url: http://byron.github.io/google-apis-rs/google-groupsmigration1-cli site_description: A complete library to interact with Groups Migration (protocol v1) diff --git a/gen/groupsmigration1-cli/src/main.rs b/gen/groupsmigration1-cli/src/main.rs index 5c040fd1e4..e5b10aeafa 100644 --- a/gen/groupsmigration1-cli/src/main.rs +++ b/gen/groupsmigration1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -151,10 +152,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "groupsmigration1", @@ -164,10 +165,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -235,7 +236,7 @@ fn main() { let mut app = App::new("groupsmigration1") .author("Sebastian Thiel ") - .version("1.0.2+20140416") + .version("1.0.3+20140416") .about("Groups Migration Api.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupsmigration1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupsmigration1/Cargo.toml b/gen/groupsmigration1/Cargo.toml index 0f09e5f2e2..65389e4bed 100644 --- a/gen/groupsmigration1/Cargo.toml +++ b/gen/groupsmigration1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-groupsmigration1" -version = "1.0.2+20140416" +version = "1.0.3+20140416" authors = ["Sebastian Thiel "] description = "A complete library to interact with Groups Migration (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupsmigration1" homepage = "https://developers.google.com/google-apps/groups-migration/" -documentation = "https://docs.rs/google-groupsmigration1/1.0.2+20140416" +documentation = "https://docs.rs/google-groupsmigration1/1.0.3+20140416" license = "MIT" keywords = ["groupsmigration", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/groupsmigration1/README.md b/gen/groupsmigration1/README.md index c8cdd945f7..9b1ecaeb75 100644 --- a/gen/groupsmigration1/README.md +++ b/gen/groupsmigration1/README.md @@ -5,21 +5,21 @@ DO NOT EDIT ! --> The `google-groupsmigration1` library allows access to all features of the *Google Groups Migration* service. -This documentation was generated from *Groups Migration* crate version *1.0.2+20140416*, where *20140416* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Groups Migration* crate version *1.0.3+20140416*, where *20140416* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Groups Migration* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-migration/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/struct.GroupsMigration.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/struct.GroupsMigration.html) ... * archive - * [*insert*](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/struct.ArchiveInsertCall.html) + * [*insert*](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/struct.ArchiveInsertCall.html) Upload supported by ... -* [*insert archive*](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/struct.ArchiveInsertCall.html) +* [*insert archive*](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/struct.ArchiveInsertCall.html) @@ -27,17 +27,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/struct.GroupsMigration.html)** +* **[Hub](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/struct.GroupsMigration.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Part.html)** + * **[Parts](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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")`. @@ -140,29 +140,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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/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-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-groupsmigration1/1.0.2+20140416/google_groupsmigration1/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-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/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-groupsmigration1/1.0.2+20140416/google_groupsmigration1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-groupsmigration1/1.0.3+20140416/google_groupsmigration1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupsmigration1/src/cmn.rs b/gen/groupsmigration1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/groupsmigration1/src/cmn.rs +++ b/gen/groupsmigration1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/groupsmigration1/src/lib.rs b/gen/groupsmigration1/src/lib.rs index 8db426b8de..e7020eeb0f 100644 --- a/gen/groupsmigration1/src/lib.rs +++ b/gen/groupsmigration1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Groups Migration* crate version *1.0.2+20140416*, where *20140416* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Groups Migration* crate version *1.0.3+20140416*, where *20140416* is the exact revision of the *groupsmigration:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Groups Migration* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-migration/). diff --git a/gen/groupsmigration1/src/lib.rs.in b/gen/groupsmigration1/src/lib.rs.in index aab8e0c56f..b80984c2cf 100644 --- a/gen/groupsmigration1/src/lib.rs.in +++ b/gen/groupsmigration1/src/lib.rs.in @@ -132,7 +132,7 @@ impl<'a, C, A> GroupsMigration GroupsMigration { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -141,7 +141,7 @@ impl<'a, C, A> GroupsMigration } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/groupssettings1-cli/Cargo.toml b/gen/groupssettings1-cli/Cargo.toml index 9152e94f27..8d8ccf9ad2 100644 --- a/gen/groupssettings1-cli/Cargo.toml +++ b/gen/groupssettings1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-groupssettings1-cli" -version = "1.0.2+20160525" +version = "1.0.3+20160525" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupssettings1-cli" @@ -17,14 +17,15 @@ keywords = ["groupssettings", "google", "cli"] name = "groupssettings1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-groupssettings1] path = "../groupssettings1" -version = "1.0.2+20160525" +version = "1.0.3+20160525" optional = true default-features = false diff --git a/gen/groupssettings1-cli/README.md b/gen/groupssettings1-cli/README.md index 31f0e9ba76..17ab4e0e1e 100644 --- a/gen/groupssettings1-cli/README.md +++ b/gen/groupssettings1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *groupssettings* API at revision *20160525*. The CLI is at version *1.0.2*. +This documentation was generated from the *groupssettings* API at revision *20160525*. The CLI is at version *1.0.3*. ```bash groupssettings1 [options] diff --git a/gen/groupssettings1-cli/mkdocs.yml b/gen/groupssettings1-cli/mkdocs.yml index 205d09c1f1..a0f6d439ba 100644 --- a/gen/groupssettings1-cli/mkdocs.yml +++ b/gen/groupssettings1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: groupssettings v1.0.2+20160525 +site_name: groupssettings v1.0.3+20160525 site_url: http://byron.github.io/google-apis-rs/google-groupssettings1-cli site_description: A complete library to interact with groupssettings (protocol v1) diff --git a/gen/groupssettings1-cli/src/main.rs b/gen/groupssettings1-cli/src/main.rs index 01d2dc8953..d933653e05 100644 --- a/gen/groupssettings1-cli/src/main.rs +++ b/gen/groupssettings1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -383,10 +384,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "groupssettings1", @@ -396,10 +397,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -516,7 +517,7 @@ fn main() { let mut app = App::new("groupssettings1") .author("Sebastian Thiel ") - .version("1.0.2+20160525") + .version("1.0.3+20160525") .about("Lets you manage permission levels and related settings of a group.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_groupssettings1_cli") .arg(Arg::with_name("url") diff --git a/gen/groupssettings1/Cargo.toml b/gen/groupssettings1/Cargo.toml index 40a772421f..6d852cdd46 100644 --- a/gen/groupssettings1/Cargo.toml +++ b/gen/groupssettings1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-groupssettings1" -version = "1.0.2+20160525" +version = "1.0.3+20160525" authors = ["Sebastian Thiel "] description = "A complete library to interact with groupssettings (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/groupssettings1" homepage = "https://developers.google.com/google-apps/groups-settings/get_started" -documentation = "https://docs.rs/google-groupssettings1/1.0.2+20160525" +documentation = "https://docs.rs/google-groupssettings1/1.0.3+20160525" license = "MIT" keywords = ["groupssettings", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/groupssettings1/README.md b/gen/groupssettings1/README.md index 532e28bd3a..9c05636cc0 100644 --- a/gen/groupssettings1/README.md +++ b/gen/groupssettings1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-groupssettings1` library allows access to all features of the *Google groupssettings* service. -This documentation was generated from *groupssettings* crate version *1.0.2+20160525*, where *20160525* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *groupssettings* crate version *1.0.3+20160525*, where *20160525* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *groupssettings* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/struct.Groupssettings.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/struct.Groupssettings.html) ... * groups - * [*get*](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/struct.GroupGetCall.html), [*patch*](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/struct.GroupUpdateCall.html) + * [*get*](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/struct.GroupGetCall.html), [*patch*](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/struct.GroupPatchCall.html) and [*update*](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/struct.GroupUpdateCall.html) @@ -23,17 +23,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-groupssettings1/1.0.2+20160525/google_groupssettings1/struct.Groupssettings.html)** +* **[Hub](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/struct.Groupssettings.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Part.html)** + * **[Parts](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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 +143,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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/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-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-groupssettings1/1.0.2+20160525/google_groupssettings1/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-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/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-groupssettings1/1.0.2+20160525/google_groupssettings1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-groupssettings1/1.0.3+20160525/google_groupssettings1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/groupssettings1/src/cmn.rs b/gen/groupssettings1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/groupssettings1/src/cmn.rs +++ b/gen/groupssettings1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/groupssettings1/src/lib.rs b/gen/groupssettings1/src/lib.rs index c1beec22cd..686018beb2 100644 --- a/gen/groupssettings1/src/lib.rs +++ b/gen/groupssettings1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *groupssettings* crate version *1.0.2+20160525*, where *20160525* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *groupssettings* crate version *1.0.3+20160525*, where *20160525* is the exact revision of the *groupssettings:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *groupssettings* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/groups-settings/get_started). diff --git a/gen/groupssettings1/src/lib.rs.in b/gen/groupssettings1/src/lib.rs.in index 9082026d79..1a3fa34d3f 100644 --- a/gen/groupssettings1/src/lib.rs.in +++ b/gen/groupssettings1/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> Groupssettings Groupssettings { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> Groupssettings } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/iam1-cli/Cargo.toml b/gen/iam1-cli/Cargo.toml index 724eed5e26..1683e0f623 100644 --- a/gen/iam1-cli/Cargo.toml +++ b/gen/iam1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-iam1-cli" -version = "1.0.2+20160915" +version = "1.0.3+20160915" authors = ["Sebastian Thiel "] description = "A complete library to interact with iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iam1-cli" @@ -17,14 +17,15 @@ keywords = ["iam", "google", "cli"] name = "iam1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-iam1] path = "../iam1" -version = "1.0.2+20160915" +version = "1.0.3+20160915" optional = true default-features = false diff --git a/gen/iam1-cli/README.md b/gen/iam1-cli/README.md index ae5a89cf88..1650d0530b 100644 --- a/gen/iam1-cli/README.md +++ b/gen/iam1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *iam* API at revision *20160915*. The CLI is at version *1.0.2*. +This documentation was generated from the *iam* API at revision *20160915*. The CLI is at version *1.0.3*. ```bash iam1 [options] diff --git a/gen/iam1-cli/mkdocs.yml b/gen/iam1-cli/mkdocs.yml index eaef70bd31..e460dc8be3 100644 --- a/gen/iam1-cli/mkdocs.yml +++ b/gen/iam1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: iam v1.0.2+20160915 +site_name: iam v1.0.3+20160915 site_url: http://byron.github.io/google-apis-rs/google-iam1-cli site_description: A complete library to interact with iam (protocol v1) diff --git a/gen/iam1-cli/src/main.rs b/gen/iam1-cli/src/main.rs index ea1ed9671a..7a1436866c 100644 --- a/gen/iam1-cli/src/main.rs +++ b/gen/iam1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1131,10 +1132,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "iam1", @@ -1144,10 +1145,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1537,7 +1538,7 @@ fn main() { let mut app = App::new("iam1") .author("Sebastian Thiel ") - .version("1.0.2+20160915") + .version("1.0.3+20160915") .about("Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_iam1_cli") .arg(Arg::with_name("url") diff --git a/gen/iam1/Cargo.toml b/gen/iam1/Cargo.toml index 16c346a23e..abfa926837 100644 --- a/gen/iam1/Cargo.toml +++ b/gen/iam1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-iam1" -version = "1.0.2+20160915" +version = "1.0.3+20160915" authors = ["Sebastian Thiel "] description = "A complete library to interact with iam (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/iam1" homepage = "https://cloud.google.com/iam/" -documentation = "https://docs.rs/google-iam1/1.0.2+20160915" +documentation = "https://docs.rs/google-iam1/1.0.3+20160915" license = "MIT" keywords = ["iam", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/iam1/README.md b/gen/iam1/README.md index 4d81e089df..ca01ff1c99 100644 --- a/gen/iam1/README.md +++ b/gen/iam1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-iam1` library allows access to all features of the *Google iam* service. -This documentation was generated from *iam* crate version *1.0.2+20160915*, where *20160915* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *iam* crate version *1.0.3+20160915*, where *20160915* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *iam* *v1* API can be found at the [official documentation site](https://cloud.google.com/iam/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.Iam.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.Iam.html) ... * projects - * [*service accounts create*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountCreateCall.html), [*service accounts delete*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountDeleteCall.html), [*service accounts get*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountGetCall.html), [*service accounts get iam policy*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountGetIamPolicyCall.html), [*service accounts keys create*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountKeyCreateCall.html), [*service accounts keys delete*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountKeyDeleteCall.html), [*service accounts keys get*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountKeyGetCall.html), [*service accounts keys list*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountKeyListCall.html), [*service accounts list*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountListCall.html), [*service accounts set iam policy*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountSetIamPolicyCall.html), [*service accounts sign blob*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountSignBlobCall.html), [*service accounts test iam permissions*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountTestIamPermissionCall.html) and [*service accounts update*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.ProjectServiceAccountUpdateCall.html) -* [roles](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.Role.html) - * [*query grantable roles*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/struct.RoleQueryGrantableRoleCall.html) + * [*service accounts create*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountCreateCall.html), [*service accounts delete*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountDeleteCall.html), [*service accounts get*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountGetCall.html), [*service accounts get iam policy*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountGetIamPolicyCall.html), [*service accounts keys create*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountKeyCreateCall.html), [*service accounts keys delete*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountKeyDeleteCall.html), [*service accounts keys get*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountKeyGetCall.html), [*service accounts keys list*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountKeyListCall.html), [*service accounts list*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountListCall.html), [*service accounts set iam policy*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountSetIamPolicyCall.html), [*service accounts sign blob*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountSignBlobCall.html), [*service accounts test iam permissions*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountTestIamPermissionCall.html) and [*service accounts update*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.ProjectServiceAccountUpdateCall.html) +* [roles](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.Role.html) + * [*query grantable roles*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.RoleQueryGrantableRoleCall.html) @@ -25,17 +25,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-iam1/1.0.2+20160915/google_iam1/struct.Iam.html)** +* **[Hub](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/struct.Iam.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/trait.Part.html)** + * **[Parts](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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")`. @@ -145,29 +145,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-iam1/1.0.2+20160915/google_iam1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/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-iam1/1.0.3+20160915/google_iam1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-iam1/1.0.2+20160915/google_iam1/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-iam1/1.0.3+20160915/google_iam1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/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-iam1/1.0.2+20160915/google_iam1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-iam1/1.0.3+20160915/google_iam1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/iam1/src/cmn.rs b/gen/iam1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/iam1/src/cmn.rs +++ b/gen/iam1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/iam1/src/lib.rs b/gen/iam1/src/lib.rs index 660cfa02d6..f813269464 100644 --- a/gen/iam1/src/lib.rs +++ b/gen/iam1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *iam* crate version *1.0.2+20160915*, where *20160915* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *iam* crate version *1.0.3+20160915*, where *20160915* is the exact revision of the *iam:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *iam* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/iam/). diff --git a/gen/iam1/src/lib.rs.in b/gen/iam1/src/lib.rs.in index 7ced5bd1c9..882da22c57 100644 --- a/gen/iam1/src/lib.rs.in +++ b/gen/iam1/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> Iam Iam { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -149,7 +149,7 @@ impl<'a, C, A> Iam } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/identitytoolkit3-cli/Cargo.toml b/gen/identitytoolkit3-cli/Cargo.toml index 75f52e827d..40e45924a0 100644 --- a/gen/identitytoolkit3-cli/Cargo.toml +++ b/gen/identitytoolkit3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-identitytoolkit3-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/identitytoolkit3-cli" @@ -17,14 +17,15 @@ keywords = ["identitytoolkit", "google", "cli"] name = "identitytoolkit3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-identitytoolkit3] path = "../identitytoolkit3" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/identitytoolkit3-cli/README.md b/gen/identitytoolkit3-cli/README.md index 6eeed58cf5..8f7a866984 100644 --- a/gen/identitytoolkit3-cli/README.md +++ b/gen/identitytoolkit3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Identity Toolkit* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *Identity Toolkit* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash identitytoolkit3 [options] diff --git a/gen/identitytoolkit3-cli/mkdocs.yml b/gen/identitytoolkit3-cli/mkdocs.yml index a895a0cf7c..07dcb07c5d 100644 --- a/gen/identitytoolkit3-cli/mkdocs.yml +++ b/gen/identitytoolkit3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Identity Toolkit v1.0.2+20161206 +site_name: Identity Toolkit v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-identitytoolkit3-cli site_description: A complete library to interact with Identity Toolkit (protocol v3) diff --git a/gen/identitytoolkit3-cli/src/main.rs b/gen/identitytoolkit3-cli/src/main.rs index 02e2fe6faa..db183a646a 100644 --- a/gen/identitytoolkit3-cli/src/main.rs +++ b/gen/identitytoolkit3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1614,10 +1615,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "identitytoolkit3", @@ -1627,10 +1628,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2025,7 +2026,7 @@ fn main() { let mut app = App::new("identitytoolkit3") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Help the third party sites to implement federated login.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_identitytoolkit3_cli") .arg(Arg::with_name("url") diff --git a/gen/identitytoolkit3/Cargo.toml b/gen/identitytoolkit3/Cargo.toml index 8d98ed342f..1da3e785b8 100644 --- a/gen/identitytoolkit3/Cargo.toml +++ b/gen/identitytoolkit3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-identitytoolkit3" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Identity Toolkit (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/identitytoolkit3" homepage = "https://developers.google.com/identity-toolkit/v3/" -documentation = "https://docs.rs/google-identitytoolkit3/1.0.2+20161206" +documentation = "https://docs.rs/google-identitytoolkit3/1.0.3+20161206" license = "MIT" keywords = ["identitytoolkit", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/identitytoolkit3/README.md b/gen/identitytoolkit3/README.md index 04761a0491..b13067e274 100644 --- a/gen/identitytoolkit3/README.md +++ b/gen/identitytoolkit3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-identitytoolkit3` library allows access to all features of the *Google Identity Toolkit* service. -This documentation was generated from *Identity Toolkit* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Identity Toolkit* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Identity Toolkit* *v3* API can be found at the [official documentation site](https://developers.google.com/identity-toolkit/v3/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.IdentityToolkit.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.IdentityToolkit.html) ... -* [relyingparty](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.Relyingparty.html) - * [*create auth uri*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyCreateAuthUriCall.html), [*delete account*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyDeleteAccountCall.html), [*download account*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyDownloadAccountCall.html), [*get account info*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyGetAccountInfoCall.html), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyGetOobConfirmationCodeCall.html), [*get project config*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyGetProjectConfigCall.html), [*get public keys*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyGetPublicKeyCall.html), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyGetRecaptchaParamCall.html), [*reset password*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyResetPasswordCall.html), [*set account info*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartySetAccountInfoCall.html), [*set project config*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartySetProjectConfigCall.html), [*sign out user*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartySignOutUserCall.html), [*signup new user*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartySignupNewUserCall.html), [*upload account*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyUploadAccountCall.html), [*verify assertion*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyAssertionCall.html), [*verify custom token*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyCustomTokenCall.html) and [*verify password*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyPasswordCall.html) +* [relyingparty](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.Relyingparty.html) + * [*create auth uri*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyCreateAuthUriCall.html), [*delete account*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyDeleteAccountCall.html), [*download account*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyDownloadAccountCall.html), [*get account info*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyGetAccountInfoCall.html), [*get oob confirmation code*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyGetOobConfirmationCodeCall.html), [*get project config*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyGetProjectConfigCall.html), [*get public keys*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyGetPublicKeyCall.html), [*get recaptcha param*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyGetRecaptchaParamCall.html), [*reset password*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyResetPasswordCall.html), [*set account info*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartySetAccountInfoCall.html), [*set project config*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartySetProjectConfigCall.html), [*sign out user*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartySignOutUserCall.html), [*signup new user*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartySignupNewUserCall.html), [*upload account*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyUploadAccountCall.html), [*verify assertion*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyAssertionCall.html), [*verify custom token*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyCustomTokenCall.html) and [*verify password*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.RelyingpartyVerifyPasswordCall.html) @@ -23,17 +23,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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/struct.IdentityToolkit.html)** +* **[Hub](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/struct.IdentityToolkit.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Part.html)** + * **[Parts](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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")`. @@ -141,29 +141,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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/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-identitytoolkit3/1.0.2+20161206/google_identitytoolkit3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-identitytoolkit3/1.0.3+20161206/google_identitytoolkit3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/identitytoolkit3/src/cmn.rs b/gen/identitytoolkit3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/identitytoolkit3/src/cmn.rs +++ b/gen/identitytoolkit3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/identitytoolkit3/src/lib.rs b/gen/identitytoolkit3/src/lib.rs index a45b626d23..34e8c560da 100644 --- a/gen/identitytoolkit3/src/lib.rs +++ b/gen/identitytoolkit3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Identity Toolkit* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Identity Toolkit* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *identitytoolkit:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Identity Toolkit* *v3* API can be found at the //! [official documentation site](https://developers.google.com/identity-toolkit/v3/). diff --git a/gen/identitytoolkit3/src/lib.rs.in b/gen/identitytoolkit3/src/lib.rs.in index 0c176dc502..30e0a70b1b 100644 --- a/gen/identitytoolkit3/src/lib.rs.in +++ b/gen/identitytoolkit3/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> IdentityToolkit IdentityToolkit { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -150,7 +150,7 @@ impl<'a, C, A> IdentityToolkit } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/kgsearch1-cli/Cargo.toml b/gen/kgsearch1-cli/Cargo.toml index 57690faaed..e9d35b9a1b 100644 --- a/gen/kgsearch1-cli/Cargo.toml +++ b/gen/kgsearch1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-kgsearch1-cli" -version = "1.0.2+20151215" +version = "1.0.3+20151215" authors = ["Sebastian Thiel "] description = "A complete library to interact with kgsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/kgsearch1-cli" @@ -17,14 +17,15 @@ keywords = ["kgsearch", "google", "cli"] name = "kgsearch1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-kgsearch1] path = "../kgsearch1" -version = "1.0.2+20151215" +version = "1.0.3+20151215" optional = true default-features = false diff --git a/gen/kgsearch1-cli/README.md b/gen/kgsearch1-cli/README.md index fe532238f6..c4990856e5 100644 --- a/gen/kgsearch1-cli/README.md +++ b/gen/kgsearch1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *kgsearch* API at revision *20151215*. The CLI is at version *1.0.2*. +This documentation was generated from the *kgsearch* API at revision *20151215*. The CLI is at version *1.0.3*. ```bash kgsearch1 [options] diff --git a/gen/kgsearch1-cli/mkdocs.yml b/gen/kgsearch1-cli/mkdocs.yml index fe248e8ed4..4aba562d75 100644 --- a/gen/kgsearch1-cli/mkdocs.yml +++ b/gen/kgsearch1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: kgsearch v1.0.2+20151215 +site_name: kgsearch v1.0.3+20151215 site_url: http://byron.github.io/google-apis-rs/google-kgsearch1-cli site_description: A complete library to interact with kgsearch (protocol v1) diff --git a/gen/kgsearch1-cli/src/main.rs b/gen/kgsearch1-cli/src/main.rs index ad6819616b..f1270d0503 100644 --- a/gen/kgsearch1-cli/src/main.rs +++ b/gen/kgsearch1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -166,10 +167,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "kgsearch1", @@ -179,10 +180,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -241,7 +242,7 @@ fn main() { let mut app = App::new("kgsearch1") .author("Sebastian Thiel ") - .version("1.0.2+20151215") + .version("1.0.3+20151215") .about("Knowledge Graph Search API allows developers to search the Google Knowledge Graph for entities.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_kgsearch1_cli") .arg(Arg::with_name("folder") diff --git a/gen/kgsearch1/Cargo.toml b/gen/kgsearch1/Cargo.toml index c9e230985a..f1bed5aa01 100644 --- a/gen/kgsearch1/Cargo.toml +++ b/gen/kgsearch1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-kgsearch1" -version = "1.0.2+20151215" +version = "1.0.3+20151215" authors = ["Sebastian Thiel "] description = "A complete library to interact with kgsearch (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/kgsearch1" homepage = "https://developers.google.com/knowledge-graph/" -documentation = "https://docs.rs/google-kgsearch1/1.0.2+20151215" +documentation = "https://docs.rs/google-kgsearch1/1.0.3+20151215" license = "MIT" keywords = ["kgsearch", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/kgsearch1/README.md b/gen/kgsearch1/README.md index a42c192e83..52c13c607d 100644 --- a/gen/kgsearch1/README.md +++ b/gen/kgsearch1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-kgsearch1` library allows access to all features of the *Google kgsearch* service. -This documentation was generated from *kgsearch* crate version *1.0.2+20151215*, where *20151215* is the exact revision of the *kgsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *kgsearch* crate version *1.0.3+20151215*, where *20151215* is the exact revision of the *kgsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *kgsearch* *v1* API can be found at the [official documentation site](https://developers.google.com/knowledge-graph/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/struct.Kgsearch.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/struct.Kgsearch.html) ... * entities - * [*search*](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/struct.EntitySearchCall.html) + * [*search*](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/struct.EntitySearchCall.html) @@ -23,17 +23,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-kgsearch1/1.0.2+20151215/google_kgsearch1/struct.Kgsearch.html)** +* **[Hub](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/struct.Kgsearch.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Part.html)** + * **[Parts](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -122,17 +122,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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")`. @@ -142,29 +142,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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/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-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-kgsearch1/1.0.2+20151215/google_kgsearch1/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-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/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-kgsearch1/1.0.2+20151215/google_kgsearch1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-kgsearch1/1.0.3+20151215/google_kgsearch1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/kgsearch1/src/cmn.rs b/gen/kgsearch1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/kgsearch1/src/cmn.rs +++ b/gen/kgsearch1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/kgsearch1/src/lib.rs b/gen/kgsearch1/src/lib.rs index 050494f7ef..b598a1de7f 100644 --- a/gen/kgsearch1/src/lib.rs +++ b/gen/kgsearch1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *kgsearch* crate version *1.0.2+20151215*, where *20151215* is the exact revision of the *kgsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *kgsearch* crate version *1.0.3+20151215*, where *20151215* is the exact revision of the *kgsearch:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *kgsearch* *v1* API can be found at the //! [official documentation site](https://developers.google.com/knowledge-graph/). diff --git a/gen/kgsearch1/src/lib.rs.in b/gen/kgsearch1/src/lib.rs.in index e84717e9f5..2b45f0b27b 100644 --- a/gen/kgsearch1/src/lib.rs.in +++ b/gen/kgsearch1/src/lib.rs.in @@ -116,7 +116,7 @@ impl<'a, C, A> Kgsearch Kgsearch { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -125,7 +125,7 @@ impl<'a, C, A> Kgsearch } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/licensing1-cli/Cargo.toml b/gen/licensing1-cli/Cargo.toml index c8a037cc92..a25b8bcca3 100644 --- a/gen/licensing1-cli/Cargo.toml +++ b/gen/licensing1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-licensing1-cli" -version = "1.0.2+20150901" +version = "1.0.3+20150901" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/licensing1-cli" @@ -17,14 +17,15 @@ keywords = ["licensing", "google", "cli"] name = "licensing1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-licensing1] path = "../licensing1" -version = "1.0.2+20150901" +version = "1.0.3+20150901" optional = true default-features = false diff --git a/gen/licensing1-cli/README.md b/gen/licensing1-cli/README.md index 5be9123f33..d115aa0a62 100644 --- a/gen/licensing1-cli/README.md +++ b/gen/licensing1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *licensing* API at revision *20150901*. The CLI is at version *1.0.2*. +This documentation was generated from the *licensing* API at revision *20150901*. The CLI is at version *1.0.3*. ```bash licensing1 [options] diff --git a/gen/licensing1-cli/mkdocs.yml b/gen/licensing1-cli/mkdocs.yml index 1624e5212d..126fef21e7 100644 --- a/gen/licensing1-cli/mkdocs.yml +++ b/gen/licensing1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: licensing v1.0.2+20150901 +site_name: licensing v1.0.3+20150901 site_url: http://byron.github.io/google-apis-rs/google-licensing1-cli site_description: A complete library to interact with licensing (protocol v1) diff --git a/gen/licensing1-cli/src/main.rs b/gen/licensing1-cli/src/main.rs index bc34bf6af9..bd67d2e4ec 100644 --- a/gen/licensing1-cli/src/main.rs +++ b/gen/licensing1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -592,10 +593,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "licensing1", @@ -605,10 +606,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -885,7 +886,7 @@ fn main() { let mut app = App::new("licensing1") .author("Sebastian Thiel ") - .version("1.0.2+20150901") + .version("1.0.3+20150901") .about("Licensing API to view and manage license for your domain.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_licensing1_cli") .arg(Arg::with_name("url") diff --git a/gen/licensing1/Cargo.toml b/gen/licensing1/Cargo.toml index 25fa9c60c0..b51991b8e7 100644 --- a/gen/licensing1/Cargo.toml +++ b/gen/licensing1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-licensing1" -version = "1.0.2+20150901" +version = "1.0.3+20150901" authors = ["Sebastian Thiel "] description = "A complete library to interact with licensing (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/licensing1" homepage = "https://developers.google.com/google-apps/licensing/" -documentation = "https://docs.rs/google-licensing1/1.0.2+20150901" +documentation = "https://docs.rs/google-licensing1/1.0.3+20150901" license = "MIT" keywords = ["licensing", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/licensing1/README.md b/gen/licensing1/README.md index c88cc01ceb..3ffe1c745a 100644 --- a/gen/licensing1/README.md +++ b/gen/licensing1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-licensing1` library allows access to all features of the *Google licensing* service. -This documentation was generated from *licensing* crate version *1.0.2+20150901*, where *20150901* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *licensing* crate version *1.0.3+20150901*, where *20150901* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *licensing* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/licensing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.Licensing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.Licensing.html) ... -* [license assignments](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignment.html) - * [*delete*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentDeleteCall.html), [*get*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentGetCall.html), [*insert*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentInsertCall.html), [*list for product*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentListForProductCall.html), [*list for product and sku*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentListForProductAndSkuCall.html), [*patch*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentPatchCall.html) and [*update*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/struct.LicenseAssignmentUpdateCall.html) +* [license assignments](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignment.html) + * [*delete*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentDeleteCall.html), [*get*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentGetCall.html), [*insert*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentInsertCall.html), [*list for product*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentListForProductCall.html), [*list for product and sku*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentListForProductAndSkuCall.html), [*patch*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentPatchCall.html) and [*update*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.LicenseAssignmentUpdateCall.html) @@ -23,17 +23,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-licensing1/1.0.2+20150901/google_licensing1/struct.Licensing.html)** +* **[Hub](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/struct.Licensing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/trait.Part.html)** + * **[Parts](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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 +143,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-licensing1/1.0.2+20150901/google_licensing1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/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-licensing1/1.0.3+20150901/google_licensing1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-licensing1/1.0.2+20150901/google_licensing1/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-licensing1/1.0.3+20150901/google_licensing1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/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-licensing1/1.0.2+20150901/google_licensing1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-licensing1/1.0.3+20150901/google_licensing1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/licensing1/src/cmn.rs b/gen/licensing1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/licensing1/src/cmn.rs +++ b/gen/licensing1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/licensing1/src/lib.rs b/gen/licensing1/src/lib.rs index 0b3fd2d25f..93a977ab49 100644 --- a/gen/licensing1/src/lib.rs +++ b/gen/licensing1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *licensing* crate version *1.0.2+20150901*, where *20150901* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *licensing* crate version *1.0.3+20150901*, where *20150901* is the exact revision of the *licensing:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *licensing* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/licensing/). diff --git a/gen/licensing1/src/lib.rs.in b/gen/licensing1/src/lib.rs.in index dbd837a6ea..262d916571 100644 --- a/gen/licensing1/src/lib.rs.in +++ b/gen/licensing1/src/lib.rs.in @@ -133,7 +133,7 @@ impl<'a, C, A> Licensing Licensing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -142,7 +142,7 @@ impl<'a, C, A> Licensing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2-cli/Cargo.toml b/gen/logging2-cli/Cargo.toml index 4bfd59ce91..662bc90e0e 100644 --- a/gen/logging2-cli/Cargo.toml +++ b/gen/logging2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2-cli" @@ -17,14 +17,15 @@ keywords = ["logging", "google", "cli"] name = "logging2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-logging2] path = "../logging2" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/logging2-cli/README.md b/gen/logging2-cli/README.md index 8f6a0dd6ec..fffd3bf028 100644 --- a/gen/logging2-cli/README.md +++ b/gen/logging2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Logging* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *Logging* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash logging2 [options] diff --git a/gen/logging2-cli/mkdocs.yml b/gen/logging2-cli/mkdocs.yml index ec92f9fb61..a0365d8544 100644 --- a/gen/logging2-cli/mkdocs.yml +++ b/gen/logging2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v1.0.2+20161206 +site_name: Logging v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-logging2-cli site_description: A complete library to interact with Logging (protocol v2) diff --git a/gen/logging2-cli/src/main.rs b/gen/logging2-cli/src/main.rs index 0c1eaf03e0..1876790795 100644 --- a/gen/logging2-cli/src/main.rs +++ b/gen/logging2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -2673,10 +2674,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "logging2", @@ -2686,10 +2687,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -3675,7 +3676,7 @@ fn main() { let mut app = App::new("logging2") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Writes log entries and manages your Stackdriver Logging configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2/Cargo.toml b/gen/logging2/Cargo.toml index 04f48cfd20..ea5e101f05 100644 --- a/gen/logging2/Cargo.toml +++ b/gen/logging2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-logging2" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2/1.0.2+20161206" +documentation = "https://docs.rs/google-logging2/1.0.3+20161206" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/logging2/README.md b/gen/logging2/README.md index ff664619ff..c5ab1b4c45 100644 --- a/gen/logging2/README.md +++ b/gen/logging2/README.md @@ -5,26 +5,26 @@ DO NOT EDIT ! --> The `google-logging2` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Logging* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Logging* *v2* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.Logging.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.Logging.html) ... * billing accounts - * [*logs delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.BillingAccountSinkUpdateCall.html) + * [*logs delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.BillingAccountSinkUpdateCall.html) * entries - * [*list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.EntryWriteCall.html) + * [*list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.EntryWriteCall.html) * folders - * [*logs delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.FolderSinkUpdateCall.html) -* [monitored resource descriptors](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.MonitoredResourceDescriptor.html) - * [*list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.MonitoredResourceDescriptorListCall.html) + * [*logs delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.FolderSinkUpdateCall.html) +* [monitored resource descriptors](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.MonitoredResourceDescriptor.html) + * [*list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.MonitoredResourceDescriptorListCall.html) * organizations - * [*logs delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.OrganizationSinkUpdateCall.html) + * [*logs delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationLogListCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.OrganizationSinkUpdateCall.html) * projects - * [*logs delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/struct.ProjectSinkUpdateCall.html) + * [*logs delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.ProjectSinkUpdateCall.html) @@ -33,17 +33,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-logging2/1.0.2+20161206/google_logging2/struct.Logging.html)** +* **[Hub](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/struct.Logging.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/trait.Part.html)** + * **[Parts](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -143,17 +143,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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")`. @@ -163,29 +163,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-logging2/1.0.2+20161206/google_logging2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/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-logging2/1.0.3+20161206/google_logging2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-logging2/1.0.2+20161206/google_logging2/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-logging2/1.0.3+20161206/google_logging2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/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-logging2/1.0.2+20161206/google_logging2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-logging2/1.0.3+20161206/google_logging2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2/src/cmn.rs b/gen/logging2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/logging2/src/cmn.rs +++ b/gen/logging2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/logging2/src/lib.rs b/gen/logging2/src/lib.rs index 392634ecbf..97486f1e8c 100644 --- a/gen/logging2/src/lib.rs +++ b/gen/logging2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Logging* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *logging:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Logging* *v2* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). diff --git a/gen/logging2/src/lib.rs.in b/gen/logging2/src/lib.rs.in index d8babcd7ca..187de423a8 100644 --- a/gen/logging2/src/lib.rs.in +++ b/gen/logging2/src/lib.rs.in @@ -154,7 +154,7 @@ impl<'a, C, A> Logging Logging { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -178,7 +178,7 @@ impl<'a, C, A> Logging } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/logging2_beta1-cli/Cargo.toml b/gen/logging2_beta1-cli/Cargo.toml index 9dd0f280de..e3113bd1d1 100644 --- a/gen/logging2_beta1-cli/Cargo.toml +++ b/gen/logging2_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-logging2_beta1-cli" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["logging", "google", "cli"] name = "logging2-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-logging2_beta1] path = "../logging2_beta1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" optional = true default-features = false diff --git a/gen/logging2_beta1-cli/README.md b/gen/logging2_beta1-cli/README.md index 58ffff073f..ebc94dd2b3 100644 --- a/gen/logging2_beta1-cli/README.md +++ b/gen/logging2_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Logging* API at revision *20161206*. The CLI is at version *1.0.2*. +This documentation was generated from the *Logging* API at revision *20161206*. The CLI is at version *1.0.3*. ```bash logging2-beta1 [options] diff --git a/gen/logging2_beta1-cli/mkdocs.yml b/gen/logging2_beta1-cli/mkdocs.yml index d401ba8023..ef7f4bc2d8 100644 --- a/gen/logging2_beta1-cli/mkdocs.yml +++ b/gen/logging2_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Logging v1.0.2+20161206 +site_name: Logging v1.0.3+20161206 site_url: http://byron.github.io/google-apis-rs/google-logging2_beta1-cli site_description: A complete library to interact with Logging (protocol v2beta1) diff --git a/gen/logging2_beta1-cli/src/main.rs b/gen/logging2_beta1-cli/src/main.rs index 293011063d..ab22efeceb 100644 --- a/gen/logging2_beta1-cli/src/main.rs +++ b/gen/logging2_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1444,10 +1445,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "logging2-beta1", @@ -1457,10 +1458,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1991,7 +1992,7 @@ fn main() { let mut app = App::new("logging2-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20161206") + .version("1.0.3+20161206") .about("Writes log entries and manages your Stackdriver Logging configuration.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_logging2_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/logging2_beta1/Cargo.toml b/gen/logging2_beta1/Cargo.toml index 5333d787f4..9893763a5b 100644 --- a/gen/logging2_beta1/Cargo.toml +++ b/gen/logging2_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-logging2_beta1" -version = "1.0.2+20161206" +version = "1.0.3+20161206" authors = ["Sebastian Thiel "] description = "A complete library to interact with Logging (protocol v2beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/logging2_beta1" homepage = "https://cloud.google.com/logging/docs/" -documentation = "https://docs.rs/google-logging2_beta1/1.0.2+20161206" +documentation = "https://docs.rs/google-logging2_beta1/1.0.3+20161206" license = "MIT" keywords = ["logging", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/logging2_beta1/README.md b/gen/logging2_beta1/README.md index 51a070fe57..98124de801 100644 --- a/gen/logging2_beta1/README.md +++ b/gen/logging2_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-logging2_beta1` library allows access to all features of the *Google Logging* service. -This documentation was generated from *Logging* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Logging* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Logging* *v2_beta1* API can be found at the [official documentation site](https://cloud.google.com/logging/docs/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.Logging.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.Logging.html) ... * billing accounts - * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.BillingAccountLogDeleteCall.html) and [*logs list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.BillingAccountLogListCall.html) + * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.BillingAccountLogDeleteCall.html) and [*logs list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.BillingAccountLogListCall.html) * entries - * [*list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.EntryWriteCall.html) -* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.MonitoredResourceDescriptor.html) - * [*list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.MonitoredResourceDescriptorListCall.html) + * [*list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.EntryListCall.html) and [*write*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.EntryWriteCall.html) +* [monitored resource descriptors](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.MonitoredResourceDescriptor.html) + * [*list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.MonitoredResourceDescriptorListCall.html) * organizations - * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.OrganizationLogDeleteCall.html) and [*logs list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.OrganizationLogListCall.html) + * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.OrganizationLogDeleteCall.html) and [*logs list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.OrganizationLogListCall.html) * projects - * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.ProjectSinkUpdateCall.html) + * [*logs delete*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectLogDeleteCall.html), [*logs list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectLogListCall.html), [*metrics create*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectMetricCreateCall.html), [*metrics delete*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectMetricDeleteCall.html), [*metrics get*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectMetricGetCall.html), [*metrics list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectMetricListCall.html), [*metrics update*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectMetricUpdateCall.html), [*sinks create*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectSinkCreateCall.html), [*sinks delete*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectSinkDeleteCall.html), [*sinks get*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectSinkGetCall.html), [*sinks list*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectSinkListCall.html) and [*sinks update*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.ProjectSinkUpdateCall.html) @@ -31,17 +31,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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/struct.Logging.html)** +* **[Hub](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/struct.Logging.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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 +147,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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/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-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-logging2_beta1/1.0.2+20161206/google_logging2_beta1/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-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/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-logging2_beta1/1.0.2+20161206/google_logging2_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-logging2_beta1/1.0.3+20161206/google_logging2_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/logging2_beta1/src/cmn.rs b/gen/logging2_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/logging2_beta1/src/cmn.rs +++ b/gen/logging2_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/logging2_beta1/src/lib.rs b/gen/logging2_beta1/src/lib.rs index 10b2c254aa..6da7223240 100644 --- a/gen/logging2_beta1/src/lib.rs +++ b/gen/logging2_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Logging* crate version *1.0.2+20161206*, where *20161206* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Logging* crate version *1.0.3+20161206*, where *20161206* is the exact revision of the *logging:v2beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Logging* *v2_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/logging/docs/). diff --git a/gen/logging2_beta1/src/lib.rs.in b/gen/logging2_beta1/src/lib.rs.in index c14c727208..d6da234686 100644 --- a/gen/logging2_beta1/src/lib.rs.in +++ b/gen/logging2_beta1/src/lib.rs.in @@ -147,7 +147,7 @@ impl<'a, C, A> Logging Logging { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -168,7 +168,7 @@ impl<'a, C, A> Logging } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manager1_beta2-cli/Cargo.toml b/gen/manager1_beta2-cli/Cargo.toml index 79bfd05d76..378173eac8 100644 --- a/gen/manager1_beta2-cli/Cargo.toml +++ b/gen/manager1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manager1_beta2-cli" -version = "1.0.2+20140915" +version = "1.0.3+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manager1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["manager", "google", "cli"] name = "manager1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-manager1_beta2] path = "../manager1_beta2" -version = "1.0.2+20140915" +version = "1.0.3+20140915" optional = true default-features = false diff --git a/gen/manager1_beta2-cli/README.md b/gen/manager1_beta2-cli/README.md index 4e9b929c3f..1c3b651f89 100644 --- a/gen/manager1_beta2-cli/README.md +++ b/gen/manager1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *1.0.2*. +This documentation was generated from the *manager* API at revision *20140915*. The CLI is at version *1.0.3*. ```bash manager1-beta2 [options] diff --git a/gen/manager1_beta2-cli/mkdocs.yml b/gen/manager1_beta2-cli/mkdocs.yml index 1afcc68b62..73eb38ef16 100644 --- a/gen/manager1_beta2-cli/mkdocs.yml +++ b/gen/manager1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: manager v1.0.2+20140915 +site_name: manager v1.0.3+20140915 site_url: http://byron.github.io/google-apis-rs/google-manager1_beta2-cli site_description: A complete library to interact with manager (protocol v1beta2) diff --git a/gen/manager1_beta2-cli/src/main.rs b/gen/manager1_beta2-cli/src/main.rs index 1f76efdb0d..a8a6e2ae1b 100644 --- a/gen/manager1_beta2-cli/src/main.rs +++ b/gen/manager1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -610,10 +611,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "manager1-beta2", @@ -623,10 +624,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -892,7 +893,7 @@ fn main() { let mut app = App::new("manager1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20140915") + .version("1.0.3+20140915") .about("The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manager1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/manager1_beta2/Cargo.toml b/gen/manager1_beta2/Cargo.toml index d719396e12..0167ad1dfd 100644 --- a/gen/manager1_beta2/Cargo.toml +++ b/gen/manager1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-manager1_beta2" -version = "1.0.2+20140915" +version = "1.0.3+20140915" authors = ["Sebastian Thiel "] description = "A complete library to interact with manager (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manager1_beta2" homepage = "https://developers.google.com/deployment-manager/" -documentation = "https://docs.rs/google-manager1_beta2/1.0.2+20140915" +documentation = "https://docs.rs/google-manager1_beta2/1.0.3+20140915" license = "MIT" keywords = ["manager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/manager1_beta2/README.md b/gen/manager1_beta2/README.md index 2d7d984ece..ab4aa1e2ef 100644 --- a/gen/manager1_beta2/README.md +++ b/gen/manager1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-manager1_beta2` library allows access to all features of the *Google manager* service. -This documentation was generated from *manager* crate version *1.0.2+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *manager* crate version *1.0.3+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *manager* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/deployment-manager/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.Manager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.Manager.html) ... -* [deployments](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.Deployment.html) - * [*delete*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.DeploymentInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.DeploymentListCall.html) -* [templates](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.Template.html) - * [*delete*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.TemplateInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.TemplateListCall.html) +* [deployments](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.Deployment.html) + * [*delete*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.DeploymentDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.DeploymentGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.DeploymentInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.DeploymentListCall.html) +* [templates](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.Template.html) + * [*delete*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.TemplateDeleteCall.html), [*get*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.TemplateGetCall.html), [*insert*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.TemplateInsertCall.html) and [*list*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.TemplateListCall.html) @@ -25,17 +25,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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/struct.Manager.html)** +* **[Hub](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/struct.Manager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -122,17 +122,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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")`. @@ -142,29 +142,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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/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-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-manager1_beta2/1.0.2+20140915/google_manager1_beta2/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-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/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-manager1_beta2/1.0.2+20140915/google_manager1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-manager1_beta2/1.0.3+20140915/google_manager1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manager1_beta2/src/cmn.rs b/gen/manager1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/manager1_beta2/src/cmn.rs +++ b/gen/manager1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/manager1_beta2/src/lib.rs b/gen/manager1_beta2/src/lib.rs index 042bd1ef6b..d65cdee712 100644 --- a/gen/manager1_beta2/src/lib.rs +++ b/gen/manager1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *manager* crate version *1.0.2+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *manager* crate version *1.0.3+20140915*, where *20140915* is the exact revision of the *manager:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *manager* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/deployment-manager/). diff --git a/gen/manager1_beta2/src/lib.rs.in b/gen/manager1_beta2/src/lib.rs.in index 17b93d5d76..7a203d7058 100644 --- a/gen/manager1_beta2/src/lib.rs.in +++ b/gen/manager1_beta2/src/lib.rs.in @@ -157,7 +157,7 @@ impl<'a, C, A> Manager Manager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -169,7 +169,7 @@ impl<'a, C, A> Manager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/manufacturers1-cli/Cargo.toml b/gen/manufacturers1-cli/Cargo.toml index c6273988f2..71bbff5d1b 100644 --- a/gen/manufacturers1-cli/Cargo.toml +++ b/gen/manufacturers1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-manufacturers1-cli" -version = "1.0.2+20161028" +version = "1.0.3+20161028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manufacturers1-cli" @@ -17,14 +17,15 @@ keywords = ["manufacturers", "google", "cli"] name = "manufacturers1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-manufacturers1] path = "../manufacturers1" -version = "1.0.2+20161028" +version = "1.0.3+20161028" optional = true default-features = false diff --git a/gen/manufacturers1-cli/README.md b/gen/manufacturers1-cli/README.md index 40ee988167..f849e326d1 100644 --- a/gen/manufacturers1-cli/README.md +++ b/gen/manufacturers1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Manufacturer Center* API at revision *20161028*. The CLI is at version *1.0.2*. +This documentation was generated from the *Manufacturer Center* API at revision *20161028*. The CLI is at version *1.0.3*. ```bash manufacturers1 [options] diff --git a/gen/manufacturers1-cli/mkdocs.yml b/gen/manufacturers1-cli/mkdocs.yml index ece6d89084..34fc8f4983 100644 --- a/gen/manufacturers1-cli/mkdocs.yml +++ b/gen/manufacturers1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Manufacturer Center v1.0.2+20161028 +site_name: Manufacturer Center v1.0.3+20161028 site_url: http://byron.github.io/google-apis-rs/google-manufacturers1-cli site_description: A complete library to interact with Manufacturer Center (protocol v1) diff --git a/gen/manufacturers1-cli/src/main.rs b/gen/manufacturers1-cli/src/main.rs index 36b2141054..ee13876476 100644 --- a/gen/manufacturers1-cli/src/main.rs +++ b/gen/manufacturers1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -209,10 +210,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "manufacturers1", @@ -222,10 +223,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -332,7 +333,7 @@ fn main() { let mut app = App::new("manufacturers1") .author("Sebastian Thiel ") - .version("1.0.2+20161028") + .version("1.0.3+20161028") .about("Public API for managing Manufacturer Center related data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_manufacturers1_cli") .arg(Arg::with_name("url") diff --git a/gen/manufacturers1/Cargo.toml b/gen/manufacturers1/Cargo.toml index fe80ed148e..79d18d673b 100644 --- a/gen/manufacturers1/Cargo.toml +++ b/gen/manufacturers1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-manufacturers1" -version = "1.0.2+20161028" +version = "1.0.3+20161028" authors = ["Sebastian Thiel "] description = "A complete library to interact with Manufacturer Center (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/manufacturers1" homepage = "https://developers.google.com/manufacturers/" -documentation = "https://docs.rs/google-manufacturers1/1.0.2+20161028" +documentation = "https://docs.rs/google-manufacturers1/1.0.3+20161028" license = "MIT" keywords = ["manufacturers", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/manufacturers1/README.md b/gen/manufacturers1/README.md index 44544b4d58..81a5ba009c 100644 --- a/gen/manufacturers1/README.md +++ b/gen/manufacturers1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-manufacturers1` library allows access to all features of the *Google Manufacturer Center* service. -This documentation was generated from *Manufacturer Center* crate version *1.0.2+20161028*, where *20161028* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Manufacturer Center* crate version *1.0.3+20161028*, where *20161028* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Manufacturer Center* *v1* API can be found at the [official documentation site](https://developers.google.com/manufacturers/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/struct.ManufacturerCenter.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/struct.ManufacturerCenter.html) ... * accounts - * [*products get*](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/struct.AccountProductGetCall.html) and [*products list*](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/struct.AccountProductListCall.html) + * [*products get*](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/struct.AccountProductGetCall.html) and [*products list*](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/struct.AccountProductListCall.html) @@ -23,17 +23,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-manufacturers1/1.0.2+20161028/google_manufacturers1/struct.ManufacturerCenter.html)** +* **[Hub](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/struct.ManufacturerCenter.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Part.html)** + * **[Parts](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -115,17 +115,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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")`. @@ -135,29 +135,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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/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-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-manufacturers1/1.0.2+20161028/google_manufacturers1/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-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/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-manufacturers1/1.0.2+20161028/google_manufacturers1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-manufacturers1/1.0.3+20161028/google_manufacturers1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/manufacturers1/src/cmn.rs b/gen/manufacturers1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/manufacturers1/src/cmn.rs +++ b/gen/manufacturers1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/manufacturers1/src/lib.rs b/gen/manufacturers1/src/lib.rs index 7847a4aa32..29359f4290 100644 --- a/gen/manufacturers1/src/lib.rs +++ b/gen/manufacturers1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Manufacturer Center* crate version *1.0.2+20161028*, where *20161028* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Manufacturer Center* crate version *1.0.3+20161028*, where *20161028* is the exact revision of the *manufacturers:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Manufacturer Center* *v1* API can be found at the //! [official documentation site](https://developers.google.com/manufacturers/). diff --git a/gen/manufacturers1/src/lib.rs.in b/gen/manufacturers1/src/lib.rs.in index 2bd87f692a..c3d7a82c30 100644 --- a/gen/manufacturers1/src/lib.rs.in +++ b/gen/manufacturers1/src/lib.rs.in @@ -131,7 +131,7 @@ impl<'a, C, A> ManufacturerCenter ManufacturerCenter { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -140,7 +140,7 @@ impl<'a, C, A> ManufacturerCenter } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/mirror1-cli/Cargo.toml b/gen/mirror1-cli/Cargo.toml index f92a1f5325..db2647747d 100644 --- a/gen/mirror1-cli/Cargo.toml +++ b/gen/mirror1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-mirror1-cli" -version = "1.0.2+20160616" +version = "1.0.3+20160616" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/mirror1-cli" @@ -17,14 +17,15 @@ keywords = ["mirror", "google", "cli"] name = "mirror1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-mirror1] path = "../mirror1" -version = "1.0.2+20160616" +version = "1.0.3+20160616" optional = true default-features = false diff --git a/gen/mirror1-cli/README.md b/gen/mirror1-cli/README.md index 35a863319c..38770accce 100644 --- a/gen/mirror1-cli/README.md +++ b/gen/mirror1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *mirror* API at revision *20160616*. The CLI is at version *1.0.2*. +This documentation was generated from the *mirror* API at revision *20160616*. The CLI is at version *1.0.3*. ```bash mirror1 [options] diff --git a/gen/mirror1-cli/mkdocs.yml b/gen/mirror1-cli/mkdocs.yml index c7746a4c67..f12dd025b5 100644 --- a/gen/mirror1-cli/mkdocs.yml +++ b/gen/mirror1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: mirror v1.0.2+20160616 +site_name: mirror v1.0.3+20160616 site_url: http://byron.github.io/google-apis-rs/google-mirror1-cli site_description: A complete library to interact with mirror (protocol v1) diff --git a/gen/mirror1-cli/src/main.rs b/gen/mirror1-cli/src/main.rs index 92030b2a73..e74f1bdb3b 100644 --- a/gen/mirror1-cli/src/main.rs +++ b/gen/mirror1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1932,10 +1933,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "mirror1", @@ -1945,10 +1946,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2563,7 +2564,7 @@ fn main() { let mut app = App::new("mirror1") .author("Sebastian Thiel ") - .version("1.0.2+20160616") + .version("1.0.3+20160616") .about("Interacts with Glass users via the timeline.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_mirror1_cli") .arg(Arg::with_name("url") diff --git a/gen/mirror1/Cargo.toml b/gen/mirror1/Cargo.toml index c139e6926c..f1e4cadc4a 100644 --- a/gen/mirror1/Cargo.toml +++ b/gen/mirror1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-mirror1" -version = "1.0.2+20160616" +version = "1.0.3+20160616" authors = ["Sebastian Thiel "] description = "A complete library to interact with mirror (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/mirror1" homepage = "https://developers.google.com/glass" -documentation = "https://docs.rs/google-mirror1/1.0.2+20160616" +documentation = "https://docs.rs/google-mirror1/1.0.3+20160616" license = "MIT" keywords = ["mirror", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/mirror1/README.md b/gen/mirror1/README.md index 7666c4aee1..3856a3e838 100644 --- a/gen/mirror1/README.md +++ b/gen/mirror1/README.md @@ -5,37 +5,37 @@ DO NOT EDIT ! --> The `google-mirror1` library allows access to all features of the *Google mirror* service. -This documentation was generated from *mirror* crate version *1.0.2+20160616*, where *20160616* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *mirror* crate version *1.0.3+20160616*, where *20160616* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *mirror* *v1* API can be found at the [official documentation site](https://developers.google.com/glass). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Mirror.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Mirror.html) ... -* [accounts](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Account.html) - * [*insert*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.AccountInsertCall.html) -* [contacts](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Contact.html) - * [*delete*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactPatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.ContactUpdateCall.html) -* [locations](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Location.html) - * [*get*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.LocationGetCall.html) and [*list*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.LocationListCall.html) -* [settings](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Setting.html) - * [*get*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.SettingGetCall.html) -* [subscriptions](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Subscription.html) - * [*delete*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.SubscriptionListCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.SubscriptionUpdateCall.html) +* [accounts](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Account.html) + * [*insert*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.AccountInsertCall.html) +* [contacts](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Contact.html) + * [*delete*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactPatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.ContactUpdateCall.html) +* [locations](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Location.html) + * [*get*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.LocationGetCall.html) and [*list*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.LocationListCall.html) +* [settings](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Setting.html) + * [*get*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.SettingGetCall.html) +* [subscriptions](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Subscription.html) + * [*delete*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.SubscriptionListCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.SubscriptionUpdateCall.html) * timeline - * [*attachments delete*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentDeleteCall.html), [*attachments get*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentGetCall.html), [*attachments insert*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentInsertCall.html), [*attachments list*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentListCall.html), [*delete*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelinePatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineUpdateCall.html) + * [*attachments delete*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentDeleteCall.html), [*attachments get*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentGetCall.html), [*attachments insert*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentInsertCall.html), [*attachments list*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentListCall.html), [*delete*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineDeleteCall.html), [*get*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineGetCall.html), [*insert*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineInsertCall.html), [*list*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineListCall.html), [*patch*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelinePatchCall.html) and [*update*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineUpdateCall.html) Upload supported by ... -* [*update timeline*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineUpdateCall.html) -* [*insert timeline*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineInsertCall.html) -* [*attachments insert timeline*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentInsertCall.html) +* [*update timeline*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineUpdateCall.html) +* [*insert timeline*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineInsertCall.html) +* [*attachments insert timeline*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentInsertCall.html) Download supported by ... -* [*attachments get timeline*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.TimelineAttachmentGetCall.html) +* [*attachments get timeline*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.TimelineAttachmentGetCall.html) @@ -43,17 +43,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/struct.Mirror.html)** +* **[Hub](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/struct.Mirror.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/trait.Part.html)** + * **[Parts](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -146,17 +146,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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")`. @@ -166,29 +166,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-mirror1/1.0.2+20160616/google_mirror1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/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-mirror1/1.0.3+20160616/google_mirror1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-mirror1/1.0.2+20160616/google_mirror1/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-mirror1/1.0.3+20160616/google_mirror1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/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-mirror1/1.0.2+20160616/google_mirror1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-mirror1/1.0.3+20160616/google_mirror1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/mirror1/src/cmn.rs b/gen/mirror1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/mirror1/src/cmn.rs +++ b/gen/mirror1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/mirror1/src/lib.rs b/gen/mirror1/src/lib.rs index c945798126..978892d846 100644 --- a/gen/mirror1/src/lib.rs +++ b/gen/mirror1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *mirror* crate version *1.0.2+20160616*, where *20160616* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *mirror* crate version *1.0.3+20160616*, where *20160616* is the exact revision of the *mirror:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *mirror* *v1* API can be found at the //! [official documentation site](https://developers.google.com/glass). diff --git a/gen/mirror1/src/lib.rs.in b/gen/mirror1/src/lib.rs.in index 3239f28739..6743846adf 100644 --- a/gen/mirror1/src/lib.rs.in +++ b/gen/mirror1/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> Mirror Mirror { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -165,7 +165,7 @@ impl<'a, C, A> Mirror } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/ml1_beta1-cli/Cargo.toml b/gen/ml1_beta1-cli/Cargo.toml index 7440c76791..c223b3be6f 100644 --- a/gen/ml1_beta1-cli/Cargo.toml +++ b/gen/ml1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-ml1_beta1-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/ml1_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["ml", "google", "cli"] name = "ml1-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-ml1_beta1] path = "../ml1_beta1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/ml1_beta1-cli/README.md b/gen/ml1_beta1-cli/README.md index 44fd68ff5e..78912c79b5 100644 --- a/gen/ml1_beta1-cli/README.md +++ b/gen/ml1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Cloud Machine Learning* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *Cloud Machine Learning* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash ml1-beta1 [options] diff --git a/gen/ml1_beta1-cli/mkdocs.yml b/gen/ml1_beta1-cli/mkdocs.yml index 5a6a76910b..ff919f828a 100644 --- a/gen/ml1_beta1-cli/mkdocs.yml +++ b/gen/ml1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Cloud Machine Learning v1.0.2+20161212 +site_name: Cloud Machine Learning v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-ml1_beta1-cli site_description: A complete library to interact with Cloud Machine Learning (protocol v1beta1) diff --git a/gen/ml1_beta1-cli/src/main.rs b/gen/ml1_beta1-cli/src/main.rs index 0bae244d80..3633d2a160 100644 --- a/gen/ml1_beta1-cli/src/main.rs +++ b/gen/ml1_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1410,10 +1411,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "ml1-beta1", @@ -1423,10 +1424,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2066,7 +2067,7 @@ fn main() { let mut app = App::new("ml1-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("An API to enable creating and using machine learning models.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_ml1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/ml1_beta1/Cargo.toml b/gen/ml1_beta1/Cargo.toml index d9db0c0ea2..a01073eb83 100644 --- a/gen/ml1_beta1/Cargo.toml +++ b/gen/ml1_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-ml1_beta1" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Cloud Machine Learning (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/ml1_beta1" homepage = "https://cloud.google.com/ml/" -documentation = "https://docs.rs/google-ml1_beta1/1.0.2+20161212" +documentation = "https://docs.rs/google-ml1_beta1/1.0.3+20161212" license = "MIT" keywords = ["ml", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/ml1_beta1/README.md b/gen/ml1_beta1/README.md index 34da1d206d..a98375396f 100644 --- a/gen/ml1_beta1/README.md +++ b/gen/ml1_beta1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-ml1_beta1` library allows access to all features of the *Google Cloud Machine Learning* service. -This documentation was generated from *Cloud Machine Learning* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *ml:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Cloud Machine Learning* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *ml:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Cloud Machine Learning* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/ml/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.CloudMachineLearning.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.CloudMachineLearning.html) ... * projects - * [*get config*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectGetConfigCall.html), [*jobs cancel*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectJobCancelCall.html), [*jobs create*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectJobCreateCall.html), [*jobs get*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectJobGetCall.html), [*jobs list*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectJobListCall.html), [*models create*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelCreateCall.html), [*models delete*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelDeleteCall.html), [*models get*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelGetCall.html), [*models list*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelListCall.html), [*models versions create*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelVersionCreateCall.html), [*models versions delete*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelVersionDeleteCall.html), [*models versions get*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelVersionGetCall.html), [*models versions list*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelVersionListCall.html), [*models versions set default*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectModelVersionSetDefaultCall.html), [*operations cancel*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectOperationCancelCall.html), [*operations delete*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectOperationListCall.html) and [*predict*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.ProjectPredictCall.html) + * [*get config*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectGetConfigCall.html), [*jobs cancel*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectJobCancelCall.html), [*jobs create*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectJobCreateCall.html), [*jobs get*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectJobGetCall.html), [*jobs list*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectJobListCall.html), [*models create*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelCreateCall.html), [*models delete*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelDeleteCall.html), [*models get*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelGetCall.html), [*models list*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelListCall.html), [*models versions create*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelVersionCreateCall.html), [*models versions delete*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelVersionDeleteCall.html), [*models versions get*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelVersionGetCall.html), [*models versions list*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelVersionListCall.html), [*models versions set default*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectModelVersionSetDefaultCall.html), [*operations cancel*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectOperationCancelCall.html), [*operations delete*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectOperationDeleteCall.html), [*operations get*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectOperationGetCall.html), [*operations list*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectOperationListCall.html) and [*predict*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.ProjectPredictCall.html) @@ -23,17 +23,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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/struct.CloudMachineLearning.html)** +* **[Hub](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/struct.CloudMachineLearning.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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")`. @@ -144,29 +144,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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/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-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-ml1_beta1/1.0.2+20161212/google_ml1_beta1/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-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/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-ml1_beta1/1.0.2+20161212/google_ml1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-ml1_beta1/1.0.3+20161212/google_ml1_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/ml1_beta1/src/cmn.rs b/gen/ml1_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/ml1_beta1/src/cmn.rs +++ b/gen/ml1_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/ml1_beta1/src/lib.rs b/gen/ml1_beta1/src/lib.rs index cac82bc1c4..2b3124b57e 100644 --- a/gen/ml1_beta1/src/lib.rs +++ b/gen/ml1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Cloud Machine Learning* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *ml:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Cloud Machine Learning* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *ml:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Cloud Machine Learning* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/ml/). diff --git a/gen/ml1_beta1/src/lib.rs.in b/gen/ml1_beta1/src/lib.rs.in index ae7e78b8e5..d33d7b77fb 100644 --- a/gen/ml1_beta1/src/lib.rs.in +++ b/gen/ml1_beta1/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> CloudMachineLearning CloudMachineLearning { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -146,7 +146,7 @@ impl<'a, C, A> CloudMachineLearning } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/monitoring3-cli/Cargo.toml b/gen/monitoring3-cli/Cargo.toml index fc6a36ff17..b3bef75c7f 100644 --- a/gen/monitoring3-cli/Cargo.toml +++ b/gen/monitoring3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-monitoring3-cli" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/monitoring3-cli" @@ -17,14 +17,15 @@ keywords = ["monitoring", "google", "cli"] name = "monitoring3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-monitoring3] path = "../monitoring3" -version = "1.0.2+20161212" +version = "1.0.3+20161212" optional = true default-features = false diff --git a/gen/monitoring3-cli/README.md b/gen/monitoring3-cli/README.md index cd58720ad3..a48fd8c27d 100644 --- a/gen/monitoring3-cli/README.md +++ b/gen/monitoring3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Monitoring* API at revision *20161212*. The CLI is at version *1.0.2*. +This documentation was generated from the *Monitoring* API at revision *20161212*. The CLI is at version *1.0.3*. ```bash monitoring3 [options] diff --git a/gen/monitoring3-cli/mkdocs.yml b/gen/monitoring3-cli/mkdocs.yml index c8c4159e2f..3422b7ad92 100644 --- a/gen/monitoring3-cli/mkdocs.yml +++ b/gen/monitoring3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Monitoring v1.0.2+20161212 +site_name: Monitoring v1.0.3+20161212 site_url: http://byron.github.io/google-apis-rs/google-monitoring3-cli site_description: A complete library to interact with Monitoring (protocol v3) diff --git a/gen/monitoring3-cli/src/main.rs b/gen/monitoring3-cli/src/main.rs index 712f90885a..efe1b90b38 100644 --- a/gen/monitoring3-cli/src/main.rs +++ b/gen/monitoring3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1191,10 +1192,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "monitoring3", @@ -1204,10 +1205,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1610,7 +1611,7 @@ fn main() { let mut app = App::new("monitoring3") .author("Sebastian Thiel ") - .version("1.0.2+20161212") + .version("1.0.3+20161212") .about("Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_monitoring3_cli") .arg(Arg::with_name("url") diff --git a/gen/monitoring3/Cargo.toml b/gen/monitoring3/Cargo.toml index 6db857e106..03fe836022 100644 --- a/gen/monitoring3/Cargo.toml +++ b/gen/monitoring3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-monitoring3" -version = "1.0.2+20161212" +version = "1.0.3+20161212" authors = ["Sebastian Thiel "] description = "A complete library to interact with Monitoring (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/monitoring3" homepage = "https://cloud.google.com/monitoring/api/" -documentation = "https://docs.rs/google-monitoring3/1.0.2+20161212" +documentation = "https://docs.rs/google-monitoring3/1.0.3+20161212" license = "MIT" keywords = ["monitoring", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/monitoring3/README.md b/gen/monitoring3/README.md index 77e14b29b2..2a8b825786 100644 --- a/gen/monitoring3/README.md +++ b/gen/monitoring3/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-monitoring3` library allows access to all features of the *Google Monitoring* service. -This documentation was generated from *Monitoring* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Monitoring* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Monitoring* *v3* API can be found at the [official documentation site](https://cloud.google.com/monitoring/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.Monitoring.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.Monitoring.html) ... * projects - * [*collectd time series create*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectCollectdTimeSeryCreateCall.html), [*groups create*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupCreateCall.html), [*groups delete*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupDeleteCall.html), [*groups get*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupGetCall.html), [*groups list*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupListCall.html), [*groups members list*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupMemberListCall.html), [*groups update*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectGroupUpdateCall.html), [*metric descriptors create*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMetricDescriptorCreateCall.html), [*metric descriptors delete*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMetricDescriptorDeleteCall.html), [*metric descriptors get*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMetricDescriptorGetCall.html), [*metric descriptors list*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMetricDescriptorListCall.html), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMonitoredResourceDescriptorGetCall.html), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectMonitoredResourceDescriptorListCall.html), [*time series create*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectTimeSeryCreateCall.html) and [*time series list*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/struct.ProjectTimeSeryListCall.html) + * [*collectd time series create*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectCollectdTimeSeryCreateCall.html), [*groups create*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupCreateCall.html), [*groups delete*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupDeleteCall.html), [*groups get*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupGetCall.html), [*groups list*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupListCall.html), [*groups members list*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupMemberListCall.html), [*groups update*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectGroupUpdateCall.html), [*metric descriptors create*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMetricDescriptorCreateCall.html), [*metric descriptors delete*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMetricDescriptorDeleteCall.html), [*metric descriptors get*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMetricDescriptorGetCall.html), [*metric descriptors list*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMetricDescriptorListCall.html), [*monitored resource descriptors get*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMonitoredResourceDescriptorGetCall.html), [*monitored resource descriptors list*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectMonitoredResourceDescriptorListCall.html), [*time series create*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectTimeSeryCreateCall.html) and [*time series list*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.ProjectTimeSeryListCall.html) @@ -23,17 +23,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-monitoring3/1.0.2+20161212/google_monitoring3/struct.Monitoring.html)** +* **[Hub](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/struct.Monitoring.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/trait.Part.html)** + * **[Parts](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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")`. @@ -144,29 +144,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-monitoring3/1.0.2+20161212/google_monitoring3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/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-monitoring3/1.0.3+20161212/google_monitoring3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-monitoring3/1.0.2+20161212/google_monitoring3/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-monitoring3/1.0.3+20161212/google_monitoring3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/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-monitoring3/1.0.2+20161212/google_monitoring3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-monitoring3/1.0.3+20161212/google_monitoring3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/monitoring3/src/cmn.rs b/gen/monitoring3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/monitoring3/src/cmn.rs +++ b/gen/monitoring3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/monitoring3/src/lib.rs b/gen/monitoring3/src/lib.rs index 9b04846bdb..3b3145588b 100644 --- a/gen/monitoring3/src/lib.rs +++ b/gen/monitoring3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Monitoring* crate version *1.0.2+20161212*, where *20161212* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Monitoring* crate version *1.0.3+20161212*, where *20161212* is the exact revision of the *monitoring:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Monitoring* *v3* API can be found at the //! [official documentation site](https://cloud.google.com/monitoring/api/). diff --git a/gen/monitoring3/src/lib.rs.in b/gen/monitoring3/src/lib.rs.in index 79dfe1e883..29d6de17ad 100644 --- a/gen/monitoring3/src/lib.rs.in +++ b/gen/monitoring3/src/lib.rs.in @@ -149,7 +149,7 @@ impl<'a, C, A> Monitoring Monitoring { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -158,7 +158,7 @@ impl<'a, C, A> Monitoring } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pagespeedonline2-cli/Cargo.toml b/gen/pagespeedonline2-cli/Cargo.toml index 491e7e8ba9..91142be892 100644 --- a/gen/pagespeedonline2-cli/Cargo.toml +++ b/gen/pagespeedonline2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pagespeedonline2-cli" -version = "1.0.2+20161204" +version = "1.0.3+20161204" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline2-cli" @@ -17,14 +17,15 @@ keywords = ["pagespeedonline", "google", "cli"] name = "pagespeedonline2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-pagespeedonline2] path = "../pagespeedonline2" -version = "1.0.2+20161204" +version = "1.0.3+20161204" optional = true default-features = false diff --git a/gen/pagespeedonline2-cli/README.md b/gen/pagespeedonline2-cli/README.md index 4d071ad7ee..509eb4391b 100644 --- a/gen/pagespeedonline2-cli/README.md +++ b/gen/pagespeedonline2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *pagespeedonline* API at revision *20161204*. The CLI is at version *1.0.2*. +This documentation was generated from the *pagespeedonline* API at revision *20161204*. The CLI is at version *1.0.3*. ```bash pagespeedonline2 [options] diff --git a/gen/pagespeedonline2-cli/mkdocs.yml b/gen/pagespeedonline2-cli/mkdocs.yml index 99493ac4e3..7d7f2d8fd1 100644 --- a/gen/pagespeedonline2-cli/mkdocs.yml +++ b/gen/pagespeedonline2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pagespeedonline v1.0.2+20161204 +site_name: pagespeedonline v1.0.3+20161204 site_url: http://byron.github.io/google-apis-rs/google-pagespeedonline2-cli site_description: A complete library to interact with pagespeedonline (protocol v2) diff --git a/gen/pagespeedonline2-cli/src/main.rs b/gen/pagespeedonline2-cli/src/main.rs index 9da40b6ca4..2b6fbe3250 100644 --- a/gen/pagespeedonline2-cli/src/main.rs +++ b/gen/pagespeedonline2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -160,10 +161,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "pagespeedonline2", @@ -173,10 +174,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -237,7 +238,7 @@ fn main() { let mut app = App::new("pagespeedonline2") .author("Sebastian Thiel ") - .version("1.0.2+20161204") + .version("1.0.3+20161204") .about("Analyzes the performance of a web page and provides tailored suggestions to make that page faster.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pagespeedonline2_cli") .arg(Arg::with_name("folder") diff --git a/gen/pagespeedonline2/Cargo.toml b/gen/pagespeedonline2/Cargo.toml index 345a7c8fee..03ccb675c5 100644 --- a/gen/pagespeedonline2/Cargo.toml +++ b/gen/pagespeedonline2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-pagespeedonline2" -version = "1.0.2+20161204" +version = "1.0.3+20161204" authors = ["Sebastian Thiel "] description = "A complete library to interact with pagespeedonline (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pagespeedonline2" homepage = "https://developers.google.com/speed/docs/insights/v2/getting-started" -documentation = "https://docs.rs/google-pagespeedonline2/1.0.2+20161204" +documentation = "https://docs.rs/google-pagespeedonline2/1.0.3+20161204" license = "MIT" keywords = ["pagespeedonline", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/pagespeedonline2/README.md b/gen/pagespeedonline2/README.md index 9a624fc04f..42bfb827cd 100644 --- a/gen/pagespeedonline2/README.md +++ b/gen/pagespeedonline2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pagespeedonline2` library allows access to all features of the *Google pagespeedonline* service. -This documentation was generated from *pagespeedonline* crate version *1.0.2+20161204*, where *20161204* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *pagespeedonline* crate version *1.0.3+20161204*, where *20161204* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *pagespeedonline* *v2* API can be found at the [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/struct.Pagespeedonline.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/struct.Pagespeedonline.html) ... * pagespeedapi - * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/struct.PagespeedapiRunpagespeedCall.html) + * [*runpagespeed*](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/struct.PagespeedapiRunpagespeedCall.html) @@ -23,17 +23,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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/struct.Pagespeedonline.html)** +* **[Hub](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/struct.Pagespeedonline.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Part.html)** + * **[Parts](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -120,17 +120,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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")`. @@ -140,29 +140,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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/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-pagespeedonline2/1.0.2+20161204/google_pagespeedonline2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pagespeedonline2/1.0.3+20161204/google_pagespeedonline2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pagespeedonline2/src/cmn.rs b/gen/pagespeedonline2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/pagespeedonline2/src/cmn.rs +++ b/gen/pagespeedonline2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/pagespeedonline2/src/lib.rs b/gen/pagespeedonline2/src/lib.rs index 49f63368bf..0a0b8d7d96 100644 --- a/gen/pagespeedonline2/src/lib.rs +++ b/gen/pagespeedonline2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pagespeedonline* crate version *1.0.2+20161204*, where *20161204* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *pagespeedonline* crate version *1.0.3+20161204*, where *20161204* is the exact revision of the *pagespeedonline:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *pagespeedonline* *v2* API can be found at the //! [official documentation site](https://developers.google.com/speed/docs/insights/v2/getting-started). diff --git a/gen/pagespeedonline2/src/lib.rs.in b/gen/pagespeedonline2/src/lib.rs.in index 73c5b6de5a..9f274cf3f3 100644 --- a/gen/pagespeedonline2/src/lib.rs.in +++ b/gen/pagespeedonline2/src/lib.rs.in @@ -114,7 +114,7 @@ impl<'a, C, A> Pagespeedonline Pagespeedonline { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -123,7 +123,7 @@ impl<'a, C, A> Pagespeedonline } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/partners2-cli/Cargo.toml b/gen/partners2-cli/Cargo.toml index ebf9e8c44f..89e522f5ea 100644 --- a/gen/partners2-cli/Cargo.toml +++ b/gen/partners2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-partners2-cli" -version = "1.0.2+20151009" +version = "1.0.3+20151009" authors = ["Sebastian Thiel "] description = "A complete library to interact with partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/partners2-cli" @@ -17,14 +17,15 @@ keywords = ["partners", "google", "cli"] name = "partners2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-partners2] path = "../partners2" -version = "1.0.2+20151009" +version = "1.0.3+20151009" optional = true default-features = false diff --git a/gen/partners2-cli/README.md b/gen/partners2-cli/README.md index f2950caebd..5c6c10dd87 100644 --- a/gen/partners2-cli/README.md +++ b/gen/partners2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *partners* API at revision *20151009*. The CLI is at version *1.0.2*. +This documentation was generated from the *partners* API at revision *20151009*. The CLI is at version *1.0.3*. ```bash partners2 [options] diff --git a/gen/partners2-cli/mkdocs.yml b/gen/partners2-cli/mkdocs.yml index 1dc0f197ab..810c020a25 100644 --- a/gen/partners2-cli/mkdocs.yml +++ b/gen/partners2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: partners v1.0.2+20151009 +site_name: partners v1.0.3+20151009 site_url: http://byron.github.io/google-apis-rs/google-partners2-cli site_description: A complete library to interact with partners (protocol v2) diff --git a/gen/partners2-cli/src/main.rs b/gen/partners2-cli/src/main.rs index 78a2fb7e01..4b306ff4bc 100644 --- a/gen/partners2-cli/src/main.rs +++ b/gen/partners2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -707,10 +708,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "partners2", @@ -720,10 +721,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -901,7 +902,7 @@ fn main() { let mut app = App::new("partners2") .author("Sebastian Thiel ") - .version("1.0.2+20151009") + .version("1.0.3+20151009") .about("Lets advertisers search certified companies and create contact leads with them, and also audits the usage of clients.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_partners2_cli") .arg(Arg::with_name("folder") diff --git a/gen/partners2/Cargo.toml b/gen/partners2/Cargo.toml index b3c3811fc1..cebb54d1b0 100644 --- a/gen/partners2/Cargo.toml +++ b/gen/partners2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-partners2" -version = "1.0.2+20151009" +version = "1.0.3+20151009" authors = ["Sebastian Thiel "] description = "A complete library to interact with partners (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/partners2" homepage = "https://developers.google.com/partners/" -documentation = "https://docs.rs/google-partners2/1.0.2+20151009" +documentation = "https://docs.rs/google-partners2/1.0.3+20151009" license = "MIT" keywords = ["partners", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/partners2/README.md b/gen/partners2/README.md index 25abdc9e6b..7d7dbc1d31 100644 --- a/gen/partners2/README.md +++ b/gen/partners2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-partners2` library allows access to all features of the *Google partners* service. -This documentation was generated from *partners* crate version *1.0.2+20151009*, where *20151009* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *partners* crate version *1.0.3+20151009*, where *20151009* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *partners* *v2* API can be found at the [official documentation site](https://developers.google.com/partners/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.Partners.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.Partners.html) ... * client messages - * [*log*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.ClientMessageLogCall.html) -* [companies](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.Company.html) - * [*get*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.CompanyGetCall.html), [*leads create*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.CompanyLeadCreateCall.html) and [*list*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.CompanyListCall.html) + * [*log*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.ClientMessageLogCall.html) +* [companies](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.Company.html) + * [*get*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.CompanyGetCall.html), [*leads create*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.CompanyLeadCreateCall.html) and [*list*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.CompanyListCall.html) * user events - * [*log*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.UserEventLogCall.html) + * [*log*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.UserEventLogCall.html) * user states - * [*list*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/struct.UserStateListCall.html) + * [*list*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.UserStateListCall.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-partners2/1.0.2+20151009/google_partners2/struct.Partners.html)** +* **[Hub](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/struct.Partners.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/trait.Part.html)** + * **[Parts](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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 +147,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-partners2/1.0.2+20151009/google_partners2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/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-partners2/1.0.3+20151009/google_partners2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-partners2/1.0.2+20151009/google_partners2/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-partners2/1.0.3+20151009/google_partners2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/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-partners2/1.0.2+20151009/google_partners2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-partners2/1.0.3+20151009/google_partners2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/partners2/src/cmn.rs b/gen/partners2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/partners2/src/cmn.rs +++ b/gen/partners2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/partners2/src/lib.rs b/gen/partners2/src/lib.rs index 9f8bf91f6c..f0ef8fc027 100644 --- a/gen/partners2/src/lib.rs +++ b/gen/partners2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *partners* crate version *1.0.2+20151009*, where *20151009* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *partners* crate version *1.0.3+20151009*, where *20151009* is the exact revision of the *partners:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *partners* *v2* API can be found at the //! [official documentation site](https://developers.google.com/partners/). diff --git a/gen/partners2/src/lib.rs.in b/gen/partners2/src/lib.rs.in index 58a31cbb92..87a58ffdec 100644 --- a/gen/partners2/src/lib.rs.in +++ b/gen/partners2/src/lib.rs.in @@ -115,7 +115,7 @@ impl<'a, C, A> Partners Partners { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -133,7 +133,7 @@ impl<'a, C, A> Partners } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/people1-cli/Cargo.toml b/gen/people1-cli/Cargo.toml index e8ac817849..ee4ed28bb3 100644 --- a/gen/people1-cli/Cargo.toml +++ b/gen/people1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-people1-cli" -version = "1.0.2+20160210" +version = "1.0.3+20160210" authors = ["Sebastian Thiel "] description = "A complete library to interact with people (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/people1-cli" @@ -17,14 +17,15 @@ keywords = ["people", "google", "cli"] name = "people1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-people1] path = "../people1" -version = "1.0.2+20160210" +version = "1.0.3+20160210" optional = true default-features = false diff --git a/gen/people1-cli/README.md b/gen/people1-cli/README.md index ea7955fad3..cdee83f661 100644 --- a/gen/people1-cli/README.md +++ b/gen/people1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *people* API at revision *20160210*. The CLI is at version *1.0.2*. +This documentation was generated from the *people* API at revision *20160210*. The CLI is at version *1.0.3*. ```bash people1 [options] diff --git a/gen/people1-cli/mkdocs.yml b/gen/people1-cli/mkdocs.yml index a88cb91375..fcf208c7bb 100644 --- a/gen/people1-cli/mkdocs.yml +++ b/gen/people1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: people v1.0.2+20160210 +site_name: people v1.0.3+20160210 site_url: http://byron.github.io/google-apis-rs/google-people1-cli site_description: A complete library to interact with people (protocol v1) diff --git a/gen/people1-cli/src/main.rs b/gen/people1-cli/src/main.rs index 571e5106c5..b31e53118d 100644 --- a/gen/people1-cli/src/main.rs +++ b/gen/people1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -284,10 +285,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "people1", @@ -297,10 +298,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -403,7 +404,7 @@ fn main() { let mut app = App::new("people1") .author("Sebastian Thiel ") - .version("1.0.2+20160210") + .version("1.0.3+20160210") .about("The Google People API service gives access to information about profiles and contacts.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_people1_cli") .arg(Arg::with_name("url") diff --git a/gen/people1/Cargo.toml b/gen/people1/Cargo.toml index 971281e402..6c244c02db 100644 --- a/gen/people1/Cargo.toml +++ b/gen/people1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-people1" -version = "1.0.2+20160210" +version = "1.0.3+20160210" authors = ["Sebastian Thiel "] description = "A complete library to interact with people (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/people1" homepage = "https://developers.google.com/people/" -documentation = "https://docs.rs/google-people1/1.0.2+20160210" +documentation = "https://docs.rs/google-people1/1.0.3+20160210" license = "MIT" keywords = ["people", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/people1/README.md b/gen/people1/README.md index 3f781bc605..d7261cf977 100644 --- a/gen/people1/README.md +++ b/gen/people1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-people1` library allows access to all features of the *Google people* service. -This documentation was generated from *people* crate version *1.0.2+20160210*, where *20160210* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *people* crate version *1.0.3+20160210*, where *20160210* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *people* *v1* API can be found at the [official documentation site](https://developers.google.com/people/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/1.0.2+20160210/google_people1/struct.People.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-people1/1.0.3+20160210/google_people1/struct.People.html) ... * people - * [*connections list*](https://docs.rs/google-people1/1.0.2+20160210/google_people1/struct.PeopleConnectionListCall.html), [*get*](https://docs.rs/google-people1/1.0.2+20160210/google_people1/struct.PeopleGetCall.html) and [*get batch get*](https://docs.rs/google-people1/1.0.2+20160210/google_people1/struct.PeopleGetBatchGetCall.html) + * [*connections list*](https://docs.rs/google-people1/1.0.3+20160210/google_people1/struct.PeopleConnectionListCall.html), [*get*](https://docs.rs/google-people1/1.0.3+20160210/google_people1/struct.PeopleGetCall.html) and [*get batch get*](https://docs.rs/google-people1/1.0.3+20160210/google_people1/struct.PeopleGetBatchGetCall.html) @@ -23,17 +23,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-people1/1.0.2+20160210/google_people1/struct.People.html)** +* **[Hub](https://docs.rs/google-people1/1.0.3+20160210/google_people1/struct.People.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-people1/1.0.2+20160210/google_people1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-people1/1.0.2+20160210/google_people1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-people1/1.0.2+20160210/google_people1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-people1/1.0.2+20160210/google_people1/trait.Part.html)** + * **[Parts](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-people1/1.0.2+20160210/google_people1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -116,17 +116,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/1.0.2+20160210/google_people1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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")`. @@ -136,29 +136,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-people1/1.0.2+20160210/google_people1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-people1/1.0.2+20160210/google_people1/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-people1/1.0.3+20160210/google_people1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-people1/1.0.2+20160210/google_people1/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-people1/1.0.3+20160210/google_people1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-people1/1.0.3+20160210/google_people1/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-people1/1.0.2+20160210/google_people1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-people1/1.0.3+20160210/google_people1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/people1/src/cmn.rs b/gen/people1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/people1/src/cmn.rs +++ b/gen/people1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/people1/src/lib.rs b/gen/people1/src/lib.rs index 57e299bd42..2d5f5c5052 100644 --- a/gen/people1/src/lib.rs +++ b/gen/people1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *people* crate version *1.0.2+20160210*, where *20160210* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *people* crate version *1.0.3+20160210*, where *20160210* is the exact revision of the *people:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *people* *v1* API can be found at the //! [official documentation site](https://developers.google.com/people/). diff --git a/gen/people1/src/lib.rs.in b/gen/people1/src/lib.rs.in index bb80889eb4..2474f7e44f 100644 --- a/gen/people1/src/lib.rs.in +++ b/gen/people1/src/lib.rs.in @@ -164,7 +164,7 @@ impl<'a, C, A> People People { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -173,7 +173,7 @@ impl<'a, C, A> People } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/playmoviespartner1-cli/Cargo.toml b/gen/playmoviespartner1-cli/Cargo.toml index 3897aa3496..e08e1fd724 100644 --- a/gen/playmoviespartner1-cli/Cargo.toml +++ b/gen/playmoviespartner1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-playmoviespartner1-cli" -version = "1.0.2+20160518" +version = "1.0.3+20160518" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playmoviespartner1-cli" @@ -17,14 +17,15 @@ keywords = ["playmoviespartner", "google", "cli"] name = "playmoviespartner1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-playmoviespartner1] path = "../playmoviespartner1" -version = "1.0.2+20160518" +version = "1.0.3+20160518" optional = true default-features = false diff --git a/gen/playmoviespartner1-cli/README.md b/gen/playmoviespartner1-cli/README.md index c74fba2578..5cac9efeb1 100644 --- a/gen/playmoviespartner1-cli/README.md +++ b/gen/playmoviespartner1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Play Movies* API at revision *20160518*. The CLI is at version *1.0.2*. +This documentation was generated from the *Play Movies* API at revision *20160518*. The CLI is at version *1.0.3*. ```bash playmoviespartner1 [options] diff --git a/gen/playmoviespartner1-cli/mkdocs.yml b/gen/playmoviespartner1-cli/mkdocs.yml index f9ddf826e9..117e72feee 100644 --- a/gen/playmoviespartner1-cli/mkdocs.yml +++ b/gen/playmoviespartner1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Play Movies v1.0.2+20160518 +site_name: Play Movies v1.0.3+20160518 site_url: http://byron.github.io/google-apis-rs/google-playmoviespartner1-cli site_description: A complete library to interact with Play Movies (protocol v1) diff --git a/gen/playmoviespartner1-cli/src/main.rs b/gen/playmoviespartner1-cli/src/main.rs index bbfe2f75af..27c554af93 100644 --- a/gen/playmoviespartner1-cli/src/main.rs +++ b/gen/playmoviespartner1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -797,10 +798,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "playmoviespartner1", @@ -810,10 +811,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1118,7 +1119,7 @@ fn main() { let mut app = App::new("playmoviespartner1") .author("Sebastian Thiel ") - .version("1.0.2+20160518") + .version("1.0.3+20160518") .about("Gets the delivery status of titles for Google Play Movies Partners.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_playmoviespartner1_cli") .arg(Arg::with_name("url") diff --git a/gen/playmoviespartner1/Cargo.toml b/gen/playmoviespartner1/Cargo.toml index c2123c4b50..6be14eaac3 100644 --- a/gen/playmoviespartner1/Cargo.toml +++ b/gen/playmoviespartner1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-playmoviespartner1" -version = "1.0.2+20160518" +version = "1.0.3+20160518" authors = ["Sebastian Thiel "] description = "A complete library to interact with Play Movies (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/playmoviespartner1" homepage = "https://developers.google.com/playmoviespartner/" -documentation = "https://docs.rs/google-playmoviespartner1/1.0.2+20160518" +documentation = "https://docs.rs/google-playmoviespartner1/1.0.3+20160518" license = "MIT" keywords = ["playmoviespartner", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/playmoviespartner1/README.md b/gen/playmoviespartner1/README.md index 77307a26a0..6ac4c075ee 100644 --- a/gen/playmoviespartner1/README.md +++ b/gen/playmoviespartner1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-playmoviespartner1` library allows access to all features of the *Google Play Movies* service. -This documentation was generated from *Play Movies* crate version *1.0.2+20160518*, where *20160518* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Play Movies* crate version *1.0.3+20160518*, where *20160518* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Play Movies* *v1* API can be found at the [official documentation site](https://developers.google.com/playmoviespartner/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.PlayMovies.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.PlayMovies.html) ... * accounts - * [*avails get*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountAvailGetCall.html), [*avails list*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountAvailListCall.html), [*components list*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountComponentListCall.html), [*components type get*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountComponentTypeGetCall.html), [*experience locales get*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountExperienceLocaleGetCall.html), [*experience locales list*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountExperienceLocaleListCall.html), [*orders get*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountOrderGetCall.html), [*orders list*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountOrderListCall.html), [*store infos country get*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountStoreInfoCountryGetCall.html) and [*store infos list*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.AccountStoreInfoListCall.html) + * [*avails get*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountAvailGetCall.html), [*avails list*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountAvailListCall.html), [*components list*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountComponentListCall.html), [*components type get*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountComponentTypeGetCall.html), [*experience locales get*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountExperienceLocaleGetCall.html), [*experience locales list*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountExperienceLocaleListCall.html), [*orders get*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountOrderGetCall.html), [*orders list*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountOrderListCall.html), [*store infos country get*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountStoreInfoCountryGetCall.html) and [*store infos list*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.AccountStoreInfoListCall.html) @@ -23,17 +23,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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/struct.PlayMovies.html)** +* **[Hub](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/struct.PlayMovies.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Part.html)** + * **[Parts](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -115,17 +115,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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")`. @@ -135,29 +135,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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/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-playmoviespartner1/1.0.2+20160518/google_playmoviespartner1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-playmoviespartner1/1.0.3+20160518/google_playmoviespartner1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/playmoviespartner1/src/cmn.rs b/gen/playmoviespartner1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/playmoviespartner1/src/cmn.rs +++ b/gen/playmoviespartner1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/playmoviespartner1/src/lib.rs b/gen/playmoviespartner1/src/lib.rs index 243e409cd1..17b7a33068 100644 --- a/gen/playmoviespartner1/src/lib.rs +++ b/gen/playmoviespartner1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Play Movies* crate version *1.0.2+20160518*, where *20160518* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Play Movies* crate version *1.0.3+20160518*, where *20160518* is the exact revision of the *playmoviespartner:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Play Movies* *v1* API can be found at the //! [official documentation site](https://developers.google.com/playmoviespartner/). diff --git a/gen/playmoviespartner1/src/lib.rs.in b/gen/playmoviespartner1/src/lib.rs.in index 23052b255d..a8a58cbf17 100644 --- a/gen/playmoviespartner1/src/lib.rs.in +++ b/gen/playmoviespartner1/src/lib.rs.in @@ -131,7 +131,7 @@ impl<'a, C, A> PlayMovies PlayMovies { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -140,7 +140,7 @@ impl<'a, C, A> PlayMovies } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/plus1-cli/Cargo.toml b/gen/plus1-cli/Cargo.toml index 1a35957e0a..1066d9d1be 100644 --- a/gen/plus1-cli/Cargo.toml +++ b/gen/plus1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plus1-cli" -version = "1.0.2+20161214" +version = "1.0.3+20161214" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plus1-cli" @@ -17,14 +17,15 @@ keywords = ["plus", "google", "cli"] name = "plus1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-plus1] path = "../plus1" -version = "1.0.2+20161214" +version = "1.0.3+20161214" optional = true default-features = false diff --git a/gen/plus1-cli/README.md b/gen/plus1-cli/README.md index ef7ff1d79d..b6180664d0 100644 --- a/gen/plus1-cli/README.md +++ b/gen/plus1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *plus* API at revision *20161214*. The CLI is at version *1.0.2*. +This documentation was generated from the *plus* API at revision *20161214*. The CLI is at version *1.0.3*. ```bash plus1 [options] diff --git a/gen/plus1-cli/mkdocs.yml b/gen/plus1-cli/mkdocs.yml index 1853291d35..6928cbf018 100644 --- a/gen/plus1-cli/mkdocs.yml +++ b/gen/plus1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plus v1.0.2+20161214 +site_name: plus v1.0.3+20161214 site_url: http://byron.github.io/google-apis-rs/google-plus1-cli site_description: A complete library to interact with plus (protocol v1) diff --git a/gen/plus1-cli/src/main.rs b/gen/plus1-cli/src/main.rs index 25a9295f7c..15fa837bbd 100644 --- a/gen/plus1-cli/src/main.rs +++ b/gen/plus1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -660,10 +661,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "plus1", @@ -673,10 +674,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -937,7 +938,7 @@ fn main() { let mut app = App::new("plus1") .author("Sebastian Thiel ") - .version("1.0.2+20161214") + .version("1.0.3+20161214") .about("Builds on top of the Google+ platform.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plus1_cli") .arg(Arg::with_name("url") diff --git a/gen/plus1/Cargo.toml b/gen/plus1/Cargo.toml index 97f99fdd36..7043b4d0dd 100644 --- a/gen/plus1/Cargo.toml +++ b/gen/plus1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-plus1" -version = "1.0.2+20161214" +version = "1.0.3+20161214" authors = ["Sebastian Thiel "] description = "A complete library to interact with plus (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plus1" homepage = "https://developers.google.com/+/api/" -documentation = "https://docs.rs/google-plus1/1.0.2+20161214" +documentation = "https://docs.rs/google-plus1/1.0.3+20161214" license = "MIT" keywords = ["plus", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/plus1/README.md b/gen/plus1/README.md index cd4621481a..aacd1e2d62 100644 --- a/gen/plus1/README.md +++ b/gen/plus1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-plus1` library allows access to all features of the *Google plus* service. -This documentation was generated from *plus* crate version *1.0.2+20161214*, where *20161214* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *plus* crate version *1.0.3+20161214*, where *20161214* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *plus* *v1* API can be found at the [official documentation site](https://developers.google.com/+/api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.Plus.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.Plus.html) ... -* [activities](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.Activity.html) - * [*get*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.ActivityGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.ActivityListCall.html) and [*search*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.ActivitySearchCall.html) -* [comments](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.Comment.html) - * [*get*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.CommentListCall.html) +* [activities](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.Activity.html) + * [*get*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.ActivityGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.ActivityListCall.html) and [*search*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.ActivitySearchCall.html) +* [comments](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.Comment.html) + * [*get*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.CommentGetCall.html) and [*list*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.CommentListCall.html) * people - * [*get*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.PeopleListByActivityCall.html) and [*search*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/struct.PeopleSearchCall.html) + * [*get*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.PeopleListByActivityCall.html) and [*search*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.PeopleSearchCall.html) @@ -27,17 +27,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-plus1/1.0.2+20161214/google_plus1/struct.Plus.html)** +* **[Hub](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/struct.Plus.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/trait.Part.html)** + * **[Parts](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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")`. @@ -144,29 +144,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-plus1/1.0.2+20161214/google_plus1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/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-plus1/1.0.3+20161214/google_plus1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-plus1/1.0.2+20161214/google_plus1/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-plus1/1.0.3+20161214/google_plus1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/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-plus1/1.0.2+20161214/google_plus1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-plus1/1.0.3+20161214/google_plus1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plus1/src/cmn.rs b/gen/plus1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/plus1/src/cmn.rs +++ b/gen/plus1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/plus1/src/lib.rs b/gen/plus1/src/lib.rs index a97ad8fec1..a3d386dfd4 100644 --- a/gen/plus1/src/lib.rs +++ b/gen/plus1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plus* crate version *1.0.2+20161214*, where *20161214* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *plus* crate version *1.0.3+20161214*, where *20161214* is the exact revision of the *plus:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *plus* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/api/). diff --git a/gen/plus1/src/lib.rs.in b/gen/plus1/src/lib.rs.in index 7edd2a7691..178e479bbc 100644 --- a/gen/plus1/src/lib.rs.in +++ b/gen/plus1/src/lib.rs.in @@ -146,7 +146,7 @@ impl<'a, C, A> Plus Plus { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -161,7 +161,7 @@ impl<'a, C, A> Plus } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/plusdomains1-cli/Cargo.toml b/gen/plusdomains1-cli/Cargo.toml index c35bb442f6..b84c47ed21 100644 --- a/gen/plusdomains1-cli/Cargo.toml +++ b/gen/plusdomains1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-plusdomains1-cli" -version = "1.0.2+20161214" +version = "1.0.3+20161214" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plusdomains1-cli" @@ -17,14 +17,15 @@ keywords = ["plusDomains", "google", "cli"] name = "plusdomains1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-plusdomains1] path = "../plusdomains1" -version = "1.0.2+20161214" +version = "1.0.3+20161214" optional = true default-features = false diff --git a/gen/plusdomains1-cli/README.md b/gen/plusdomains1-cli/README.md index 98537f5093..8e4ff37a3e 100644 --- a/gen/plusdomains1-cli/README.md +++ b/gen/plusdomains1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *plusDomains* API at revision *20161214*. The CLI is at version *1.0.2*. +This documentation was generated from the *plusDomains* API at revision *20161214*. The CLI is at version *1.0.3*. ```bash plusdomains1 [options] diff --git a/gen/plusdomains1-cli/mkdocs.yml b/gen/plusdomains1-cli/mkdocs.yml index 6f9ca3d73e..2f77da2284 100644 --- a/gen/plusdomains1-cli/mkdocs.yml +++ b/gen/plusdomains1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: plusDomains v1.0.2+20161214 +site_name: plusDomains v1.0.3+20161214 site_url: http://byron.github.io/google-apis-rs/google-plusdomains1-cli site_description: A complete library to interact with plusDomains (protocol v1) diff --git a/gen/plusdomains1-cli/src/main.rs b/gen/plusdomains1-cli/src/main.rs index 38bee24f5f..71f12ec34b 100644 --- a/gen/plusdomains1-cli/src/main.rs +++ b/gen/plusdomains1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1598,10 +1599,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "plusdomains1", @@ -1611,10 +1612,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2163,7 +2164,7 @@ fn main() { let mut app = App::new("plusdomains1") .author("Sebastian Thiel ") - .version("1.0.2+20161214") + .version("1.0.3+20161214") .about("Builds on top of the Google+ platform for Google Apps Domains.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_plusdomains1_cli") .arg(Arg::with_name("url") diff --git a/gen/plusdomains1/Cargo.toml b/gen/plusdomains1/Cargo.toml index fe5d475595..4b80d96c2e 100644 --- a/gen/plusdomains1/Cargo.toml +++ b/gen/plusdomains1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-plusdomains1" -version = "1.0.2+20161214" +version = "1.0.3+20161214" authors = ["Sebastian Thiel "] description = "A complete library to interact with plusDomains (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/plusdomains1" homepage = "https://developers.google.com/+/domains/" -documentation = "https://docs.rs/google-plusdomains1/1.0.2+20161214" +documentation = "https://docs.rs/google-plusdomains1/1.0.3+20161214" license = "MIT" keywords = ["plusDomains", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/plusdomains1/README.md b/gen/plusdomains1/README.md index d5445aa958..e3d14cddb7 100644 --- a/gen/plusdomains1/README.md +++ b/gen/plusdomains1/README.md @@ -5,31 +5,31 @@ DO NOT EDIT ! --> The `google-plusdomains1` library allows access to all features of the *Google plusDomains* service. -This documentation was generated from *plusDomains* crate version *1.0.2+20161214*, where *20161214* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *plusDomains* crate version *1.0.3+20161214*, where *20161214* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *plusDomains* *v1* API can be found at the [official documentation site](https://developers.google.com/+/domains/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PlusDomains.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PlusDomains.html) ... -* [activities](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.Activity.html) - * [*get*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.ActivityGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.ActivityListCall.html) -* [audiences](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.Audience.html) - * [*list*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.AudienceListCall.html) -* [circles](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.Circle.html) - * [*add people*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleAddPeopleCall.html), [*get*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleInsertCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleListCall.html), [*patch*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CirclePatchCall.html), [*remove*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleRemoveCall.html), [*remove people*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleRemovePeopleCall.html) and [*update*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CircleUpdateCall.html) -* [comments](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.Comment.html) - * [*get*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CommentInsertCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.CommentListCall.html) -* [media](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.Media.html) - * [*insert*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.MediaInsertCall.html) +* [activities](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.Activity.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.ActivityGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.ActivityListCall.html) +* [audiences](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.Audience.html) + * [*list*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.AudienceListCall.html) +* [circles](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.Circle.html) + * [*add people*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleAddPeopleCall.html), [*get*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleInsertCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleListCall.html), [*patch*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CirclePatchCall.html), [*remove*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleRemoveCall.html), [*remove people*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleRemovePeopleCall.html) and [*update*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CircleUpdateCall.html) +* [comments](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.Comment.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CommentGetCall.html), [*insert*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CommentInsertCall.html) and [*list*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.CommentListCall.html) +* [media](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.Media.html) + * [*insert*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.MediaInsertCall.html) * people - * [*get*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PeopleListByActivityCall.html) and [*list by circle*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PeopleListByCircleCall.html) + * [*get*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PeopleGetCall.html), [*list*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PeopleListCall.html), [*list by activity*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PeopleListByActivityCall.html) and [*list by circle*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PeopleListByCircleCall.html) Upload supported by ... -* [*insert media*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.MediaInsertCall.html) +* [*insert media*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.MediaInsertCall.html) @@ -37,17 +37,17 @@ Upload supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/struct.PlusDomains.html)** +* **[Hub](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/struct.PlusDomains.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Part.html)** + * **[Parts](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -138,17 +138,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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")`. @@ -158,29 +158,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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/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-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-plusdomains1/1.0.2+20161214/google_plusdomains1/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-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/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-plusdomains1/1.0.2+20161214/google_plusdomains1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-plusdomains1/1.0.3+20161214/google_plusdomains1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/plusdomains1/src/cmn.rs b/gen/plusdomains1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/plusdomains1/src/cmn.rs +++ b/gen/plusdomains1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/plusdomains1/src/lib.rs b/gen/plusdomains1/src/lib.rs index 3e5088d119..964d02f469 100644 --- a/gen/plusdomains1/src/lib.rs +++ b/gen/plusdomains1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *plusDomains* crate version *1.0.2+20161214*, where *20161214* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *plusDomains* crate version *1.0.3+20161214*, where *20161214* is the exact revision of the *plusDomains:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *plusDomains* *v1* API can be found at the //! [official documentation site](https://developers.google.com/+/domains/). diff --git a/gen/plusdomains1/src/lib.rs.in b/gen/plusdomains1/src/lib.rs.in index 97e5d71209..61eb9f9a22 100644 --- a/gen/plusdomains1/src/lib.rs.in +++ b/gen/plusdomains1/src/lib.rs.in @@ -169,7 +169,7 @@ impl<'a, C, A> PlusDomains PlusDomains { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -193,7 +193,7 @@ impl<'a, C, A> PlusDomains } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/prediction1d6-cli/Cargo.toml b/gen/prediction1d6-cli/Cargo.toml index 1c397f39ea..8f18b3005c 100644 --- a/gen/prediction1d6-cli/Cargo.toml +++ b/gen/prediction1d6-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-prediction1d6-cli" -version = "1.0.2+20160511" +version = "1.0.3+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/prediction1d6-cli" @@ -17,14 +17,15 @@ keywords = ["prediction", "google", "cli"] name = "prediction1d6" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-prediction1d6] path = "../prediction1d6" -version = "1.0.2+20160511" +version = "1.0.3+20160511" optional = true default-features = false diff --git a/gen/prediction1d6-cli/README.md b/gen/prediction1d6-cli/README.md index c40fb72fb0..c1dad34995 100644 --- a/gen/prediction1d6-cli/README.md +++ b/gen/prediction1d6-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *1.0.2*. +This documentation was generated from the *prediction* API at revision *20160511*. The CLI is at version *1.0.3*. ```bash prediction1d6 [options] diff --git a/gen/prediction1d6-cli/mkdocs.yml b/gen/prediction1d6-cli/mkdocs.yml index 21237aa2ea..6430bda541 100644 --- a/gen/prediction1d6-cli/mkdocs.yml +++ b/gen/prediction1d6-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: prediction v1.0.2+20160511 +site_name: prediction v1.0.3+20160511 site_url: http://byron.github.io/google-apis-rs/google-prediction1d6-cli site_description: A complete library to interact with prediction (protocol v1.6) diff --git a/gen/prediction1d6-cli/src/main.rs b/gen/prediction1d6-cli/src/main.rs index 1b71d44f6b..f5b356e243 100644 --- a/gen/prediction1d6-cli/src/main.rs +++ b/gen/prediction1d6-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -674,10 +675,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "prediction1d6", @@ -687,10 +688,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -962,7 +963,7 @@ fn main() { let mut app = App::new("prediction1d6") .author("Sebastian Thiel ") - .version("1.0.2+20160511") + .version("1.0.3+20160511") .about("Lets you access a cloud hosted machine learning service that makes it easy to build smart apps") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_prediction1d6_cli") .arg(Arg::with_name("url") diff --git a/gen/prediction1d6/Cargo.toml b/gen/prediction1d6/Cargo.toml index 0213e89f23..8c85efa2f8 100644 --- a/gen/prediction1d6/Cargo.toml +++ b/gen/prediction1d6/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-prediction1d6" -version = "1.0.2+20160511" +version = "1.0.3+20160511" authors = ["Sebastian Thiel "] description = "A complete library to interact with prediction (protocol v1.6)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/prediction1d6" homepage = "https://developers.google.com/prediction/docs/developer-guide" -documentation = "https://docs.rs/google-prediction1d6/1.0.2+20160511" +documentation = "https://docs.rs/google-prediction1d6/1.0.3+20160511" license = "MIT" keywords = ["prediction", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/prediction1d6/README.md b/gen/prediction1d6/README.md index 0eb2140e54..6dcdecc83a 100644 --- a/gen/prediction1d6/README.md +++ b/gen/prediction1d6/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-prediction1d6` library allows access to all features of the *Google prediction* service. -This documentation was generated from *prediction* crate version *1.0.2+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *prediction* crate version *1.0.3+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *prediction* *v1d6* API can be found at the [official documentation site](https://developers.google.com/prediction/docs/developer-guide). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.Prediction.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.Prediction.html) ... * hostedmodels - * [*predict*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.HostedmodelPredictCall.html) + * [*predict*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.HostedmodelPredictCall.html) * trainedmodels - * [*analyze*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelAnalyzeCall.html), [*delete*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelDeleteCall.html), [*get*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelGetCall.html), [*insert*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelInsertCall.html), [*list*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelListCall.html), [*predict*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelPredictCall.html) and [*update*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.TrainedmodelUpdateCall.html) + * [*analyze*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelAnalyzeCall.html), [*delete*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelDeleteCall.html), [*get*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelGetCall.html), [*insert*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelInsertCall.html), [*list*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelListCall.html), [*predict*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelPredictCall.html) and [*update*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.TrainedmodelUpdateCall.html) @@ -25,17 +25,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-prediction1d6/1.0.2+20160511/google_prediction1d6/struct.Prediction.html)** +* **[Hub](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/struct.Prediction.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Part.html)** + * **[Parts](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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")`. @@ -145,29 +145,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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/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-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.RequestValue.html) and -[decodable](https://docs.rs/google-prediction1d6/1.0.2+20160511/google_prediction1d6/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-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.RequestValue.html) and +[decodable](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/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-prediction1d6/1.0.2+20160511/google_prediction1d6/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-prediction1d6/1.0.3+20160511/google_prediction1d6/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/prediction1d6/src/cmn.rs b/gen/prediction1d6/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/prediction1d6/src/cmn.rs +++ b/gen/prediction1d6/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/prediction1d6/src/lib.rs b/gen/prediction1d6/src/lib.rs index d0e09778ad..a93f590fbc 100644 --- a/gen/prediction1d6/src/lib.rs +++ b/gen/prediction1d6/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *prediction* crate version *1.0.2+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *prediction* crate version *1.0.3+20160511*, where *20160511* is the exact revision of the *prediction:v1.6* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *prediction* *v1d6* API can be found at the //! [official documentation site](https://developers.google.com/prediction/docs/developer-guide). diff --git a/gen/prediction1d6/src/lib.rs.in b/gen/prediction1d6/src/lib.rs.in index ff075ec235..1f6f30b628 100644 --- a/gen/prediction1d6/src/lib.rs.in +++ b/gen/prediction1d6/src/lib.rs.in @@ -153,7 +153,7 @@ impl<'a, C, A> Prediction Prediction { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -165,7 +165,7 @@ impl<'a, C, A> Prediction } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/proximitybeacon1_beta1-cli/Cargo.toml b/gen/proximitybeacon1_beta1-cli/Cargo.toml index 4ffb2a7d69..bf6a8c351b 100644 --- a/gen/proximitybeacon1_beta1-cli/Cargo.toml +++ b/gen/proximitybeacon1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-proximitybeacon1_beta1-cli" -version = "1.0.2+20160429" +version = "1.0.3+20160429" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/proximitybeacon1_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["proximitybeacon", "google", "cli"] name = "proximitybeacon1-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-proximitybeacon1_beta1] path = "../proximitybeacon1_beta1" -version = "1.0.2+20160429" +version = "1.0.3+20160429" optional = true default-features = false diff --git a/gen/proximitybeacon1_beta1-cli/README.md b/gen/proximitybeacon1_beta1-cli/README.md index 46134bf72c..ae0e334f71 100644 --- a/gen/proximitybeacon1_beta1-cli/README.md +++ b/gen/proximitybeacon1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *proximitybeacon* API at revision *20160429*. The CLI is at version *1.0.2*. +This documentation was generated from the *proximitybeacon* API at revision *20160429*. The CLI is at version *1.0.3*. ```bash proximitybeacon1-beta1 [options] diff --git a/gen/proximitybeacon1_beta1-cli/mkdocs.yml b/gen/proximitybeacon1_beta1-cli/mkdocs.yml index 01831deff9..addc10fad1 100644 --- a/gen/proximitybeacon1_beta1-cli/mkdocs.yml +++ b/gen/proximitybeacon1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: proximitybeacon v1.0.2+20160429 +site_name: proximitybeacon v1.0.3+20160429 site_url: http://byron.github.io/google-apis-rs/google-proximitybeacon1_beta1-cli site_description: A complete library to interact with proximitybeacon (protocol v1beta1) diff --git a/gen/proximitybeacon1_beta1-cli/src/main.rs b/gen/proximitybeacon1_beta1-cli/src/main.rs index ef5fe8f10d..b5918acae1 100644 --- a/gen/proximitybeacon1_beta1-cli/src/main.rs +++ b/gen/proximitybeacon1_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1275,10 +1276,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "proximitybeacon1-beta1", @@ -1288,10 +1289,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1697,7 +1698,7 @@ fn main() { let mut app = App::new("proximitybeacon1-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20160429") + .version("1.0.3+20160429") .about("Registers, manages, indexes, and searches beacons.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_proximitybeacon1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/proximitybeacon1_beta1/Cargo.toml b/gen/proximitybeacon1_beta1/Cargo.toml index e66442012c..216df0cc96 100644 --- a/gen/proximitybeacon1_beta1/Cargo.toml +++ b/gen/proximitybeacon1_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-proximitybeacon1_beta1" -version = "1.0.2+20160429" +version = "1.0.3+20160429" authors = ["Sebastian Thiel "] description = "A complete library to interact with proximitybeacon (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/proximitybeacon1_beta1" homepage = "https://developers.google.com/beacons/proximity/" -documentation = "https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429" +documentation = "https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429" license = "MIT" keywords = ["proximitybeacon", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/proximitybeacon1_beta1/README.md b/gen/proximitybeacon1_beta1/README.md index 348c8392a1..f843589493 100644 --- a/gen/proximitybeacon1_beta1/README.md +++ b/gen/proximitybeacon1_beta1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-proximitybeacon1_beta1` library allows access to all features of the *Google proximitybeacon* service. -This documentation was generated from *proximitybeacon* crate version *1.0.2+20160429*, where *20160429* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *proximitybeacon* crate version *1.0.3+20160429*, where *20160429* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *proximitybeacon* *v1_beta1* API can be found at the [official documentation site](https://developers.google.com/beacons/proximity/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.Proximitybeacon.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.Proximitybeacon.html) ... * beaconinfo - * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconinfoGetforobservedCall.html) -* [beacons](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.Beacon.html) - * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconActivateCall.html), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentBatchDeleteCall.html), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentCreateCall.html), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentDeleteCall.html), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentListCall.html), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconDeactivateCall.html), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconDecommissionCall.html), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconDiagnosticListCall.html), [*get*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconGetCall.html), [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconListCall.html), [*register*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconRegisterCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.BeaconUpdateCall.html) -* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.Namespace.html) - * [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.NamespaceListCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.NamespaceUpdateCall.html) + * [*getforobserved*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconinfoGetforobservedCall.html) +* [beacons](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.Beacon.html) + * [*activate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconActivateCall.html), [*attachments batch delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentBatchDeleteCall.html), [*attachments create*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentCreateCall.html), [*attachments delete*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentDeleteCall.html), [*attachments list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconAttachmentListCall.html), [*deactivate*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconDeactivateCall.html), [*decommission*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconDecommissionCall.html), [*diagnostics list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconDiagnosticListCall.html), [*get*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconGetCall.html), [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconListCall.html), [*register*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconRegisterCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.BeaconUpdateCall.html) +* [namespaces](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.Namespace.html) + * [*list*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.NamespaceListCall.html) and [*update*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.NamespaceUpdateCall.html) Other activities are ... -* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.MethodGetEidparamCall.html) +* [get eidparams](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.MethodGetEidparamCall.html) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/struct.Proximitybeacon.html)** +* **[Hub](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/struct.Proximitybeacon.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -137,17 +137,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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")`. @@ -157,29 +157,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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/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-proximitybeacon1_beta1/1.0.2+20160429/google_proximitybeacon1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-proximitybeacon1_beta1/1.0.3+20160429/google_proximitybeacon1_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/proximitybeacon1_beta1/src/cmn.rs b/gen/proximitybeacon1_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/proximitybeacon1_beta1/src/cmn.rs +++ b/gen/proximitybeacon1_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/proximitybeacon1_beta1/src/lib.rs b/gen/proximitybeacon1_beta1/src/lib.rs index d3a1c26dc9..655ece44be 100644 --- a/gen/proximitybeacon1_beta1/src/lib.rs +++ b/gen/proximitybeacon1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *proximitybeacon* crate version *1.0.2+20160429*, where *20160429* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *proximitybeacon* crate version *1.0.3+20160429*, where *20160429* is the exact revision of the *proximitybeacon:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *proximitybeacon* *v1_beta1* API can be found at the //! [official documentation site](https://developers.google.com/beacons/proximity/). diff --git a/gen/proximitybeacon1_beta1/src/lib.rs.in b/gen/proximitybeacon1_beta1/src/lib.rs.in index d739eab580..e4a88716e4 100644 --- a/gen/proximitybeacon1_beta1/src/lib.rs.in +++ b/gen/proximitybeacon1_beta1/src/lib.rs.in @@ -135,7 +135,7 @@ impl<'a, C, A> Proximitybeacon Proximitybeacon { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -153,7 +153,7 @@ impl<'a, C, A> Proximitybeacon } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1-cli/Cargo.toml b/gen/pubsub1-cli/Cargo.toml index 09347097a8..68e68ed216 100644 --- a/gen/pubsub1-cli/Cargo.toml +++ b/gen/pubsub1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1-cli" -version = "1.0.2+20161122" +version = "1.0.3+20161122" authors = ["Sebastian Thiel "] description = "A complete library to interact with pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1-cli" @@ -17,14 +17,15 @@ keywords = ["pubsub", "google", "cli"] name = "pubsub1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-pubsub1] path = "../pubsub1" -version = "1.0.2+20161122" +version = "1.0.3+20161122" optional = true default-features = false diff --git a/gen/pubsub1-cli/README.md b/gen/pubsub1-cli/README.md index 49c380527c..74e963fb3d 100644 --- a/gen/pubsub1-cli/README.md +++ b/gen/pubsub1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *pubsub* API at revision *20161122*. The CLI is at version *1.0.2*. +This documentation was generated from the *pubsub* API at revision *20161122*. The CLI is at version *1.0.3*. ```bash pubsub1 [options] diff --git a/gen/pubsub1-cli/mkdocs.yml b/gen/pubsub1-cli/mkdocs.yml index 5fba1aab43..cd2efc1ea9 100644 --- a/gen/pubsub1-cli/mkdocs.yml +++ b/gen/pubsub1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pubsub v1.0.2+20161122 +site_name: pubsub v1.0.3+20161122 site_url: http://byron.github.io/google-apis-rs/google-pubsub1-cli site_description: A complete library to interact with pubsub (protocol v1) diff --git a/gen/pubsub1-cli/src/main.rs b/gen/pubsub1-cli/src/main.rs index 5359cfd98f..1118895f91 100644 --- a/gen/pubsub1-cli/src/main.rs +++ b/gen/pubsub1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1816,10 +1817,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "pubsub1", @@ -1829,10 +1830,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2545,7 +2546,7 @@ fn main() { let mut app = App::new("pubsub1") .author("Sebastian Thiel ") - .version("1.0.2+20161122") + .version("1.0.3+20161122") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_cli") diff --git a/gen/pubsub1/Cargo.toml b/gen/pubsub1/Cargo.toml index 9f2107b7a7..1415750fed 100644 --- a/gen/pubsub1/Cargo.toml +++ b/gen/pubsub1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-pubsub1" -version = "1.0.2+20161122" +version = "1.0.3+20161122" authors = ["Sebastian Thiel "] description = "A complete library to interact with pubsub (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1/1.0.2+20161122" +documentation = "https://docs.rs/google-pubsub1/1.0.3+20161122" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/pubsub1/README.md b/gen/pubsub1/README.md index 9d4ac3b76f..6b838d1084 100644 --- a/gen/pubsub1/README.md +++ b/gen/pubsub1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1` library allows access to all features of the *Google pubsub* service. -This documentation was generated from *pubsub* crate version *1.0.2+20161122*, where *20161122* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *pubsub* crate version *1.0.3+20161122*, where *20161122* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *pubsub* *v1* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.Pubsub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.Pubsub.html) ... * projects - * [*snapshots get iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSnapshotGetIamPolicyCall.html), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSnapshotSetIamPolicyCall.html), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSnapshotTestIamPermissionCall.html), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/struct.ProjectTopicTestIamPermissionCall.html) + * [*snapshots get iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSnapshotGetIamPolicyCall.html), [*snapshots set iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSnapshotSetIamPolicyCall.html), [*snapshots test iam permissions*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSnapshotTestIamPermissionCall.html), [*subscriptions acknowledge*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.ProjectTopicTestIamPermissionCall.html) @@ -23,17 +23,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-pubsub1/1.0.2+20161122/google_pubsub1/struct.Pubsub.html)** +* **[Hub](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/struct.Pubsub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/trait.Part.html)** + * **[Parts](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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")`. @@ -146,29 +146,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-pubsub1/1.0.2+20161122/google_pubsub1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/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-pubsub1/1.0.3+20161122/google_pubsub1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pubsub1/1.0.2+20161122/google_pubsub1/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-pubsub1/1.0.3+20161122/google_pubsub1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/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-pubsub1/1.0.2+20161122/google_pubsub1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pubsub1/1.0.3+20161122/google_pubsub1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1/src/cmn.rs b/gen/pubsub1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/pubsub1/src/cmn.rs +++ b/gen/pubsub1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/pubsub1/src/lib.rs b/gen/pubsub1/src/lib.rs index 42a378f105..bef256256b 100644 --- a/gen/pubsub1/src/lib.rs +++ b/gen/pubsub1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pubsub* crate version *1.0.2+20161122*, where *20161122* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *pubsub* crate version *1.0.3+20161122*, where *20161122* is the exact revision of the *pubsub:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *pubsub* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). diff --git a/gen/pubsub1/src/lib.rs.in b/gen/pubsub1/src/lib.rs.in index c974e96590..7b564f27a7 100644 --- a/gen/pubsub1/src/lib.rs.in +++ b/gen/pubsub1/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> Pubsub Pubsub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -150,7 +150,7 @@ impl<'a, C, A> Pubsub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/pubsub1_beta2-cli/Cargo.toml b/gen/pubsub1_beta2-cli/Cargo.toml index eb6e6fcd79..16c25cf6a8 100644 --- a/gen/pubsub1_beta2-cli/Cargo.toml +++ b/gen/pubsub1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-pubsub1_beta2-cli" -version = "1.0.2+20161122" +version = "1.0.3+20161122" authors = ["Sebastian Thiel "] description = "A complete library to interact with pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["pubsub", "google", "cli"] name = "pubsub1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-pubsub1_beta2] path = "../pubsub1_beta2" -version = "1.0.2+20161122" +version = "1.0.3+20161122" optional = true default-features = false diff --git a/gen/pubsub1_beta2-cli/README.md b/gen/pubsub1_beta2-cli/README.md index eaf877025c..e5097da856 100644 --- a/gen/pubsub1_beta2-cli/README.md +++ b/gen/pubsub1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *pubsub* API at revision *20161122*. The CLI is at version *1.0.2*. +This documentation was generated from the *pubsub* API at revision *20161122*. The CLI is at version *1.0.3*. ```bash pubsub1-beta2 [options] diff --git a/gen/pubsub1_beta2-cli/mkdocs.yml b/gen/pubsub1_beta2-cli/mkdocs.yml index 28e23af88c..73e4dcd562 100644 --- a/gen/pubsub1_beta2-cli/mkdocs.yml +++ b/gen/pubsub1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: pubsub v1.0.2+20161122 +site_name: pubsub v1.0.3+20161122 site_url: http://byron.github.io/google-apis-rs/google-pubsub1_beta2-cli site_description: A complete library to interact with pubsub (protocol v1beta2) diff --git a/gen/pubsub1_beta2-cli/src/main.rs b/gen/pubsub1_beta2-cli/src/main.rs index 7d5194902e..080f8ac4d3 100644 --- a/gen/pubsub1_beta2-cli/src/main.rs +++ b/gen/pubsub1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1585,10 +1586,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "pubsub1-beta2", @@ -1598,10 +1599,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -2212,7 +2213,7 @@ fn main() { let mut app = App::new("pubsub1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20161122") + .version("1.0.3+20161122") .about("Provides reliable, many-to-many, asynchronous messaging between applications. ") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_pubsub1_beta2_cli") diff --git a/gen/pubsub1_beta2/Cargo.toml b/gen/pubsub1_beta2/Cargo.toml index f327ddd5e7..25a7358805 100644 --- a/gen/pubsub1_beta2/Cargo.toml +++ b/gen/pubsub1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-pubsub1_beta2" -version = "1.0.2+20161122" +version = "1.0.3+20161122" authors = ["Sebastian Thiel "] description = "A complete library to interact with pubsub (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/pubsub1_beta2" homepage = "https://cloud.google.com/pubsub/docs" -documentation = "https://docs.rs/google-pubsub1_beta2/1.0.2+20161122" +documentation = "https://docs.rs/google-pubsub1_beta2/1.0.3+20161122" license = "MIT" keywords = ["pubsub", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/pubsub1_beta2/README.md b/gen/pubsub1_beta2/README.md index 4ea7e46256..b16cb4e5a8 100644 --- a/gen/pubsub1_beta2/README.md +++ b/gen/pubsub1_beta2/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-pubsub1_beta2` library allows access to all features of the *Google pubsub* service. -This documentation was generated from *pubsub* crate version *1.0.2+20161122*, where *20161122* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *pubsub* crate version *1.0.3+20161122*, where *20161122* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *pubsub* *v1_beta2* API can be found at the [official documentation site](https://cloud.google.com/pubsub/docs). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.Pubsub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.Pubsub.html) ... * projects - * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.ProjectTopicTestIamPermissionCall.html) + * [*subscriptions acknowledge*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionAcknowledgeCall.html), [*subscriptions create*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionCreateCall.html), [*subscriptions delete*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionDeleteCall.html), [*subscriptions get*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionGetCall.html), [*subscriptions get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionGetIamPolicyCall.html), [*subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionListCall.html), [*subscriptions modify ack deadline*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionModifyAckDeadlineCall.html), [*subscriptions modify push config*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionModifyPushConfigCall.html), [*subscriptions pull*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionPullCall.html), [*subscriptions set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionSetIamPolicyCall.html), [*subscriptions test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectSubscriptionTestIamPermissionCall.html), [*topics create*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicCreateCall.html), [*topics delete*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicDeleteCall.html), [*topics get*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicGetCall.html), [*topics get iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicGetIamPolicyCall.html), [*topics list*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicListCall.html), [*topics publish*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicPublishCall.html), [*topics set iam policy*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicSetIamPolicyCall.html), [*topics subscriptions list*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicSubscriptionListCall.html) and [*topics test iam permissions*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.ProjectTopicTestIamPermissionCall.html) @@ -23,17 +23,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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/struct.Pubsub.html)** +* **[Hub](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/struct.Pubsub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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")`. @@ -145,29 +145,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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/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-pubsub1_beta2/1.0.2+20161122/google_pubsub1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-pubsub1_beta2/1.0.3+20161122/google_pubsub1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/pubsub1_beta2/src/cmn.rs b/gen/pubsub1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/pubsub1_beta2/src/cmn.rs +++ b/gen/pubsub1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/pubsub1_beta2/src/lib.rs b/gen/pubsub1_beta2/src/lib.rs index 37b665f263..5633b8014a 100644 --- a/gen/pubsub1_beta2/src/lib.rs +++ b/gen/pubsub1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *pubsub* crate version *1.0.2+20161122*, where *20161122* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *pubsub* crate version *1.0.3+20161122*, where *20161122* is the exact revision of the *pubsub:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *pubsub* *v1_beta2* API can be found at the //! [official documentation site](https://cloud.google.com/pubsub/docs). diff --git a/gen/pubsub1_beta2/src/lib.rs.in b/gen/pubsub1_beta2/src/lib.rs.in index 32bada9c3c..6ed36d8f03 100644 --- a/gen/pubsub1_beta2/src/lib.rs.in +++ b/gen/pubsub1_beta2/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> Pubsub Pubsub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -150,7 +150,7 @@ impl<'a, C, A> Pubsub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/qpxexpress1-cli/Cargo.toml b/gen/qpxexpress1-cli/Cargo.toml index 8e58a7edeb..29eb2a6540 100644 --- a/gen/qpxexpress1-cli/Cargo.toml +++ b/gen/qpxexpress1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-qpxexpress1-cli" -version = "1.0.2+20160708" +version = "1.0.3+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/qpxexpress1-cli" @@ -17,14 +17,15 @@ keywords = ["qpxExpress", "google", "cli"] name = "qpxexpress1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-qpxexpress1] path = "../qpxexpress1" -version = "1.0.2+20160708" +version = "1.0.3+20160708" optional = true default-features = false diff --git a/gen/qpxexpress1-cli/README.md b/gen/qpxexpress1-cli/README.md index b5d339db3a..f23f15efa5 100644 --- a/gen/qpxexpress1-cli/README.md +++ b/gen/qpxexpress1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *1.0.2*. +This documentation was generated from the *QPX Express* API at revision *20160708*. The CLI is at version *1.0.3*. ```bash qpxexpress1 [options] diff --git a/gen/qpxexpress1-cli/mkdocs.yml b/gen/qpxexpress1-cli/mkdocs.yml index 668829f180..c35b55531f 100644 --- a/gen/qpxexpress1-cli/mkdocs.yml +++ b/gen/qpxexpress1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: QPX Express v1.0.2+20160708 +site_name: QPX Express v1.0.3+20160708 site_url: http://byron.github.io/google-apis-rs/google-qpxexpress1-cli site_description: A complete library to interact with QPX Express (protocol v1) diff --git a/gen/qpxexpress1-cli/src/main.rs b/gen/qpxexpress1-cli/src/main.rs index f41a720914..75dda4bfba 100644 --- a/gen/qpxexpress1-cli/src/main.rs +++ b/gen/qpxexpress1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -187,10 +188,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "qpxexpress1", @@ -200,10 +201,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -264,7 +265,7 @@ fn main() { let mut app = App::new("qpxexpress1") .author("Sebastian Thiel ") - .version("1.0.2+20160708") + .version("1.0.3+20160708") .about("Finds the least expensive flights between an origin and a destination.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_qpxexpress1_cli") .arg(Arg::with_name("folder") diff --git a/gen/qpxexpress1/Cargo.toml b/gen/qpxexpress1/Cargo.toml index ac4c11f115..8998151eb6 100644 --- a/gen/qpxexpress1/Cargo.toml +++ b/gen/qpxexpress1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-qpxexpress1" -version = "1.0.2+20160708" +version = "1.0.3+20160708" authors = ["Sebastian Thiel "] description = "A complete library to interact with QPX Express (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/qpxexpress1" homepage = "http://developers.google.com/qpx-express" -documentation = "https://docs.rs/google-qpxexpress1/1.0.2+20160708" +documentation = "https://docs.rs/google-qpxexpress1/1.0.3+20160708" license = "MIT" keywords = ["qpxExpress", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/qpxexpress1/README.md b/gen/qpxexpress1/README.md index dc9bdeeeb7..3aeb2c262a 100644 --- a/gen/qpxexpress1/README.md +++ b/gen/qpxexpress1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-qpxexpress1` library allows access to all features of the *Google QPX Express* service. -This documentation was generated from *QPX Express* crate version *1.0.2+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *QPX Express* crate version *1.0.3+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *QPX Express* *v1* API can be found at the [official documentation site](http://developers.google.com/qpx-express). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/struct.QPXExpress.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/struct.QPXExpress.html) ... * trips - * [*search*](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/struct.TripSearchCall.html) + * [*search*](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/struct.TripSearchCall.html) @@ -23,17 +23,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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/struct.QPXExpress.html)** +* **[Hub](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/struct.QPXExpress.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Part.html)** + * **[Parts](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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")`. @@ -141,29 +141,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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/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-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-qpxexpress1/1.0.2+20160708/google_qpxexpress1/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-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/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-qpxexpress1/1.0.2+20160708/google_qpxexpress1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-qpxexpress1/1.0.3+20160708/google_qpxexpress1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/qpxexpress1/src/cmn.rs b/gen/qpxexpress1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/qpxexpress1/src/cmn.rs +++ b/gen/qpxexpress1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/qpxexpress1/src/lib.rs b/gen/qpxexpress1/src/lib.rs index d906b59d1f..9257145eae 100644 --- a/gen/qpxexpress1/src/lib.rs +++ b/gen/qpxexpress1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *QPX Express* crate version *1.0.2+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *QPX Express* crate version *1.0.3+20160708*, where *20160708* is the exact revision of the *qpxExpress:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *QPX Express* *v1* API can be found at the //! [official documentation site](http://developers.google.com/qpx-express). diff --git a/gen/qpxexpress1/src/lib.rs.in b/gen/qpxexpress1/src/lib.rs.in index caa3f9e0a4..5a8568d9ad 100644 --- a/gen/qpxexpress1/src/lib.rs.in +++ b/gen/qpxexpress1/src/lib.rs.in @@ -115,7 +115,7 @@ impl<'a, C, A> QPXExpress QPXExpress { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -124,7 +124,7 @@ impl<'a, C, A> QPXExpress } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapool1_beta2-cli/Cargo.toml b/gen/replicapool1_beta2-cli/Cargo.toml index 53a6809078..d73e7e2536 100644 --- a/gen/replicapool1_beta2-cli/Cargo.toml +++ b/gen/replicapool1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapool1_beta2-cli" -version = "1.0.2+20160512" +version = "1.0.3+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapool1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["replicapool", "google", "cli"] name = "replicapool1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-replicapool1_beta2] path = "../replicapool1_beta2" -version = "1.0.2+20160512" +version = "1.0.3+20160512" optional = true default-features = false diff --git a/gen/replicapool1_beta2-cli/README.md b/gen/replicapool1_beta2-cli/README.md index 67af22f0fd..1d956ba6c3 100644 --- a/gen/replicapool1_beta2-cli/README.md +++ b/gen/replicapool1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *1.0.2*. +This documentation was generated from the *replicapool* API at revision *20160512*. The CLI is at version *1.0.3*. ```bash replicapool1-beta2 [options] diff --git a/gen/replicapool1_beta2-cli/mkdocs.yml b/gen/replicapool1_beta2-cli/mkdocs.yml index e7969f60dd..1f543565a7 100644 --- a/gen/replicapool1_beta2-cli/mkdocs.yml +++ b/gen/replicapool1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapool v1.0.2+20160512 +site_name: replicapool v1.0.3+20160512 site_url: http://byron.github.io/google-apis-rs/google-replicapool1_beta2-cli site_description: A complete library to interact with replicapool (protocol v1beta2) diff --git a/gen/replicapool1_beta2-cli/src/main.rs b/gen/replicapool1_beta2-cli/src/main.rs index 8346ea880e..6c710da760 100644 --- a/gen/replicapool1_beta2-cli/src/main.rs +++ b/gen/replicapool1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -993,10 +994,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "replicapool1-beta2", @@ -1006,10 +1007,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1489,7 +1490,7 @@ fn main() { let mut app = App::new("replicapool1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20160512") + .version("1.0.3+20160512") .about("[Deprecated. Please use Instance Group Manager in Compute API] Provides groups of homogenous Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapool1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapool1_beta2/Cargo.toml b/gen/replicapool1_beta2/Cargo.toml index c83b8f12bf..cbc2ba5204 100644 --- a/gen/replicapool1_beta2/Cargo.toml +++ b/gen/replicapool1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-replicapool1_beta2" -version = "1.0.2+20160512" +version = "1.0.3+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapool (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapool1_beta2" homepage = "https://developers.google.com/compute/docs/instance-groups/manager/v1beta2" -documentation = "https://docs.rs/google-replicapool1_beta2/1.0.2+20160512" +documentation = "https://docs.rs/google-replicapool1_beta2/1.0.3+20160512" license = "MIT" keywords = ["replicapool", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/replicapool1_beta2/README.md b/gen/replicapool1_beta2/README.md index 79445767a2..b523c281de 100644 --- a/gen/replicapool1_beta2/README.md +++ b/gen/replicapool1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapool1_beta2` library allows access to all features of the *Google replicapool* service. -This documentation was generated from *replicapool* crate version *1.0.2+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *replicapool* crate version *1.0.3+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *replicapool* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.Replicapool.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.Replicapool.html) ... -* [instance group managers](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManager.html) - * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerListCall.html), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetTargetPoolCall.html) +* [instance group managers](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManager.html) + * [*abandon instances*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerAbandonInstanceCall.html), [*delete*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteCall.html), [*delete instances*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerDeleteInstanceCall.html), [*get*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerGetCall.html), [*insert*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerInsertCall.html), [*list*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerListCall.html), [*recreate instances*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerRecreateInstanceCall.html), [*resize*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerResizeCall.html), [*set instance template*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetInstanceTemplateCall.html) and [*set target pools*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.InstanceGroupManagerSetTargetPoolCall.html) * zone operations - * [*get*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.ZoneOperationListCall.html) @@ -25,17 +25,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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/struct.Replicapool.html)** +* **[Hub](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/struct.Replicapool.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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")`. @@ -149,29 +149,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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/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-replicapool1_beta2/1.0.2+20160512/google_replicapool1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-replicapool1_beta2/1.0.3+20160512/google_replicapool1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapool1_beta2/src/cmn.rs b/gen/replicapool1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/replicapool1_beta2/src/cmn.rs +++ b/gen/replicapool1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/replicapool1_beta2/src/lib.rs b/gen/replicapool1_beta2/src/lib.rs index 5ae2ec349c..b78a01dc3d 100644 --- a/gen/replicapool1_beta2/src/lib.rs +++ b/gen/replicapool1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapool* crate version *1.0.2+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *replicapool* crate version *1.0.3+20160512*, where *20160512* is the exact revision of the *replicapool:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *replicapool* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/docs/instance-groups/manager/v1beta2). diff --git a/gen/replicapool1_beta2/src/lib.rs.in b/gen/replicapool1_beta2/src/lib.rs.in index 3187fde063..3bf80b61de 100644 --- a/gen/replicapool1_beta2/src/lib.rs.in +++ b/gen/replicapool1_beta2/src/lib.rs.in @@ -146,7 +146,7 @@ impl<'a, C, A> Replicapool Replicapool { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -158,7 +158,7 @@ impl<'a, C, A> Replicapool } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/replicapoolupdater1_beta1-cli/Cargo.toml b/gen/replicapoolupdater1_beta1-cli/Cargo.toml index a0d50a0290..d43f5a8610 100644 --- a/gen/replicapoolupdater1_beta1-cli/Cargo.toml +++ b/gen/replicapoolupdater1_beta1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-replicapoolupdater1_beta1-cli" -version = "1.0.2+20161003" +version = "1.0.3+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapoolupdater1_beta1-cli" @@ -17,14 +17,15 @@ keywords = ["replicapoolupdater", "google", "cli"] name = "replicapoolupdater1-beta1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-replicapoolupdater1_beta1] path = "../replicapoolupdater1_beta1" -version = "1.0.2+20161003" +version = "1.0.3+20161003" optional = true default-features = false diff --git a/gen/replicapoolupdater1_beta1-cli/README.md b/gen/replicapoolupdater1_beta1-cli/README.md index 43d3bf5003..b518c40f7c 100644 --- a/gen/replicapoolupdater1_beta1-cli/README.md +++ b/gen/replicapoolupdater1_beta1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *1.0.2*. +This documentation was generated from the *replicapoolupdater* API at revision *20161003*. The CLI is at version *1.0.3*. ```bash replicapoolupdater1-beta1 [options] diff --git a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml index 28d3cbfd2b..517db5b95c 100644 --- a/gen/replicapoolupdater1_beta1-cli/mkdocs.yml +++ b/gen/replicapoolupdater1_beta1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: replicapoolupdater v1.0.2+20161003 +site_name: replicapoolupdater v1.0.3+20161003 site_url: http://byron.github.io/google-apis-rs/google-replicapoolupdater1_beta1-cli site_description: A complete library to interact with replicapoolupdater (protocol v1beta1) diff --git a/gen/replicapoolupdater1_beta1-cli/src/main.rs b/gen/replicapoolupdater1_beta1-cli/src/main.rs index 5a289bd7f8..8f9668ab61 100644 --- a/gen/replicapoolupdater1_beta1-cli/src/main.rs +++ b/gen/replicapoolupdater1_beta1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -731,10 +732,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "replicapoolupdater1-beta1", @@ -744,10 +745,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1117,7 +1118,7 @@ fn main() { let mut app = App::new("replicapoolupdater1-beta1") .author("Sebastian Thiel ") - .version("1.0.2+20161003") + .version("1.0.3+20161003") .about("[Deprecated. Please use compute.instanceGroupManagers.update method. replicapoolupdater API will be disabled after December 30th, 2016] Updates groups of Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_replicapoolupdater1_beta1_cli") .arg(Arg::with_name("url") diff --git a/gen/replicapoolupdater1_beta1/Cargo.toml b/gen/replicapoolupdater1_beta1/Cargo.toml index a74aa33336..acaaf1c080 100644 --- a/gen/replicapoolupdater1_beta1/Cargo.toml +++ b/gen/replicapoolupdater1_beta1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-replicapoolupdater1_beta1" -version = "1.0.2+20161003" +version = "1.0.3+20161003" authors = ["Sebastian Thiel "] description = "A complete library to interact with replicapoolupdater (protocol v1beta1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/replicapoolupdater1_beta1" homepage = "https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service" -documentation = "https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003" +documentation = "https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003" license = "MIT" keywords = ["replicapoolupdater", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/replicapoolupdater1_beta1/README.md b/gen/replicapoolupdater1_beta1/README.md index 726e4752f0..aaeaadf561 100644 --- a/gen/replicapoolupdater1_beta1/README.md +++ b/gen/replicapoolupdater1_beta1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-replicapoolupdater1_beta1` library allows access to all features of the *Google replicapoolupdater* service. -This documentation was generated from *replicapoolupdater* crate version *1.0.2+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *replicapoolupdater* crate version *1.0.3+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html) ... -* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdate.html) - * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateCancelCall.html), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateGetCall.html), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateInsertCall.html), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListCall.html), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListInstanceUpdateCall.html), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdatePauseCall.html), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateResumeCall.html) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateRollbackCall.html) +* [rolling updates](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdate.html) + * [*cancel*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateCancelCall.html), [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateGetCall.html), [*insert*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateInsertCall.html), [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListCall.html), [*list instance updates*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateListInstanceUpdateCall.html), [*pause*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdatePauseCall.html), [*resume*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateResumeCall.html) and [*rollback*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.RollingUpdateRollbackCall.html) * zone operations - * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.ZoneOperationListCall.html) @@ -25,17 +25,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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html)** +* **[Hub](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/struct.Replicapoolupdater.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Part.html)** + * **[Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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 +147,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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/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-replicapoolupdater1_beta1/1.0.2+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-replicapoolupdater1_beta1/1.0.3+20161003/google_replicapoolupdater1_beta1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/replicapoolupdater1_beta1/src/cmn.rs b/gen/replicapoolupdater1_beta1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/replicapoolupdater1_beta1/src/cmn.rs +++ b/gen/replicapoolupdater1_beta1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs b/gen/replicapoolupdater1_beta1/src/lib.rs index 99dc72e093..316c57a9c8 100644 --- a/gen/replicapoolupdater1_beta1/src/lib.rs +++ b/gen/replicapoolupdater1_beta1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *replicapoolupdater* crate version *1.0.2+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *replicapoolupdater* crate version *1.0.3+20161003*, where *20161003* is the exact revision of the *replicapoolupdater:v1beta1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *replicapoolupdater* *v1_beta1* API can be found at the //! [official documentation site](https://cloud.google.com/compute/docs/instance-groups/manager/#applying_rolling_updates_using_the_updater_service). diff --git a/gen/replicapoolupdater1_beta1/src/lib.rs.in b/gen/replicapoolupdater1_beta1/src/lib.rs.in index 6d4f6226ef..efd859bbc9 100644 --- a/gen/replicapoolupdater1_beta1/src/lib.rs.in +++ b/gen/replicapoolupdater1_beta1/src/lib.rs.in @@ -146,7 +146,7 @@ impl<'a, C, A> Replicapoolupdater Replicapoolupdater { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -158,7 +158,7 @@ impl<'a, C, A> Replicapoolupdater } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/reseller1_sandbox-cli/Cargo.toml b/gen/reseller1_sandbox-cli/Cargo.toml index 0c91d19ec2..f73471080d 100644 --- a/gen/reseller1_sandbox-cli/Cargo.toml +++ b/gen/reseller1_sandbox-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-reseller1_sandbox-cli" -version = "1.0.2+20160329" +version = "1.0.3+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/reseller1_sandbox-cli" @@ -17,14 +17,15 @@ keywords = ["reseller", "google", "cli"] name = "reseller1-sandbox" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-reseller1_sandbox] path = "../reseller1_sandbox" -version = "1.0.2+20160329" +version = "1.0.3+20160329" optional = true default-features = false diff --git a/gen/reseller1_sandbox-cli/README.md b/gen/reseller1_sandbox-cli/README.md index 8cbc72eb41..7a63c8e2f7 100644 --- a/gen/reseller1_sandbox-cli/README.md +++ b/gen/reseller1_sandbox-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *1.0.2*. +This documentation was generated from the *reseller* API at revision *20160329*. The CLI is at version *1.0.3*. ```bash reseller1-sandbox [options] diff --git a/gen/reseller1_sandbox-cli/mkdocs.yml b/gen/reseller1_sandbox-cli/mkdocs.yml index d5f78b8234..08a0857a8b 100644 --- a/gen/reseller1_sandbox-cli/mkdocs.yml +++ b/gen/reseller1_sandbox-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: reseller v1.0.2+20160329 +site_name: reseller v1.0.3+20160329 site_url: http://byron.github.io/google-apis-rs/google-reseller1_sandbox-cli site_description: A complete library to interact with reseller (protocol v1sandbox) diff --git a/gen/reseller1_sandbox-cli/src/main.rs b/gen/reseller1_sandbox-cli/src/main.rs index de89178f8d..5a67dff167 100644 --- a/gen/reseller1_sandbox-cli/src/main.rs +++ b/gen/reseller1_sandbox-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1201,10 +1202,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "reseller1-sandbox", @@ -1214,10 +1215,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1645,7 +1646,7 @@ fn main() { let mut app = App::new("reseller1-sandbox") .author("Sebastian Thiel ") - .version("1.0.2+20160329") + .version("1.0.3+20160329") .about("Creates and manages your customers and their subscriptions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_reseller1_sandbox_cli") .arg(Arg::with_name("url") diff --git a/gen/reseller1_sandbox/Cargo.toml b/gen/reseller1_sandbox/Cargo.toml index 257b0d857f..7cafbdb08a 100644 --- a/gen/reseller1_sandbox/Cargo.toml +++ b/gen/reseller1_sandbox/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-reseller1_sandbox" -version = "1.0.2+20160329" +version = "1.0.3+20160329" authors = ["Sebastian Thiel "] description = "A complete library to interact with reseller (protocol v1sandbox)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/reseller1_sandbox" homepage = "https://developers.google.com/google-apps/reseller/" -documentation = "https://docs.rs/google-reseller1_sandbox/1.0.2+20160329" +documentation = "https://docs.rs/google-reseller1_sandbox/1.0.3+20160329" license = "MIT" keywords = ["reseller", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/reseller1_sandbox/README.md b/gen/reseller1_sandbox/README.md index 1049c8eac9..b76b5cb097 100644 --- a/gen/reseller1_sandbox/README.md +++ b/gen/reseller1_sandbox/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-reseller1_sandbox` library allows access to all features of the *Google reseller* service. -This documentation was generated from *reseller* crate version *1.0.2+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *reseller* crate version *1.0.3+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *reseller* *v1_sandbox* API can be found at the [official documentation site](https://developers.google.com/google-apps/reseller/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.Reseller.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.Reseller.html) ... -* [customers](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.Customer.html) - * [*get*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.CustomerGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.CustomerInsertCall.html), [*patch*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.CustomerUpdateCall.html) -* [subscriptions](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.Subscription.html) - * [*activate*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionActivateCall.html), [*change plan*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionChangePlanCall.html), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionChangeRenewalSettingCall.html), [*change seats*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionChangeSeatCall.html), [*delete*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionDeleteCall.html), [*get*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionListCall.html), [*start paid service*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionStartPaidServiceCall.html) and [*suspend*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.SubscriptionSuspendCall.html) +* [customers](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.Customer.html) + * [*get*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.CustomerGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.CustomerInsertCall.html), [*patch*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.CustomerPatchCall.html) and [*update*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.CustomerUpdateCall.html) +* [subscriptions](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.Subscription.html) + * [*activate*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionActivateCall.html), [*change plan*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionChangePlanCall.html), [*change renewal settings*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionChangeRenewalSettingCall.html), [*change seats*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionChangeSeatCall.html), [*delete*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionDeleteCall.html), [*get*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionGetCall.html), [*insert*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionInsertCall.html), [*list*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionListCall.html), [*start paid service*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionStartPaidServiceCall.html) and [*suspend*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.SubscriptionSuspendCall.html) @@ -25,17 +25,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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/struct.Reseller.html)** +* **[Hub](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/struct.Reseller.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Part.html)** + * **[Parts](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -131,17 +131,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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")`. @@ -151,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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.RequestValue.html) and -[decodable](https://docs.rs/google-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.RequestValue.html) and +[decodable](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/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-reseller1_sandbox/1.0.2+20160329/google_reseller1_sandbox/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-reseller1_sandbox/1.0.3+20160329/google_reseller1_sandbox/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/reseller1_sandbox/src/cmn.rs b/gen/reseller1_sandbox/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/reseller1_sandbox/src/cmn.rs +++ b/gen/reseller1_sandbox/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/reseller1_sandbox/src/lib.rs b/gen/reseller1_sandbox/src/lib.rs index 68a1d265e8..8fda7089cd 100644 --- a/gen/reseller1_sandbox/src/lib.rs +++ b/gen/reseller1_sandbox/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *reseller* crate version *1.0.2+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *reseller* crate version *1.0.3+20160329*, where *20160329* is the exact revision of the *reseller:v1sandbox* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *reseller* *v1_sandbox* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/reseller/). diff --git a/gen/reseller1_sandbox/src/lib.rs.in b/gen/reseller1_sandbox/src/lib.rs.in index 50d8c660a0..28d0593874 100644 --- a/gen/reseller1_sandbox/src/lib.rs.in +++ b/gen/reseller1_sandbox/src/lib.rs.in @@ -140,7 +140,7 @@ impl<'a, C, A> Reseller Reseller { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -152,7 +152,7 @@ impl<'a, C, A> Reseller } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/resourceviews1_beta2-cli/Cargo.toml b/gen/resourceviews1_beta2-cli/Cargo.toml index b707e805cf..125e7ea02e 100644 --- a/gen/resourceviews1_beta2-cli/Cargo.toml +++ b/gen/resourceviews1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-resourceviews1_beta2-cli" -version = "1.0.2+20160512" +version = "1.0.3+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/resourceviews1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["resourceviews", "google", "cli"] name = "resourceviews1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-resourceviews1_beta2] path = "../resourceviews1_beta2" -version = "1.0.2+20160512" +version = "1.0.3+20160512" optional = true default-features = false diff --git a/gen/resourceviews1_beta2-cli/README.md b/gen/resourceviews1_beta2-cli/README.md index 107f396e01..e58fbc2031 100644 --- a/gen/resourceviews1_beta2-cli/README.md +++ b/gen/resourceviews1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *1.0.2*. +This documentation was generated from the *resourceviews* API at revision *20160512*. The CLI is at version *1.0.3*. ```bash resourceviews1-beta2 [options] diff --git a/gen/resourceviews1_beta2-cli/mkdocs.yml b/gen/resourceviews1_beta2-cli/mkdocs.yml index b8d2d9ba37..c8d2002bb9 100644 --- a/gen/resourceviews1_beta2-cli/mkdocs.yml +++ b/gen/resourceviews1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: resourceviews v1.0.2+20160512 +site_name: resourceviews v1.0.3+20160512 site_url: http://byron.github.io/google-apis-rs/google-resourceviews1_beta2-cli site_description: A complete library to interact with resourceviews (protocol v1beta2) diff --git a/gen/resourceviews1_beta2-cli/src/main.rs b/gen/resourceviews1_beta2-cli/src/main.rs index f650305fe6..6363d7b00c 100644 --- a/gen/resourceviews1_beta2-cli/src/main.rs +++ b/gen/resourceviews1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -884,10 +885,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "resourceviews1-beta2", @@ -897,10 +898,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1322,7 +1323,7 @@ fn main() { let mut app = App::new("resourceviews1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20160512") + .version("1.0.3+20160512") .about("The Resource View API allows users to create and manage logical sets of Google Compute Engine instances.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_resourceviews1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/resourceviews1_beta2/Cargo.toml b/gen/resourceviews1_beta2/Cargo.toml index 6754e71c3e..a3c6430c89 100644 --- a/gen/resourceviews1_beta2/Cargo.toml +++ b/gen/resourceviews1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-resourceviews1_beta2" -version = "1.0.2+20160512" +version = "1.0.3+20160512" authors = ["Sebastian Thiel "] description = "A complete library to interact with resourceviews (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/resourceviews1_beta2" homepage = "https://developers.google.com/compute/" -documentation = "https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512" +documentation = "https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512" license = "MIT" keywords = ["resourceviews", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/resourceviews1_beta2/README.md b/gen/resourceviews1_beta2/README.md index abab7034d8..ec767f737e 100644 --- a/gen/resourceviews1_beta2/README.md +++ b/gen/resourceviews1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-resourceviews1_beta2` library allows access to all features of the *Google resourceviews* service. -This documentation was generated from *resourceviews* crate version *1.0.2+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *resourceviews* crate version *1.0.3+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *resourceviews* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/compute/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.Resourceviews.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.Resourceviews.html) ... * zone operations - * [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneOperationListCall.html) + * [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneOperationGetCall.html) and [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneOperationListCall.html) * zone views - * [*add resources*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewAddResourceCall.html), [*delete*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewDeleteCall.html), [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewGetCall.html), [*get service*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewGetServiceCall.html), [*insert*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewInsertCall.html), [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewListCall.html), [*list resources*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewListResourceCall.html), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewRemoveResourceCall.html) and [*set service*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.ZoneViewSetServiceCall.html) + * [*add resources*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewAddResourceCall.html), [*delete*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewDeleteCall.html), [*get*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewGetCall.html), [*get service*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewGetServiceCall.html), [*insert*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewInsertCall.html), [*list*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewListCall.html), [*list resources*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewListResourceCall.html), [*remove resources*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewRemoveResourceCall.html) and [*set service*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.ZoneViewSetServiceCall.html) @@ -25,17 +25,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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/struct.Resourceviews.html)** +* **[Hub](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/struct.Resourceviews.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -128,17 +128,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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")`. @@ -148,29 +148,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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/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-resourceviews1_beta2/1.0.2+20160512/google_resourceviews1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-resourceviews1_beta2/1.0.3+20160512/google_resourceviews1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/resourceviews1_beta2/src/cmn.rs b/gen/resourceviews1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/resourceviews1_beta2/src/cmn.rs +++ b/gen/resourceviews1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/resourceviews1_beta2/src/lib.rs b/gen/resourceviews1_beta2/src/lib.rs index db7b56b3ae..9bd762a1d2 100644 --- a/gen/resourceviews1_beta2/src/lib.rs +++ b/gen/resourceviews1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *resourceviews* crate version *1.0.2+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *resourceviews* crate version *1.0.3+20160512*, where *20160512* is the exact revision of the *resourceviews:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *resourceviews* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/compute/). diff --git a/gen/resourceviews1_beta2/src/lib.rs.in b/gen/resourceviews1_beta2/src/lib.rs.in index 38c6109e3a..0baf96fc7d 100644 --- a/gen/resourceviews1_beta2/src/lib.rs.in +++ b/gen/resourceviews1_beta2/src/lib.rs.in @@ -157,7 +157,7 @@ impl<'a, C, A> Resourceviews Resourceviews { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -169,7 +169,7 @@ impl<'a, C, A> Resourceviews } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/safebrowsing4-cli/Cargo.toml b/gen/safebrowsing4-cli/Cargo.toml index f1ad4f08b8..4793200bb1 100644 --- a/gen/safebrowsing4-cli/Cargo.toml +++ b/gen/safebrowsing4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-safebrowsing4-cli" -version = "1.0.2+20160520" +version = "1.0.3+20160520" authors = ["Sebastian Thiel "] description = "A complete library to interact with safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/safebrowsing4-cli" @@ -17,14 +17,15 @@ keywords = ["safebrowsing", "google", "cli"] name = "safebrowsing4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-safebrowsing4] path = "../safebrowsing4" -version = "1.0.2+20160520" +version = "1.0.3+20160520" optional = true default-features = false diff --git a/gen/safebrowsing4-cli/README.md b/gen/safebrowsing4-cli/README.md index 7f28684cfb..6154ad4998 100644 --- a/gen/safebrowsing4-cli/README.md +++ b/gen/safebrowsing4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *safebrowsing* API at revision *20160520*. The CLI is at version *1.0.2*. +This documentation was generated from the *safebrowsing* API at revision *20160520*. The CLI is at version *1.0.3*. ```bash safebrowsing4 [options] diff --git a/gen/safebrowsing4-cli/mkdocs.yml b/gen/safebrowsing4-cli/mkdocs.yml index 5d23dac7c5..04a07f0f73 100644 --- a/gen/safebrowsing4-cli/mkdocs.yml +++ b/gen/safebrowsing4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: safebrowsing v1.0.2+20160520 +site_name: safebrowsing v1.0.3+20160520 site_url: http://byron.github.io/google-apis-rs/google-safebrowsing4-cli site_description: A complete library to interact with safebrowsing (protocol v4) diff --git a/gen/safebrowsing4-cli/src/main.rs b/gen/safebrowsing4-cli/src/main.rs index f2b8bdc262..cf4f720dc9 100644 --- a/gen/safebrowsing4-cli/src/main.rs +++ b/gen/safebrowsing4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -433,10 +434,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "safebrowsing4", @@ -446,10 +447,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -583,7 +584,7 @@ fn main() { let mut app = App::new("safebrowsing4") .author("Sebastian Thiel ") - .version("1.0.2+20160520") + .version("1.0.3+20160520") .about("Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_safebrowsing4_cli") .arg(Arg::with_name("folder") diff --git a/gen/safebrowsing4/Cargo.toml b/gen/safebrowsing4/Cargo.toml index 8d4605a53c..6822dada48 100644 --- a/gen/safebrowsing4/Cargo.toml +++ b/gen/safebrowsing4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-safebrowsing4" -version = "1.0.2+20160520" +version = "1.0.3+20160520" authors = ["Sebastian Thiel "] description = "A complete library to interact with safebrowsing (protocol v4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/safebrowsing4" homepage = "https://developers.google.com/safe-browsing/" -documentation = "https://docs.rs/google-safebrowsing4/1.0.2+20160520" +documentation = "https://docs.rs/google-safebrowsing4/1.0.3+20160520" license = "MIT" keywords = ["safebrowsing", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/safebrowsing4/README.md b/gen/safebrowsing4/README.md index 70ce57dd38..7d14c9fa29 100644 --- a/gen/safebrowsing4/README.md +++ b/gen/safebrowsing4/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-safebrowsing4` library allows access to all features of the *Google safebrowsing* service. -This documentation was generated from *safebrowsing* crate version *1.0.2+20160520*, where *20160520* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *safebrowsing* crate version *1.0.3+20160520*, where *20160520* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *safebrowsing* *v4* API can be found at the [official documentation site](https://developers.google.com/safe-browsing/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.Safebrowsing.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.Safebrowsing.html) ... * full hashes - * [*find*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.FullHasheFindCall.html) + * [*find*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.FullHasheFindCall.html) * threat list updates - * [*fetch*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.ThreatListUpdateFetchCall.html) + * [*fetch*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.ThreatListUpdateFetchCall.html) * threat lists - * [*list*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.ThreatListListCall.html) + * [*list*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.ThreatListListCall.html) * threat matches - * [*find*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.ThreatMatcheFindCall.html) + * [*find*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.ThreatMatcheFindCall.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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/struct.Safebrowsing.html)** +* **[Hub](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/struct.Safebrowsing.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Part.html)** + * **[Parts](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -127,17 +127,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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 +147,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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/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-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-safebrowsing4/1.0.2+20160520/google_safebrowsing4/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-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/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-safebrowsing4/1.0.2+20160520/google_safebrowsing4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-safebrowsing4/1.0.3+20160520/google_safebrowsing4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/safebrowsing4/src/cmn.rs b/gen/safebrowsing4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/safebrowsing4/src/cmn.rs +++ b/gen/safebrowsing4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/safebrowsing4/src/lib.rs b/gen/safebrowsing4/src/lib.rs index 50da427de6..89595a1f57 100644 --- a/gen/safebrowsing4/src/lib.rs +++ b/gen/safebrowsing4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *safebrowsing* crate version *1.0.2+20160520*, where *20160520* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *safebrowsing* crate version *1.0.3+20160520*, where *20160520* is the exact revision of the *safebrowsing:v4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *safebrowsing* *v4* API can be found at the //! [official documentation site](https://developers.google.com/safe-browsing/). diff --git a/gen/safebrowsing4/src/lib.rs.in b/gen/safebrowsing4/src/lib.rs.in index 552561922f..2501e2666c 100644 --- a/gen/safebrowsing4/src/lib.rs.in +++ b/gen/safebrowsing4/src/lib.rs.in @@ -115,7 +115,7 @@ impl<'a, C, A> Safebrowsing Safebrowsing { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -133,7 +133,7 @@ impl<'a, C, A> Safebrowsing } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/serviceregistryalpha-cli/Cargo.toml b/gen/serviceregistryalpha-cli/Cargo.toml index b6cb2d32dc..6170bee57f 100644 --- a/gen/serviceregistryalpha-cli/Cargo.toml +++ b/gen/serviceregistryalpha-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-serviceregistryalpha-cli" -version = "1.0.2+20160401" +version = "1.0.3+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/serviceregistryalpha-cli" @@ -17,14 +17,15 @@ keywords = ["serviceregistry", "google", "cli"] name = "serviceregistryalpha" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-serviceregistryalpha] path = "../serviceregistryalpha" -version = "1.0.2+20160401" +version = "1.0.3+20160401" optional = true default-features = false diff --git a/gen/serviceregistryalpha-cli/README.md b/gen/serviceregistryalpha-cli/README.md index b989f7b901..32ccfe6fc7 100644 --- a/gen/serviceregistryalpha-cli/README.md +++ b/gen/serviceregistryalpha-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *1.0.2*. +This documentation was generated from the *Service Registry* API at revision *20160401*. The CLI is at version *1.0.3*. ```bash serviceregistryalpha [options] diff --git a/gen/serviceregistryalpha-cli/mkdocs.yml b/gen/serviceregistryalpha-cli/mkdocs.yml index c39c6fb743..22238adc05 100644 --- a/gen/serviceregistryalpha-cli/mkdocs.yml +++ b/gen/serviceregistryalpha-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Service Registry v1.0.2+20160401 +site_name: Service Registry v1.0.3+20160401 site_url: http://byron.github.io/google-apis-rs/google-serviceregistryalpha-cli site_description: A complete library to interact with Service Registry (protocol alpha) diff --git a/gen/serviceregistryalpha-cli/src/main.rs b/gen/serviceregistryalpha-cli/src/main.rs index 18bb1c645a..1b4785d619 100644 --- a/gen/serviceregistryalpha-cli/src/main.rs +++ b/gen/serviceregistryalpha-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -692,10 +693,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "serviceregistryalpha", @@ -705,10 +706,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -974,7 +975,7 @@ fn main() { let mut app = App::new("serviceregistryalpha") .author("Sebastian Thiel ") - .version("1.0.2+20160401") + .version("1.0.3+20160401") .about("Manages service endpoints in Service Registry and provides integration with DNS for service discovery and name resolution.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_serviceregistryalpha_cli") .arg(Arg::with_name("url") diff --git a/gen/serviceregistryalpha/Cargo.toml b/gen/serviceregistryalpha/Cargo.toml index 2f3569ad36..79363b2e2e 100644 --- a/gen/serviceregistryalpha/Cargo.toml +++ b/gen/serviceregistryalpha/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-serviceregistryalpha" -version = "1.0.2+20160401" +version = "1.0.3+20160401" authors = ["Sebastian Thiel "] description = "A complete library to interact with Service Registry (protocol alpha)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/serviceregistryalpha" homepage = "https://developers.google.com/cloud-serviceregistry/" -documentation = "https://docs.rs/google-serviceregistryalpha/1.0.2+20160401" +documentation = "https://docs.rs/google-serviceregistryalpha/1.0.3+20160401" license = "MIT" keywords = ["serviceregistry", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/serviceregistryalpha/README.md b/gen/serviceregistryalpha/README.md index 81ad58d758..798bf3be27 100644 --- a/gen/serviceregistryalpha/README.md +++ b/gen/serviceregistryalpha/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-serviceregistryalpha` library allows access to all features of the *Google Service Registry* service. -This documentation was generated from *Service Registry* crate version *1.0.2+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Service Registry* crate version *1.0.3+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Service Registry* *alpha* API can be found at the [official documentation site](https://developers.google.com/cloud-serviceregistry/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html) ... -* [endpoints](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.Endpoint.html) - * [*delete*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointDeleteCall.html), [*get*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointGetCall.html), [*insert*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointInsertCall.html), [*list*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointListCall.html), [*patch*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointPatchCall.html) and [*update*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.EndpointUpdateCall.html) -* [operations](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.Operation.html) - * [*get*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.OperationListCall.html) +* [endpoints](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.Endpoint.html) + * [*delete*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointDeleteCall.html), [*get*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointGetCall.html), [*insert*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointInsertCall.html), [*list*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointListCall.html), [*patch*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointPatchCall.html) and [*update*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.EndpointUpdateCall.html) +* [operations](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.Operation.html) + * [*get*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.OperationListCall.html) @@ -25,17 +25,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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html)** +* **[Hub](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/struct.ServiceRegistry.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Part.html)** + * **[Parts](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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")`. @@ -146,29 +146,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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.RequestValue.html) and -[decodable](https://docs.rs/google-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.RequestValue.html) and +[decodable](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/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-serviceregistryalpha/1.0.2+20160401/google_serviceregistryalpha/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-serviceregistryalpha/1.0.3+20160401/google_serviceregistryalpha/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/serviceregistryalpha/src/cmn.rs b/gen/serviceregistryalpha/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/serviceregistryalpha/src/cmn.rs +++ b/gen/serviceregistryalpha/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/serviceregistryalpha/src/lib.rs b/gen/serviceregistryalpha/src/lib.rs index 374560cde5..2e4c4dd917 100644 --- a/gen/serviceregistryalpha/src/lib.rs +++ b/gen/serviceregistryalpha/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Service Registry* crate version *1.0.2+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Service Registry* crate version *1.0.3+20160401*, where *20160401* is the exact revision of the *serviceregistry:alpha* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Service Registry* *alpha* API can be found at the //! [official documentation site](https://developers.google.com/cloud-serviceregistry/). diff --git a/gen/serviceregistryalpha/src/lib.rs.in b/gen/serviceregistryalpha/src/lib.rs.in index 4e8ff31d77..828eef396c 100644 --- a/gen/serviceregistryalpha/src/lib.rs.in +++ b/gen/serviceregistryalpha/src/lib.rs.in @@ -147,7 +147,7 @@ impl<'a, C, A> ServiceRegistry ServiceRegistry { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -159,7 +159,7 @@ impl<'a, C, A> ServiceRegistry } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/siteverification1-cli/Cargo.toml b/gen/siteverification1-cli/Cargo.toml index 6348fadb93..9894e634e0 100644 --- a/gen/siteverification1-cli/Cargo.toml +++ b/gen/siteverification1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-siteverification1-cli" -version = "1.0.2+20160228" +version = "1.0.3+20160228" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/siteverification1-cli" @@ -17,14 +17,15 @@ keywords = ["siteVerification", "google", "cli"] name = "siteverification1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-siteverification1] path = "../siteverification1" -version = "1.0.2+20160228" +version = "1.0.3+20160228" optional = true default-features = false diff --git a/gen/siteverification1-cli/README.md b/gen/siteverification1-cli/README.md index 5c34d6ca91..d2024955c9 100644 --- a/gen/siteverification1-cli/README.md +++ b/gen/siteverification1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *siteVerification* API at revision *20160228*. The CLI is at version *1.0.2*. +This documentation was generated from the *siteVerification* API at revision *20160228*. The CLI is at version *1.0.3*. ```bash siteverification1 [options] diff --git a/gen/siteverification1-cli/mkdocs.yml b/gen/siteverification1-cli/mkdocs.yml index 397e521b8c..df7a62fe0e 100644 --- a/gen/siteverification1-cli/mkdocs.yml +++ b/gen/siteverification1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: siteVerification v1.0.2+20160228 +site_name: siteVerification v1.0.3+20160228 site_url: http://byron.github.io/google-apis-rs/google-siteverification1-cli site_description: A complete library to interact with siteVerification (protocol v1) diff --git a/gen/siteverification1-cli/src/main.rs b/gen/siteverification1-cli/src/main.rs index ecde1406f5..c61609b4ec 100644 --- a/gen/siteverification1-cli/src/main.rs +++ b/gen/siteverification1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -612,10 +613,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "siteverification1", @@ -625,10 +626,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -827,7 +828,7 @@ fn main() { let mut app = App::new("siteverification1") .author("Sebastian Thiel ") - .version("1.0.2+20160228") + .version("1.0.3+20160228") .about("Verifies ownership of websites or domains with Google.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_siteverification1_cli") .arg(Arg::with_name("url") diff --git a/gen/siteverification1/Cargo.toml b/gen/siteverification1/Cargo.toml index 0f5ecd92dc..ff54b8d195 100644 --- a/gen/siteverification1/Cargo.toml +++ b/gen/siteverification1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-siteverification1" -version = "1.0.2+20160228" +version = "1.0.3+20160228" authors = ["Sebastian Thiel "] description = "A complete library to interact with siteVerification (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/siteverification1" homepage = "https://developers.google.com/site-verification/" -documentation = "https://docs.rs/google-siteverification1/1.0.2+20160228" +documentation = "https://docs.rs/google-siteverification1/1.0.3+20160228" license = "MIT" keywords = ["siteVerification", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/siteverification1/README.md b/gen/siteverification1/README.md index de2c3e3ea1..c1c8df4537 100644 --- a/gen/siteverification1/README.md +++ b/gen/siteverification1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-siteverification1` library allows access to all features of the *Google siteVerification* service. -This documentation was generated from *siteVerification* crate version *1.0.2+20160228*, where *20160228* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *siteVerification* crate version *1.0.3+20160228*, where *20160228* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *siteVerification* *v1* API can be found at the [official documentation site](https://developers.google.com/site-verification/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.SiteVerification.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.SiteVerification.html) ... * web resource - * [*delete*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceDeleteCall.html), [*get*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceGetCall.html), [*get token*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceGetTokenCall.html), [*insert*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceInsertCall.html), [*list*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceListCall.html), [*patch*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourcePatchCall.html) and [*update*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/struct.WebResourceUpdateCall.html) + * [*delete*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceDeleteCall.html), [*get*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceGetCall.html), [*get token*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceGetTokenCall.html), [*insert*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceInsertCall.html), [*list*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceListCall.html), [*patch*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourcePatchCall.html) and [*update*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.WebResourceUpdateCall.html) @@ -23,17 +23,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-siteverification1/1.0.2+20160228/google_siteverification1/struct.SiteVerification.html)** +* **[Hub](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/struct.SiteVerification.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/trait.Part.html)** + * **[Parts](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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")`. @@ -144,29 +144,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-siteverification1/1.0.2+20160228/google_siteverification1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/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-siteverification1/1.0.3+20160228/google_siteverification1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-siteverification1/1.0.2+20160228/google_siteverification1/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-siteverification1/1.0.3+20160228/google_siteverification1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/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-siteverification1/1.0.2+20160228/google_siteverification1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-siteverification1/1.0.3+20160228/google_siteverification1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/siteverification1/src/cmn.rs b/gen/siteverification1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/siteverification1/src/cmn.rs +++ b/gen/siteverification1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/siteverification1/src/lib.rs b/gen/siteverification1/src/lib.rs index a7a198d7fc..42e204e69c 100644 --- a/gen/siteverification1/src/lib.rs +++ b/gen/siteverification1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *siteVerification* crate version *1.0.2+20160228*, where *20160228* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *siteVerification* crate version *1.0.3+20160228*, where *20160228* is the exact revision of the *siteVerification:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *siteVerification* *v1* API can be found at the //! [official documentation site](https://developers.google.com/site-verification/). diff --git a/gen/siteverification1/src/lib.rs.in b/gen/siteverification1/src/lib.rs.in index 5d84068918..f4484539ac 100644 --- a/gen/siteverification1/src/lib.rs.in +++ b/gen/siteverification1/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> SiteVerification SiteVerification { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -150,7 +150,7 @@ impl<'a, C, A> SiteVerification } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/slides1-cli/Cargo.toml b/gen/slides1-cli/Cargo.toml index 93b652dda4..c6d40bb5c9 100644 --- a/gen/slides1-cli/Cargo.toml +++ b/gen/slides1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-slides1-cli" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with Slides (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/slides1-cli" @@ -17,14 +17,15 @@ keywords = ["slides", "google", "cli"] name = "slides1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-slides1] path = "../slides1" -version = "1.0.2+20161213" +version = "1.0.3+20161213" optional = true default-features = false diff --git a/gen/slides1-cli/README.md b/gen/slides1-cli/README.md index 439be43e98..bf6db3dc85 100644 --- a/gen/slides1-cli/README.md +++ b/gen/slides1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Slides* API at revision *20161213*. The CLI is at version *1.0.2*. +This documentation was generated from the *Slides* API at revision *20161213*. The CLI is at version *1.0.3*. ```bash slides1 [options] diff --git a/gen/slides1-cli/mkdocs.yml b/gen/slides1-cli/mkdocs.yml index 62cf15b29c..ce296bcf7e 100644 --- a/gen/slides1-cli/mkdocs.yml +++ b/gen/slides1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Slides v1.0.2+20161213 +site_name: Slides v1.0.3+20161213 site_url: http://byron.github.io/google-apis-rs/google-slides1-cli site_description: A complete library to interact with Slides (protocol v1) diff --git a/gen/slides1-cli/src/main.rs b/gen/slides1-cli/src/main.rs index b445f3d95c..c59df75405 100644 --- a/gen/slides1-cli/src/main.rs +++ b/gen/slides1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -383,10 +384,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "slides1", @@ -396,10 +397,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -564,7 +565,7 @@ fn main() { let mut app = App::new("slides1") .author("Sebastian Thiel ") - .version("1.0.2+20161213") + .version("1.0.3+20161213") .about("An API for creating and editing Google Slides presentations.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_slides1_cli") .arg(Arg::with_name("url") diff --git a/gen/slides1/Cargo.toml b/gen/slides1/Cargo.toml index 4da4397851..566862244d 100644 --- a/gen/slides1/Cargo.toml +++ b/gen/slides1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-slides1" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with Slides (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/slides1" homepage = "https://developers.google.com/slides/" -documentation = "https://docs.rs/google-slides1/1.0.2+20161213" +documentation = "https://docs.rs/google-slides1/1.0.3+20161213" license = "MIT" keywords = ["slides", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/slides1/README.md b/gen/slides1/README.md index 9186963e24..da25f591e9 100644 --- a/gen/slides1/README.md +++ b/gen/slides1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-slides1` library allows access to all features of the *Google Slides* service. -This documentation was generated from *Slides* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Slides* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Slides* *v1* API can be found at the [official documentation site](https://developers.google.com/slides/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.Slides.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.Slides.html) ... -* [presentations](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.Presentation.html) - * [*batch update*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.PresentationBatchUpdateCall.html), [*create*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.PresentationCreateCall.html), [*get*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.PresentationGetCall.html) and [*pages get*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/struct.PresentationPageGetCall.html) +* [presentations](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.Presentation.html) + * [*batch update*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.PresentationBatchUpdateCall.html), [*create*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.PresentationCreateCall.html), [*get*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.PresentationGetCall.html) and [*pages get*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.PresentationPageGetCall.html) @@ -23,17 +23,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-slides1/1.0.2+20161213/google_slides1/struct.Slides.html)** +* **[Hub](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/struct.Slides.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/trait.Part.html)** + * **[Parts](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -124,17 +124,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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")`. @@ -144,29 +144,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-slides1/1.0.2+20161213/google_slides1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/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-slides1/1.0.3+20161213/google_slides1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-slides1/1.0.2+20161213/google_slides1/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-slides1/1.0.3+20161213/google_slides1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/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-slides1/1.0.2+20161213/google_slides1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-slides1/1.0.3+20161213/google_slides1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/slides1/src/cmn.rs b/gen/slides1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/slides1/src/cmn.rs +++ b/gen/slides1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/slides1/src/lib.rs b/gen/slides1/src/lib.rs index 382c4e0dd0..cf284c272e 100644 --- a/gen/slides1/src/lib.rs +++ b/gen/slides1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Slides* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Slides* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *slides:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Slides* *v1* API can be found at the //! [official documentation site](https://developers.google.com/slides/). diff --git a/gen/slides1/src/lib.rs.in b/gen/slides1/src/lib.rs.in index 90c824b75a..49d6195265 100644 --- a/gen/slides1/src/lib.rs.in +++ b/gen/slides1/src/lib.rs.in @@ -157,7 +157,7 @@ impl<'a, C, A> Slides Slides { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -166,7 +166,7 @@ impl<'a, C, A> Slides } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/spectrum1_explorer-cli/Cargo.toml b/gen/spectrum1_explorer-cli/Cargo.toml index 25d23e6a51..05a09345fc 100644 --- a/gen/spectrum1_explorer-cli/Cargo.toml +++ b/gen/spectrum1_explorer-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-spectrum1_explorer-cli" -version = "1.0.2+20161116" +version = "1.0.3+20161116" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spectrum1_explorer-cli" @@ -17,14 +17,15 @@ keywords = ["spectrum", "google", "cli"] name = "spectrum1-explorer" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-spectrum1_explorer] path = "../spectrum1_explorer" -version = "1.0.2+20161116" +version = "1.0.3+20161116" optional = true default-features = false diff --git a/gen/spectrum1_explorer-cli/README.md b/gen/spectrum1_explorer-cli/README.md index a54e480ee6..b96d20d0aa 100644 --- a/gen/spectrum1_explorer-cli/README.md +++ b/gen/spectrum1_explorer-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *spectrum* API at revision *20161116*. The CLI is at version *1.0.2*. +This documentation was generated from the *spectrum* API at revision *20161116*. The CLI is at version *1.0.3*. ```bash spectrum1-explorer [options] diff --git a/gen/spectrum1_explorer-cli/mkdocs.yml b/gen/spectrum1_explorer-cli/mkdocs.yml index 0401e13bdb..cac36132ac 100644 --- a/gen/spectrum1_explorer-cli/mkdocs.yml +++ b/gen/spectrum1_explorer-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: spectrum v1.0.2+20161116 +site_name: spectrum v1.0.3+20161116 site_url: http://byron.github.io/google-apis-rs/google-spectrum1_explorer-cli site_description: A complete library to interact with spectrum (protocol v1explorer) diff --git a/gen/spectrum1_explorer-cli/src/main.rs b/gen/spectrum1_explorer-cli/src/main.rs index b605223791..c332945f95 100644 --- a/gen/spectrum1_explorer-cli/src/main.rs +++ b/gen/spectrum1_explorer-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -773,10 +774,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "spectrum1-explorer", @@ -786,10 +787,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -960,7 +961,7 @@ fn main() { let mut app = App::new("spectrum1-explorer") .author("Sebastian Thiel ") - .version("1.0.2+20161116") + .version("1.0.3+20161116") .about("API for spectrum-management functions.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_spectrum1_explorer_cli") .arg(Arg::with_name("folder") diff --git a/gen/spectrum1_explorer/Cargo.toml b/gen/spectrum1_explorer/Cargo.toml index 178a6bb84b..f7db671c2c 100644 --- a/gen/spectrum1_explorer/Cargo.toml +++ b/gen/spectrum1_explorer/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-spectrum1_explorer" -version = "1.0.2+20161116" +version = "1.0.3+20161116" authors = ["Sebastian Thiel "] description = "A complete library to interact with spectrum (protocol v1explorer)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/spectrum1_explorer" homepage = "http://developers.google.com/spectrum" -documentation = "https://docs.rs/google-spectrum1_explorer/1.0.2+20161116" +documentation = "https://docs.rs/google-spectrum1_explorer/1.0.3+20161116" license = "MIT" keywords = ["spectrum", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/spectrum1_explorer/README.md b/gen/spectrum1_explorer/README.md index 97eea674ae..84a5f96c90 100644 --- a/gen/spectrum1_explorer/README.md +++ b/gen/spectrum1_explorer/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-spectrum1_explorer` library allows access to all features of the *Google spectrum* service. -This documentation was generated from *spectrum* crate version *1.0.2+20161116*, where *20161116* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *spectrum* crate version *1.0.3+20161116*, where *20161116* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *spectrum* *v1_explorer* API can be found at the [official documentation site](http://developers.google.com/spectrum). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.Spectrum.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.Spectrum.html) ... * paws - * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawGetSpectrumCall.html), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawGetSpectrumBatchCall.html), [*init*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawInitCall.html), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawNotifySpectrumUseCall.html), [*register*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawRegisterCall.html) and [*verify device*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.PawVerifyDeviceCall.html) + * [*get spectrum*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawGetSpectrumCall.html), [*get spectrum batch*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawGetSpectrumBatchCall.html), [*init*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawInitCall.html), [*notify spectrum use*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawNotifySpectrumUseCall.html), [*register*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawRegisterCall.html) and [*verify device*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.PawVerifyDeviceCall.html) @@ -23,17 +23,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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/struct.Spectrum.html)** +* **[Hub](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/struct.Spectrum.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Part.html)** + * **[Parts](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -121,17 +121,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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")`. @@ -141,29 +141,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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.RequestValue.html) and -[decodable](https://docs.rs/google-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.RequestValue.html) and +[decodable](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/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-spectrum1_explorer/1.0.2+20161116/google_spectrum1_explorer/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-spectrum1_explorer/1.0.3+20161116/google_spectrum1_explorer/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/spectrum1_explorer/src/cmn.rs b/gen/spectrum1_explorer/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/spectrum1_explorer/src/cmn.rs +++ b/gen/spectrum1_explorer/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/spectrum1_explorer/src/lib.rs b/gen/spectrum1_explorer/src/lib.rs index de58407be3..afaca63778 100644 --- a/gen/spectrum1_explorer/src/lib.rs +++ b/gen/spectrum1_explorer/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *spectrum* crate version *1.0.2+20161116*, where *20161116* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *spectrum* crate version *1.0.3+20161116*, where *20161116* is the exact revision of the *spectrum:v1explorer* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *spectrum* *v1_explorer* API can be found at the //! [official documentation site](http://developers.google.com/spectrum). diff --git a/gen/spectrum1_explorer/src/lib.rs.in b/gen/spectrum1_explorer/src/lib.rs.in index 96c70b4b5f..7c22a1d2ed 100644 --- a/gen/spectrum1_explorer/src/lib.rs.in +++ b/gen/spectrum1_explorer/src/lib.rs.in @@ -115,7 +115,7 @@ impl<'a, C, A> Spectrum Spectrum { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -124,7 +124,7 @@ impl<'a, C, A> Spectrum } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/sqladmin1_beta4-cli/Cargo.toml b/gen/sqladmin1_beta4-cli/Cargo.toml index d114ec134d..429c4134fa 100644 --- a/gen/sqladmin1_beta4-cli/Cargo.toml +++ b/gen/sqladmin1_beta4-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-sqladmin1_beta4-cli" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sqladmin1_beta4-cli" @@ -17,14 +17,15 @@ keywords = ["sqladmin", "google", "cli"] name = "sqladmin1-beta4" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-sqladmin1_beta4] path = "../sqladmin1_beta4" -version = "1.0.2+20161213" +version = "1.0.3+20161213" optional = true default-features = false diff --git a/gen/sqladmin1_beta4-cli/README.md b/gen/sqladmin1_beta4-cli/README.md index 031d41fa84..e7609308c1 100644 --- a/gen/sqladmin1_beta4-cli/README.md +++ b/gen/sqladmin1_beta4-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *SQL Admin* API at revision *20161213*. The CLI is at version *1.0.2*. +This documentation was generated from the *SQL Admin* API at revision *20161213*. The CLI is at version *1.0.3*. ```bash sqladmin1-beta4 [options] diff --git a/gen/sqladmin1_beta4-cli/mkdocs.yml b/gen/sqladmin1_beta4-cli/mkdocs.yml index 852a2a6299..e6d3aec216 100644 --- a/gen/sqladmin1_beta4-cli/mkdocs.yml +++ b/gen/sqladmin1_beta4-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: SQL Admin v1.0.2+20161213 +site_name: SQL Admin v1.0.3+20161213 site_url: http://byron.github.io/google-apis-rs/google-sqladmin1_beta4-cli site_description: A complete library to interact with SQL Admin (protocol v1beta4) diff --git a/gen/sqladmin1_beta4-cli/src/main.rs b/gen/sqladmin1_beta4-cli/src/main.rs index 1537e7d3e1..1add75e0f8 100644 --- a/gen/sqladmin1_beta4-cli/src/main.rs +++ b/gen/sqladmin1_beta4-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3165,10 +3166,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "sqladmin1-beta4", @@ -3178,10 +3179,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4505,7 +4506,7 @@ fn main() { let mut app = App::new("sqladmin1-beta4") .author("Sebastian Thiel ") - .version("1.0.2+20161213") + .version("1.0.3+20161213") .about("Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_sqladmin1_beta4_cli") .arg(Arg::with_name("url") diff --git a/gen/sqladmin1_beta4/Cargo.toml b/gen/sqladmin1_beta4/Cargo.toml index 4567f4126a..a36d029e48 100644 --- a/gen/sqladmin1_beta4/Cargo.toml +++ b/gen/sqladmin1_beta4/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-sqladmin1_beta4" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with SQL Admin (protocol v1beta4)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/sqladmin1_beta4" homepage = "https://cloud.google.com/sql/docs/reference/latest" -documentation = "https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213" +documentation = "https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213" license = "MIT" keywords = ["sqladmin", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/sqladmin1_beta4/README.md b/gen/sqladmin1_beta4/README.md index 1699a045b3..183086565d 100644 --- a/gen/sqladmin1_beta4/README.md +++ b/gen/sqladmin1_beta4/README.md @@ -5,30 +5,30 @@ DO NOT EDIT ! --> The `google-sqladmin1_beta4` library allows access to all features of the *Google SQL Admin* service. -This documentation was generated from *SQL Admin* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *SQL Admin* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *SQL Admin* *v1_beta4* API can be found at the [official documentation site](https://cloud.google.com/sql/docs/reference/latest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SQLAdmin.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SQLAdmin.html) ... -* [backup runs](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.BackupRun.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.BackupRunDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.BackupRunGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.BackupRunInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.BackupRunListCall.html) -* [databases](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.Database.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabaseDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabaseGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabaseInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabaseListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabasePatchCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.DatabaseUpdateCall.html) -* [flags](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.Flag.html) - * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.FlagListCall.html) +* [backup runs](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.BackupRun.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.BackupRunDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.BackupRunGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.BackupRunInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.BackupRunListCall.html) +* [databases](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.Database.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabaseDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabaseGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabaseInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabaseListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabasePatchCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.DatabaseUpdateCall.html) +* [flags](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.Flag.html) + * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.FlagListCall.html) * instances - * [*clone*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceCloneCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceDeleteCall.html), [*export*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceExportCall.html), [*failover*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceFailoverCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceGetCall.html), [*import*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceImportCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstancePatchCall.html), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstancePromoteReplicaCall.html), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceResetSslConfigCall.html), [*restart*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceRestartCall.html), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceRestoreBackupCall.html), [*start replica*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceStartReplicaCall.html), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceStopReplicaCall.html), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceTruncateLogCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.InstanceUpdateCall.html) -* [operations](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.Operation.html) - * [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.OperationListCall.html) -* [ssl certs](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCert.html) - * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCertCreateEphemeralCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCertDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCertGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCertInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SslCertListCall.html) -* [tiers](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.Tier.html) - * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.TierListCall.html) -* [users](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.User.html) - * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.UserDeleteCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.UserInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.UserListCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.UserUpdateCall.html) + * [*clone*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceCloneCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceDeleteCall.html), [*export*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceExportCall.html), [*failover*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceFailoverCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceGetCall.html), [*import*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceImportCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceListCall.html), [*patch*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstancePatchCall.html), [*promote replica*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstancePromoteReplicaCall.html), [*reset ssl config*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceResetSslConfigCall.html), [*restart*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceRestartCall.html), [*restore backup*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceRestoreBackupCall.html), [*start replica*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceStartReplicaCall.html), [*stop replica*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceStopReplicaCall.html), [*truncate log*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceTruncateLogCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.InstanceUpdateCall.html) +* [operations](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.Operation.html) + * [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.OperationGetCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.OperationListCall.html) +* [ssl certs](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCert.html) + * [*create ephemeral*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCertCreateEphemeralCall.html), [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCertDeleteCall.html), [*get*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCertGetCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCertInsertCall.html) and [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SslCertListCall.html) +* [tiers](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.Tier.html) + * [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.TierListCall.html) +* [users](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.User.html) + * [*delete*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.UserDeleteCall.html), [*insert*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.UserInsertCall.html), [*list*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.UserListCall.html) and [*update*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.UserUpdateCall.html) @@ -37,17 +37,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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/struct.SQLAdmin.html)** +* **[Hub](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/struct.SQLAdmin.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Part.html)** + * **[Parts](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -161,17 +161,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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")`. @@ -181,29 +181,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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.RequestValue.html) and -[decodable](https://docs.rs/google-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.RequestValue.html) and +[decodable](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/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-sqladmin1_beta4/1.0.2+20161213/google_sqladmin1_beta4/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-sqladmin1_beta4/1.0.3+20161213/google_sqladmin1_beta4/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/sqladmin1_beta4/src/cmn.rs b/gen/sqladmin1_beta4/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/sqladmin1_beta4/src/cmn.rs +++ b/gen/sqladmin1_beta4/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/sqladmin1_beta4/src/lib.rs b/gen/sqladmin1_beta4/src/lib.rs index adc63e8c91..f79fb6c614 100644 --- a/gen/sqladmin1_beta4/src/lib.rs +++ b/gen/sqladmin1_beta4/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *SQL Admin* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *SQL Admin* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *sqladmin:v1beta4* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *SQL Admin* *v1_beta4* API can be found at the //! [official documentation site](https://cloud.google.com/sql/docs/reference/latest). diff --git a/gen/sqladmin1_beta4/src/lib.rs.in b/gen/sqladmin1_beta4/src/lib.rs.in index bff3dbc29c..fc02aa1025 100644 --- a/gen/sqladmin1_beta4/src/lib.rs.in +++ b/gen/sqladmin1_beta4/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> SQLAdmin SQLAdmin { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -171,7 +171,7 @@ impl<'a, C, A> SQLAdmin } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/storage1-cli/Cargo.toml b/gen/storage1-cli/Cargo.toml index df8af1fe06..e8d8d3baef 100644 --- a/gen/storage1-cli/Cargo.toml +++ b/gen/storage1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storage1-cli" -version = "1.0.2+20161123" +version = "1.0.3+20161123" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storage1-cli" @@ -17,14 +17,15 @@ keywords = ["storage", "google", "cli"] name = "storage1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-storage1] path = "../storage1" -version = "1.0.2+20161123" +version = "1.0.3+20161123" optional = true default-features = false diff --git a/gen/storage1-cli/README.md b/gen/storage1-cli/README.md index b6558e3a15..067a580b93 100644 --- a/gen/storage1-cli/README.md +++ b/gen/storage1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *storage* API at revision *20161123*. The CLI is at version *1.0.2*. +This documentation was generated from the *storage* API at revision *20161123*. The CLI is at version *1.0.3*. ```bash storage1 [options] diff --git a/gen/storage1-cli/mkdocs.yml b/gen/storage1-cli/mkdocs.yml index bdb27e141e..4514cfb98d 100644 --- a/gen/storage1-cli/mkdocs.yml +++ b/gen/storage1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storage v1.0.2+20161123 +site_name: storage v1.0.3+20161123 site_url: http://byron.github.io/google-apis-rs/google-storage1-cli site_description: A complete library to interact with storage (protocol v1) diff --git a/gen/storage1-cli/src/main.rs b/gen/storage1-cli/src/main.rs index 49e3f3de59..027b67546a 100644 --- a/gen/storage1-cli/src/main.rs +++ b/gen/storage1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3383,10 +3384,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "storage1", @@ -3396,10 +3397,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -4482,7 +4483,7 @@ fn main() { let mut app = App::new("storage1") .author("Sebastian Thiel ") - .version("1.0.2+20161123") + .version("1.0.3+20161123") .about("Stores and retrieves potentially large, immutable data objects.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storage1_cli") .arg(Arg::with_name("url") diff --git a/gen/storage1/Cargo.toml b/gen/storage1/Cargo.toml index a4ce8fc581..ee054a3b04 100644 --- a/gen/storage1/Cargo.toml +++ b/gen/storage1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-storage1" -version = "1.0.2+20161123" +version = "1.0.3+20161123" authors = ["Sebastian Thiel "] description = "A complete library to interact with storage (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storage1" homepage = "https://developers.google.com/storage/docs/json_api/" -documentation = "https://docs.rs/google-storage1/1.0.2+20161123" +documentation = "https://docs.rs/google-storage1/1.0.3+20161123" license = "MIT" keywords = ["storage", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/storage1/README.md b/gen/storage1/README.md index 10b5cf37ad..767e1fa225 100644 --- a/gen/storage1/README.md +++ b/gen/storage1/README.md @@ -5,44 +5,44 @@ DO NOT EDIT ! --> The `google-storage1` library allows access to all features of the *Google storage* service. -This documentation was generated from *storage* crate version *1.0.2+20161123*, where *20161123* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *storage* crate version *1.0.3+20161123*, where *20161123* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *storage* *v1* API can be found at the [official documentation site](https://developers.google.com/storage/docs/json_api/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.Storage.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.Storage.html) ... -* [bucket access controls](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControl.html) - * [*delete*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketAccessControlUpdateCall.html) -* [buckets](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.Bucket.html) - * [*delete*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.BucketUpdateCall.html) -* [channels](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.Channel.html) - * [*stop*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ChannelStopCall.html) +* [bucket access controls](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControl.html) + * [*delete*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketAccessControlUpdateCall.html) +* [buckets](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.Bucket.html) + * [*delete*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.BucketUpdateCall.html) +* [channels](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.Channel.html) + * [*stop*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ChannelStopCall.html) * default object access controls - * [*delete*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.DefaultObjectAccessControlUpdateCall.html) -* [object access controls](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControl.html) - * [*delete*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectAccessControlUpdateCall.html) -* [objects](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.Object.html) - * [*compose*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectComposeCall.html), [*copy*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectCopyCall.html), [*delete*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectPatchCall.html), [*rewrite*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectRewriteCall.html), [*update*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectUpdateCall.html) and [*watch all*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectWatchAllCall.html) + * [*delete*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.DefaultObjectAccessControlUpdateCall.html) +* [object access controls](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControl.html) + * [*delete*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlPatchCall.html) and [*update*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectAccessControlUpdateCall.html) +* [objects](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.Object.html) + * [*compose*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectComposeCall.html), [*copy*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectCopyCall.html), [*delete*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectDeleteCall.html), [*get*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectGetCall.html), [*insert*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectInsertCall.html), [*list*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectListCall.html), [*patch*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectPatchCall.html), [*rewrite*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectRewriteCall.html), [*update*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectUpdateCall.html) and [*watch all*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectWatchAllCall.html) Upload supported by ... -* [*insert objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectInsertCall.html) +* [*insert objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectInsertCall.html) Download supported by ... -* [*get objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectGetCall.html) -* [*update objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectUpdateCall.html) -* [*insert objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectInsertCall.html) -* [*compose objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectComposeCall.html) -* [*copy objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectCopyCall.html) +* [*get objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectGetCall.html) +* [*update objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectUpdateCall.html) +* [*insert objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectInsertCall.html) +* [*compose objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectComposeCall.html) +* [*copy objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectCopyCall.html) Subscription supported by ... -* [*watch all objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectWatchAllCall.html) -* [*list objects*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.ObjectListCall.html) +* [*watch all objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectWatchAllCall.html) +* [*list objects*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.ObjectListCall.html) @@ -50,17 +50,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/struct.Storage.html)** +* **[Hub](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/struct.Storage.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/trait.Part.html)** + * **[Parts](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -170,17 +170,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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")`. @@ -190,29 +190,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-storage1/1.0.2+20161123/google_storage1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/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-storage1/1.0.3+20161123/google_storage1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-storage1/1.0.2+20161123/google_storage1/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-storage1/1.0.3+20161123/google_storage1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/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-storage1/1.0.2+20161123/google_storage1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-storage1/1.0.3+20161123/google_storage1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storage1/src/cmn.rs b/gen/storage1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/storage1/src/cmn.rs +++ b/gen/storage1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/storage1/src/lib.rs b/gen/storage1/src/lib.rs index 95649d1007..40e1b6ca2d 100644 --- a/gen/storage1/src/lib.rs +++ b/gen/storage1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storage* crate version *1.0.2+20161123*, where *20161123* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *storage* crate version *1.0.3+20161123*, where *20161123* is the exact revision of the *storage:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *storage* *v1* API can be found at the //! [official documentation site](https://developers.google.com/storage/docs/json_api/). diff --git a/gen/storage1/src/lib.rs.in b/gen/storage1/src/lib.rs.in index dab2d42be2..e1e32739ca 100644 --- a/gen/storage1/src/lib.rs.in +++ b/gen/storage1/src/lib.rs.in @@ -166,7 +166,7 @@ impl<'a, C, A> Storage Storage { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -190,7 +190,7 @@ impl<'a, C, A> Storage } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/storagetransfer1-cli/Cargo.toml b/gen/storagetransfer1-cli/Cargo.toml index fd4306ad00..6b02d37705 100644 --- a/gen/storagetransfer1-cli/Cargo.toml +++ b/gen/storagetransfer1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-storagetransfer1-cli" -version = "1.0.2+20150811" +version = "1.0.3+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storagetransfer1-cli" @@ -17,14 +17,15 @@ keywords = ["storagetransfer", "google", "cli"] name = "storagetransfer1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-storagetransfer1] path = "../storagetransfer1" -version = "1.0.2+20150811" +version = "1.0.3+20150811" optional = true default-features = false diff --git a/gen/storagetransfer1-cli/README.md b/gen/storagetransfer1-cli/README.md index eee258ded6..49b79c7774 100644 --- a/gen/storagetransfer1-cli/README.md +++ b/gen/storagetransfer1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *storagetransfer* API at revision *20150811*. The CLI is at version *1.0.2*. +This documentation was generated from the *storagetransfer* API at revision *20150811*. The CLI is at version *1.0.3*. ```bash storagetransfer1 [options] diff --git a/gen/storagetransfer1-cli/mkdocs.yml b/gen/storagetransfer1-cli/mkdocs.yml index 1934ba149d..7d22be0426 100644 --- a/gen/storagetransfer1-cli/mkdocs.yml +++ b/gen/storagetransfer1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: storagetransfer v1.0.2+20150811 +site_name: storagetransfer v1.0.3+20150811 site_url: http://byron.github.io/google-apis-rs/google-storagetransfer1-cli site_description: A complete library to interact with storagetransfer (protocol v1) diff --git a/gen/storagetransfer1-cli/src/main.rs b/gen/storagetransfer1-cli/src/main.rs index 14138fe1a9..df74f5a88a 100644 --- a/gen/storagetransfer1-cli/src/main.rs +++ b/gen/storagetransfer1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -994,10 +995,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "storagetransfer1", @@ -1007,10 +1008,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1332,7 +1333,7 @@ fn main() { let mut app = App::new("storagetransfer1") .author("Sebastian Thiel ") - .version("1.0.2+20150811") + .version("1.0.3+20150811") .about("Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_storagetransfer1_cli") .arg(Arg::with_name("url") diff --git a/gen/storagetransfer1/Cargo.toml b/gen/storagetransfer1/Cargo.toml index cdb523b5fe..ead79993b5 100644 --- a/gen/storagetransfer1/Cargo.toml +++ b/gen/storagetransfer1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-storagetransfer1" -version = "1.0.2+20150811" +version = "1.0.3+20150811" authors = ["Sebastian Thiel "] description = "A complete library to interact with storagetransfer (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/storagetransfer1" homepage = "https://cloud.google.com/storage/transfer" -documentation = "https://docs.rs/google-storagetransfer1/1.0.2+20150811" +documentation = "https://docs.rs/google-storagetransfer1/1.0.3+20150811" license = "MIT" keywords = ["storagetransfer", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/storagetransfer1/README.md b/gen/storagetransfer1/README.md index c65518b964..2c266f72bb 100644 --- a/gen/storagetransfer1/README.md +++ b/gen/storagetransfer1/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-storagetransfer1` library allows access to all features of the *Google storagetransfer* service. -This documentation was generated from *storagetransfer* crate version *1.0.2+20150811*, where *20150811* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *storagetransfer* crate version *1.0.3+20150811*, where *20150811* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *storagetransfer* *v1* API can be found at the [official documentation site](https://cloud.google.com/storage/transfer). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.Storagetransfer.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.Storagetransfer.html) ... -* [google service accounts](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.GoogleServiceAccount.html) - * [*get*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.GoogleServiceAccountGetCall.html) -* [transfer jobs](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferJob.html) - * [*create*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferJobCreateCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferJobGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferJobListCall.html) and [*patch*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferJobPatchCall.html) -* [transfer operations](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperation.html) - * [*cancel*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationCancelCall.html), [*delete*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationDeleteCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationListCall.html), [*pause*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationPauseCall.html) and [*resume*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.TransferOperationResumeCall.html) +* [google service accounts](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.GoogleServiceAccount.html) + * [*get*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.GoogleServiceAccountGetCall.html) +* [transfer jobs](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferJob.html) + * [*create*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferJobCreateCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferJobGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferJobListCall.html) and [*patch*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferJobPatchCall.html) +* [transfer operations](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperation.html) + * [*cancel*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationCancelCall.html), [*delete*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationDeleteCall.html), [*get*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationGetCall.html), [*list*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationListCall.html), [*pause*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationPauseCall.html) and [*resume*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.TransferOperationResumeCall.html) Other activities are ... -* [get google service account](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.MethodGetGoogleServiceAccountCall.html) +* [get google service account](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.MethodGetGoogleServiceAccountCall.html) @@ -30,17 +30,17 @@ Other activities are ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/struct.Storagetransfer.html)** +* **[Hub](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/struct.Storagetransfer.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Part.html)** + * **[Parts](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -130,17 +130,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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")`. @@ -150,29 +150,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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/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-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-storagetransfer1/1.0.2+20150811/google_storagetransfer1/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-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/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-storagetransfer1/1.0.2+20150811/google_storagetransfer1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-storagetransfer1/1.0.3+20150811/google_storagetransfer1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/storagetransfer1/src/cmn.rs b/gen/storagetransfer1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/storagetransfer1/src/cmn.rs +++ b/gen/storagetransfer1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/storagetransfer1/src/lib.rs b/gen/storagetransfer1/src/lib.rs index d552d8b958..2466f359aa 100644 --- a/gen/storagetransfer1/src/lib.rs +++ b/gen/storagetransfer1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *storagetransfer* crate version *1.0.2+20150811*, where *20150811* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *storagetransfer* crate version *1.0.3+20150811*, where *20150811* is the exact revision of the *storagetransfer:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *storagetransfer* *v1* API can be found at the //! [official documentation site](https://cloud.google.com/storage/transfer). diff --git a/gen/storagetransfer1/src/lib.rs.in b/gen/storagetransfer1/src/lib.rs.in index c4fabd7714..cbf44b38c0 100644 --- a/gen/storagetransfer1/src/lib.rs.in +++ b/gen/storagetransfer1/src/lib.rs.in @@ -134,7 +134,7 @@ impl<'a, C, A> Storagetransfer Storagetransfer { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -152,7 +152,7 @@ impl<'a, C, A> Storagetransfer } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/surveys2-cli/Cargo.toml b/gen/surveys2-cli/Cargo.toml index a4e983a1b9..e01bb8dc81 100644 --- a/gen/surveys2-cli/Cargo.toml +++ b/gen/surveys2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-surveys2-cli" -version = "1.0.2+20161103" +version = "1.0.3+20161103" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2-cli" @@ -16,14 +16,15 @@ keywords = ["surveys", "google", "cli"] name = "surveys2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -37,6 +38,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-surveys2] path = "../surveys2" -version = "1.0.2+20161103" +version = "1.0.3+20161103" optional = true default-features = false diff --git a/gen/surveys2-cli/README.md b/gen/surveys2-cli/README.md index 096cb8c1a9..fe872dc69b 100644 --- a/gen/surveys2-cli/README.md +++ b/gen/surveys2-cli/README.md @@ -22,7 +22,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Surveys* API at revision *20161103*. The CLI is at version *1.0.2*. +This documentation was generated from the *Surveys* API at revision *20161103*. The CLI is at version *1.0.3*. ```bash surveys2 [options] diff --git a/gen/surveys2-cli/mkdocs.yml b/gen/surveys2-cli/mkdocs.yml index cfff0a3d13..5ef43befda 100644 --- a/gen/surveys2-cli/mkdocs.yml +++ b/gen/surveys2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Surveys v1.0.2+20161103 +site_name: Surveys v1.0.3+20161103 site_url: http://byron.github.io/google-apis-rs/google-surveys2-cli site_description: A complete library to interact with Surveys (protocol v2) diff --git a/gen/surveys2-cli/src/main.rs b/gen/surveys2-cli/src/main.rs index 2fa44cc46a..fb51ba89b9 100644 --- a/gen/surveys2-cli/src/main.rs +++ b/gen/surveys2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -950,10 +951,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "surveys2", @@ -963,10 +964,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1265,7 +1266,7 @@ fn main() { let mut app = App::new("surveys2") .author("Sebastian Thiel ") - .version("1.0.2+20161103") + .version("1.0.3+20161103") .about("Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_surveys2_cli") .arg(Arg::with_name("url") diff --git a/gen/surveys2/Cargo.toml b/gen/surveys2/Cargo.toml index 4f8dfc5571..5bce7177ee 100644 --- a/gen/surveys2/Cargo.toml +++ b/gen/surveys2/Cargo.toml @@ -4,18 +4,18 @@ [package] name = "google-surveys2" -version = "1.0.2+20161103" +version = "1.0.3+20161103" authors = ["Sebastian Thiel "] description = "A complete library to interact with Surveys (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2" -documentation = "https://docs.rs/google-surveys2/1.0.2+20161103" +documentation = "https://docs.rs/google-surveys2/1.0.3+20161103" license = "MIT" keywords = ["surveys", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/surveys2/README.md b/gen/surveys2/README.md index 96e196e579..a3e1118faa 100644 --- a/gen/surveys2/README.md +++ b/gen/surveys2/README.md @@ -5,22 +5,22 @@ DO NOT EDIT ! --> The `google-surveys2` library allows access to all features of the *Google Surveys* service. -This documentation was generated from *Surveys* crate version *1.0.2+20161103*, where *20161103* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Surveys* crate version *1.0.3+20161103*, where *20161103* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.Surveys.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.Surveys.html) ... * mobileapppanels - * [*get*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.MobileapppanelGetCall.html), [*list*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.MobileapppanelListCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.MobileapppanelUpdateCall.html) + * [*get*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.MobileapppanelGetCall.html), [*list*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.MobileapppanelListCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.MobileapppanelUpdateCall.html) * results - * [*get*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.ResultGetCall.html) -* [surveys](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.Survey.html) - * [*delete*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.SurveyUpdateCall.html) + * [*get*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.ResultGetCall.html) +* [surveys](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.Survey.html) + * [*delete*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyDeleteCall.html), [*get*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyGetCall.html), [*insert*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyInsertCall.html), [*list*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyListCall.html), [*start*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyStartCall.html), [*stop*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyStopCall.html) and [*update*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.SurveyUpdateCall.html) Download supported by ... -* [*get results*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.ResultGetCall.html) +* [*get results*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.ResultGetCall.html) @@ -28,17 +28,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/struct.Surveys.html)** +* **[Hub](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/struct.Surveys.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/trait.Part.html)** + * **[Parts](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -129,17 +129,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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")`. @@ -149,29 +149,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-surveys2/1.0.2+20161103/google_surveys2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/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-surveys2/1.0.3+20161103/google_surveys2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-surveys2/1.0.2+20161103/google_surveys2/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-surveys2/1.0.3+20161103/google_surveys2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/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-surveys2/1.0.2+20161103/google_surveys2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-surveys2/1.0.3+20161103/google_surveys2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/surveys2/src/cmn.rs b/gen/surveys2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/surveys2/src/cmn.rs +++ b/gen/surveys2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/surveys2/src/lib.rs b/gen/surveys2/src/lib.rs index c288f1777d..f3dc4f2ebe 100644 --- a/gen/surveys2/src/lib.rs +++ b/gen/surveys2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Surveys* crate version *1.0.2+20161103*, where *20161103* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Surveys* crate version *1.0.3+20161103*, where *20161103* is the exact revision of the *surveys:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! The original source code is [on github](https://github.com/Byron/google-apis-rs/tree/master/gen/surveys2). //! # Features //! diff --git a/gen/surveys2/src/lib.rs.in b/gen/surveys2/src/lib.rs.in index d74384b3fb..3cb241b58a 100644 --- a/gen/surveys2/src/lib.rs.in +++ b/gen/surveys2/src/lib.rs.in @@ -142,7 +142,7 @@ impl<'a, C, A> Surveys Surveys { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -157,7 +157,7 @@ impl<'a, C, A> Surveys } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tagmanager1-cli/Cargo.toml b/gen/tagmanager1-cli/Cargo.toml index feff9e2023..5a4768e38a 100644 --- a/gen/tagmanager1-cli/Cargo.toml +++ b/gen/tagmanager1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tagmanager1-cli" -version = "1.0.2+20160310" +version = "1.0.3+20160310" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager1-cli" @@ -17,14 +17,15 @@ keywords = ["tagmanager", "google", "cli"] name = "tagmanager1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-tagmanager1] path = "../tagmanager1" -version = "1.0.2+20160310" +version = "1.0.3+20160310" optional = true default-features = false diff --git a/gen/tagmanager1-cli/README.md b/gen/tagmanager1-cli/README.md index a80feb4ec7..75d110e9f9 100644 --- a/gen/tagmanager1-cli/README.md +++ b/gen/tagmanager1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *Tag Manager* API at revision *20160310*. The CLI is at version *1.0.2*. +This documentation was generated from the *Tag Manager* API at revision *20160310*. The CLI is at version *1.0.3*. ```bash tagmanager1 [options] diff --git a/gen/tagmanager1-cli/mkdocs.yml b/gen/tagmanager1-cli/mkdocs.yml index 5e81b59069..bbe4ef85c7 100644 --- a/gen/tagmanager1-cli/mkdocs.yml +++ b/gen/tagmanager1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: Tag Manager v1.0.2+20160310 +site_name: Tag Manager v1.0.3+20160310 site_url: http://byron.github.io/google-apis-rs/google-tagmanager1-cli site_description: A complete library to interact with Tag Manager (protocol v1) diff --git a/gen/tagmanager1-cli/src/main.rs b/gen/tagmanager1-cli/src/main.rs index 0b131df4ba..40a49efa33 100644 --- a/gen/tagmanager1-cli/src/main.rs +++ b/gen/tagmanager1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -3715,10 +3716,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "tagmanager1", @@ -3728,10 +3729,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -5338,7 +5339,7 @@ fn main() { let mut app = App::new("tagmanager1") .author("Sebastian Thiel ") - .version("1.0.2+20160310") + .version("1.0.3+20160310") .about("Accesses Tag Manager accounts and containers.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tagmanager1_cli") .arg(Arg::with_name("url") diff --git a/gen/tagmanager1/Cargo.toml b/gen/tagmanager1/Cargo.toml index 8a6a25f568..6d2da21f6e 100644 --- a/gen/tagmanager1/Cargo.toml +++ b/gen/tagmanager1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-tagmanager1" -version = "1.0.2+20160310" +version = "1.0.3+20160310" authors = ["Sebastian Thiel "] description = "A complete library to interact with Tag Manager (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tagmanager1" homepage = "https://developers.google.com/tag-manager/api/v1/" -documentation = "https://docs.rs/google-tagmanager1/1.0.2+20160310" +documentation = "https://docs.rs/google-tagmanager1/1.0.3+20160310" license = "MIT" keywords = ["tagmanager", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/tagmanager1/README.md b/gen/tagmanager1/README.md index db662e8d65..5b7d7bd35b 100644 --- a/gen/tagmanager1/README.md +++ b/gen/tagmanager1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-tagmanager1` library allows access to all features of the *Google Tag Manager* service. -This documentation was generated from *Tag Manager* crate version *1.0.2+20160310*, where *20160310* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *Tag Manager* crate version *1.0.3+20160310*, where *20160310* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *Tag Manager* *v1* API can be found at the [official documentation site](https://developers.google.com/tag-manager/api/v1/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.TagManager.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.TagManager.html) ... -* [accounts](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.Account.html) - * [*containers create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentListCall.html), [*containers environments patch*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentPatchCall.html), [*containers environments update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerEnvironmentUpdateCall.html), [*containers folders create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderCreateCall.html), [*containers folders delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderDeleteCall.html), [*containers folders entities list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderEntityListCall.html), [*containers folders get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderGetCall.html), [*containers folders list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderListCall.html), [*containers folders update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerFolderUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerListCall.html), [*containers move_folders update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerMoveFolderUpdateCall.html), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerReauthorizeEnvironmentUpdateCall.html), [*containers tags create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTagCreateCall.html), [*containers tags delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTagDeleteCall.html), [*containers tags get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTagGetCall.html), [*containers tags list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTagListCall.html), [*containers tags update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTagUpdateCall.html), [*containers triggers create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTriggerCreateCall.html), [*containers triggers delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTriggerDeleteCall.html), [*containers triggers get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTriggerGetCall.html), [*containers triggers list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTriggerListCall.html), [*containers triggers update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerTriggerUpdateCall.html), [*containers update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerUpdateCall.html), [*containers variables create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVariableCreateCall.html), [*containers variables delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVariableDeleteCall.html), [*containers variables get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVariableGetCall.html), [*containers variables list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVariableListCall.html), [*containers variables update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVariableUpdateCall.html), [*containers versions create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionCreateCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionGetCall.html), [*containers versions list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionListCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionPublishCall.html), [*containers versions restore*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionRestoreCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountContainerVersionUpdateCall.html), [*get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountListCall.html), [*permissions create*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountPermissionCreateCall.html), [*permissions delete*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountPermissionDeleteCall.html), [*permissions get*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountPermissionGetCall.html), [*permissions list*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountPermissionListCall.html), [*permissions update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountPermissionUpdateCall.html) and [*update*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.AccountUpdateCall.html) +* [accounts](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.Account.html) + * [*containers create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerCreateCall.html), [*containers delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerDeleteCall.html), [*containers environments create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentCreateCall.html), [*containers environments delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentDeleteCall.html), [*containers environments get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentGetCall.html), [*containers environments list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentListCall.html), [*containers environments patch*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentPatchCall.html), [*containers environments update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerEnvironmentUpdateCall.html), [*containers folders create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderCreateCall.html), [*containers folders delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderDeleteCall.html), [*containers folders entities list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderEntityListCall.html), [*containers folders get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderGetCall.html), [*containers folders list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderListCall.html), [*containers folders update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerFolderUpdateCall.html), [*containers get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerGetCall.html), [*containers list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerListCall.html), [*containers move_folders update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerMoveFolderUpdateCall.html), [*containers reauthorize_environments update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerReauthorizeEnvironmentUpdateCall.html), [*containers tags create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTagCreateCall.html), [*containers tags delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTagDeleteCall.html), [*containers tags get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTagGetCall.html), [*containers tags list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTagListCall.html), [*containers tags update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTagUpdateCall.html), [*containers triggers create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTriggerCreateCall.html), [*containers triggers delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTriggerDeleteCall.html), [*containers triggers get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTriggerGetCall.html), [*containers triggers list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTriggerListCall.html), [*containers triggers update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerTriggerUpdateCall.html), [*containers update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerUpdateCall.html), [*containers variables create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVariableCreateCall.html), [*containers variables delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVariableDeleteCall.html), [*containers variables get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVariableGetCall.html), [*containers variables list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVariableListCall.html), [*containers variables update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVariableUpdateCall.html), [*containers versions create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionCreateCall.html), [*containers versions delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionDeleteCall.html), [*containers versions get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionGetCall.html), [*containers versions list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionListCall.html), [*containers versions publish*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionPublishCall.html), [*containers versions restore*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionRestoreCall.html), [*containers versions undelete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionUndeleteCall.html), [*containers versions update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountContainerVersionUpdateCall.html), [*get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountGetCall.html), [*list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountListCall.html), [*permissions create*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountPermissionCreateCall.html), [*permissions delete*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountPermissionDeleteCall.html), [*permissions get*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountPermissionGetCall.html), [*permissions list*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountPermissionListCall.html), [*permissions update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountPermissionUpdateCall.html) and [*update*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.AccountUpdateCall.html) @@ -23,17 +23,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-tagmanager1/1.0.2+20160310/google_tagmanager1/struct.TagManager.html)** +* **[Hub](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/struct.TagManager.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -173,17 +173,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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")`. @@ -193,29 +193,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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/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-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tagmanager1/1.0.2+20160310/google_tagmanager1/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-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/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-tagmanager1/1.0.2+20160310/google_tagmanager1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tagmanager1/1.0.3+20160310/google_tagmanager1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tagmanager1/src/cmn.rs b/gen/tagmanager1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/tagmanager1/src/cmn.rs +++ b/gen/tagmanager1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/tagmanager1/src/lib.rs b/gen/tagmanager1/src/lib.rs index 62c57d473b..be10dd1dec 100644 --- a/gen/tagmanager1/src/lib.rs +++ b/gen/tagmanager1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *Tag Manager* crate version *1.0.2+20160310*, where *20160310* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *Tag Manager* crate version *1.0.3+20160310*, where *20160310* is the exact revision of the *tagmanager:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *Tag Manager* *v1* API can be found at the //! [official documentation site](https://developers.google.com/tag-manager/api/v1/). diff --git a/gen/tagmanager1/src/lib.rs.in b/gen/tagmanager1/src/lib.rs.in index abd472440d..bb3901b72e 100644 --- a/gen/tagmanager1/src/lib.rs.in +++ b/gen/tagmanager1/src/lib.rs.in @@ -164,7 +164,7 @@ impl<'a, C, A> TagManager TagManager { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -173,7 +173,7 @@ impl<'a, C, A> TagManager } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/taskqueue1_beta2-cli/Cargo.toml b/gen/taskqueue1_beta2-cli/Cargo.toml index 65312bcb53..e35e627509 100644 --- a/gen/taskqueue1_beta2-cli/Cargo.toml +++ b/gen/taskqueue1_beta2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-taskqueue1_beta2-cli" -version = "1.0.2+20160428" +version = "1.0.3+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/taskqueue1_beta2-cli" @@ -17,14 +17,15 @@ keywords = ["taskqueue", "google", "cli"] name = "taskqueue1-beta2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-taskqueue1_beta2] path = "../taskqueue1_beta2" -version = "1.0.2+20160428" +version = "1.0.3+20160428" optional = true default-features = false diff --git a/gen/taskqueue1_beta2-cli/README.md b/gen/taskqueue1_beta2-cli/README.md index 7bba8c7e9a..e6c391380a 100644 --- a/gen/taskqueue1_beta2-cli/README.md +++ b/gen/taskqueue1_beta2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *1.0.2*. +This documentation was generated from the *taskqueue* API at revision *20160428*. The CLI is at version *1.0.3*. ```bash taskqueue1-beta2 [options] diff --git a/gen/taskqueue1_beta2-cli/mkdocs.yml b/gen/taskqueue1_beta2-cli/mkdocs.yml index 6607956d7e..aa070313e9 100644 --- a/gen/taskqueue1_beta2-cli/mkdocs.yml +++ b/gen/taskqueue1_beta2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: taskqueue v1.0.2+20160428 +site_name: taskqueue v1.0.3+20160428 site_url: http://byron.github.io/google-apis-rs/google-taskqueue1_beta2-cli site_description: A complete library to interact with taskqueue (protocol v1beta2) diff --git a/gen/taskqueue1_beta2-cli/src/main.rs b/gen/taskqueue1_beta2-cli/src/main.rs index a021da38e1..1751f2eec0 100644 --- a/gen/taskqueue1_beta2-cli/src/main.rs +++ b/gen/taskqueue1_beta2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -667,10 +668,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "taskqueue1-beta2", @@ -680,10 +681,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1009,7 +1010,7 @@ fn main() { let mut app = App::new("taskqueue1-beta2") .author("Sebastian Thiel ") - .version("1.0.2+20160428") + .version("1.0.3+20160428") .about("Accesses a Google App Engine Pull Task Queue over REST.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_taskqueue1_beta2_cli") .arg(Arg::with_name("url") diff --git a/gen/taskqueue1_beta2/Cargo.toml b/gen/taskqueue1_beta2/Cargo.toml index 9233138d77..b7ddd01550 100644 --- a/gen/taskqueue1_beta2/Cargo.toml +++ b/gen/taskqueue1_beta2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-taskqueue1_beta2" -version = "1.0.2+20160428" +version = "1.0.3+20160428" authors = ["Sebastian Thiel "] description = "A complete library to interact with taskqueue (protocol v1beta2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/taskqueue1_beta2" homepage = "https://developers.google.com/appengine/docs/python/taskqueue/rest" -documentation = "https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428" +documentation = "https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428" license = "MIT" keywords = ["taskqueue", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/taskqueue1_beta2/README.md b/gen/taskqueue1_beta2/README.md index 4f29e74db0..4ce02ca862 100644 --- a/gen/taskqueue1_beta2/README.md +++ b/gen/taskqueue1_beta2/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-taskqueue1_beta2` library allows access to all features of the *Google taskqueue* service. -This documentation was generated from *taskqueue* crate version *1.0.2+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *taskqueue* crate version *1.0.3+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *taskqueue* *v1_beta2* API can be found at the [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.Taskqueue.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.Taskqueue.html) ... * taskqueues - * [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskqueueGetCall.html) -* [tasks](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.Task.html) - * [*delete*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskInsertCall.html), [*lease*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskLeaseCall.html), [*list*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskListCall.html), [*patch*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.TaskUpdateCall.html) + * [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskqueueGetCall.html) +* [tasks](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.Task.html) + * [*delete*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskInsertCall.html), [*lease*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskLeaseCall.html), [*list*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskListCall.html), [*patch*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.TaskUpdateCall.html) @@ -25,17 +25,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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/struct.Taskqueue.html)** +* **[Hub](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/struct.Taskqueue.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Part.html)** + * **[Parts](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -125,17 +125,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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")`. @@ -145,29 +145,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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/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-taskqueue1_beta2/1.0.2+20160428/google_taskqueue1_beta2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-taskqueue1_beta2/1.0.3+20160428/google_taskqueue1_beta2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/taskqueue1_beta2/src/cmn.rs b/gen/taskqueue1_beta2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/taskqueue1_beta2/src/cmn.rs +++ b/gen/taskqueue1_beta2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/taskqueue1_beta2/src/lib.rs b/gen/taskqueue1_beta2/src/lib.rs index 78394665a9..cc2fd7d2ad 100644 --- a/gen/taskqueue1_beta2/src/lib.rs +++ b/gen/taskqueue1_beta2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *taskqueue* crate version *1.0.2+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *taskqueue* crate version *1.0.3+20160428*, where *20160428* is the exact revision of the *taskqueue:v1beta2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *taskqueue* *v1_beta2* API can be found at the //! [official documentation site](https://developers.google.com/appengine/docs/python/taskqueue/rest). diff --git a/gen/taskqueue1_beta2/src/lib.rs.in b/gen/taskqueue1_beta2/src/lib.rs.in index d9adefc733..e1d6c63c6e 100644 --- a/gen/taskqueue1_beta2/src/lib.rs.in +++ b/gen/taskqueue1_beta2/src/lib.rs.in @@ -137,7 +137,7 @@ impl<'a, C, A> Taskqueue Taskqueue { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -149,7 +149,7 @@ impl<'a, C, A> Taskqueue } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/tasks1-cli/Cargo.toml b/gen/tasks1-cli/Cargo.toml index 505d19436e..0917886fa1 100644 --- a/gen/tasks1-cli/Cargo.toml +++ b/gen/tasks1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-tasks1-cli" -version = "1.0.2+20141121" +version = "1.0.3+20141121" authors = ["Sebastian Thiel "] description = "A complete library to interact with tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tasks1-cli" @@ -17,14 +17,15 @@ keywords = ["tasks", "google", "cli"] name = "tasks1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-tasks1] path = "../tasks1" -version = "1.0.2+20141121" +version = "1.0.3+20141121" optional = true default-features = false diff --git a/gen/tasks1-cli/README.md b/gen/tasks1-cli/README.md index 43b2e692f4..1afc925d4e 100644 --- a/gen/tasks1-cli/README.md +++ b/gen/tasks1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *tasks* API at revision *20141121*. The CLI is at version *1.0.2*. +This documentation was generated from the *tasks* API at revision *20141121*. The CLI is at version *1.0.3*. ```bash tasks1 [options] diff --git a/gen/tasks1-cli/mkdocs.yml b/gen/tasks1-cli/mkdocs.yml index 8e94614820..48cd0c9d78 100644 --- a/gen/tasks1-cli/mkdocs.yml +++ b/gen/tasks1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: tasks v1.0.2+20141121 +site_name: tasks v1.0.3+20141121 site_url: http://byron.github.io/google-apis-rs/google-tasks1-cli site_description: A complete library to interact with tasks (protocol v1) diff --git a/gen/tasks1-cli/src/main.rs b/gen/tasks1-cli/src/main.rs index 8cc784e933..445f148020 100644 --- a/gen/tasks1-cli/src/main.rs +++ b/gen/tasks1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -1150,10 +1151,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "tasks1", @@ -1163,10 +1164,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1552,7 +1553,7 @@ fn main() { let mut app = App::new("tasks1") .author("Sebastian Thiel ") - .version("1.0.2+20141121") + .version("1.0.3+20141121") .about("Lets you manage your tasks and task lists.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_tasks1_cli") .arg(Arg::with_name("url") diff --git a/gen/tasks1/Cargo.toml b/gen/tasks1/Cargo.toml index 8956469a56..31309d87ec 100644 --- a/gen/tasks1/Cargo.toml +++ b/gen/tasks1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-tasks1" -version = "1.0.2+20141121" +version = "1.0.3+20141121" authors = ["Sebastian Thiel "] description = "A complete library to interact with tasks (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/tasks1" homepage = "https://developers.google.com/google-apps/tasks/firstapp" -documentation = "https://docs.rs/google-tasks1/1.0.2+20141121" +documentation = "https://docs.rs/google-tasks1/1.0.3+20141121" license = "MIT" keywords = ["tasks", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/tasks1/README.md b/gen/tasks1/README.md index a9957ddf61..ffeadebde6 100644 --- a/gen/tasks1/README.md +++ b/gen/tasks1/README.md @@ -5,18 +5,18 @@ DO NOT EDIT ! --> The `google-tasks1` library allows access to all features of the *Google tasks* service. -This documentation was generated from *tasks* crate version *1.0.2+20141121*, where *20141121* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *tasks* crate version *1.0.3+20141121*, where *20141121* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *tasks* *v1* API can be found at the [official documentation site](https://developers.google.com/google-apps/tasks/firstapp). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasksHub.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasksHub.html) ... * tasklists - * [*delete*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistListCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TasklistUpdateCall.html) -* [tasks](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.Task.html) - * [*clear*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskClearCall.html), [*delete*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskListCall.html), [*move*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskMoveCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/struct.TaskUpdateCall.html) + * [*delete*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistListCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasklistUpdateCall.html) +* [tasks](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.Task.html) + * [*clear*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskClearCall.html), [*delete*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskDeleteCall.html), [*get*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskGetCall.html), [*insert*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskInsertCall.html), [*list*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskListCall.html), [*move*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskMoveCall.html), [*patch*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskPatchCall.html) and [*update*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TaskUpdateCall.html) @@ -25,17 +25,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-tasks1/1.0.2+20141121/google_tasks1/struct.TasksHub.html)** +* **[Hub](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/struct.TasksHub.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/trait.Part.html)** + * **[Parts](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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")`. @@ -154,29 +154,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-tasks1/1.0.2+20141121/google_tasks1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/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-tasks1/1.0.3+20141121/google_tasks1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-tasks1/1.0.2+20141121/google_tasks1/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-tasks1/1.0.3+20141121/google_tasks1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/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-tasks1/1.0.2+20141121/google_tasks1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-tasks1/1.0.3+20141121/google_tasks1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/tasks1/src/cmn.rs b/gen/tasks1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/tasks1/src/cmn.rs +++ b/gen/tasks1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/tasks1/src/lib.rs b/gen/tasks1/src/lib.rs index fcbc300f44..6e1bd45ce3 100644 --- a/gen/tasks1/src/lib.rs +++ b/gen/tasks1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *tasks* crate version *1.0.2+20141121*, where *20141121* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *tasks* crate version *1.0.3+20141121*, where *20141121* is the exact revision of the *tasks:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *tasks* *v1* API can be found at the //! [official documentation site](https://developers.google.com/google-apps/tasks/firstapp). diff --git a/gen/tasks1/src/lib.rs.in b/gen/tasks1/src/lib.rs.in index 30e72bd45a..f1910260e2 100644 --- a/gen/tasks1/src/lib.rs.in +++ b/gen/tasks1/src/lib.rs.in @@ -145,7 +145,7 @@ impl<'a, C, A> TasksHub TasksHub { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -157,7 +157,7 @@ impl<'a, C, A> TasksHub } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/translate2-cli/Cargo.toml b/gen/translate2-cli/Cargo.toml index c6e2773a17..8f54e95ccc 100644 --- a/gen/translate2-cli/Cargo.toml +++ b/gen/translate2-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-translate2-cli" -version = "1.0.2+20160627" +version = "1.0.3+20160627" authors = ["Sebastian Thiel "] description = "A complete library to interact with translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/translate2-cli" @@ -17,14 +17,15 @@ keywords = ["translate", "google", "cli"] name = "translate2" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-translate2] path = "../translate2" -version = "1.0.2+20160627" +version = "1.0.3+20160627" optional = true default-features = false diff --git a/gen/translate2-cli/README.md b/gen/translate2-cli/README.md index 806c086252..c3f6a11840 100644 --- a/gen/translate2-cli/README.md +++ b/gen/translate2-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *translate* API at revision *20160627*. The CLI is at version *1.0.2*. +This documentation was generated from the *translate* API at revision *20160627*. The CLI is at version *1.0.3*. ```bash translate2 [options] diff --git a/gen/translate2-cli/mkdocs.yml b/gen/translate2-cli/mkdocs.yml index 1cffe49239..87e2b3aa8a 100644 --- a/gen/translate2-cli/mkdocs.yml +++ b/gen/translate2-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: translate v1.0.2+20160627 +site_name: translate v1.0.3+20160627 site_url: http://byron.github.io/google-apis-rs/google-translate2-cli site_description: A complete library to interact with translate (protocol v2) diff --git a/gen/translate2-cli/src/main.rs b/gen/translate2-cli/src/main.rs index 2dfc9bf6ce..89df2a3cb4 100644 --- a/gen/translate2-cli/src/main.rs +++ b/gen/translate2-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -278,10 +279,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "translate2", @@ -291,10 +292,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -405,7 +406,7 @@ fn main() { let mut app = App::new("translate2") .author("Sebastian Thiel ") - .version("1.0.2+20160627") + .version("1.0.3+20160627") .about("Translates text from one language to another.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_translate2_cli") .arg(Arg::with_name("folder") diff --git a/gen/translate2/Cargo.toml b/gen/translate2/Cargo.toml index f07b39af62..d43fa5abfa 100644 --- a/gen/translate2/Cargo.toml +++ b/gen/translate2/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-translate2" -version = "1.0.2+20160627" +version = "1.0.3+20160627" authors = ["Sebastian Thiel "] description = "A complete library to interact with translate (protocol v2)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/translate2" homepage = "https://developers.google.com/translate/v2/using_rest" -documentation = "https://docs.rs/google-translate2/1.0.2+20160627" +documentation = "https://docs.rs/google-translate2/1.0.3+20160627" license = "MIT" keywords = ["translate", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/translate2/README.md b/gen/translate2/README.md index 91e1c3d058..647430364d 100644 --- a/gen/translate2/README.md +++ b/gen/translate2/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-translate2` library allows access to all features of the *Google translate* service. -This documentation was generated from *translate* crate version *1.0.2+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *translate* crate version *1.0.3+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *translate* *v2* API can be found at the [official documentation site](https://developers.google.com/translate/v2/using_rest). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/struct.Translate.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/struct.Translate.html) ... * detections - * [*list*](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/struct.DetectionListCall.html) + * [*list*](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/struct.DetectionListCall.html) * languages - * [*list*](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/struct.LanguageListCall.html) + * [*list*](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/struct.LanguageListCall.html) * translations - * [*list*](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/struct.TranslationListCall.html) + * [*list*](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/struct.TranslationListCall.html) @@ -27,17 +27,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-translate2/1.0.2+20160627/google_translate2/struct.Translate.html)** +* **[Hub](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/struct.Translate.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/trait.Part.html)** + * **[Parts](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -119,17 +119,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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")`. @@ -139,29 +139,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-translate2/1.0.2+20160627/google_translate2/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/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-translate2/1.0.3+20160627/google_translate2/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.RequestValue.html) and -[decodable](https://docs.rs/google-translate2/1.0.2+20160627/google_translate2/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-translate2/1.0.3+20160627/google_translate2/trait.RequestValue.html) and +[decodable](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/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-translate2/1.0.2+20160627/google_translate2/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-translate2/1.0.3+20160627/google_translate2/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/translate2/src/cmn.rs b/gen/translate2/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/translate2/src/cmn.rs +++ b/gen/translate2/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/translate2/src/lib.rs b/gen/translate2/src/lib.rs index d1deb7e376..b0dd01c640 100644 --- a/gen/translate2/src/lib.rs +++ b/gen/translate2/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *translate* crate version *1.0.2+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *translate* crate version *1.0.3+20160627*, where *20160627* is the exact revision of the *translate:v2* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *translate* *v2* API can be found at the //! [official documentation site](https://developers.google.com/translate/v2/using_rest). diff --git a/gen/translate2/src/lib.rs.in b/gen/translate2/src/lib.rs.in index c78f4b258b..8594e87a30 100644 --- a/gen/translate2/src/lib.rs.in +++ b/gen/translate2/src/lib.rs.in @@ -109,7 +109,7 @@ impl<'a, C, A> Translate Translate { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -124,7 +124,7 @@ impl<'a, C, A> Translate } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/urlshortener1-cli/Cargo.toml b/gen/urlshortener1-cli/Cargo.toml index b95cb13d05..356f90751f 100644 --- a/gen/urlshortener1-cli/Cargo.toml +++ b/gen/urlshortener1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-urlshortener1-cli" -version = "1.0.2+20150519" +version = "1.0.3+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/urlshortener1-cli" @@ -17,14 +17,15 @@ keywords = ["urlshortener", "google", "cli"] name = "urlshortener1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-urlshortener1] path = "../urlshortener1" -version = "1.0.2+20150519" +version = "1.0.3+20150519" optional = true default-features = false diff --git a/gen/urlshortener1-cli/README.md b/gen/urlshortener1-cli/README.md index dcde1a62c3..a2f2c52730 100644 --- a/gen/urlshortener1-cli/README.md +++ b/gen/urlshortener1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *1.0.2*. +This documentation was generated from the *urlshortener* API at revision *20150519*. The CLI is at version *1.0.3*. ```bash urlshortener1 [options] diff --git a/gen/urlshortener1-cli/mkdocs.yml b/gen/urlshortener1-cli/mkdocs.yml index 5083eb446c..fd0109e09b 100644 --- a/gen/urlshortener1-cli/mkdocs.yml +++ b/gen/urlshortener1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: urlshortener v1.0.2+20150519 +site_name: urlshortener v1.0.3+20150519 site_url: http://byron.github.io/google-apis-rs/google-urlshortener1-cli site_description: A complete library to interact with urlshortener (protocol v1) diff --git a/gen/urlshortener1-cli/src/main.rs b/gen/urlshortener1-cli/src/main.rs index aeacd22d9c..884552d46d 100644 --- a/gen/urlshortener1-cli/src/main.rs +++ b/gen/urlshortener1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -315,10 +316,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "urlshortener1", @@ -328,10 +329,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -430,7 +431,7 @@ fn main() { let mut app = App::new("urlshortener1") .author("Sebastian Thiel ") - .version("1.0.2+20150519") + .version("1.0.3+20150519") .about("Lets you create, inspect, and manage goo.gl short URLs") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_urlshortener1_cli") .arg(Arg::with_name("url") diff --git a/gen/urlshortener1/Cargo.toml b/gen/urlshortener1/Cargo.toml index d8fc828664..a84fae8316 100644 --- a/gen/urlshortener1/Cargo.toml +++ b/gen/urlshortener1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-urlshortener1" -version = "1.0.2+20150519" +version = "1.0.3+20150519" authors = ["Sebastian Thiel "] description = "A complete library to interact with urlshortener (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/urlshortener1" homepage = "https://developers.google.com/url-shortener/v1/getting_started" -documentation = "https://docs.rs/google-urlshortener1/1.0.2+20150519" +documentation = "https://docs.rs/google-urlshortener1/1.0.3+20150519" license = "MIT" keywords = ["urlshortener", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/urlshortener1/README.md b/gen/urlshortener1/README.md index 01b2e90861..f3da07f930 100644 --- a/gen/urlshortener1/README.md +++ b/gen/urlshortener1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-urlshortener1` library allows access to all features of the *Google urlshortener* service. -This documentation was generated from *urlshortener* crate version *1.0.2+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *urlshortener* crate version *1.0.3+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *urlshortener* *v1* API can be found at the [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.Urlshortener.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.Urlshortener.html) ... -* [url](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.Url.html) - * [*get*](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.UrlGetCall.html), [*insert*](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.UrlInsertCall.html) and [*list*](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.UrlListCall.html) +* [url](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.Url.html) + * [*get*](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.UrlGetCall.html), [*insert*](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.UrlInsertCall.html) and [*list*](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.UrlListCall.html) @@ -23,17 +23,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-urlshortener1/1.0.2+20150519/google_urlshortener1/struct.Urlshortener.html)** +* **[Hub](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/struct.Urlshortener.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Part.html)** + * **[Parts](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -117,17 +117,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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")`. @@ -137,29 +137,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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/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-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-urlshortener1/1.0.2+20150519/google_urlshortener1/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-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/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-urlshortener1/1.0.2+20150519/google_urlshortener1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-urlshortener1/1.0.3+20150519/google_urlshortener1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/urlshortener1/src/cmn.rs b/gen/urlshortener1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/urlshortener1/src/cmn.rs +++ b/gen/urlshortener1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/urlshortener1/src/lib.rs b/gen/urlshortener1/src/lib.rs index 714959ea29..452615c946 100644 --- a/gen/urlshortener1/src/lib.rs +++ b/gen/urlshortener1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *urlshortener* crate version *1.0.2+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *urlshortener* crate version *1.0.3+20150519*, where *20150519* is the exact revision of the *urlshortener:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *urlshortener* *v1* API can be found at the //! [official documentation site](https://developers.google.com/url-shortener/v1/getting_started). diff --git a/gen/urlshortener1/src/lib.rs.in b/gen/urlshortener1/src/lib.rs.in index 029e1c6ee6..bc5e380abc 100644 --- a/gen/urlshortener1/src/lib.rs.in +++ b/gen/urlshortener1/src/lib.rs.in @@ -132,7 +132,7 @@ impl<'a, C, A> Urlshortener Urlshortener { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -141,7 +141,7 @@ impl<'a, C, A> Urlshortener } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webfonts1-cli/Cargo.toml b/gen/webfonts1-cli/Cargo.toml index 6603ba394d..caac70f0a9 100644 --- a/gen/webfonts1-cli/Cargo.toml +++ b/gen/webfonts1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webfonts1-cli" -version = "1.0.2+20160302" +version = "1.0.3+20160302" authors = ["Sebastian Thiel "] description = "A complete library to interact with webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1-cli" @@ -17,14 +17,15 @@ keywords = ["webfonts", "google", "cli"] name = "webfonts1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-webfonts1] path = "../webfonts1" -version = "1.0.2+20160302" +version = "1.0.3+20160302" optional = true default-features = false diff --git a/gen/webfonts1-cli/README.md b/gen/webfonts1-cli/README.md index 90a5595ed4..dc20f6b786 100644 --- a/gen/webfonts1-cli/README.md +++ b/gen/webfonts1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *webfonts* API at revision *20160302*. The CLI is at version *1.0.2*. +This documentation was generated from the *webfonts* API at revision *20160302*. The CLI is at version *1.0.3*. ```bash webfonts1 [options] diff --git a/gen/webfonts1-cli/mkdocs.yml b/gen/webfonts1-cli/mkdocs.yml index f68bc96f98..ce27cac2ac 100644 --- a/gen/webfonts1-cli/mkdocs.yml +++ b/gen/webfonts1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webfonts v1.0.2+20160302 +site_name: webfonts v1.0.3+20160302 site_url: http://byron.github.io/google-apis-rs/google-webfonts1-cli site_description: A complete library to interact with webfonts (protocol v1) diff --git a/gen/webfonts1-cli/src/main.rs b/gen/webfonts1-cli/src/main.rs index fa8406b7ac..1c9a81d4b8 100644 --- a/gen/webfonts1-cli/src/main.rs +++ b/gen/webfonts1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -148,10 +149,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "webfonts1", @@ -161,10 +162,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -219,7 +220,7 @@ fn main() { let mut app = App::new("webfonts1") .author("Sebastian Thiel ") - .version("1.0.2+20160302") + .version("1.0.3+20160302") .about("Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets).") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webfonts1_cli") .arg(Arg::with_name("folder") diff --git a/gen/webfonts1/Cargo.toml b/gen/webfonts1/Cargo.toml index ef690175ad..13e4833476 100644 --- a/gen/webfonts1/Cargo.toml +++ b/gen/webfonts1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-webfonts1" -version = "1.0.2+20160302" +version = "1.0.3+20160302" authors = ["Sebastian Thiel "] description = "A complete library to interact with webfonts (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webfonts1" homepage = "https://developers.google.com/fonts/docs/developer_api" -documentation = "https://docs.rs/google-webfonts1/1.0.2+20160302" +documentation = "https://docs.rs/google-webfonts1/1.0.3+20160302" license = "MIT" keywords = ["webfonts", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/webfonts1/README.md b/gen/webfonts1/README.md index 17d32f18cc..781316dea2 100644 --- a/gen/webfonts1/README.md +++ b/gen/webfonts1/README.md @@ -5,16 +5,16 @@ DO NOT EDIT ! --> The `google-webfonts1` library allows access to all features of the *Google webfonts* service. -This documentation was generated from *webfonts* crate version *1.0.2+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *webfonts* crate version *1.0.3+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *webfonts* *v1* API can be found at the [official documentation site](https://developers.google.com/fonts/docs/developer_api). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/struct.Webfonts.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/struct.Webfonts.html) ... -* [webfonts](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/struct.Webfont.html) - * [*list*](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/struct.WebfontListCall.html) +* [webfonts](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/struct.Webfont.html) + * [*list*](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/struct.WebfontListCall.html) @@ -23,17 +23,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-webfonts1/1.0.2+20160302/google_webfonts1/struct.Webfonts.html)** +* **[Hub](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/struct.Webfonts.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/trait.Part.html)** + * **[Parts](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -116,17 +116,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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")`. @@ -136,29 +136,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-webfonts1/1.0.2+20160302/google_webfonts1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/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-webfonts1/1.0.3+20160302/google_webfonts1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-webfonts1/1.0.2+20160302/google_webfonts1/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-webfonts1/1.0.3+20160302/google_webfonts1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/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-webfonts1/1.0.2+20160302/google_webfonts1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-webfonts1/1.0.3+20160302/google_webfonts1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webfonts1/src/cmn.rs b/gen/webfonts1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/webfonts1/src/cmn.rs +++ b/gen/webfonts1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/webfonts1/src/lib.rs b/gen/webfonts1/src/lib.rs index f2ecad3ff6..0229648e17 100644 --- a/gen/webfonts1/src/lib.rs +++ b/gen/webfonts1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *webfonts* crate version *1.0.2+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *webfonts* crate version *1.0.3+20160302*, where *20160302* is the exact revision of the *webfonts:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *webfonts* *v1* API can be found at the //! [official documentation site](https://developers.google.com/fonts/docs/developer_api). diff --git a/gen/webfonts1/src/lib.rs.in b/gen/webfonts1/src/lib.rs.in index 8d08193968..9fda5b7956 100644 --- a/gen/webfonts1/src/lib.rs.in +++ b/gen/webfonts1/src/lib.rs.in @@ -110,7 +110,7 @@ impl<'a, C, A> Webfonts Webfonts { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -119,7 +119,7 @@ impl<'a, C, A> Webfonts } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/webmasters3-cli/Cargo.toml b/gen/webmasters3-cli/Cargo.toml index 238de2f495..330de2c9d9 100644 --- a/gen/webmasters3-cli/Cargo.toml +++ b/gen/webmasters3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-webmasters3-cli" -version = "1.0.2+20160317" +version = "1.0.3+20160317" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webmasters3-cli" @@ -17,14 +17,15 @@ keywords = ["webmasters", "google", "cli"] name = "webmasters3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-webmasters3] path = "../webmasters3" -version = "1.0.2+20160317" +version = "1.0.3+20160317" optional = true default-features = false diff --git a/gen/webmasters3-cli/README.md b/gen/webmasters3-cli/README.md index 2cede6c25c..e10141b3b4 100644 --- a/gen/webmasters3-cli/README.md +++ b/gen/webmasters3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *webmasters* API at revision *20160317*. The CLI is at version *1.0.2*. +This documentation was generated from the *webmasters* API at revision *20160317*. The CLI is at version *1.0.3*. ```bash webmasters3 [options] diff --git a/gen/webmasters3-cli/mkdocs.yml b/gen/webmasters3-cli/mkdocs.yml index fdf747d7d4..9a3dcc45d7 100644 --- a/gen/webmasters3-cli/mkdocs.yml +++ b/gen/webmasters3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: webmasters v1.0.2+20160317 +site_name: webmasters v1.0.3+20160317 site_url: http://byron.github.io/google-apis-rs/google-webmasters3-cli site_description: A complete library to interact with webmasters (protocol v3) diff --git a/gen/webmasters3-cli/src/main.rs b/gen/webmasters3-cli/src/main.rs index abea5515c7..45d3d8fa83 100644 --- a/gen/webmasters3-cli/src/main.rs +++ b/gen/webmasters3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -852,10 +853,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "webmasters3", @@ -865,10 +866,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -1243,7 +1244,7 @@ fn main() { let mut app = App::new("webmasters3") .author("Sebastian Thiel ") - .version("1.0.2+20160317") + .version("1.0.3+20160317") .about("View Google Search Console data for your verified sites.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_webmasters3_cli") .arg(Arg::with_name("url") diff --git a/gen/webmasters3/Cargo.toml b/gen/webmasters3/Cargo.toml index e0a99ad8d8..e4f39bde83 100644 --- a/gen/webmasters3/Cargo.toml +++ b/gen/webmasters3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-webmasters3" -version = "1.0.2+20160317" +version = "1.0.3+20160317" authors = ["Sebastian Thiel "] description = "A complete library to interact with webmasters (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/webmasters3" homepage = "https://developers.google.com/webmaster-tools/" -documentation = "https://docs.rs/google-webmasters3/1.0.2+20160317" +documentation = "https://docs.rs/google-webmasters3/1.0.3+20160317" license = "MIT" keywords = ["webmasters", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/webmasters3/README.md b/gen/webmasters3/README.md index 22b3014a71..48f3ed9578 100644 --- a/gen/webmasters3/README.md +++ b/gen/webmasters3/README.md @@ -5,24 +5,24 @@ DO NOT EDIT ! --> The `google-webmasters3` library allows access to all features of the *Google webmasters* service. -This documentation was generated from *webmasters* crate version *1.0.2+20160317*, where *20160317* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *webmasters* crate version *1.0.3+20160317*, where *20160317* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *webmasters* *v3* API can be found at the [official documentation site](https://developers.google.com/webmaster-tools/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.Webmasters.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.Webmasters.html) ... * searchanalytics - * [*query*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SearchanalyticQueryCall.html) + * [*query*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SearchanalyticQueryCall.html) * sitemaps - * [*delete*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SitemapDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SitemapGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SitemapListCall.html) and [*submit*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SitemapSubmitCall.html) + * [*delete*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SitemapDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SitemapGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SitemapListCall.html) and [*submit*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SitemapSubmitCall.html) * sites - * [*add*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SiteAddCall.html), [*delete*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SiteDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SiteGetCall.html) and [*list*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.SiteListCall.html) + * [*add*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SiteAddCall.html), [*delete*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SiteDeleteCall.html), [*get*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SiteGetCall.html) and [*list*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.SiteListCall.html) * urlcrawlerrorscounts - * [*query*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.UrlcrawlerrorscountQueryCall.html) + * [*query*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.UrlcrawlerrorscountQueryCall.html) * urlcrawlerrorssamples - * [*get*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.UrlcrawlerrorssampleGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.UrlcrawlerrorssampleListCall.html) and [*mark as fixed*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/struct.UrlcrawlerrorssampleMarkAsFixedCall.html) + * [*get*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.UrlcrawlerrorssampleGetCall.html), [*list*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.UrlcrawlerrorssampleListCall.html) and [*mark as fixed*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.UrlcrawlerrorssampleMarkAsFixedCall.html) @@ -31,17 +31,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-webmasters3/1.0.2+20160317/google_webmasters3/struct.Webmasters.html)** +* **[Hub](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/struct.Webmasters.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/trait.Part.html)** + * **[Parts](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -123,17 +123,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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 +143,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-webmasters3/1.0.2+20160317/google_webmasters3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/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-webmasters3/1.0.3+20160317/google_webmasters3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-webmasters3/1.0.2+20160317/google_webmasters3/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-webmasters3/1.0.3+20160317/google_webmasters3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/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-webmasters3/1.0.2+20160317/google_webmasters3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-webmasters3/1.0.3+20160317/google_webmasters3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/webmasters3/src/cmn.rs b/gen/webmasters3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/webmasters3/src/cmn.rs +++ b/gen/webmasters3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/webmasters3/src/lib.rs b/gen/webmasters3/src/lib.rs index d6e53f5eb7..aff7f54beb 100644 --- a/gen/webmasters3/src/lib.rs +++ b/gen/webmasters3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *webmasters* crate version *1.0.2+20160317*, where *20160317* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *webmasters* crate version *1.0.3+20160317*, where *20160317* is the exact revision of the *webmasters:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *webmasters* *v3* API can be found at the //! [official documentation site](https://developers.google.com/webmaster-tools/). diff --git a/gen/webmasters3/src/lib.rs.in b/gen/webmasters3/src/lib.rs.in index 67afce5cb8..522adef051 100644 --- a/gen/webmasters3/src/lib.rs.in +++ b/gen/webmasters3/src/lib.rs.in @@ -135,7 +135,7 @@ impl<'a, C, A> Webmasters Webmasters { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -156,7 +156,7 @@ impl<'a, C, A> Webmasters } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtube3-cli/Cargo.toml b/gen/youtube3-cli/Cargo.toml index ffe43cc57e..f5beda6198 100644 --- a/gen/youtube3-cli/Cargo.toml +++ b/gen/youtube3-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtube3-cli" -version = "1.0.2+20161202" +version = "1.0.3+20161202" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtube3-cli" @@ -17,14 +17,15 @@ keywords = ["youtube", "google", "cli"] name = "youtube3" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-youtube3] path = "../youtube3" -version = "1.0.2+20161202" +version = "1.0.3+20161202" optional = true default-features = false diff --git a/gen/youtube3-cli/README.md b/gen/youtube3-cli/README.md index 45fffd9362..7613dbdd36 100644 --- a/gen/youtube3-cli/README.md +++ b/gen/youtube3-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *YouTube* API at revision *20161202*. The CLI is at version *1.0.2*. +This documentation was generated from the *YouTube* API at revision *20161202*. The CLI is at version *1.0.3*. ```bash youtube3 [options] diff --git a/gen/youtube3-cli/mkdocs.yml b/gen/youtube3-cli/mkdocs.yml index e3e407309d..09d45cdd25 100644 --- a/gen/youtube3-cli/mkdocs.yml +++ b/gen/youtube3-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube v1.0.2+20161202 +site_name: YouTube v1.0.3+20161202 site_url: http://byron.github.io/google-apis-rs/google-youtube3-cli site_description: A complete library to interact with YouTube (protocol v3) diff --git a/gen/youtube3-cli/src/main.rs b/gen/youtube3-cli/src/main.rs index c1ee013d41..72f2c9178e 100644 --- a/gen/youtube3-cli/src/main.rs +++ b/gen/youtube3-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -6664,10 +6665,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "youtube3", @@ -6677,10 +6678,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -8365,7 +8366,7 @@ fn main() { let mut app = App::new("youtube3") .author("Sebastian Thiel ") - .version("1.0.2+20161202") + .version("1.0.3+20161202") .about("Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtube3_cli") .arg(Arg::with_name("url") diff --git a/gen/youtube3/Cargo.toml b/gen/youtube3/Cargo.toml index 13a938f332..697591d48e 100644 --- a/gen/youtube3/Cargo.toml +++ b/gen/youtube3/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-youtube3" -version = "1.0.2+20161202" +version = "1.0.3+20161202" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube (protocol v3)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtube3" homepage = "https://developers.google.com/youtube/v3" -documentation = "https://docs.rs/google-youtube3/1.0.2+20161202" +documentation = "https://docs.rs/google-youtube3/1.0.3+20161202" license = "MIT" keywords = ["youtube", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/youtube3/README.md b/gen/youtube3/README.md index d4901cca01..ca47b6a132 100644 --- a/gen/youtube3/README.md +++ b/gen/youtube3/README.md @@ -5,84 +5,84 @@ DO NOT EDIT ! --> The `google-youtube3` library allows access to all features of the *Google YouTube* service. -This documentation was generated from *YouTube* crate version *1.0.2+20161202*, where *20161202* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *YouTube* crate version *1.0.3+20161202*, where *20161202* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *YouTube* *v3* API can be found at the [official documentation site](https://developers.google.com/youtube/v3). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.YouTube.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.YouTube.html) ... -* [activities](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Activity.html) - * [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ActivityListCall.html) -* [captions](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Caption.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionDeleteCall.html), [*download*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionDownloadCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionUpdateCall.html) +* [activities](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Activity.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ActivityInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ActivityListCall.html) +* [captions](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Caption.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionDeleteCall.html), [*download*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionDownloadCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionUpdateCall.html) * channel banners - * [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelBannerInsertCall.html) -* [channel sections](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelSection.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelSectionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelSectionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelSectionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelSectionUpdateCall.html) -* [channels](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Channel.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelUpdateCall.html) -* [comment threads](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentThread.html) - * [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentThreadInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentThreadListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentThreadUpdateCall.html) -* [comments](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Comment.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentListCall.html), [*mark as spam*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentMarkAsSpamCall.html), [*set moderation status*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentSetModerationStatuCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CommentUpdateCall.html) -* [fan funding events](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.FanFundingEvent.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.FanFundingEventListCall.html) -* [guide categories](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.GuideCategory.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.GuideCategoryListCall.html) -* [i18n languages](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.I18nLanguage.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.I18nLanguageListCall.html) -* [i18n regions](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.I18nRegion.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.I18nRegionListCall.html) -* [live broadcasts](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcast.html) - * [*bind*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastBindCall.html), [*control*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastControlCall.html), [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastListCall.html), [*transition*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastTransitionCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveBroadcastUpdateCall.html) -* [live chat bans](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatBan.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatBanDeleteCall.html) and [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatBanInsertCall.html) -* [live chat messages](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatMessage.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatMessageDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatMessageInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatMessageListCall.html) -* [live chat moderators](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatModerator.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatModeratorDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatModeratorInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveChatModeratorListCall.html) -* [live streams](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveStream.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveStreamDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveStreamInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveStreamListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.LiveStreamUpdateCall.html) -* [playlist items](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItem.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItemDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItemInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItemListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItemUpdateCall.html) -* [playlists](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Playlist.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistUpdateCall.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelBannerInsertCall.html) +* [channel sections](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelSection.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelSectionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelSectionInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelSectionListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelSectionUpdateCall.html) +* [channels](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Channel.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelUpdateCall.html) +* [comment threads](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentThread.html) + * [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentThreadInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentThreadListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentThreadUpdateCall.html) +* [comments](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Comment.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentListCall.html), [*mark as spam*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentMarkAsSpamCall.html), [*set moderation status*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentSetModerationStatuCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CommentUpdateCall.html) +* [fan funding events](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.FanFundingEvent.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.FanFundingEventListCall.html) +* [guide categories](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.GuideCategory.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.GuideCategoryListCall.html) +* [i18n languages](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.I18nLanguage.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.I18nLanguageListCall.html) +* [i18n regions](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.I18nRegion.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.I18nRegionListCall.html) +* [live broadcasts](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcast.html) + * [*bind*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastBindCall.html), [*control*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastControlCall.html), [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastListCall.html), [*transition*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastTransitionCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveBroadcastUpdateCall.html) +* [live chat bans](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatBan.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatBanDeleteCall.html) and [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatBanInsertCall.html) +* [live chat messages](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatMessage.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatMessageDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatMessageInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatMessageListCall.html) +* [live chat moderators](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatModerator.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatModeratorDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatModeratorInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveChatModeratorListCall.html) +* [live streams](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveStream.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveStreamDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveStreamInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveStreamListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.LiveStreamUpdateCall.html) +* [playlist items](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItem.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItemDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItemInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItemListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItemUpdateCall.html) +* [playlists](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Playlist.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistListCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistUpdateCall.html) * search - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.SearchListCall.html) -* [sponsors](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Sponsor.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.SponsorListCall.html) -* [subscriptions](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Subscription.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.SubscriptionInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.SubscriptionListCall.html) -* [thumbnails](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Thumbnail.html) - * [*set*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ThumbnailSetCall.html) -* [video abuse report reasons](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoAbuseReportReason.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoAbuseReportReasonListCall.html) -* [video categories](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoCategory.html) - * [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoCategoryListCall.html) -* [videos](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.Video.html) - * [*delete*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoDeleteCall.html), [*get rating*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoGetRatingCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoListCall.html), [*rate*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoRateCall.html), [*report abuse*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoReportAbuseCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoUpdateCall.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.SearchListCall.html) +* [sponsors](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Sponsor.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.SponsorListCall.html) +* [subscriptions](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Subscription.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.SubscriptionDeleteCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.SubscriptionInsertCall.html) and [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.SubscriptionListCall.html) +* [thumbnails](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Thumbnail.html) + * [*set*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ThumbnailSetCall.html) +* [video abuse report reasons](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoAbuseReportReason.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoAbuseReportReasonListCall.html) +* [video categories](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoCategory.html) + * [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoCategoryListCall.html) +* [videos](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.Video.html) + * [*delete*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoDeleteCall.html), [*get rating*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoGetRatingCall.html), [*insert*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoInsertCall.html), [*list*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoListCall.html), [*rate*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoRateCall.html), [*report abuse*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoReportAbuseCall.html) and [*update*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoUpdateCall.html) * watermarks - * [*set*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.WatermarkSetCall.html) and [*unset*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.WatermarkUnsetCall.html) + * [*set*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.WatermarkSetCall.html) and [*unset*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.WatermarkUnsetCall.html) Upload supported by ... -* [*set thumbnails*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ThumbnailSetCall.html) -* [*insert captions*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionInsertCall.html) -* [*insert videos*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.VideoInsertCall.html) -* [*set watermarks*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.WatermarkSetCall.html) -* [*insert channel banners*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.ChannelBannerInsertCall.html) -* [*update captions*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionUpdateCall.html) +* [*set thumbnails*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ThumbnailSetCall.html) +* [*insert captions*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionInsertCall.html) +* [*insert videos*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.VideoInsertCall.html) +* [*set watermarks*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.WatermarkSetCall.html) +* [*insert channel banners*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.ChannelBannerInsertCall.html) +* [*update captions*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionUpdateCall.html) Download supported by ... -* [*download captions*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.CaptionDownloadCall.html) +* [*download captions*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.CaptionDownloadCall.html) Subscription supported by ... -* [*list playlist items*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.PlaylistItemListCall.html) +* [*list playlist items*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.PlaylistItemListCall.html) @@ -90,17 +90,17 @@ Subscription supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/struct.YouTube.html)** +* **[Hub](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/struct.YouTube.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/trait.Part.html)** + * **[Parts](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -200,17 +200,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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")`. @@ -220,29 +220,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-youtube3/1.0.2+20161202/google_youtube3/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/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-youtube3/1.0.3+20161202/google_youtube3/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.RequestValue.html) and -[decodable](https://docs.rs/google-youtube3/1.0.2+20161202/google_youtube3/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-youtube3/1.0.3+20161202/google_youtube3/trait.RequestValue.html) and +[decodable](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/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-youtube3/1.0.2+20161202/google_youtube3/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-youtube3/1.0.3+20161202/google_youtube3/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtube3/src/cmn.rs b/gen/youtube3/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/youtube3/src/cmn.rs +++ b/gen/youtube3/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs index 72ee0c6749..7c00c1a83c 100644 --- a/gen/youtube3/src/lib.rs +++ b/gen/youtube3/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube* crate version *1.0.2+20161202*, where *20161202* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *YouTube* crate version *1.0.3+20161202*, where *20161202* is the exact revision of the *youtube:v3* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *YouTube* *v3* API can be found at the //! [official documentation site](https://developers.google.com/youtube/v3). diff --git a/gen/youtube3/src/lib.rs.in b/gen/youtube3/src/lib.rs.in index 9327acbe50..ddfcbadb8d 100644 --- a/gen/youtube3/src/lib.rs.in +++ b/gen/youtube3/src/lib.rs.in @@ -163,7 +163,7 @@ impl<'a, C, A> YouTube YouTube { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -247,7 +247,7 @@ impl<'a, C, A> YouTube } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtubeanalytics1-cli/Cargo.toml b/gen/youtubeanalytics1-cli/Cargo.toml index 94fe4ad34a..2a489b2fd9 100644 --- a/gen/youtubeanalytics1-cli/Cargo.toml +++ b/gen/youtubeanalytics1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtubeanalytics1-cli" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Analytics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubeanalytics1-cli" @@ -17,14 +17,15 @@ keywords = ["youtubeAnalytics", "google", "cli"] name = "youtubeanalytics1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-youtubeanalytics1] path = "../youtubeanalytics1" -version = "1.0.2+20161213" +version = "1.0.3+20161213" optional = true default-features = false diff --git a/gen/youtubeanalytics1-cli/README.md b/gen/youtubeanalytics1-cli/README.md index 7df5e2cd3c..b12e35da9e 100644 --- a/gen/youtubeanalytics1-cli/README.md +++ b/gen/youtubeanalytics1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *YouTube Analytics* API at revision *20161213*. The CLI is at version *1.0.2*. +This documentation was generated from the *YouTube Analytics* API at revision *20161213*. The CLI is at version *1.0.3*. ```bash youtubeanalytics1 [options] diff --git a/gen/youtubeanalytics1-cli/mkdocs.yml b/gen/youtubeanalytics1-cli/mkdocs.yml index 6db49e63fd..bd4216c057 100644 --- a/gen/youtubeanalytics1-cli/mkdocs.yml +++ b/gen/youtubeanalytics1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Analytics v1.0.2+20161213 +site_name: YouTube Analytics v1.0.3+20161213 site_url: http://byron.github.io/google-apis-rs/google-youtubeanalytics1-cli site_description: A complete library to interact with YouTube Analytics (protocol v1) diff --git a/gen/youtubeanalytics1-cli/src/main.rs b/gen/youtubeanalytics1-cli/src/main.rs index bf9597fb16..e95c36dc2e 100644 --- a/gen/youtubeanalytics1-cli/src/main.rs +++ b/gen/youtubeanalytics1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -704,10 +705,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "youtubeanalytics1", @@ -717,10 +718,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -943,7 +944,7 @@ fn main() { let mut app = App::new("youtubeanalytics1") .author("Sebastian Thiel ") - .version("1.0.2+20161213") + .version("1.0.3+20161213") .about("Retrieves your YouTube Analytics data.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtubeanalytics1_cli") .arg(Arg::with_name("url") diff --git a/gen/youtubeanalytics1/Cargo.toml b/gen/youtubeanalytics1/Cargo.toml index 767b092ce7..51566ac381 100644 --- a/gen/youtubeanalytics1/Cargo.toml +++ b/gen/youtubeanalytics1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-youtubeanalytics1" -version = "1.0.2+20161213" +version = "1.0.3+20161213" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Analytics (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubeanalytics1" homepage = "http://developers.google.com/youtube/analytics/" -documentation = "https://docs.rs/google-youtubeanalytics1/1.0.2+20161213" +documentation = "https://docs.rs/google-youtubeanalytics1/1.0.3+20161213" license = "MIT" keywords = ["youtubeAnalytics", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/youtubeanalytics1/README.md b/gen/youtubeanalytics1/README.md index ff465d707d..4e0ccf6c60 100644 --- a/gen/youtubeanalytics1/README.md +++ b/gen/youtubeanalytics1/README.md @@ -5,20 +5,20 @@ DO NOT EDIT ! --> The `google-youtubeanalytics1` library allows access to all features of the *Google YouTube Analytics* service. -This documentation was generated from *YouTube Analytics* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *youtubeAnalytics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *YouTube Analytics* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *youtubeAnalytics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *YouTube Analytics* *v1* API can be found at the [official documentation site](http://developers.google.com/youtube/analytics/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.YouTubeAnalytics.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.YouTubeAnalytics.html) ... -* [group items](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupItem.html) - * [*delete*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupItemDeleteCall.html), [*insert*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupItemInsertCall.html) and [*list*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupItemListCall.html) -* [groups](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.Group.html) - * [*delete*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupDeleteCall.html), [*insert*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupListCall.html) and [*update*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.GroupUpdateCall.html) +* [group items](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupItem.html) + * [*delete*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupItemDeleteCall.html), [*insert*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupItemInsertCall.html) and [*list*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupItemListCall.html) +* [groups](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.Group.html) + * [*delete*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupDeleteCall.html), [*insert*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupInsertCall.html), [*list*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupListCall.html) and [*update*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.GroupUpdateCall.html) * reports - * [*query*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.ReportQueryCall.html) + * [*query*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.ReportQueryCall.html) @@ -27,17 +27,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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/struct.YouTubeAnalytics.html)** +* **[Hub](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/struct.YouTubeAnalytics.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Part.html)** + * **[Parts](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -126,17 +126,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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")`. @@ -146,29 +146,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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/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-youtubeanalytics1/1.0.2+20161213/google_youtubeanalytics1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-youtubeanalytics1/1.0.3+20161213/google_youtubeanalytics1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtubeanalytics1/src/cmn.rs b/gen/youtubeanalytics1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/youtubeanalytics1/src/cmn.rs +++ b/gen/youtubeanalytics1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/youtubeanalytics1/src/lib.rs b/gen/youtubeanalytics1/src/lib.rs index 1408aab6d5..533c17a826 100644 --- a/gen/youtubeanalytics1/src/lib.rs +++ b/gen/youtubeanalytics1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube Analytics* crate version *1.0.2+20161213*, where *20161213* is the exact revision of the *youtubeAnalytics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *YouTube Analytics* crate version *1.0.3+20161213*, where *20161213* is the exact revision of the *youtubeAnalytics:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *YouTube Analytics* *v1* API can be found at the //! [official documentation site](http://developers.google.com/youtube/analytics/). diff --git a/gen/youtubeanalytics1/src/lib.rs.in b/gen/youtubeanalytics1/src/lib.rs.in index fe2ab88ed3..8c8d29b797 100644 --- a/gen/youtubeanalytics1/src/lib.rs.in +++ b/gen/youtubeanalytics1/src/lib.rs.in @@ -151,7 +151,7 @@ impl<'a, C, A> YouTubeAnalytics YouTubeAnalytics { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -166,7 +166,7 @@ impl<'a, C, A> YouTubeAnalytics } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String { diff --git a/gen/youtubereporting1-cli/Cargo.toml b/gen/youtubereporting1-cli/Cargo.toml index 210ea6ab4b..a8daa54bcb 100644 --- a/gen/youtubereporting1-cli/Cargo.toml +++ b/gen/youtubereporting1-cli/Cargo.toml @@ -4,7 +4,7 @@ [package] name = "google-youtubereporting1-cli" -version = "1.0.2+20160719" +version = "1.0.3+20160719" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubereporting1-cli" @@ -17,14 +17,15 @@ keywords = ["youtubereporting", "google", "cli"] name = "youtubereporting1" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" yup-oauth2 = { version = "^ 1.0", optional = true, default-features = false } serde_derive = { version = "^ 0.8", optional = true } strsim = "^0.5" -yup-hyper-mock = "^1.0" +hyper-rustls = "^0.3" +yup-hyper-mock = "^2.0" clap = "^2.0" [features] @@ -38,6 +39,6 @@ serde_codegen = { version = "^ 0.8", optional = true } [dependencies.google-youtubereporting1] path = "../youtubereporting1" -version = "1.0.2+20160719" +version = "1.0.3+20160719" optional = true default-features = false diff --git a/gen/youtubereporting1-cli/README.md b/gen/youtubereporting1-cli/README.md index 194c2493e0..d54a7ba9e2 100644 --- a/gen/youtubereporting1-cli/README.md +++ b/gen/youtubereporting1-cli/README.md @@ -25,7 +25,7 @@ Find the source code [on github](https://github.com/Byron/google-apis-rs/tree/ma # Usage -This documentation was generated from the *YouTube Reporting* API at revision *20160719*. The CLI is at version *1.0.2*. +This documentation was generated from the *YouTube Reporting* API at revision *20160719*. The CLI is at version *1.0.3*. ```bash youtubereporting1 [options] diff --git a/gen/youtubereporting1-cli/mkdocs.yml b/gen/youtubereporting1-cli/mkdocs.yml index 2726b5b99e..e808ce7f11 100644 --- a/gen/youtubereporting1-cli/mkdocs.yml +++ b/gen/youtubereporting1-cli/mkdocs.yml @@ -1,4 +1,4 @@ -site_name: YouTube Reporting v1.0.2+20160719 +site_name: YouTube Reporting v1.0.3+20160719 site_url: http://byron.github.io/google-apis-rs/google-youtubereporting1-cli site_description: A complete library to interact with YouTube Reporting (protocol v1) diff --git a/gen/youtubereporting1-cli/src/main.rs b/gen/youtubereporting1-cli/src/main.rs index 129f920c89..ca24d02d74 100644 --- a/gen/youtubereporting1-cli/src/main.rs +++ b/gen/youtubereporting1-cli/src/main.rs @@ -7,6 +7,7 @@ extern crate clap; extern crate yup_oauth2 as oauth2; extern crate yup_hyper_mock as mock; +extern crate hyper_rustls; extern crate serde; extern crate serde_json; extern crate hyper; @@ -656,10 +657,10 @@ impl<'n> Engine<'n> { let auth = Authenticator::new( &secret, DefaultAuthenticatorDelegate, if opt.is_present("debug-auth") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }, JsonTokenStorage { program_name: "youtubereporting1", @@ -669,10 +670,10 @@ impl<'n> Engine<'n> { let client = if opt.is_present("debug") { hyper::Client::with_connector(mock::TeeConnector { - connector: hyper::net::HttpsConnector::::default() + connector: hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new()) }) } else { - hyper::Client::new() + hyper::Client::with_connector(hyper::net::HttpsConnector::new(hyper_rustls::TlsClient::new())) }; let engine = Engine { opt: opt, @@ -891,7 +892,7 @@ fn main() { let mut app = App::new("youtubereporting1") .author("Sebastian Thiel ") - .version("1.0.2+20160719") + .version("1.0.3+20160719") .about("Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files.") .after_help("All documentation details can be found at http://byron.github.io/google-apis-rs/google_youtubereporting1_cli") .arg(Arg::with_name("url") diff --git a/gen/youtubereporting1/Cargo.toml b/gen/youtubereporting1/Cargo.toml index b323d23381..d21c1d58b0 100644 --- a/gen/youtubereporting1/Cargo.toml +++ b/gen/youtubereporting1/Cargo.toml @@ -4,19 +4,19 @@ [package] name = "google-youtubereporting1" -version = "1.0.2+20160719" +version = "1.0.3+20160719" authors = ["Sebastian Thiel "] description = "A complete library to interact with YouTube Reporting (protocol v1)" repository = "https://github.com/Byron/google-apis-rs/tree/master/gen/youtubereporting1" homepage = "https://developers.google.com/youtube/reporting/v1/reports/" -documentation = "https://docs.rs/google-youtubereporting1/1.0.2+20160719" +documentation = "https://docs.rs/google-youtubereporting1/1.0.3+20160719" license = "MIT" keywords = ["youtubereporting", "google", "protocol", "web", "api"] build = "src/build.rs" [dependencies] -hyper = "^ 0.9" +hyper = "^ 0.10" mime = "^ 0.2.0" serde = "^ 0.8" serde_json = "^ 0.8" diff --git a/gen/youtubereporting1/README.md b/gen/youtubereporting1/README.md index 064da21f00..79349e080d 100644 --- a/gen/youtubereporting1/README.md +++ b/gen/youtubereporting1/README.md @@ -5,25 +5,25 @@ DO NOT EDIT ! --> The `google-youtubereporting1` library allows access to all features of the *Google YouTube Reporting* service. -This documentation was generated from *YouTube Reporting* crate version *1.0.2+20160719*, where *20160719* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +This documentation was generated from *YouTube Reporting* crate version *1.0.3+20160719*, where *20160719* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. Everything else about the *YouTube Reporting* *v1* API can be found at the [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). # Features -Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.YouTubeReporting.html) ... +Handle the following *Resources* with ease from the central [hub](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.YouTubeReporting.html) ... -* [jobs](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.Job.html) - * [*create*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobCreateCall.html), [*delete*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobDeleteCall.html), [*get*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobGetCall.html), [*list*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobListCall.html), [*reports get*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobReportGetCall.html) and [*reports list*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.JobReportListCall.html) -* [media](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.Media.html) - * [*download*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.MediaDownloadCall.html) -* [report types](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.ReportType.html) - * [*list*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.ReportTypeListCall.html) +* [jobs](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.Job.html) + * [*create*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobCreateCall.html), [*delete*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobDeleteCall.html), [*get*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobGetCall.html), [*list*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobListCall.html), [*reports get*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobReportGetCall.html) and [*reports list*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.JobReportListCall.html) +* [media](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.Media.html) + * [*download*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.MediaDownloadCall.html) +* [report types](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.ReportType.html) + * [*list*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.ReportTypeListCall.html) Download supported by ... -* [*download media*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.MediaDownloadCall.html) +* [*download media*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.MediaDownloadCall.html) @@ -31,17 +31,17 @@ Download supported by ... The API is structured into the following primary items: -* **[Hub](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/struct.YouTubeReporting.html)** +* **[Hub](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/struct.YouTubeReporting.html)** * a central object to maintain state and allow accessing all *Activities* - * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.MethodsBuilder.html) which in turn - allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.CallBuilder.html) -* **[Resources](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Resource.html)** + * creates [*Method Builders*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.MethodsBuilder.html) which in turn + allow access to individual [*Call Builders*](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.CallBuilder.html) +* **[Resources](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.Resource.html)** * primary types that you can apply *Activities* to * a collection of properties and *Parts* - * **[Parts](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Part.html)** + * **[Parts](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.Part.html)** * a collection of properties * never directly used in *Activities* -* **[Activities](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.CallBuilder.html)** +* **[Activities](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.CallBuilder.html)** * operations to apply to *Resources* All *structures* are marked with applicable traits to further categorize them and ease browsing. @@ -134,17 +134,17 @@ match result { ``` ## Handling Errors -All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/enum.Result.html) enumeration as return value of +All errors produced by the system are provided either as [Result](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Delegate.html), or the [Authenticator Delegate](https://docs.rs/yup-oauth2/*/yup_oauth2/trait.AuthenticatorDelegate.html). +[Hub Delegate](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/enum.Result.html), should be +If a method supports downloads, the response body, which is part of the [Result](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.ResponseResult.html), it will return that by default. +If such a method also supports a [Response Result](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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")`. @@ -154,29 +154,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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Delegate.html) to the -[Method Builder](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/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-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.Delegate.html) to the +[Method Builder](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Delegate.html) is default-implemented, allowing you to customize it with minimal effort. +The [delegate trait](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.RequestValue.html) and -[decodable](https://docs.rs/google-youtubereporting1/1.0.2+20160719/google_youtubereporting1/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-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.RequestValue.html) and +[decodable](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.Part.html) which are identifiable by name, which will be sent to +Most optionals are are considered [Parts](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.CallBuilder.html), you are able to prepare an action call by repeatedly calling it's methods. +Using [method builders](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/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-youtubereporting1/1.0.2+20160719/google_youtubereporting1/trait.RequestValue.html) are moved +* [request values](https://docs.rs/google-youtubereporting1/1.0.3+20160719/google_youtubereporting1/trait.RequestValue.html) are moved Arguments will always be copied or cloned into the builder, to make them independent of their original life times. diff --git a/gen/youtubereporting1/src/cmn.rs b/gen/youtubereporting1/src/cmn.rs index d75063e466..77d71c8896 100644 --- a/gen/youtubereporting1/src/cmn.rs +++ b/gen/youtubereporting1/src/cmn.rs @@ -303,7 +303,7 @@ impl Display for Error { writeln!(f, "It is used as there are no Scopes defined for this method.") }, Error::BadRequest(ref err) => { - try!(writeln!(f, "Bad Requst ({}): {}", err.error.code, err.error.message)); + try!(writeln!(f, "Bad Request ({}): {}", err.error.code, err.error.message)); for err in err.error.errors.iter() { try!(writeln!(f, " {}: {}, {}{}", err.domain, diff --git a/gen/youtubereporting1/src/lib.rs b/gen/youtubereporting1/src/lib.rs index 6d87d774a4..29e13affff 100644 --- a/gen/youtubereporting1/src/lib.rs +++ b/gen/youtubereporting1/src/lib.rs @@ -2,7 +2,7 @@ // This file was generated automatically from 'src/mako/api/lib.rs.mako' // DO NOT EDIT ! -//! This documentation was generated from *YouTube Reporting* crate version *1.0.2+20160719*, where *20160719* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.2*. +//! This documentation was generated from *YouTube Reporting* crate version *1.0.3+20160719*, where *20160719* is the exact revision of the *youtubereporting:v1* schema built by the [mako](http://www.makotemplates.org/) code generator *v1.0.3*. //! //! Everything else about the *YouTube Reporting* *v1* API can be found at the //! [official documentation site](https://developers.google.com/youtube/reporting/v1/reports/). diff --git a/gen/youtubereporting1/src/lib.rs.in b/gen/youtubereporting1/src/lib.rs.in index d43cd4e056..91b116f589 100644 --- a/gen/youtubereporting1/src/lib.rs.in +++ b/gen/youtubereporting1/src/lib.rs.in @@ -141,7 +141,7 @@ impl<'a, C, A> YouTubeReporting YouTubeReporting { client: RefCell::new(client), auth: RefCell::new(authenticator), - _user_agent: "google-api-rust-client/1.0.2".to_string(), + _user_agent: "google-api-rust-client/1.0.3".to_string(), } } @@ -156,7 +156,7 @@ impl<'a, C, A> YouTubeReporting } /// Set the user-agent header field to use in all requests to the server. - /// It defaults to `google-api-rust-client/1.0.2`. + /// It defaults to `google-api-rust-client/1.0.3`. /// /// Returns the previously set user-agent. pub fn user_agent(&mut self, agent_name: String) -> String {